/* =========================================================
   VARGAS FAMILIA & MEDIACIÓN — sistema de diseño (muestra Krea Estudios)
   Arquetipo: cálido / cercano con autoridad · Navy cálido + terracota + crema
   Tipografías: Fraunces (titulares serif suave) · Nunito Sans (cuerpo/UI)
   Identidad: radios grandes, sombras difusas, blobs orgánicos, hero partido claro
   ========================================================= */

:root{
  --navy:    #1F3A5F;
  --navy-2:  #2B4C77;
  --navy-3:  #16294480;  /* sólo para tono; se usa #142a44 abajo */
  --navy-d:  #142A44;
  --ink:     #2A2A28;
  --gold:    #C2925A;
  --gold-2:  #D6A971;
  --gold-d:  #A9763F;
  --cream:   #FBF6EE;
  --paper:   #FFFDF9;
  --paper-2: #F4ECDF;
  --line:    #ECE3D6;
  --line-2:  #DFD3C0;
  --muted:   #76706A;
  --muted-2: #9A938A;
  --white:   #ffffff;

  --shadow-sm: 0 2px 6px rgba(31,58,95,.05), 0 1px 2px rgba(31,58,95,.04);
  --shadow:    0 28px 60px -34px rgba(31,58,95,.30), 0 8px 22px -16px rgba(42,42,40,.10);
  --shadow-lg: 0 50px 100px -46px rgba(31,58,95,.42);
  --shadow-soft: 0 22px 48px -30px rgba(194,146,90,.40);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --container: 1220px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --pill: 999px;
}

