/* ==========================================================================
   Gallardo & Compañía Abogados — Hoja de estilos global
   Basada en el sistema visual del sitio original (home). Centralizada para
   que todas las páginas del sitio compartan exactamente los mismos tokens.
   ========================================================================== */
@font-face{ font-family:'Instrument Serif'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/instrument-serif-400-normal.woff2') format('woff2'); }
@font-face{ font-family:'Instrument Serif'; font-style:italic; font-weight:400; font-display:swap; src:url('../fonts/instrument-serif-400-italic.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter-400-normal.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter-600-normal.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter-700-normal.woff2') format('woff2'); }

:root{
  --navy:#485763; --navy-deep:#2A353E; --ink:#1B2226; --white:#FFFFFF;
  --grey-50:#F9F9F8; --grey-100:#F1F2F1; --grey-300:#C9CDCE; --grey-400:#9BA3A8;
  --line:#E4E6E5;
  --display:'Instrument Serif', serif;
  /* General Sans no está disponible como archivo de fuente real: se sustituye por
     Inter (autohospedada, sin CDN externo), tal como indica el manual de marca. */
  --body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation-duration:.001ms !important; transition-duration:.001ms !important; } }
body{ font-family:var(--body); color:var(--ink); background:var(--white); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; border:none; cursor:pointer; background:none; }
img{ max-width:100%; display:block; }
:focus-visible{ outline:2px solid var(--navy); outline-offset:3px; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--navy); color:var(--white); padding:12px 20px; z-index:999; }
.skip-link:focus{ left:16px; top:16px; }

.wrap{ max-width:1240px; margin:0 auto; }
section{ padding:120px clamp(20px,5vw,56px); }
.eyebrow{ font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--grey-400); margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.eyebrow::before{ content:''; width:24px; height:1px; background:var(--grey-400); }
h2{ font-family:var(--display); font-weight:400; font-size:clamp(32px,4.2vw,52px); line-height:1.08; letter-spacing:-.01em; }
h2 em{ font-style:italic; color:var(--navy); }

/* ---------- NAV ---------- */
.nav{ position:fixed; top:0; left:0; right:0; z-index:100; display:flex; align-items:center; justify-content:space-between; padding:22px clamp(20px,5vw,56px); background:rgba(255,255,255,.86); backdrop-filter:blur(10px); transition:padding .3s ease, box-shadow .3s ease; }
.nav.scrolled{ padding-top:14px; padding-bottom:14px; box-shadow:0 1px 0 var(--line); }
.nav__logo img{ height:26px; width:auto; aspect-ratio:auto; display:block; }
.nav__links{ display:flex; align-items:center; gap:clamp(14px,2.4vw,30px); }
.nav__links a:not(.cta){ font-size:14px; font-weight:500; color:var(--ink); transition:opacity .2s ease; }
.nav__links a:not(.cta):hover{ opacity:.6; }
.nav__links a.current{ color:var(--navy); font-weight:600; }
.nav__links a.cta{ background:var(--navy); color:var(--white) !important; padding:11px 22px; border-radius:100px; font-weight:600; font-size:14px; transition:background .2s ease, transform .2s ease; white-space:nowrap; }
.nav__links a.cta:hover{ background:var(--navy-deep); transform:translateY(-1px); }
.nav__burger{ display:none; }

@media (max-width:860px){
  .nav__links a:not(.cta){ display:none; }
  .nav__links{ gap:14px; }
}

