/* =============================================================
   1. TOKENS — Custom properties
   ============================================================= */
:root {
  /* Brand colors */
  --navy:       #0D1B2A;
  --navy-mid:   #142234;
  --blue:       #1B4F8A;
  --steel:      #4A5568;
  --white:      #FFFFFF;
  --cream:      #F8F9FA;
  --cream-2:    #EDF0F2;
  --gold:       #B8960C;
  --gold-light: #D4AE2E;
  --gold-dim:   rgba(184,150,12,0.25);

  /* Text */
  --text-dark:  #0D1B2A;
  --text-mid:   #2D3748;
  --text-mute:  #4A5568;
  --text-cream: #F0EDE8;
  --text-cream-mute: rgba(240,237,232,0.65);

  /* Fonts */
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h: 76px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section-py: clamp(4.5rem, 9vw, 9rem);

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13,27,42,.08);
  --shadow-md: 0 8px 32px rgba(13,27,42,.12);
  --shadow-lg: 0 20px 60px rgba(13,27,42,.18);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  padding: .6rem 1.2rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  z-index: 9999;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gold-line {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin-block: 1rem 1.25rem;
  transform-origin: left center;
}

.br-desk { display: none; }
@media (min-width: 960px) { .br-desk { display: inline; } }

/* =============================================================
   4. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease-out),
              box-shadow .2s var(--ease-out),
              background .2s ease,
              border-color .2s ease;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(184,150,12,.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 28px rgba(184,150,12,.45);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background: var(--navy-mid);
  box-shadow: var(--shadow-md);
}

.btn-ghost-cream {
  background: transparent;
  color: var(--text-cream);
  border: 1.5px solid rgba(240,237,232,.35);
}
.btn-ghost-cream:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,211,102,.3);
}
.btn-wa:hover { background: #20BA58; box-shadow: 0 8px 28px rgba(37,211,102,.4); }

/* =============================================================
   5. WHATSAPP FLOTANTE
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.35);
  animation: waPulse 2.8s infinite;
  transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
  animation: none;
}
@keyframes waPulse {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.35); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* =============================================================
   6. SPLASH
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
  /* CSS safety net: hides at 4.5s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: splashFadeIn .7s var(--ease-out) both;
}
@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(16px); }
}

.splash-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.splash-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: var(--text-cream);
  text-align: center;
  letter-spacing: .04em;
  line-height: 1.5;
}

.splash-bar {
  width: 160px;
  height: 2px;
  background: rgba(240,237,232,.15);
  border-radius: 2px;
  overflow: hidden;
}
.splash-bar-fill {
  height: 100%;
  background: var(--gold);
  animation: splashBarGrow 2.2s var(--ease-soft) forwards;
}
@keyframes splashBarGrow {
  from { width: 0; }
  to   { width: 100%; }
}

/* =============================================================
   7. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 700;
  height: var(--nav-h);
  transition: background .35s ease, box-shadow .35s ease;
  background: transparent;
}
.nav.is-scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(13,27,42,.25);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-brand-main {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-cream);
  letter-spacing: .01em;
}
.nav-brand-sub {
  font-size: .72rem;
  color: var(--text-cream-mute);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-cream);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: nowrap;
}
.nav-link {
  padding: .4rem .75rem;
  font-size: .85rem;
  font-weight: 400;
  color: rgba(240,237,232,.8);
  border-radius: 3px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-cream); background: rgba(255,255,255,.06); }

.nav-cta-link {
  padding: .55rem 1.15rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--white);
  background: var(--gold);
  border-radius: 3px;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
  margin-left: .5rem;
}
.nav-cta-link:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile nav */
@media (max-width: 959px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--gutter) 2rem;
    gap: .25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(184,150,12,.25);
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: .75rem 1rem; font-size: 1rem; }
  .nav-cta-link { margin: .5rem 0 0; text-align: center; padding: .85rem; }
  .nav-brand-main { display: none; }
  .nav-brand-sub  { display: none; }
}
@media (max-width: 539px) { .nav-logo-img { width: 36px; height: 36px; } }

/* =============================================================
   8. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, #1B4F8A22 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, #0D1B2A 0%, #142234 100%),
    var(--navy);
  z-index: 0;
}

/* Grain texture */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 50%,
    transparent 30%, rgba(13,27,42,.35) 75%, rgba(13,27,42,.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 6vw, 6rem);
  max-width: 860px;
}