/* ---------- reset ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; scroll-behavior:smooth; }
body{ font-family:var(--sans); color:var(--ink); background:var(--paper); line-height:1.7; font-size:17px; overflow-x:hidden; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; color:var(--navy); line-height:1.08; letter-spacing:-0.005em; font-optical-sizing:auto; }

/* subtle paper grain over everything */
body::before{
  content:""; position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.40; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
body > *{ position:relative; z-index:2; }

/* ---------- layout helpers ---------- */
.container{ max-width:var(--container); margin:0 auto; padding:0 30px; }
@media(max-width:640px){ .container{ padding:0 22px; } }
.section{ padding:108px 0; position:relative; }
.section-sm{ padding:72px 0; }
@media(max-width:780px){ .section{ padding:76px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:11px;
  font-family:var(--sans); font-weight:700; font-size:12.5px;
  letter-spacing:.17em; text-transform:uppercase; color:var(--gold-d);
}
.eyebrow::before{ content:""; width:24px; height:2px; border-radius:2px; background:var(--gold); }
.eyebrow.center{ justify-content:center; }
.eyebrow.center::after{ content:""; width:24px; height:2px; border-radius:2px; background:var(--gold); }

.h-xl{ font-size:clamp(44px,6.4vw,80px); line-height:1.02; font-weight:400; }
.h-lg{ font-size:clamp(31px,4.6vw,52px); line-height:1.07; font-weight:400; }
.h-md{ font-size:clamp(24px,3vw,35px); }
.lead{ font-size:clamp(18px,2vw,21px); color:var(--muted); line-height:1.62; font-family:var(--sans); font-weight:400; }
.text-muted{ color:var(--muted); }
.serif-accent{ font-family:var(--serif); font-style:italic; color:var(--gold-d); font-weight:400; }
.em{ font-style:italic; color:var(--gold-d); font-weight:400; }

.center{ text-align:center; }
.section-head{ max-width:740px; margin:0 auto 60px; }
.section-head.left{ margin-left:0; text-align:left; }
.section-head h2{ margin:20px 0 0; }
.section-head p{ margin-top:20px; }

/* ---------- decorative organic blobs ---------- */
.blob{ position:absolute; border-radius:50% 50% 48% 52% / 55% 48% 52% 45%; filter:blur(8px); pointer-events:none; z-index:0; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--sans); font-weight:700; font-size:15px;
  padding:15px 30px; border-radius:var(--pill);
  transition:transform .2s ease, box-shadow .28s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap; letter-spacing:.005em;
}
.btn svg{ width:17px; height:17px; }
.btn-gold{ background:var(--gold); color:#fff; box-shadow:0 16px 30px -14px rgba(194,146,90,.85); }
.btn-gold:hover{ background:var(--gold-d); transform:translateY(-2px); box-shadow:0 20px 34px -14px rgba(169,118,63,.9); }
.btn-navy{ background:var(--navy); color:#fff; box-shadow:0 16px 30px -16px rgba(31,58,95,.7); }
.btn-navy:hover{ background:var(--navy-2); transform:translateY(-2px); }
.btn-outline{ border:1.5px solid var(--line-2); color:var(--navy); background:transparent; }
.btn-outline:hover{ border-color:var(--navy); background:var(--navy); color:#fff; transform:translateY(-2px); }
.btn-ghost-light{ border:1.5px solid rgba(255,255,255,.34); color:#fff; }
.btn-ghost-light:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.55); }
.link-arrow{ display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--navy); font-size:15px; transition:gap .2s, color .2s; }
.link-arrow svg{ width:16px; height:16px; transition:transform .2s; }
.link-arrow:hover{ color:var(--gold-d); }
.link-arrow:hover svg{ transform:translateX(4px); }

/* ---------- top bar + nav ---------- */
.topbar{ background:var(--navy-d); color:rgba(255,255,255,.74); font-size:13px; }
.topbar .container{ display:flex; justify-content:space-between; align-items:center; height:46px; }
.topbar a{ color:rgba(255,255,255,.84); transition:color .2s; }
.topbar a:hover{ color:var(--gold-2); }
.topbar .tb-left{ display:flex; gap:26px; align-items:center; }
.topbar .tb-right{ display:flex; gap:20px; align-items:center; }
.topbar .tb-item{ display:inline-flex; gap:8px; align-items:center; }
.topbar svg{ width:15px; height:15px; opacity:.85; color:var(--gold-2); }
@media(max-width:860px){ .topbar .tb-left .tb-item:nth-child(2){ display:none; } .topbar .tb-right{ display:none; } }

.nav{ position:sticky; top:0; z-index:60; background:rgba(255,253,249,.85); backdrop-filter:blur(16px) saturate(1.4); -webkit-backdrop-filter:blur(16px) saturate(1.4); border-bottom:1px solid var(--line); transition:box-shadow .3s, background .3s; }
.nav.scrolled{ box-shadow:0 14px 36px -26px rgba(31,58,95,.5); background:rgba(255,253,249,.94); }
.nav .container{ display:flex; align-items:center; justify-content:space-between; height:80px; }
.brand{ display:flex; align-items:center; gap:13px; }
.brand .mark{ width:46px; height:46px; border-radius:16px; background:var(--cream); border:1px solid var(--line-2); display:grid; place-items:center; flex-shrink:0; transition:transform .25s; }
.brand:hover .mark{ transform:rotate(-6deg); }
.brand .mark svg{ width:26px; height:26px; }
.brand .bt{ line-height:1; }
.brand .bt .name{ font-family:var(--serif); font-weight:500; font-size:25px; color:var(--navy); letter-spacing:0; }
.brand .bt .sub{ display:block; font-family:var(--sans); font-size:10px; font-weight:700; letter-spacing:.26em; text-transform:uppercase; color:var(--gold-d); margin-top:4px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a.navlink{ font-size:15.5px; font-weight:600; color:var(--ink); position:relative; padding:5px 0; transition:color .2s; }
.nav-links a.navlink::after{ content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; border-radius:2px; background:var(--gold); transition:width .25s; }
.nav-links a.navlink:hover{ color:var(--navy); }
.nav-links a.navlink:hover::after,.nav-links a.navlink.active::after{ width:100%; }
.nav-links a.navlink.active{ color:var(--navy); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; width:48px; height:48px; border-radius:14px; border:1px solid var(--line-2); background:var(--cream); }
.nav-toggle span{ display:block; width:20px; height:2px; border-radius:2px; background:var(--navy); margin:4px auto; transition:.25s; }
@media(max-width:1040px){
  .nav-links{ position:fixed; inset:0 0 0 auto; width:min(86vw,360px); flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:6px; background:var(--paper); padding:108px 32px 40px; transform:translateX(100%); transition:transform .35s cubic-bezier(.4,0,.2,1); box-shadow:var(--shadow-lg); z-index:55; }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a.navlink{ font-size:20px; width:100%; padding:15px 0; border-bottom:1px solid var(--line); }
  .nav-links .btn{ margin-top:22px; width:100%; justify-content:center; }
  .nav-toggle{ display:grid; place-content:center; z-index:60; }
  .nav-toggle.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
  .nav-cta .btn-gold{ display:none; }
}

/* ---------- hero (PARTIDO / split — fondo claro) ---------- */
.hero{ position:relative; background:var(--paper); color:var(--ink); overflow:hidden; }
.hero::before{ content:""; position:absolute; top:-180px; left:-160px; width:620px; height:620px;
  background:radial-gradient(circle at 40% 40%, rgba(194,146,90,.18), transparent 62%); border-radius:50%; z-index:0; }
.hero::after{ content:""; position:absolute; right:-200px; bottom:-220px; width:680px; height:680px;
  background:radial-gradient(circle at 60% 50%, rgba(31,58,95,.07), transparent 64%); border-radius:50%; z-index:0; }
.hero .container{ position:relative; z-index:3; padding-top:84px; padding-bottom:96px; }
.hero-split{ display:grid; grid-template-columns:1.04fr .96fr; gap:64px; align-items:center; }
@media(max-width:980px){ .hero-split{ grid-template-columns:1fr; gap:48px; } }

.hero-copy{ max-width:600px; }
.hero .eyebrow{ color:var(--gold-d); }
.hero h1{ color:var(--navy); margin:22px 0 0; font-size:clamp(40px,5.8vw,68px); line-height:1.04; font-weight:400; }
.hero h1 .em{ font-style:italic; color:var(--gold-d); font-weight:400; }
.hero p.lead{ color:var(--muted); margin-top:24px; max-width:52ch; }
.hero-actions{ margin-top:36px; display:flex; gap:16px; flex-wrap:wrap; }
.hero-trust{ margin-top:46px; padding-top:30px; border-top:1px solid var(--line); display:flex; gap:42px; flex-wrap:wrap; }
.hero-trust .ht{ display:flex; flex-direction:column; gap:3px; }
.hero-trust .ht b{ font-family:var(--serif); font-size:36px; color:var(--navy); font-weight:500; line-height:1; }
.hero-trust .ht span{ font-size:13.5px; color:var(--muted); }
@media(max-width:780px){ .hero-trust{ gap:28px; } .hero-trust .ht b{ font-size:30px; } }

/* hero media: foto en forma muy redondeada + badge-card + frame */
.hero-media{ position:relative; }
.hero-media .hm-shape{ position:relative; border-radius:42% 58% 56% 44% / 52% 44% 56% 48%; overflow:hidden; box-shadow:var(--shadow); border:6px solid var(--white);
  /* superellipse-ish organic frame */
}
@supports(border-radius:30px){ .hero-media .hm-shape{ border-radius:var(--radius-xl); } }
.hero-media .hm-shape img{ width:100%; aspect-ratio:4/4.5; object-fit:cover; display:block; }
.hero-media .hm-frame{ position:absolute; inset:22px -22px -22px 22px; border:1.5px solid var(--gold); border-radius:var(--radius-xl); z-index:-1; }
.hero-media .hm-dot{ position:absolute; top:-26px; right:6px; width:120px; height:120px; z-index:-1;
  background:radial-gradient(circle at 50% 50%, rgba(214,169,113,.55), rgba(214,169,113,0) 70%); border-radius:50%; }
.hero-media .badge-card{ position:absolute; left:-26px; bottom:30px; background:var(--white); border:1px solid var(--line); padding:18px 22px; border-radius:18px; box-shadow:var(--shadow); display:flex; gap:14px; align-items:center; max-width:268px; }
.hero-media .badge-card .bc-ic{ width:44px; height:44px; border-radius:13px; background:var(--cream); display:grid; place-items:center; flex-shrink:0; }
.hero-media .badge-card .bc-ic svg{ width:24px; height:24px; color:var(--gold-d); }
.hero-media .badge-card .bc-tx b{ font-family:var(--sans); font-weight:800; font-size:15px; color:var(--navy); display:block; line-height:1.2; }
.hero-media .badge-card .bc-tx span{ font-size:13px; color:var(--muted); display:block; margin-top:2px; }
@media(max-width:980px){ .hero-media{ max-width:480px; margin:0 auto; } }
@media(max-width:520px){ .hero-media .badge-card{ left:8px; bottom:14px; padding:14px 16px; max-width:230px; } .hero-media .hm-frame{ inset:16px -14px -14px 16px; } }

/* ---------- logo / trust strip ---------- */
.trustbar{ background:var(--cream); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trustbar .container{ display:flex; align-items:center; gap:40px; padding-top:30px; padding-bottom:30px; flex-wrap:wrap; justify-content:center; }
.trustbar .tlabel{ font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted-2); font-weight:700; }
.trustbar .tlogos{ display:flex; gap:42px; align-items:center; flex-wrap:wrap; justify-content:center; }
.trustbar .tlogo{ font-family:var(--serif); font-weight:500; font-size:20px; color:var(--navy); opacity:.62; letter-spacing:.01em; display:inline-flex; align-items:center; gap:9px; }
.trustbar .tlogo svg{ width:19px; height:19px; color:var(--gold); opacity:.85; }

/* ---------- split feature ---------- */
.split{ display:grid; grid-template-columns:1fr 1.05fr; gap:74px; align-items:center; }
.split.reverse{ grid-template-columns:1.05fr 1fr; }
.split.reverse .split-media{ order:2; }
@media(max-width:920px){ .split,.split.reverse{ grid-template-columns:1fr; gap:54px; } .split.reverse .split-media{ order:0; } }
.split-media{ position:relative; }
.split-media img{ width:100%; border-radius:var(--radius-xl); box-shadow:var(--shadow); object-fit:cover; aspect-ratio:5/4.3; }
.split-media .frame{ position:absolute; inset:20px -20px -20px 20px; border:1.5px solid var(--gold); border-radius:var(--radius-xl); z-index:-1; }
.split-media .badge-card{ position:absolute; right:-16px; bottom:-24px; background:var(--navy); color:#fff; padding:24px 28px; border-radius:20px; box-shadow:var(--shadow); max-width:236px; }
.split-media .badge-card b{ font-family:var(--serif); font-size:42px; display:block; line-height:1; color:var(--gold-2); font-weight:500; }
.split-media .badge-card span{ font-size:13.5px; color:rgba(255,255,255,.82); display:block; margin-top:7px; }
.split-body .eyebrow{ margin-bottom:4px; }
.split-body h2{ margin:18px 0 0; }
.split-body p{ margin-top:20px; color:var(--muted); }
.split-body .checklist{ margin-top:28px; display:flex; flex-direction:column; gap:16px; }
.split-body .checklist li{ display:flex; gap:14px; align-items:flex-start; font-size:16.5px; color:var(--ink); }
.split-body .checklist svg{ width:26px; height:26px; flex-shrink:0; color:var(--gold-d); margin-top:1px; }
.split-body .checklist li .ck{ width:28px; height:28px; border-radius:50%; background:var(--cream); display:grid; place-items:center; flex-shrink:0; margin-top:1px; }
.split-body .checklist li .ck svg{ width:17px; height:17px; margin-top:0; }
.split-body .split-actions{ margin-top:36px; display:flex; gap:18px; flex-wrap:wrap; align-items:center; }

/* ---------- practice areas grid ---------- */
.areas-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media(max-width:980px){ .areas-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .areas-grid{ grid-template-columns:1fr; } }
.area-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:transform .28s, box-shadow .28s, border-color .28s; }
.area-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--line-2); }
.area-card .ac-media{ position:relative; aspect-ratio:16/10; overflow:hidden; }
.area-card .ac-media img{ width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.area-card:hover .ac-media img{ transform:scale(1.06); }
.area-card .ac-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 42%, rgba(20,42,68,.46)); }
.area-card .ac-ic{ position:absolute; left:18px; bottom:14px; z-index:2; width:48px; height:48px; border-radius:14px; background:rgba(255,253,249,.95); display:grid; place-items:center; box-shadow:var(--shadow-sm); }
.area-card .ac-ic svg{ width:23px; height:23px; color:var(--navy); }
.area-card .ac-body{ padding:26px 26px 28px; display:flex; flex-direction:column; gap:12px; flex:1; }
.area-card h3{ font-size:22px; }
.area-card p{ font-size:15px; color:var(--muted); flex:1; line-height:1.6; }
.area-card .link-arrow{ font-size:14px; }