/* ---------- HERO (home) ---------- */
.hero{ position:relative; min-height:100svh; display:flex; align-items:center; padding-top:96px; overflow:hidden; }
.hero-amp{ position:absolute; top:-14%; right:-4%; font-family:var(--display); font-style:italic; font-size:min(60vw,760px); line-height:1; color:transparent; -webkit-text-stroke:1px var(--grey-100); z-index:0; pointer-events:none; user-select:none; }
.hero__grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.18fr .82fr; align-items:center; gap:40px; width:100%; max-width:1280px; margin:0 auto; padding:0 clamp(20px,5vw,56px); }
.hero__tagline{ font-family:var(--display); font-style:italic; color:var(--navy); font-size:clamp(19px,2.3vw,25px); margin-bottom:16px; }
.hero__title{ font-family:var(--display); font-weight:400; font-size:clamp(36px,5vw,58px); line-height:1.08; letter-spacing:-.01em; margin-bottom:28px; }
.hero__title em{ font-style:italic; color:var(--navy); }
.hero__sub{ font-size:clamp(17px,1.8vw,20px); line-height:1.6; color:#4A5459; max-width:490px; margin-bottom:38px; }
.hero__sub strong{ color:var(--ink); font-weight:600; }
.hero__actions{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; margin-bottom:60px; }
.btn-primary{ display:inline-flex; align-items:center; gap:10px; background:var(--navy); color:var(--white); padding:16px 28px; border-radius:100px; font-weight:600; font-size:15px; transition:transform .2s ease, background .2s ease; }
.btn-primary:hover{ transform:translateY(-2px); background:var(--navy-deep); }
.btn-primary svg{ width:18px; height:18px; flex-shrink:0; }
.btn-primary.on-navy{ background:var(--white); color:var(--navy-deep); }
.btn-primary.on-navy:hover{ background:var(--grey-100); }
.link-secondary{ font-size:14px; font-weight:600; color:var(--navy); border-bottom:1px solid var(--grey-300); padding-bottom:3px; }
.hero__trust{ display:flex; flex-wrap:wrap; gap:36px; }
.hero__trust-num{ font-family:var(--display); font-size:34px; color:var(--ink); display:flex; align-items:baseline; line-height:1; }
.hero__trust-num .star{ font-family:var(--body); font-size:16px; margin-left:3px; }
.hero__trust-label{ font-size:12px; color:var(--grey-400); letter-spacing:.04em; text-transform:uppercase; }

.hero__photo-col{ position:relative; height:min(74vh,720px); }
.hero__photo{ width:100%; height:100%; object-fit:cover; object-position:60% 12%;
  -webkit-mask-image:linear-gradient(to left, black 55%, transparent 96%), linear-gradient(to bottom, black 72%, transparent 100%);
  -webkit-mask-composite:source-in; mask-composite:intersect;
  mask-image:linear-gradient(to left, black 55%, transparent 96%), linear-gradient(to bottom, black 72%, transparent 100%);
}

@media (max-width:920px){
  .hero__grid{ grid-template-columns:1fr; gap:8px; }
  .hero__photo-col{ order:-1; height:46vh; margin-bottom:0; }
  .hero__photo{ object-position:50% 8%; mask-image:linear-gradient(to bottom, black 60%, transparent 100%); -webkit-mask-image:linear-gradient(to bottom, black 60%, transparent 100%); }
  .hero-amp{ font-size:80vw; top:-6%; right:-20%; }
}
@media (max-width:640px){
  .hero .eyebrow{ margin-bottom:10px; justify-content:center; }
  .hero__tagline{ text-align:center; }
  .hero__title{ font-size:36px; text-align:center; }
  .hero__sub{ text-align:center; margin-left:auto; margin-right:auto; }
  .hero__actions{ justify-content:center; }
  .hero__trust{ justify-content:center; }
  .hero__trust > div{ text-align:center; }
}

/* ---------- NOSOTROS ---------- */
.nosotros{ background:var(--grey-50); }
.nosotros__grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:start; max-width:1240px; margin:0 auto; }
.nosotros p{ font-size:17px; line-height:1.75; color:#4A5459; max-width:560px; }
.nosotros p + p{ margin-top:18px; }
@media (max-width:860px){ .nosotros__grid{ grid-template-columns:1fr; gap:24px; } }

/* ---------- AREAS ---------- */
.areas__head{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:24px; margin-bottom:48px; max-width:1240px; margin-left:auto; margin-right:auto; }
.tabs{ display:flex; gap:8px; background:var(--grey-100); padding:6px; border-radius:100px; }
.tabs button{ padding:11px 24px; border-radius:100px; font-size:13px; font-weight:600; letter-spacing:.03em; color:var(--grey-400); transition:background .25s ease, color .25s ease; }
.tabs button.active{ background:var(--navy); color:var(--white); }
.areas-grid{ display:none; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); max-width:1240px; margin:0 auto; }
.areas-grid.active{ display:grid; }
.area-card{ background:var(--white); padding:36px 28px; transition:background .2s ease; display:block; }
.area-card:hover{ background:var(--grey-50); }
.area-card:hover .area-card__link{ opacity:.65; }
.area-card__num{ font-family:var(--display); font-size:15px; color:var(--grey-300); }
.area-card__title{ font-family:var(--display); font-size:26px; margin:26px 0 10px; }
.area-card__desc{ font-size:14.5px; line-height:1.6; color:#4A5459; margin-bottom:18px; }
.area-card__link{ font-size:13px; font-weight:600; color:var(--navy); }
@media (max-width:1024px){ .areas-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .areas-grid{ grid-template-columns:1fr; } }

/* ---------- EQUIPO ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:28px; max-width:1240px; margin:0 auto; }
.team-card__photo{ border-radius:14px; overflow:hidden; margin-bottom:20px; aspect-ratio:419/595; background:var(--grey-100); }
.team-card__photo img{ width:100%; height:100%; object-fit:cover; }
.team-card__name{ font-family:var(--display); font-size:22px; margin-bottom:4px; }
.team-card__role{ font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--navy); margin-bottom:14px; }
.team-card__quote{ font-size:14px; line-height:1.6; color:#4A5459; }
.team-card__link{ display:inline-block; margin-top:14px; font-size:13px; font-weight:600; color:var(--navy); border-bottom:1px solid var(--grey-300); }
@media (max-width:1024px){ .team-grid{ grid-template-columns:repeat(3,1fr); row-gap:44px; } }
@media (max-width:640px){ .team-grid{ grid-template-columns:repeat(2,1fr); row-gap:36px; gap:18px; } }

/* ---------- CONTACTO ---------- */
.contacto__inner{ max-width:640px; margin:0 auto; text-align:center; }
.contacto__inner p{ font-size:17px; line-height:1.65; color:#4A5459; margin:0 auto 48px; max-width:440px; }
.contacto__inner .btn-primary{ display:inline-flex; margin-bottom:56px; }
.contacto__location{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:48px; font-size:14px; color:#4A5459; flex-wrap:wrap; }
.contacto__location svg{ width:18px; height:18px; color:var(--navy); flex-shrink:0; }
.contacto__location a{ color:var(--navy); font-weight:600; border-bottom:1px solid var(--grey-300); }
.contacto__map{ max-width:900px; margin:0 auto; border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--grey-50); }
.contacto__map iframe{ width:100%; height:340px; border:0; display:block; }
.contacto__methods{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); max-width:900px; margin:0 auto 56px; text-align:left; }
.contacto__method{ background:var(--white); padding:28px; }
.contacto__method h3{ font-family:var(--display); font-size:20px; margin-bottom:8px; font-weight:400; }
.contacto__method p{ font-size:14px; line-height:1.6; color:#4A5459; margin:0 0 12px; max-width:none; }
.contacto__method a.link-secondary{ font-size:13px; }
@media (max-width:760px){ .contacto__methods{ grid-template-columns:1fr; } }

/* ---------- FOOTER ---------- */
footer{ padding:60px clamp(20px,5vw,56px) 40px; border-top:1px solid var(--line); }
.footer__top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:40px; max-width:1240px; margin:0 auto 32px; }
.footer__logo img{ height:24px; width:auto; aspect-ratio:auto; }
.footer__brand p{ font-size:13.5px; color:var(--grey-400); max-width:260px; margin-top:14px; line-height:1.6; }
.footer__cols{ display:flex; gap:56px; flex-wrap:wrap; }
.footer__col h4{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--grey-400); margin-bottom:14px; }
.footer__col a{ display:block; font-size:14px; color:var(--ink); margin-bottom:10px; }
.footer__col a:hover{ color:var(--navy); }
.footer__bottom{ max-width:1240px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:var(--grey-400); padding-top:28px; border-top:1px solid var(--line); }
.footer__bottom a{ color:var(--grey-400); }
.footer__bottom a:hover{ color:var(--navy); }