/* ── Hero logo ─────────────────────────────────────────────── */
.hero-logo-wrap {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}
.hero-logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 28px rgba(184,150,12,.35))
          drop-shadow(0 0 8px  rgba(184,150,12,.2));
  animation: heroLogoGlow 4s ease-in-out infinite alternate;
}
@keyframes heroLogoGlow {
  from { filter: drop-shadow(0 0 20px rgba(184,150,12,.28)) drop-shadow(0 0 6px rgba(184,150,12,.15)); }
  to   { filter: drop-shadow(0 0 40px rgba(184,150,12,.55)) drop-shadow(0 0 14px rgba(184,150,12,.3)); }
}
@media (max-width: 600px) {
  .hero-logo-img { width: 190px; height: 190px; }
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-kicker-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-cream);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: var(--text-cream-mute);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,150,12,.2);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hm-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 500;
}
.hm-value {
  font-size: .88rem;
  color: var(--text-cream-mute);
  font-weight: 400;
}
.hm-sep {
  color: rgba(184,150,12,.4);
  font-size: 1.2rem;
  line-height: 1;
  align-self: center;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .5;
  animation: heroScrollFade 3s 2s ease-in-out infinite;
}
@keyframes heroScrollFade {
  0%, 100% { opacity: .5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: .25; transform: translateX(-50%) translateY(6px); }
}
.hero-scroll span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* =============================================================
   9. SECTIONS — light & dark variants
   ============================================================= */
.section {
  padding-block: var(--section-py);
}
.section-light { background: var(--white); }
.section-dark  { background: var(--navy); }

/* Section headers */
.section-header {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-header.centered {
  text-align: center;
  margin-inline: auto;
}
.section-header.centered .gold-line {
  margin-inline: auto;
}

.section-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .25rem;
}
.section-kicker-light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.12;
}
.section-title-cream { color: var(--text-cream); }

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-mute);
  line-height: 1.7;
  font-weight: 300;
}
.section-sub-cream { color: var(--text-cream-mute); }

/* =============================================================
   10. QUÉ ES
   ============================================================= */
.quees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quees-card {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 4px;
  padding: 2rem 1.75rem 2.25rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out);
}
.quees-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.qc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: 3px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.quees-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
}
.quees-card p {
  font-size: .95rem;
  color: var(--text-mute);
  line-height: 1.7;
}
.qc-nota {
  margin-top: .85rem;
  padding: .75rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(184,150,12,.07);
  border-radius: 0 4px 4px 0;
  font-size: .88rem !important;
  font-style: italic;
  color: var(--navy) !important;
  line-height: 1.6 !important;
}

.quees-nota {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(184,150,12,.06);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
}
.quees-nota svg { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.quees-nota p { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }
.quees-nota strong { color: var(--navy); }

/* =============================================================
   11. PERITO
   ============================================================= */
.perito-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 4rem;
}
@media (min-width: 960px) {
  .perito-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
}

.perito-foto-col { display: flex; justify-content: center; }

.perito-foto-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.perito-foto-placeholder {
  position: relative;
  width: 260px;
  height: 320px;
  background: var(--navy-mid);
  border: 2px solid rgba(184,150,12,.45);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 0 0 6px rgba(184,150,12,.08);
}

.perito-foto-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s ease;
}
.perito-foto-real:hover {
  transform: scale(1.03);
}

.perito-sello-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .18;
  position: absolute;
  top: 0; left: 0;
}

.perito-iniciales-overlay {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(240,237,232,.5);
  letter-spacing: -.02em;
  user-select: none;
}

.perito-foto-caption {
  text-align: center;
}
.perito-foto-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-cream);
  margin-bottom: .2rem;
}
.perito-foto-caption span {
  display: block;
  font-size: .78rem;
  color: var(--text-cream-mute);
  letter-spacing: .03em;
  line-height: 1.5;
}
.perito-foto-caption span:first-of-type {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .72rem;
}

.perito-triple {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-block: 1.5rem 2rem;
}
.pt-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,150,12,.18);
  border-radius: 3px;
  transition: border-color .25s ease, background .25s ease;
}
.pt-item:hover {
  border-color: rgba(184,150,12,.45);
  background: rgba(255,255,255,.06);
}

.pt-num {
  font-family: 'Inter', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .15rem;
}

.pt-body { display: flex; flex-direction: column; gap: .3rem; }
.pt-body strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-cream);
  line-height: 1.25;
}
.pt-body span {
  font-size: .88rem;
  color: var(--text-cream-mute);
  line-height: 1.6;
}

.perito-red {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,150,12,.2);
  border-radius: 6px;
}
.perito-red-intro {
  font-size: .88rem;
  color: rgba(240,237,232,.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.perito-red-intro strong { color: var(--gold-light); }
.perito-red-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.perito-red-lista li {
  font-size: .8rem;
  color: rgba(240,237,232,.6);
  line-height: 1.45;
  padding-left: .9rem;
  position: relative;
}
.perito-red-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .52em;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.perito-cita {
  border-left: 2px solid var(--gold);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2rem;
}
.perito-cita p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-cream);
  line-height: 1.65;
  margin-bottom: .6rem;
}
.perito-cita cite {
  font-size: .82rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: .03em;
}

