/* ============================================================
   BG Abogados — styles.css
   Tokens → Base → Header → Hero → Sections → Footer → Utils
============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Azules institucionales */
  --navy:   #071426;   /* Azul noche — fondo oscuro principal */
  --navy2:  #0E2438;   /* Azul petróleo cálido — degradados oscuros */
  --navy3:  #13233A;   /* Azul tinta — textos oscuros */

  /* Dorados */
  --gold:   #C9963A;   /* Dorado champagne — botones, bordes, acentos */
  --gold2:  #E0B35A;   /* Dorado suave — íconos, resaltes */

  /* Fondos cálidos */
  --bg-warm: #F7EEDC;  /* Marfil cálido — secciones claras */
  --bg-cream: #FFF8EA; /* Crema suave — tarjetas claras */
  --bg-sand: #EADCC3;  /* Arena claro — fondos secundarios */

  /* Texto y utilidades */
  --cream:  #FFF8EA;
  --ink:    #13233A;
  --muted:  #6E6A62;
  --line:   #EADCC3;
  --white:  #FFFDF7;   /* Blanco cálido */
  --whatsapp: #25D366;
  --shadow: 0 24px 70px rgba(7,20,38,.18);
}

/* ============================================================
   BASE RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ============================================================
   DARK SECTION BASE
============================================================ */
.dark-bg {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 72% 18%, rgba(201,150,58,.14) 0%, transparent 38%),
    radial-gradient(ellipse at 18% 80%, rgba(224,179,90,.10) 0%, transparent 36%),
    radial-gradient(ellipse at 50% 110%, rgba(7,20,38,.9) 0%, transparent 55%),
    linear-gradient(160deg, #071426 0%, #0E2438 55%, #071426 100%);
}
/* Dot particle overlay */
.dark-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .20;
  pointer-events: none;
}
/* Architectural column effect — left side vertical bars */
.dark-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(201,150,58,.04) 0px, rgba(201,150,58,.04) 2px,
      transparent 2px, transparent 56px
    );
  pointer-events: none;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 30%, transparent 55%);
}

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 999;
  color: var(--white);
  background: rgba(7,20,38,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,150,58,.18);
  overflow: visible;
}
.navbar {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.brand { display: flex; align-items: center; color: #fff; }
.brand-letters {
  font-family: 'Cinzel', serif;
  font-size: 54px; line-height: 1;
  color: #fff; letter-spacing: -.04em;
}
.brand-letters .g { color: var(--gold2); }
.brand-divider { width: 1px; height: 46px; background: rgba(255,255,255,.55); margin: 0 14px; }
.brand-text { display: grid; gap: 4px; }
.brand-text strong {
  font-family: 'Cinzel', serif;
  font-size: 18px; line-height: 1; letter-spacing: .22em; font-weight: 700;
  white-space: nowrap; color: #fff;
}
.brand-text strong em { font-style: normal; color: var(--gold2); }
.brand-text small {
  color: var(--gold2); font-size: 9px; letter-spacing: .2em;
  font-weight: 900; white-space: nowrap; text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
  font-size: 14px; font-weight: 700;
}
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold2); border-radius: 8px;
  transform: scaleX(0); transition: transform .22s;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; /* shown only on mobile via @media */
  background: none; border: 0;
  width: 44px; height: 44px; padding: 10px; color: #fff;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; z-index: 1001;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%;
  background: #fff; border-radius: 4px;
  transition: transform .25s, opacity .25s;
}

/* Shared buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; padding: 13px 22px; border-radius: 9px;
  border: 1px solid transparent; font-weight: 800; line-height: 1;
  white-space: nowrap; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 10px 28px rgba(201,150,58,.35);
}
.btn-gold:hover { box-shadow: 0 14px 32px rgba(201,150,58,.50); }
.btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.40);
  background: rgba(255,255,255,.06);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.wa-icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 116px 0 72px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

/* Decorative elements */
.hero-stripes { display: none; }  /* handled by .dark-bg::after */
.hero-ring {
  position: absolute; right: 2%; top: 8%;
  width: 520px; height: 490px;
  border: 1px solid rgba(201,150,58,.40);
  border-radius: 50%; transform: rotate(-12deg);
  pointer-events: none;
}
.hero-dots {
  position: absolute; right: 32px; top: 140px;
  width: 140px; height: 140px;
  background-image: radial-gradient(var(--gold) 1.2px, transparent 1.2px);
  background-size: 14px 14px; opacity: .7;
  pointer-events: none;
}