/* ---------- FLOATING CTA ---------- */
.floating-cta{ position:fixed; bottom:28px; right:28px; z-index:200; display:flex; align-items:center; gap:10px; background:var(--navy); color:var(--white); padding:15px 22px 15px 18px; border-radius:100px; font-size:14px; font-weight:600; box-shadow:0 10px 30px rgba(27,34,38,.22); opacity:0; transform:translateY(14px) scale(.96); pointer-events:none; transition:opacity .35s ease, transform .35s ease, background .2s ease; }
.floating-cta.visible{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.floating-cta:hover{ background:var(--navy-deep); }
.floating-cta svg{ width:20px; height:20px; flex-shrink:0; }
@media (max-width:640px){
  .floating-cta{ left:50%; right:auto; bottom:18px; transform:translate(-50%,14px) scale(.96); }
  .floating-cta.visible{ transform:translate(-50%,0) scale(1); }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner{ position:fixed; left:0; right:0; bottom:0; z-index:300; background:var(--navy-deep); color:var(--white); padding:20px clamp(20px,4vw,40px); display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; transform:translateY(110%); transition:transform .5s ease; box-shadow:0 -8px 30px rgba(0,0,0,.15); }
.cookie-banner.visible{ transform:translateY(0); }
.cookie-banner__text{ font-size:13.5px; line-height:1.55; color:rgba(255,255,255,.85); max-width:640px; }
.cookie-banner__text a{ color:var(--white); text-decoration:underline; font-weight:600; }
.cookie-banner__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.btn-ghost{ background:transparent; color:var(--white); border:1px solid rgba(255,255,255,.35); padding:11px 20px; border-radius:100px; font-size:13.5px; font-weight:600; transition:border-color .2s ease, background .2s ease; }
.btn-ghost:hover{ border-color:rgba(255,255,255,.7); background:rgba(255,255,255,.06); }
.btn-primary-sm{ background:var(--white); color:var(--navy-deep); padding:11px 20px; border-radius:100px; font-size:13.5px; font-weight:600; transition:transform .2s ease; }
.btn-primary-sm:hover{ transform:translateY(-1px); }
@media (max-width:640px){
  .cookie-banner{ flex-direction:column; align-items:stretch; text-align:center; }
  .cookie-banner__actions{ justify-content:center; }
}

/* ---------- MODALS (privacidad/cookies inline toggles reused on their pages) ---------- */
.cookie-pref-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 0; border-top:1px solid var(--line); }
.cookie-pref-row strong{ font-size:14.5px; color:var(--ink); }
.cookie-pref-row p{ margin-top:3px; font-size:13.5px; color:#4A5459; }
.toggle-locked{ font-size:12px; font-weight:700; color:var(--grey-400); text-transform:uppercase; letter-spacing:.03em; white-space:nowrap; }
.toggle{ position:relative; display:inline-block; width:42px; height:24px; flex-shrink:0; }
.toggle input{ opacity:0; width:0; height:0; }
.toggle__slider{ position:absolute; cursor:pointer; inset:0; background:var(--grey-300); border-radius:100px; transition:background .2s ease; }
.toggle__slider::before{ content:''; position:absolute; width:18px; height:18px; left:3px; top:3px; background:var(--white); border-radius:50%; transition:transform .2s ease; }
.toggle input:checked + .toggle__slider{ background:var(--navy); }
.toggle input:checked + .toggle__slider::before{ transform:translateX(18px); }

/* ---------- MAP PLACEHOLDER (consent-gated) ---------- */
.map-placeholder{ height:340px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; text-align:center; padding:24px; }
.map-placeholder p{ font-size:13.5px; color:var(--grey-400); max-width:320px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.js-ready .reveal{ opacity:0; transform:translateY(26px); }
.js-ready .reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-group.is-visible > *{ opacity:1; transform:translateY(0); }
.js-ready .reveal-group > *{ opacity:0; transform:translateY(22px); transition:opacity .6s cubic-bezier(.16,.8,.3,1), transform .6s cubic-bezier(.16,.8,.3,1); }
.js-ready .reveal-group > *:nth-child(1){ transition-delay:.03s; }
.js-ready .reveal-group > *:nth-child(2){ transition-delay:.09s; }
.js-ready .reveal-group > *:nth-child(3){ transition-delay:.15s; }
.js-ready .reveal-group > *:nth-child(4){ transition-delay:.21s; }
.js-ready .reveal-group > *:nth-child(5){ transition-delay:.27s; }
.js-ready .hero .eyebrow, .js-ready .hero__title, .js-ready .hero__sub, .js-ready .hero__actions, .js-ready .hero__trust{ opacity:0; transform:translateY(18px); transition:opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
.js-ready .hero .eyebrow{ transition-delay:.05s; }
.js-ready .hero__title{ transition-delay:.15s; }
.js-ready .hero__sub{ transition-delay:.28s; }
.js-ready .hero__actions{ transition-delay:.4s; }
.js-ready .hero__trust{ transition-delay:.5s; }
.js-ready .hero__photo-col{ opacity:0; transform:scale(1.04); transition:opacity 1s ease, transform 1.1s cubic-bezier(.16,.8,.3,1); }
.hero-loaded .hero .eyebrow, .hero-loaded .hero__title, .hero-loaded .hero__sub, .hero-loaded .hero__actions, .hero-loaded .hero__trust, .hero-loaded .hero__photo-col{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js-ready .reveal, .js-ready .reveal-group > *, .js-ready .hero .eyebrow, .js-ready .hero__title, .js-ready .hero__sub, .js-ready .hero__actions, .js-ready .hero__trust, .js-ready .hero__photo-col{ opacity:1 !important; transform:none !important; transition:none !important; } }

/* ==========================================================================
   PÁGINAS INTERNAS (servicios, honorarios, equipo, perfiles, contacto)
   ========================================================================== */

/* ---------- Page header / breadcrumbs ---------- */
.page-header{ padding:150px clamp(20px,5vw,56px) 64px; max-width:1240px; margin:0 auto; }
.breadcrumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:var(--grey-400); margin-bottom:28px; }
.breadcrumbs a{ color:var(--grey-400); }
.breadcrumbs a:hover{ color:var(--navy); }
.breadcrumbs span[aria-current]{ color:var(--ink); font-weight:600; }
.breadcrumbs .sep{ opacity:.5; }
.page-header h1{ font-family:var(--display); font-weight:400; font-size:clamp(34px,4.6vw,58px); line-height:1.08; letter-spacing:-.01em; max-width:820px; }
.page-header h1 em{ font-style:italic; color:var(--navy); }
.page-header__lede{ font-size:17px; line-height:1.65; color:#4A5459; max-width:640px; margin-top:22px; }

/* ---------- Direct-answer box (AEO) ---------- */
.direct-answer-band{ max-width:1240px; margin:0 auto; padding:0 clamp(20px,5vw,56px); }
.direct-answer{ background:var(--grey-50); border:1px solid var(--line); border-radius:16px; padding:28px 32px; margin:28px 0 56px; width:100%; }
.direct-answer p{ font-size:15.5px; line-height:1.7; color:var(--ink); }
.direct-answer p strong{ color:var(--navy-deep); }
@media (max-width:640px){ .direct-answer{ margin:20px 0 40px; padding:22px 22px; } }

/* ---------- Content grid: article + sticky sidebar ---------- */
.content-grid{ display:grid; grid-template-columns:1fr 320px; gap:64px; max-width:1240px; margin:0 auto; padding:0 clamp(20px,5vw,56px) 40px; align-items:start; }
@media (max-width:960px){ .content-grid{ grid-template-columns:1fr; gap:40px; } }

.prose{ max-width:760px; }
.prose h2{ font-size:clamp(26px,3vw,34px); margin:56px 0 18px; }
.prose > h2:first-child{ margin-top:0; }
.prose h3{ font-family:var(--display); font-weight:400; font-size:21px; margin:28px 0 10px; color:var(--ink); }
.prose p{ font-size:16px; line-height:1.75; color:#4A5459; margin-bottom:16px; }
.prose ul, .prose ol{ margin:0 0 20px 20px; }
.prose li{ font-size:16px; line-height:1.7; color:#4A5459; margin-bottom:8px; }
.prose strong{ color:var(--ink); font-weight:600; }
.prose .note{ font-size:14px; color:var(--grey-400); border-left:2px solid var(--line); padding-left:14px; margin:20px 0; }

.checklist{ list-style:none; margin:0 0 20px !important; display:grid; gap:10px; }
.checklist li{ display:flex; align-items:flex-start; gap:12px; margin-bottom:0 !important; }
.checklist li svg{ width:18px; height:18px; color:var(--navy); flex-shrink:0; margin-top:3px; }

.info-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:8px 0 24px; }
.info-card{ background:var(--grey-50); border:1px solid var(--line); border-radius:14px; padding:22px 24px; }
.info-card h4{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:var(--navy); margin-bottom:8px; }
.info-card p{ font-size:14.5px; line-height:1.6; color:#4A5459; margin:0; }
@media (max-width:560px){ .info-cards{ grid-template-columns:1fr; } }

/* ---------- Sidebar CTA (sticky) ---------- */
.sidebar{ position:sticky; top:110px; }
.sidebar-card{ background:var(--navy-deep); color:var(--white); border-radius:18px; padding:32px 26px; margin-bottom:20px; }
.sidebar-card h3{ font-family:var(--display); font-weight:400; font-size:24px; margin-bottom:12px; }
.sidebar-card p{ font-size:14px; line-height:1.6; color:rgba(255,255,255,.72); margin-bottom:22px; }
.sidebar-card .btn-primary{ width:100%; justify-content:center; }
.sidebar-card__note{ font-size:12px; color:rgba(255,255,255,.5); margin-top:14px; text-align:center; }
.sidebar-links{ background:var(--grey-50); border:1px solid var(--line); border-radius:18px; padding:26px; }
.sidebar-links h4{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:var(--grey-400); margin-bottom:14px; }
.sidebar-links a{ display:block; font-size:14.5px; font-weight:500; color:var(--ink); padding:9px 0; border-top:1px solid var(--line); }
.sidebar-links a:first-of-type{ border-top:none; }
.sidebar-links a:hover{ color:var(--navy); }

/* ---------- FAQ ---------- */
.faq{ margin-top:8px; }
.faq details{ border-top:1px solid var(--line); padding:20px 0; }
.faq details:last-child{ border-bottom:1px solid var(--line); }
.faq summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:16.5px; font-weight:600; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; font-family:var(--display); font-size:26px; color:var(--navy); flex-shrink:0; transition:transform .2s ease; line-height:1; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ font-size:15px; line-height:1.7; color:#4A5459; margin-top:14px; padding-right:36px; }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--navy-deep); color:var(--white); text-align:center; padding:88px clamp(20px,5vw,56px); }
.cta-band .eyebrow{ color:rgba(255,255,255,.5); justify-content:center; }
.cta-band .eyebrow::before{ background:rgba(255,255,255,.5); }
.cta-band h2{ color:var(--white); margin-bottom:18px; }
.cta-band h2 em{ color:#B9C3CA; }
.cta-band p{ font-size:16px; color:rgba(255,255,255,.72); max-width:520px; margin:0 auto 34px; }
.cta-band .btn-primary{ display:inline-flex; }

/* ---------- Author / updated meta ---------- */
.article-meta{ display:flex; flex-wrap:wrap; gap:24px; align-items:center; padding:24px 0; margin-top:44px; border-top:1px solid var(--line); font-size:13.5px; color:var(--grey-400); }
.article-meta strong{ color:var(--ink); }

/* ---------- Honorarios table ---------- */
.pricing-table{ width:100%; border-collapse:collapse; margin:20px 0 28px; }
.pricing-table th, .pricing-table td{ text-align:left; padding:16px 18px; font-size:14.5px; border-bottom:1px solid var(--line); }
.pricing-table th{ font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--grey-400); font-weight:700; }
.pricing-table td{ color:#4A5459; }
.pricing-table td:first-child, .pricing-table th:first-child{ color:var(--ink); font-weight:600; }

/* ---------- Equipo grid (subpage variant, reuses .team-grid) ---------- */
.team-intro{ max-width:640px; margin-bottom:56px; }
.team-intro p{ font-size:17px; line-height:1.7; color:#4A5459; margin-top:16px; }

/* ---------- Profile page ---------- */
.profile-hero{ display:grid; grid-template-columns:280px 1fr; gap:56px; align-items:start; max-width:1000px; margin:0 auto; padding:150px clamp(20px,5vw,56px) 0; }
.profile-hero__photo{ border-radius:18px; overflow:hidden; aspect-ratio:419/595; background:var(--grey-100); }
.profile-hero__photo img{ width:100%; height:100%; object-fit:cover; }
.profile-hero__role{ font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--navy); margin-bottom:14px; }
.profile-hero h1{ font-family:var(--display); font-weight:400; font-size:clamp(32px,4vw,48px); margin-bottom:16px; }
.profile-hero__quote{ font-family:var(--display); font-style:italic; font-size:22px; line-height:1.4; color:var(--ink); margin:20px 0 26px; max-width:480px; }
.profile-hero p.body-text{ font-size:16px; line-height:1.72; color:#4A5459; margin-bottom:16px; max-width:480px; }
@media (max-width:760px){ .profile-hero{ grid-template-columns:1fr; padding-top:120px; } .profile-hero__photo{ max-width:220px; } }

/* ---------- Team index individual card link wrapper ---------- */
.team-card{ display:block; }
.team-card a.team-card__namelink{ color:inherit; }
.team-card a.team-card__namelink:hover .team-card__name{ color:var(--navy); }
.team-card__photo a{ display:block; height:100%; }

/* ---------- Legal pages (privacidad / cookies) prose width ---------- */
.legal-page .prose{ max-width:760px; }
.legal-page h2{ font-size:22px !important; margin:36px 0 10px !important; font-family:var(--body) !important; font-weight:700 !important; text-transform:uppercase; letter-spacing:.02em; color:var(--navy); }

/* ---------- 404 ---------- */
.error-page{ min-height:80vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:150px 24px 100px; }
.error-page .eyebrow{ justify-content:center; }
.error-page h1{ font-family:var(--display); font-weight:400; font-size:clamp(48px,8vw,110px); line-height:1; }
.error-page p{ font-size:16px; color:#4A5459; max-width:440px; margin:20px auto 34px; }