.perito-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }

/* =============================================================
   12. SERVICIOS
   ============================================================= */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
}

.servicio-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out);
}
.servicio-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.servicio-card-alt {
  background: var(--cream);
}

.sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
  font-family: var(--sans);
}
.sc-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,79,138,.07);
  border-radius: 3px;
  color: var(--blue);
}

.servicio-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.sc-pregunta {
  font-family: var(--serif);
  font-style: italic;
  color: var(--blue);
  font-size: 1rem;
}

.servicio-card > p:not(.sc-pregunta) {
  font-size: .92rem;
  color: var(--text-mute);
  line-height: 1.7;
}

.sc-lista {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.sc-lista li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.sc-lista li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}

.sc-cta { align-self: flex-start; margin-top: .5rem; }

/* =============================================================
   13. HONORARIOS
   ============================================================= */
.honorarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.honorario-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,150,12,.22);
  border-radius: 4px;
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out);
}
.honorario-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transform: translateY(-4px);
}

.honorario-featured {
  background: rgba(184,150,12,.07);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-dim);
}

.hc-badge {
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(184,150,12,.3);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  padding: .3rem .75rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-cream-mute);
}
.hc-badge-gold { color: var(--gold-light); border-color: var(--gold); }

.hc-featured-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: -.25rem;
}

.hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .75rem;
}
.hc-num {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
}
.hc-precio-wrap { text-align: right; }
.hc-precio {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-cream);
  line-height: 1;
  letter-spacing: -.02em;
}
.hc-precio-label {
  font-size: .72rem;
  color: var(--text-cream-mute);
  letter-spacing: .04em;
}

.honorario-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-cream);
  line-height: 1.2;
}

.honorario-card > p {
  font-size: .9rem;
  color: var(--text-cream-mute);
  line-height: 1.65;
}

.hc-lista {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.hc-lista li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .86rem;
  color: rgba(240,237,232,.65);
  line-height: 1.55;
}
.hc-lista li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}
.hc-lista strong { color: var(--text-cream-mute); font-weight: 600; }

.hc-incluye {
  font-size: .82rem;
  color: rgba(240,237,232,.55);
  line-height: 1.6;
  border-left: 2px solid var(--gold-dim);
  padding-left: .75rem;
  margin-top: .25rem;
}
.hc-incluye strong { color: var(--gold-light); font-weight: 600; }

.hc-footnote {
  font-size: .75rem;
  color: rgba(240,237,232,.4);
  margin-top: .4rem;
  font-style: italic;
}

.hc-cta { align-self: flex-start; margin-top: .5rem; }

.honorarios-pie {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .92rem;
  color: var(--text-cream-mute);
}
.honorarios-pie a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.honorarios-pie a:hover { color: var(--gold); }

/* =============================================================
   14. TIMELINE — PROCESO
   ============================================================= */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: clamp(2.5rem, 6vw, 4rem);
}

.timeline-line {
  position: absolute;
  left: clamp(.95rem, 2vw, 1.6rem);
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(184,150,12,.15));
  transform-origin: top center;
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--cream-2);
}
.timeline-step:last-child { border-bottom: 0; }

.ts-dot {
  position: absolute;
  left: calc(-1 * clamp(2.5rem, 6vw, 4rem) + clamp(.55rem, 1.2vw, 1rem));
  top: 2.25rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
  z-index: 1;
}
.ts-dot span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-mute);
  transition: color .4s ease;
}
.timeline-step.is-active .ts-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-dim);
}
.timeline-step.is-active .ts-dot span { color: var(--white); }

.ts-body { flex: 1; }
.ts-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .4rem;
}
.ts-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .6rem;
}
.ts-body p {
  font-size: .93rem;
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.ts-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .02em;
  transition: color .2s ease;
}
.ts-link:hover { color: var(--gold); }

/* =============================================================
   15. TESTIMONIOS
   ============================================================= */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.testimonio-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,150,12,.18);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color .3s ease, background .3s ease;
}
.testimonio-card:hover {
  border-color: rgba(184,150,12,.45);
  background: rgba(255,255,255,.06);
}

.tc-comilla {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: .7;
  color: var(--gold);
  opacity: .6;
  font-weight: 700;
  user-select: none;
}

.tc-texto {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-cream);
  line-height: 1.7;
  flex: 1;
}