/* Hero copy */
.eyebrow {
  margin: 0 0 16px; color: var(--gold2);
  font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
}
h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 3.8vw, 58px);
  line-height: 1.06; margin: 0 0 22px;
  font-weight: 800; letter-spacing: -.03em; max-width: 540px;
}
h1 .accent { color: var(--gold2); }
.hero-desc {
  max-width: 520px; margin: 0 0 30px;
  color: rgba(255,255,255,.82); font-size: 15.5px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: nowrap; align-items: center; }
.trust-note {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 28px; max-width: 440px;
  color: rgba(255,255,255,.70); font-size: 13.5px;
}
.trust-note svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--gold2); margin-top: 0; }

/* ============================================================
   ASSISTANT CARD
============================================================ */
.assistant-card {
  position: relative; max-width: 540px; margin-left: auto;
  padding: 22px 22px 20px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(7,20,38,.88), rgba(14,36,56,.96));
  border: 1px solid rgba(201,150,58,.55);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(201,150,58,.12),
    0 0 40px rgba(201,150,58,.22),
    0 30px 80px rgba(0,0,0,.32);
}
.assistant-card::before {
  content: '';
  position: absolute; inset: -7px;
  border: 1.5px solid rgba(201,150,58,.70);
  border-radius: 28px;
  clip-path: polygon(3% 0%, 97% 0%, 100% 6%, 100% 94%, 97% 100%, 3% 100%, 0% 94%, 0% 6%);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(201,150,58,.45));
}
.card-dots {
  position: absolute; right: 18px; top: 16px;
  font-size: 14px; letter-spacing: 3px; color: rgba(255,255,255,.55);
  z-index: 2;
}

/* ---- Card top: photo left + name right (fiel al diseño original) ---- */
.card-top {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  margin: -22px -22px 18px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  min-height: 260px;  /* taller so full figure shows */
}
.card-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7,20,38,.4) 0%, rgba(14,36,56,.75) 100%);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.card-title {
  padding: 28px 18px 20px 14px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, rgba(7,20,38,.70) 0%, rgba(14,36,56,.92) 100%);
}
.card-title h2 {
  font-family: 'Cinzel', serif;
  font-size: 34px; line-height: 1.05; margin: 0; letter-spacing: -.01em; color: var(--white);
}
.card-title p {
  margin: 8px 0 0; color: var(--gold2);
  font-size: 13px; font-weight: 800; line-height: 1.45;
}
.card-gold-line {
  display: block; width: 40px; height: 2.5px;
  background: var(--gold2); margin-top: 14px; border-radius: 4px;
}

.message-box {
  padding: 14px 18px; margin-bottom: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; font-size: 14px; line-height: 1.5;
}
.message-box strong { font-weight: 800; }
.select-label { margin: 0 0 10px; color: #c8daee; font-size: 13px; }

.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.case-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 12px; color: var(--white); font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,150,58,.22);
  border-radius: 9px; transition: background .18s, border-color .18s, transform .15s;
}
.case-btn:hover { background: rgba(201,150,58,.16); border-color: rgba(201,150,58,.55); transform: translateY(-1px); }
.case-btn svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.75; }
.case-btn:nth-child(4) { grid-column: 1/2; }
.case-btn:nth-child(5) { grid-column: 2/4; }

.card-cta {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 20px; color: var(--white); font-weight: 800; font-size: 14px;
  background: rgba(7,20,38,.80); border: 1px solid rgba(201,150,58,.30);
  border-radius: 9px; transition: background .2s, border-color .2s;
}
.card-cta:hover { background: rgba(14,36,56,.95); border-color: rgba(201,150,58,.6); }

/* ============================================================
   TRUST PANEL
============================================================ */
.trust-wrap { background: var(--bg-warm); padding: 0 0 40px; }
.trust-panel {
  position: relative; z-index: 3; margin-top: -16px;
  padding: 32px 48px 36px;
  background: linear-gradient(180deg, var(--bg-cream), var(--white));
  border: 1px solid rgba(201,150,58,.25); border-radius: 24px;
  box-shadow: var(--shadow);
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-align: center; color: var(--ink);
  font-size: 26px; line-height: 1.2; margin: 0 0 8px;
  letter-spacing: -.01em;
}
.title-line {
  display: block; width: 40px; height: 3px;
  background: var(--gold2); margin: 0 auto 26px; border-radius: 4px;
}
.title-line-center {
  display: block; width: 40px; height: 3px;
  background: var(--gold2); margin: 0 auto 20px; border-radius: 4px;
  position: relative; z-index: 1;
}