/* simple icon area (no photo) for inner pages */
.area-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:0; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; background:var(--white); }
@media(max-width:760px){ .area-list{ grid-template-columns:1fr; } }
.area-list .ali{ padding:40px 38px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; flex-direction:column; gap:14px; transition:background .25s; }
.area-list .ali:hover{ background:var(--cream); }
.area-list .ali .num{ font-family:var(--serif); font-style:italic; color:var(--gold-d); font-size:19px; }
.area-list .ali h3{ font-size:24px; }
.area-list .ali p{ color:var(--muted); font-size:15.5px; }
.area-list .ali ul{ display:flex; flex-direction:column; gap:9px; margin-top:4px; }
.area-list .ali ul li{ font-size:14.5px; color:var(--ink); display:flex; gap:10px; align-items:flex-start; }
.area-list .ali ul li::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--gold); margin-top:8px; flex-shrink:0; }

/* ---------- stats band ---------- */
.statsband{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.statsband::after{ content:""; position:absolute; top:-44%; right:-12%; width:540px; height:540px; border-radius:50%; background:radial-gradient(circle, rgba(214,169,113,.22), transparent 70%); }
.statsband::before{ content:""; position:absolute; bottom:-40%; left:-8%; width:460px; height:460px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.05), transparent 70%); }
.statsband .container{ position:relative; z-index:2; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
@media(max-width:780px){ .stats-grid{ grid-template-columns:repeat(2,1fr); gap:40px 24px; } }
.stat{ text-align:left; }
.stat b{ font-family:var(--serif); font-size:clamp(42px,5vw,60px); font-weight:500; color:var(--gold-2); line-height:1; display:block; }
.stat span{ display:block; margin-top:12px; font-size:15px; color:rgba(255,255,255,.78); line-height:1.5; }
.stat .stat-sep{ width:36px; height:2px; border-radius:2px; background:rgba(214,169,113,.55); margin:14px 0 0; }

/* ---------- why / values ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media(max-width:900px){ .feature-grid{ grid-template-columns:1fr; gap:24px; } }
.feature{ padding:38px 32px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--white); transition:transform .28s, box-shadow .28s; position:relative; overflow:hidden; }
.feature::after{ content:""; position:absolute; top:-40px; right:-40px; width:120px; height:120px; border-radius:50%; background:radial-gradient(circle, rgba(194,146,90,.10), transparent 70%); opacity:0; transition:opacity .35s; }
.feature:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.feature:hover::after{ opacity:1; }
.feature .f-ic{ width:60px; height:60px; border-radius:18px; background:var(--cream); border:1px solid var(--line-2); display:grid; place-items:center; margin-bottom:22px; }
.feature .f-ic svg{ width:28px; height:28px; color:var(--gold-d); }
.feature h3{ font-size:23px; margin-bottom:12px; }
.feature p{ color:var(--muted); font-size:15.5px; line-height:1.62; }

/* ---------- process steps → TIMELINE vertical ---------- */
.steps{ position:relative; display:flex; flex-direction:column; gap:0; max-width:760px; margin:0 auto; counter-reset:step; }
.steps::before{ content:""; position:absolute; left:27px; top:14px; bottom:14px; width:2px; background:linear-gradient(var(--gold) 0%, var(--line-2) 100%); z-index:0; }
.step{ position:relative; padding:0 0 44px 84px; }
.step:last-child{ padding-bottom:0; }
.step .snum{ position:absolute; left:0; top:-4px; width:56px; height:56px; border-radius:18px; background:var(--white); border:1.5px solid var(--gold); color:var(--gold-d); font-family:var(--serif); font-weight:500; font-size:22px; display:grid; place-items:center; z-index:1; box-shadow:var(--shadow-sm); }
.step h3{ font-size:23px; margin:6px 0 10px; }
.step p{ color:var(--muted); font-size:16px; line-height:1.62; max-width:54ch; }
.step::before{ content:none; }
@media(max-width:520px){ .steps::before{ left:23px; } .step{ padding-left:72px; } .step .snum{ width:48px; height:48px; font-size:19px; border-radius:16px; } }

/* ---------- team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
@media(max-width:980px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .team-grid{ grid-template-columns:1fr; } }
.team-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; transition:transform .28s, box-shadow .28s; }
.team-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.team-card .tc-photo{ aspect-ratio:3/3.5; overflow:hidden; position:relative; background:var(--paper-2); }
.team-card .tc-photo img{ width:100%; height:100%; object-fit:cover; filter:saturate(.92); transition:transform .5s, filter .4s; }
.team-card:hover .tc-photo img{ transform:scale(1.04); filter:saturate(1); }
.team-card .tc-body{ padding:24px 24px 26px; }
.team-card .tc-body h3{ font-size:21px; }
.team-card .tc-body .role{ color:var(--gold-d); font-size:13px; font-weight:700; letter-spacing:.03em; margin-top:5px; }
.team-card .tc-body p{ color:var(--muted); font-size:14.5px; margin-top:13px; line-height:1.6; }
.team-card .tc-tags{ display:flex; gap:7px; flex-wrap:wrap; margin-top:18px; }
.team-card .tc-tags span{ font-size:11.5px; color:var(--muted); border:1px solid var(--line); padding:5px 12px; border-radius:var(--pill); background:var(--cream); }

/* ---------- testimonial ---------- */
.quote-band{ background:var(--cream); position:relative; overflow:hidden; }
.quote-band::before{ content:""; position:absolute; top:-120px; left:-120px; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(194,146,90,.14), transparent 70%); }
.quote{ max-width:940px; margin:0 auto; text-align:center; position:relative; z-index:2; }
.quote .qmark{ font-family:var(--serif); font-size:110px; line-height:.5; color:var(--gold); opacity:.42; }
.quote blockquote{ font-family:var(--serif); font-size:clamp(24px,3.1vw,36px); line-height:1.42; color:var(--navy); font-weight:400; margin:22px 0 30px; font-style:italic; }
.quote .qby{ display:flex; align-items:center; gap:15px; justify-content:center; }
.quote .qby img{ width:58px; height:58px; border-radius:50%; object-fit:cover; border:2px solid var(--white); box-shadow:var(--shadow-sm); }
.quote .qby .qn{ text-align:left; }
.quote .qby .qn b{ display:block; color:var(--ink); font-size:16px; font-family:var(--sans); font-weight:800; }
.quote .qby .qn span{ color:var(--muted); font-size:14px; }

