/* TereSilva - Lux Corporate (static, no WordPress dependencies) */

:root{
  --bg0:#04132b;
  --bg1:#072042;
  --panel: rgba(255,255,255,0.045);
  --panel2: rgba(255,255,255,0.03);
  --stroke: rgba(255,255,255,0.10);
  --stroke2: rgba(212,175,55,0.22);
  --text: rgba(245,241,232,0.95);
  --muted: rgba(245,241,232,0.72);
  --muted2: rgba(245,241,232,0.56);
  --gold: #d4af37;
  --gold2:#b88b1b;
  --ice: #b7c6ff;
  --danger:#ff5b5b;
  --shadow: 0 22px 60px rgba(0,0,0,0.55);
  --shadow2: 0 14px 34px rgba(0,0,0,0.45);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --maxw: 1120px;
}

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 75% 20%, rgba(212,175,55,0.08), transparent 55%),
              radial-gradient(1100px 850px at 18% 82%, rgba(64,123,255,0.10), transparent 58%),
              radial-gradient(900px 700px at 15% 18%, rgba(20,48,96,0.65), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
  line-height: 1.55;
  letter-spacing: 0.2px;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(212,175,55,0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.hr{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.35), rgba(255,255,255,0.16), transparent);
  margin: 28px 0;
  opacity: 0.9;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
  font-size: 13px;
}

.badge i{
  width:10px; height:10px;
  border-radius:50%;
  background: linear-gradient(180deg, #f3df9a, var(--gold));
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5,11,23,0.66);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}

.brand img{
  width: 190px;
  height: auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

.nav a{
  color: var(--muted);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover{
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.header-ctas{
  display:flex;
  align-items:center;
  gap: 12px;
}

.btn{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  cursor: pointer;
  transition: transform .16s ease, background .2s ease, border-color .2s ease;
  user-select:none;
  white-space:nowrap;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.26);
}

.btn-primary{
  background: linear-gradient(180deg, #f3df9a, var(--gold));
  border-color: rgba(212,175,55,0.55);
  color: rgba(5,11,23,0.95);
  font-weight: 700;
}

.btn-primary:hover{
  background: linear-gradient(180deg, #fdebb5, #cfa52d);
}

.btn-ghost{
  border-color: rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.06);
  color: var(--text);
}

.btn-ghost:hover{
  background: rgba(212,175,55,0.10);
}

.btn-icon{
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
}

.hamburger{
  display:none;
}

.mobile-nav{
  display:none;
  padding: 0 0 14px 0;
}

.mobile-nav a{
  display:block;
  padding: 12px 12px;
  color: var(--muted);
  border-radius: 12px;
  margin-top: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* HERO */
.hero{
  position: relative;
  padding: 64px 0 36px 0;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset: -80px -120px -120px -120px;
  background-image: url("assets/hero.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.92;
  transform: scale(1.02);
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,11,23,0.22), rgba(5,11,23,0.86) 62%, rgba(5,11,23,0.98));
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.h-title{
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.2px;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  margin: 14px 0 14px 0;
}

.h-title .accent{
  background: linear-gradient(180deg, #f3df9a, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h-sub{
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 22px 22px;
  box-shadow: var(--shadow2);
}

.hero-card h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.hero-card p{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 14px;
}

.kpi{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.kpi .k{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
}

.k .label{
  color: var(--muted2);
  font-size: 12px;
}

.k .val{
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.section{
  padding: 56px 0;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin: 0;
}

.section-sub{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 14px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.card:hover{
  transform: translateY(-3px);
  border-color: rgba(212,175,55,0.22);
  background: rgba(255,255,255,0.055);
}

.card .icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.22);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 14px;
}

.card .icon img{
  width: 34px; height: 34px;
}

.card h4{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card ul{
  margin: 12px 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.callout{
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(212,175,55,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(212,175,55,0.22);
  padding: 22px;
  box-shadow: var(--shadow2);
}

.quote{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.quote-author{
  margin: 0;
  color: rgba(245,241,232,0.78);
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.faq details{
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px 16px;
}

.faq details + details{ margin-top: 10px; }

.faq summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq p{
  color: var(--muted);
  margin: 10px 0 0 0;
  font-size: 14px;
}

.contact-card{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.contact-row .who{
  display:flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row .who strong{
  letter-spacing: 0.2px;
}

.contact-row .who span{
  font-size: 12px;
  color: var(--muted2);
}

/* AGENTES */
.agents-grid{ margin-top: 10px; }

.agent-top{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 12px;
}

.agent-photo{
  width: 66px;
  height: 66px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: 0 10px 22px rgba(0,0,0,0.30);
  flex: 0 0 auto;
  display: block;
}

.agent-photo-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 25%;
}

.agent-name{
  margin: 0;
  font-size: 16px;
}

.agent-role{
  margin: 4px 0 0 0;
  color: var(--muted2);
  font-size: 12px;
}

.agent-desc{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.agent-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

footer{
  padding: 26px 0 44px 0;
  color: var(--muted2);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

.smallprint{
  font-size: 12px;
  color: rgba(245,241,232,0.55);
  margin-top: 10px;
}

.whatsapp-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f3df9a, var(--gold));
  border: 1px solid rgba(212,175,55,0.55);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .16s ease;
}
.whatsapp-fab:hover{ transform: translateY(-2px); }
.whatsapp-fab svg{ width: 26px; height: 26px; }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .nav, .header-ctas .btn-ghost{ display:none; }
  .hamburger{ display:inline-flex; }
  .mobile-nav{ display:block; }
}


/* Disabled placeholder buttons */
.btn-disabled{opacity:0.55; pointer-events:none; filter:saturate(0.8);}

/* Mobile polish (<= 520px): tighter header, full-bleed hero, better spacing */
@media (max-width: 520px){
  .container{ padding: 0 16px; }

  /* Header: keep one-line, make logo + CTA fit */
  .header-inner{ padding: 10px 0; gap: 10px; }
  .brand{ min-width: 0; }
  .brand img{ width: 138px; }

  .header-ctas{ gap: 8px; }
  .header-ctas .btn-primary{
    padding: 10px 12px;
    font-size: 12.5px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn{ padding: 11px 12px; font-size: 13px; }
  .btn-icon{ width: 42px; height: 42px; border-radius: 14px; }

  /* Hero: prevent “blank band” on the right by tightening the hero background inset and re-centering */
  .hero{ padding: 44px 0 28px 0; }
  .hero::before{
    inset: -56px -76px -96px -76px;
    background-position: 60% 30%;
    opacity: 0.88;
    transform: none;
  }

  .hero-inner{ gap: 18px; }
  .h-title{ font-size: clamp(30px, 9vw, 40px); }
  .h-sub{ font-size: 15px; }

  /* Make CTAs stack nicely */
  .hero-actions{ gap: 10px; }
  .hero-actions .btn{ width: 100%; justify-content: center; }

  /* Cards + sections: less padding */
  .grid-3, .grid-2{ gap: 12px; }
  .card{ padding: 16px; border-radius: 18px; }
  .card:hover{ transform: none; } /* no “hover lift” on touch devices */

  .section{ padding: 44px 0; }
  .section-head{ align-items:flex-start; }
  .section-title{ font-size: 28px; }

  /* Floating WhatsApp button: slightly smaller */
  .whatsapp-fab{ right: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 18px; }
  .whatsapp-fab svg{ width: 24px; height: 24px; }
}

/* Extra-small screens */
@media (max-width: 380px){
  .brand img{ width: 126px; }
  .header-ctas .btn-primary{ max-width: 175px; }
}