/* ============================================================
   TRUST PANEL — grid + cards
============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .68fr 1.55fr;
  gap: 16px;
}
.trust-card, .quote-card {
  background: var(--white);
  border: 1px solid var(--bg-sand);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 8px 28px rgba(7,20,38,.07);
  transition: transform .2s, box-shadow .2s;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(7,20,38,.12); }
.trust-card.tall { min-height: 260px; display: flex; flex-direction: column; }
.trust-card h3 {
  margin: 0 0 9px; font-size: 16px; font-weight: 800; color: var(--ink);
}
.trust-card p { margin: 0; color: var(--navy3); font-size: 13.5px; line-height: 1.6; flex: 1; }
.card-accent-line {
  display: block; width: 32px; height: 3px;
  background: var(--gold2); margin-top: 18px; border-radius: 4px;
}

/* Custom SVG icon wrapper */
/* Ilustraciones sueltas — sin contenedor */
.trust-ilus {
  width: 88px; height: auto;
  margin-bottom: 18px;
  display: block;
  flex-shrink: 0;
}
.trust-ilus-sm {
  width: 72px; height: auto;
  flex-shrink: 0;
}

/* Dark card */
.dark-card {
  background: linear-gradient(145deg, var(--navy2), var(--navy));
  border-color: rgba(201,150,58,.22);
}
.dark-card h3, .dark-card p { color: var(--white); }
.dark-card .trust-icon-wrap { background: rgba(201,150,58,.12); }
.dark-card .card-accent-line { display: none; }

/* Quote card */
.quote-card {
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, var(--bg-cream), var(--bg-warm));
  border-color: var(--bg-sand);
}
.quote-mark {
  font-family: 'Cinzel', serif; font-size: 68px;
  color: var(--gold); line-height: .7; margin-bottom: 10px;
}
.quote-card p {
  font-family: 'Cinzel', serif; font-size: 15px;
  font-weight: 700; line-height: 1.45; color: var(--ink); margin: 0;
}

/* Horizontal trust cards (right stack) */
.trust-stack { display: grid; gap: 16px; }
.trust-horiz {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
}
.trust-horiz h3 { font-size: 14.5px; font-weight: 800; color: var(--ink); margin: 0 0 5px; }
.trust-horiz p { color: var(--navy3); font-size: 13px; line-height: 1.55; margin: 0; }

/* ============================================================
   TOOLS
============================================================ */
.tools { padding: 30px 0 28px; }
.dark-section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-align: center; color: #fff;
  font-size: 26px; margin: 0 0 6px;
  letter-spacing: -.01em;
  position: relative; z-index: 1;
}
.tools-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 20px;
  align-items: stretch;  /* cards misma altura */
}
.tool-card {
  padding: 24px;
  background: rgba(255,253,247,.05);
  border: 1px solid rgba(201,150,58,.30); border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  height: 100%;          /* ocupa toda la altura del grid row */
  transition: transform .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-3px); border-color: rgba(201,150,58,.60); }

/* Ícono izquierda + texto derecha */
.tool-card-inner {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: flex-start;
  flex: 1;               /* empuja el botón al fondo */
}
.tool-ic {
  width: 72px; height: 72px;  /* más grande */
  object-fit: contain;
  flex-shrink: 0;
}
.tool-text {
  display: flex; flex-direction: column;
  height: 100%;          /* llena la celda del grid */
}
.tool-text h3 { margin: 0 0 7px; color: var(--white); font-size: 15px; font-weight: 800; line-height: 1.3; }
.tool-text p  { margin: 0 0 16px; color: rgba(255,253,247,.70); font-size: 13px; line-height: 1.6; flex: 1; }

/* Botón: mismo ancho que el contenido (auto), alineado al fondo por flex */
.tool-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--gold); border-radius: 8px;
  color: #fff; font-weight: 800; font-size: 13px;
  transition: background .18s;
  width: 100%;           /* ocupa todo el ancho de la columna de texto */
  justify-content: center;
  margin-top: auto;      /* siempre al fondo */
  font-size: 14.5px;     /* texto más grande */
  padding: 12px 20px;

}
.tool-link:hover { background: rgba(201,162,39,.15); }
.tool-link svg { fill: #fff; }

/* ============================================================
   SERVICES
============================================================ */
.services { padding: 20px 0 56px; }
.services-glow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: radial-gradient(ellipse at center, rgba(201,150,58,.18), transparent 65%);
}
.service-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; margin-top: 48px;
}
.service-card {
  text-align: center; padding: 0 14px 26px;
  border: 1px solid rgba(201,150,58,.22); border-radius: 14px;
  background: rgba(255,253,247,.04);
  transition: transform .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(201,150,58,.55); }