/* testimonials grid (inner) */
.tgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media(max-width:900px){ .tgrid{ grid-template-columns:1fr; } }
.tcard{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px 32px; box-shadow:var(--shadow-sm); }
.tcard .stars{ color:var(--gold); letter-spacing:3px; font-size:16px; }
.tcard blockquote{ font-size:16.5px; color:var(--ink); margin:18px 0 24px; line-height:1.62; }
.tcard .tby{ display:flex; align-items:center; gap:13px; }
.tcard .tby img{ width:48px; height:48px; border-radius:50%; object-fit:cover; }
.tcard .tby b{ font-size:15px; color:var(--navy); font-weight:800; }
.tcard .tby span{ font-size:13px; color:var(--muted); display:block; }

/* ---------- CTA band ---------- */
.cta-band{ position:relative; background:var(--navy); color:#fff; overflow:hidden; }
.cta-band::before{ content:""; position:absolute; inset:0; background:linear-gradient(118deg, rgba(20,42,68,.94), rgba(31,58,95,.78)); z-index:2; }
.cta-band .cta-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.42; z-index:1; }
.cta-band .container{ position:relative; z-index:3; text-align:center; }
.cta-band h2{ color:#fff; max-width:20ch; margin:20px auto 0; font-weight:400; }
.cta-band h2 .em{ font-style:italic; color:var(--gold-2); }
.cta-band p{ color:rgba(255,255,255,.84); max-width:56ch; margin:22px auto 0; font-size:18px; }
.cta-band .cta-actions{ margin-top:38px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- page header (inner pages) ---------- */
.pagehead{ position:relative; background:var(--navy); color:#fff; overflow:hidden; }
.pagehead::before{ content:""; position:absolute; inset:0; background:linear-gradient(112deg, rgba(20,42,68,.95), rgba(31,58,95,.72)); z-index:2; }
.pagehead .ph-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5; z-index:1; }
.pagehead .container{ position:relative; z-index:3; padding-top:96px; padding-bottom:96px; }
.pagehead .crumbs{ font-size:13.5px; color:rgba(255,255,255,.66); display:flex; gap:10px; align-items:center; }
.pagehead .crumbs a:hover{ color:var(--gold-2); }
.pagehead .crumbs span{ opacity:.5; }
.pagehead h1{ color:#fff; margin-top:20px; font-size:clamp(38px,5vw,62px); font-weight:400; }
.pagehead p{ color:rgba(255,255,255,.84); margin-top:20px; max-width:60ch; font-size:18px; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:58px; align-items:start; }
@media(max-width:920px){ .contact-grid{ grid-template-columns:1fr; gap:46px; } }
.contact-info .ci-item{ display:flex; gap:16px; align-items:flex-start; padding:24px 0; border-bottom:1px solid var(--line); }
.contact-info .ci-item:first-child{ padding-top:0; }
.contact-info .ci-ic{ width:50px; height:50px; border-radius:15px; background:var(--cream); border:1px solid var(--line-2); display:grid; place-items:center; flex-shrink:0; }
.contact-info .ci-ic svg{ width:23px; height:23px; color:var(--gold-d); }
.contact-info .ci-item h4{ font-family:var(--sans); font-weight:800; font-size:13.5px; color:var(--navy); text-transform:uppercase; letter-spacing:.08em; }
.contact-info .ci-item p,.contact-info .ci-item a{ color:var(--muted); font-size:16px; margin-top:5px; }
.contact-info .ci-item a:hover{ color:var(--gold-d); }
.form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px 38px; box-shadow:var(--shadow); }
@media(max-width:520px){ .form-card{ padding:30px 24px; } }
.form-card h3{ font-size:26px; margin-bottom:8px; }
.form-card .fc-sub{ color:var(--muted); font-size:15px; margin-bottom:28px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.field input,.field select,.field textarea{ width:100%; font-family:inherit; font-size:15.5px; color:var(--ink); background:var(--cream); border:1px solid var(--line-2); border-radius:var(--radius); padding:14px 16px; transition:border .2s, box-shadow .2s, background .2s; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--gold); background:var(--white); box-shadow:0 0 0 3px rgba(194,146,90,.16); }
.field textarea{ resize:vertical; min-height:124px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:520px){ .field-row{ grid-template-columns:1fr; } }
.form-card .btn{ width:100%; justify-content:center; margin-top:6px; }
.form-note{ font-size:12.5px; color:var(--muted-2); text-align:center; margin-top:16px; }

.map-embed{ margin-top:32px; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); aspect-ratio:16/7; background:var(--paper-2); }
.map-embed iframe{ width:100%; height:100%; border:0; filter:grayscale(.18) sepia(.06); }

/* ---------- faq ---------- */
.faq{ max-width:840px; margin:0 auto; }
.faq-item{ border:1px solid var(--line); border-radius:var(--radius); background:var(--white); margin-bottom:14px; transition:box-shadow .25s, border-color .25s; }
.faq-item.open{ box-shadow:var(--shadow-sm); border-color:var(--line-2); }
.faq-q{ width:100%; text-align:left; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:24px 26px; font-family:var(--serif); font-size:20px; color:var(--navy); font-weight:500; }
.faq-q .fic{ width:32px; height:32px; flex-shrink:0; border-radius:50%; border:1px solid var(--line-2); background:var(--cream); display:grid; place-items:center; transition:.25s; position:relative; }
.faq-q .fic::before,.faq-q .fic::after{ content:""; position:absolute; background:var(--navy); border-radius:2px; }
.faq-q .fic::before{ width:12px; height:2px; }
.faq-q .fic::after{ width:2px; height:12px; transition:transform .25s; }
.faq-item.open .faq-q .fic{ background:var(--gold); border-color:var(--gold); }
.faq-item.open .faq-q .fic::before,.faq-item.open .faq-q .fic::after{ background:#fff; }
.faq-item.open .faq-q .fic::after{ transform:scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a p{ padding:0 26px 26px; color:var(--muted); font-size:16px; line-height:1.66; }

/* ---------- footer ---------- */
.footer{ background:var(--navy-d); color:rgba(255,255,255,.74); padding:84px 0 0; }
.footer .fcols{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:46px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.1); }
@media(max-width:920px){ .footer .fcols{ grid-template-columns:1fr 1fr; gap:42px 30px; } }
@media(max-width:520px){ .footer .fcols{ grid-template-columns:1fr; } }
.footer .fbrand .brand .mark{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); }
.footer .fbrand .brand .bt .name{ color:#fff; }
.footer .fbrand p{ margin-top:20px; font-size:14.5px; color:rgba(255,255,255,.62); max-width:36ch; line-height:1.65; }
.footer .fbrand .socials{ margin-top:24px; display:flex; gap:12px; }
.footer .fbrand .socials a{ width:42px; height:42px; border-radius:14px; border:1px solid rgba(255,255,255,.16); display:grid; place-items:center; transition:.2s; }
.footer .fbrand .socials a:hover{ background:var(--gold); border-color:var(--gold); transform:translateY(-2px); }
.footer .fbrand .socials svg{ width:18px; height:18px; color:#fff; }
.footer h4{ font-family:var(--sans); color:#fff; font-size:13px; letter-spacing:.13em; text-transform:uppercase; font-weight:800; margin-bottom:20px; }
.footer ul li{ margin-bottom:12px; }
.footer ul a{ font-size:14.5px; color:rgba(255,255,255,.70); transition:color .2s; }
.footer ul a:hover{ color:var(--gold-2); }
.footer .fcontact li{ display:flex; gap:11px; align-items:flex-start; font-size:14.5px; color:rgba(255,255,255,.72); }
.footer .fcontact a{ color:rgba(255,255,255,.72); }
.footer .fcontact a:hover{ color:var(--gold-2); }
.footer .fcontact svg{ width:16px; height:16px; color:var(--gold); flex-shrink:0; margin-top:3px; }
.footer .fbottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:26px 0; font-size:13px; color:rgba(255,255,255,.52); }
.footer .fbottom a:hover{ color:var(--gold-2); }

/* ---------- floating whatsapp ---------- */
.wa-float{ position:fixed; right:22px; bottom:22px; z-index:80; width:60px; height:60px; border-radius:50%; background:#25D366; display:grid; place-items:center; box-shadow:0 16px 34px -10px rgba(37,211,102,.7); transition:transform .2s; }
.wa-float:hover{ transform:scale(1.07); }
.wa-float svg{ width:31px; height:31px; color:#fff; }

/* ---------- reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.09s; } .reveal.d2{ transition-delay:.18s; } .reveal.d3{ transition-delay:.27s; } .reveal.d4{ transition-delay:.36s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; }
  html{ scroll-behavior:auto; }
}