.tc-autor {
  display: flex;
  align-items: center;
  gap: .85rem;
  border-top: 1px solid rgba(184,150,12,.15);
  padding-top: 1rem;
}
.tc-iniciales {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184,150,12,.15);
  border: 1px solid rgba(184,150,12,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .05em;
  flex-shrink: 0;
}
.tc-autor div { display: flex; flex-direction: column; gap: .15rem; }
.tc-autor strong {
  font-size: .88rem;
  color: var(--text-cream);
  font-weight: 600;
  font-family: var(--sans);
}
.tc-autor span {
  font-size: .78rem;
  color: var(--text-cream-mute);
}

/* =============================================================
   16. CONTACTO
   ============================================================= */
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 4rem;
}
@media (min-width: 960px) {
  .contacto-layout { grid-template-columns: 1fr 1.15fr; align-items: start; }
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(27,79,138,.07);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-top: .1rem;
}
.ci-text { display: flex; flex-direction: column; gap: .2rem; }
.ci-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.ci-value {
  font-size: .95rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color .2s ease;
}
a.ci-value:hover { color: var(--blue); }

.ci-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .5rem;
}

/* Form */
.contacto-form {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 4px;
  padding: 2.25rem 2rem;
}
.contacto-form h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}
.cf-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: .02em;
}
.cf-field label span { color: var(--gold); }

.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--white);
  border: 1.5px solid #D1D5DB;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: .93rem;
  color: var(--text-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: #9CA3AF; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,138,.1);
}
.cf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.cf-field textarea { resize: vertical; min-height: 110px; }

.cf-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: .95rem;
  margin-top: .5rem;
}

.cf-nota {
  text-align: center;
  font-size: .78rem;
  color: var(--text-mute);
  margin-top: .85rem;
}

/* =============================================================
   17. FOOTER
   ============================================================= */
.footer { background: var(--navy); color: var(--text-cream); }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
  padding-block: 3.5rem;
  border-bottom: 1px solid rgba(184,150,12,.15);
}
@media (min-width: 720px)  { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.6fr 1fr 1.2fr; } }

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .85rem;
}
.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.fbt-main {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-cream);
  letter-spacing: .01em;
}
.fbt-sub {
  font-size: .74rem;
  color: var(--text-cream-mute);
  letter-spacing: .05em;
}
.footer-tagline {
  font-size: .88rem;
  color: var(--text-cream-mute);
  font-style: italic;
  font-family: var(--serif);
  margin-bottom: 1rem;
}
.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,150,12,.25);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-cream-mute);
  transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }

.footer-nav-col h4,
.footer-contact-col h4 {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav-col nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-nav-col a {
  font-size: .88rem;
  color: var(--text-cream-mute);
  transition: color .2s ease;
}
.footer-nav-col a:hover { color: var(--text-cream); }

.footer-contact-col p {
  font-size: .9rem;
  color: var(--text-cream-mute);
  margin-bottom: .5rem;
}
.footer-contact-col a {
  color: var(--text-cream-mute);
  transition: color .2s ease;
}
.footer-contact-col a:hover { color: var(--gold-light); }
.footer-cobertura {
  margin-top: .75rem;
  font-size: .78rem;
  color: rgba(240,237,232,.35);
  letter-spacing: .03em;
}

.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: center;
}
@media (min-width: 720px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-legal {
  font-size: .78rem;
  color: rgba(240,237,232,.35);
  max-width: 640px;
  line-height: 1.6;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(240,237,232,.25);
  white-space: nowrap;
}

/* =============================================================
   18. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  .65s var(--ease-out),
    transform .65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* CRITICAL: Elements with data-split must not be hidden by .reveal */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* Staggered delays for grid siblings */
.quees-grid .reveal:nth-child(2)      { transition-delay: .1s; }
.quees-grid .reveal:nth-child(3)      { transition-delay: .2s; }
.honorarios-grid .reveal:nth-child(2) { transition-delay: .12s; }
.honorarios-grid .reveal:nth-child(3) { transition-delay: .24s; }
.testimonios-grid .reveal:nth-child(2){ transition-delay: .1s; }
.testimonios-grid .reveal:nth-child(3){ transition-delay: .2s; }
.testimonios-grid .reveal:nth-child(4){ transition-delay: .3s; }
.servicios-grid .reveal:nth-child(2)  { transition-delay: .15s; }
.timeline-step.reveal:nth-child(2)    { transition-delay: .05s; }
.timeline-step.reveal:nth-child(3)    { transition-delay: .1s; }
.timeline-step.reveal:nth-child(4)    { transition-delay: .15s; }

/* =============================================================
   19. REDUCED MOTION (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-kicker-dot { animation: none; }
  .wa-float        { animation: none; }
  .hero-scroll     { animation: none; }
  .splash-bar-fill { animation: none; width: 100%; }
}