.service-icon {
  width: 80px; height: 80px; margin: -40px auto 12px;
  border-radius: 50%; display: grid; place-items: center; color: var(--white);
  background: radial-gradient(circle, var(--navy2), var(--navy));
  border: 1px solid rgba(201,150,58,.50);
  box-shadow: 0 0 28px rgba(201,150,58,.30);
}
.service-icon svg { width: 42px; height: 42px; stroke-width: 1.5; }
.service-card h3 { margin: 6px 0 10px; color: var(--white); font-size: 15px; font-weight: 800; }
.service-card h3::after {
  content: ''; display: block; width: 26px; height: 2px;
  background: var(--gold); margin: 7px auto 0;
}
.service-card p { margin: 0; color: rgba(255,253,247,.65); font-size: 12px; line-height: 1.55; }

/* ============================================================
   STEPS
============================================================ */
/* ============================================================
   STEPS — diseño moderno con tarjetas
============================================================ */
.steps {
  padding: 48px 0 60px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
}
.steps-title {
  font-family: 'Inter', sans-serif; font-weight: 700;
  text-align: center; color: var(--ink);
  font-size: 26px; margin: 0 0 8px; letter-spacing: -.01em;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  align-items: stretch;
}

/* Tarjeta del paso */
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--bg-sand);
  border-radius: 18px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 6px 28px rgba(7,20,38,.07);
  overflow: visible;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(7,20,38,.13);
}

/* Número enorme de fondo — decorativo */
.step-bg-num {
  position: absolute;
  top: 12px; right: 20px;
  font-family: 'Cinzel', serif;
  font-size: 80px; font-weight: 800;
  color: var(--navy); opacity: .06;
  line-height: 1; pointer-events: none;
  user-select: none;
}

/* Ícono en círculo con gradiente */
.step-ico-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(7,20,38,.30);
  flex-shrink: 0;
}

/* Tag "Paso N" */
.step-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 2px;
}

/* Contenido */
.step-content { flex: 1; }
.step-content h3 {
  font-size: 16px; font-weight: 800;
  color: var(--ink); margin: 0 0 8px; line-height: 1.3;
}
.step-content p {
  font-size: 13.5px; color: var(--muted);
  line-height: 1.65; margin: 0;
}

/* Conector flecha circular entre tarjetas */
.step-arrow-right {
  position: absolute;
  right: -24px; top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  z-index: 10;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--bg-warm);
}
.step-arrow-right svg { width: 48px; height: 48px; }

/* Última tarjeta sin conector */
.step-card--last .step-arrow-right { display: none; }

/* Borde izquierdo dorado */
.step-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 4px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  border-radius: 0 4px 4px 0;
}

/* ============================================================
   ANDREA SECTION
============================================================ */
.andrea-section { padding: 0 0 40px; }
.andrea-glow {
  position: absolute; left: 0; bottom: 0; right: 0; height: 260px;
  background: radial-gradient(ellipse at 22% 90%, rgba(201,150,58,.35), transparent 50%);
}
.andrea-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .7fr 1.6fr; gap: 32px; align-items: end;
}
.andrea-photo {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  min-height: 360px;
}
.andrea-photo img {
  position: relative; z-index: 2;
  width: 380px; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(241,185,77,.35));
}
.andrea-halo {
  position: absolute; z-index: 1; bottom: 20px;
  width: 290px; height: 290px; border-radius: 50%;
  border: 3px solid var(--gold2);
  box-shadow: 0 0 36px rgba(241,185,77,.65);
}
.andrea-content { padding: 40px 0 24px; }
.andrea-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 26px; margin: 0; color: #fff;
  letter-spacing: -.02em;
}
.left-line {
  display: block; width: 54px; height: 3px;
  background: var(--gold2); margin: 14px 0 22px; border-radius: 4px;
}
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.benefit-card {
  padding: 18px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
}
.benefit-card .ben-icon { margin-bottom: 8px; color: var(--gold2); }
.benefit-card .ben-icon svg { width: 42px; height: 42px; color: var(--gold2); stroke-width: 1.75; }
.benefit-card h3 { margin: 0 0 6px; font-size: 13.5px; color: #fff; font-weight: 800; }
.benefit-card p { margin: 0; color: #cddaef; font-size: 12.5px; }
.andrea-footer-row {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 16px;
}
.andrea-disclaimer {
  padding: 11px 16px; color: #fff; font-size: 13px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 8px;
}

/* ============================================================
   ABOUT
============================================================ */
.about { padding: 32px 0; background: var(--bg-warm); }
.about-grid { display: grid; grid-template-columns: .85fr 1.55fr; gap: 44px; align-items: center; }
.about h2 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 26px; margin: 0; letter-spacing: -.02em; color: var(--ink); }
.about > .container > div > p { margin: 0; color: var(--navy3); font-size: 14.5px; line-height: 1.7; }
.about-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.about-card {
  padding: 24px 20px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7,20,38,.06);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,20,38,.12); }

/* Ícono arriba — círculo con fondo cálido */
.about-ic {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-sand);
  display: grid; place-items: center;
}
.about-ic-img {
  width: 38px; height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(13%) sepia(50%) saturate(400%) hue-rotate(5deg) brightness(40%);
}
.about-card h3 { margin: 0 0 5px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.about-card p { margin: 0; color: var(--navy3); font-size: 13px; line-height: 1.55; }

/* ============================================================
   CONTACT
============================================================ */
.contact { padding: 0 0 40px; background: var(--bg-cream); }
.contact-panel {
  overflow: hidden; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 14px 36px rgba(7,20,38,.10);
}
.contact-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding: 28px 36px; color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy2));
}
.contact-top h2 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 26px; margin: 0; letter-spacing: -.02em; }
.contact-top p { margin: 4px 0 0; color: var(--gold2); font-size: 16px; font-weight: 800; }
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-info { display: grid; grid-template-columns: repeat(3,1fr); background: var(--white); }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 36px; border-right: 1px solid var(--bg-sand);
}
.contact-item:last-child { border-right: 0; }
.contact-item svg { width: 32px; height: 32px; color: var(--gold); flex-shrink: 0; fill: none; stroke: var(--gold); }
.contact-item svg[href*="ic-wa"] { fill: var(--gold); stroke: none; }
.contact-item div strong { font-size: 14px; display: block; margin-bottom: 2px; color: var(--ink); }
.contact-item div span { color: var(--muted); font-size: 13px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { padding: 36px 0; }
.footer-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr .7fr 1.3fr .45fr; gap: 40px; align-items: start;
}
.footer-brand { margin-bottom: 14px; display: flex; align-items: center; }
.footer-brand-letters { font-family: 'Cinzel', serif; font-size: 34px; color: #fff; letter-spacing: -.03em; }
.footer-brand-letters .g { color: var(--gold2); }
.footer-brand-sep { width: 1px; height: 36px; background: rgba(255,255,255,.4); margin: 0 12px; }
.site-footer p, .site-footer a { color: #c4cfdf; font-size: 13px; margin: 0; }
.site-footer a { display: block; margin: 4px 0; transition: color .18s; }
.site-footer a:hover { color: var(--gold2); }
.site-footer h3 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-legal { color: #c4cfdf; font-size: 13px; margin-top: 10px; }
.privacy { color: var(--gold2) !important; }
.socials { display: flex; gap: 12px; align-items: center; }
.social-link {
  display: inline-flex;
  color: rgba(255,255,255,.75);
  transition: color .2s, transform .2s;
  text-decoration: none;
}
.social-link svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.social-link:hover {
  color: var(--gold2);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL REVEAL UTILITY
============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }

/* ============================================================
   RESPONSIVE
============================================================ */

/* ---- Tablet wide (≤1080px) ---- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .assistant-card { margin: 0 auto; max-width: 520px; }
  .hero-ring { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-stack { grid-column: 1/3; }
  .tools-grid, .benefits-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(3,1fr); gap: 48px 20px; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .andrea-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-item { border-right: 0; border-bottom: 1px solid #d8dde8; }
  .contact-item:last-child { border-bottom: 0; }
}

/* ---- Mobile/tablet (≤820px) — hamburger menu + single column ---- */
@media (max-width: 820px) {
  /* Show hamburger, hide desktop nav items */
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Mobile nav drawer — hidden by default, slides in when .open */
  .nav-links {
    position: fixed;
    top: 80px; left: 0; right: 0;  /* below 80px header */
    background: rgba(1, 11, 32, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    margin: 0;
    list-style: none;
    /* Hidden state: off-screen + invisible + non-interactive */
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.4,0,.2,1),
                visibility 0s linear .3s,
                opacity .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    z-index: 997;
    display: flex !important;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: transform .3s cubic-bezier(.4,0,.2,1),
                visibility 0s linear 0s,
                opacity .3s ease;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #fff;
  }
  .nav-links a:hover { color: var(--gold2); background: rgba(255,255,255,.04); }
  .nav-links li:last-child a { border-bottom: 0; }
  /* Active underline — override desktop absolute positioning */
  .nav-links a::after { display: none; }

  /* Logo — scale down on mobile */
  .brand-letters { font-size: 38px; }
  .brand-divider { height: 34px; margin: 0 10px; }
  .brand-text strong { font-size: 13px; letter-spacing: .18em; }
  .brand-text small { font-size: 7.5px; letter-spacing: .15em; }
  .navbar { height: 68px; gap: 12px; }

  /* Recalculate nav drawer top to match new 68px navbar */
  .nav-links { top: 68px; }

  /* Hero — proper spacing below fixed 68px header on mobile */
  .hero {
    padding: 96px 16px 56px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stripes { display: none; }
  .hero-dots { width: 90px; height: 90px; top: 90px; right: 12px; }

  h1 { font-size: 32px; line-height: 1.1; max-width: 100%; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }
  .hero-desc { font-size: 14px; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; gap: 12px; flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-note { margin-top: 18px; font-size: 13px; }

  /* Assistant card — full width on mobile */
  .assistant-card {
    margin: 0;
    max-width: 100%;
    padding: 18px 16px 16px;
  }
  .card-header { gap: 14px; }
  .card-top { margin: -18px -16px 14px; }
  .card-photo { min-height: 140px; }
  .card-title h2 { font-size: 28px; }
  .card-title p { font-size: 12px; }
  .card-title { padding: 16px 14px 14px 10px; }
  .card-title h2 { font-size: 34px; }
  .card-title p { font-size: 13px; }
  .case-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .case-btn:nth-child(4),
  .case-btn:nth-child(5) { grid-column: auto; }

  /* Rest of sections */
  .trust-panel { padding: 22px 18px; }
  .trust-grid, .about-cards { grid-template-columns: 1fr; }
  .trust-stack { grid-column: auto; }
  .tools-grid, .service-grid, .benefits-grid { grid-template-columns: 1fr; }
  .contact-top { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .andrea-footer-row { grid-template-columns: 1fr; }
  .container { width: calc(100% - 32px); }

  /* Pasos — apilado vertical en móvil */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 24px;
  }
  .step-arrow-right { display: none; }
  .step-card { padding: 28px 22px 24px; }
}


@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .btn { padding: 12px 16px; font-size: 14px; }
  .section-title, .dark-section-title, .steps-title, .andrea-content h2 { font-size: 21px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* WhatsApp icon — always white inside buttons */
.btn svg, .card-cta svg { color: #fff; fill: #fff; }
.trust-note svg { fill: none; }  /* shield is stroke-only */
.contact-item svg { fill: var(--gold); color: var(--gold); }

/* hero-actions: side-by-side on desktop, stacked on mobile */
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   LUCIDE ICONS — <i data-lucide="..."> styling
============================================================ */
i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
i[data-lucide] svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.75;
}
/* Sizes by context */
.case-btn i[data-lucide] { width: 20px; height: 20px; }
.service-icon i[data-lucide] { width: 42px; height: 42px; }
.tool-icon i[data-lucide] { width: 36px; height: 36px; color: var(--gold2); }
.icon-circle i[data-lucide] { width: 34px; height: 34px; }
.ben-icon i[data-lucide] { width: 42px; height: 42px; color: var(--gold2); }
.about-card i[data-lucide] { width: 38px; height: 38px; color: var(--gold); }
.step-ico i[data-lucide] { width: 36px; height: 36px; }
.contact-item i[data-lucide] { width: 30px; height: 30px; color: var(--gold); }
.trust-note i[data-lucide] { width: 28px; height: 28px; color: var(--gold2); flex-shrink: 0; }
.tool-link i[data-lucide] { width: 18px; height: 18px; }
.card-cta i[data-lucide] { width: 20px; height: 20px; }
.btn i[data-lucide] { width: 20px; height: 20px; }

/* Inner wrapper clips the bg number, connector arrow stays outside */
.step-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
