/* ═══════════════════════════════════════════════
   SOMOS MENTOR — Trabajos Académicos y Profesionales
   Light mode · Minimal · Glassmorphism · High impact
   ═══════════════════════════════════════════════ */

:root {
  /* Brand — hereda el teal de la identidad original, elevado a premium */
  --teal-900: #0f3d3a;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;

  --whatsapp: #25d366;
  --amber: #f59e0b;

  /* Glassmorphism 2.0 */
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .78);
  --glass-blur: 22px;
  --glass-highlight: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(255,255,255,.35);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(15, 61, 58, .14);

  /* Motion — curvas suaves tipo spring */
  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);

  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
/* El atributo hidden siempre gana, incluso sobre display:flex de componentes */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

/* ── Utilities ─────────────────────────────── */
.accent {
  background: linear-gradient(120deg, var(--teal-600), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--ink-500); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--teal-700); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 0 0 10px 10px; transition: top .2s var(--ease-out);
}
.skip-link:focus-visible { top: 0; }

.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--teal-700); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.linklike:hover { color: var(--teal-500); }

/* ── Scroll progress ───────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  border-radius: 0 3px 3px 0;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff; box-shadow: 0 8px 24px rgba(13, 148, 136, .35);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .6s var(--ease-out);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 12px 32px rgba(13, 148, 136, .45); }
.btn--ghost { background: #fff; color: var(--teal-800); border-color: var(--teal-600); }
.btn--ghost:hover { background: var(--teal-50); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, .35); }

/* ── Header ────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { background: rgba(255, 255, 255, .82); }
.header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; padding: 7px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff; flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.01em; white-space: nowrap; }
.brand__text small { font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); white-space: nowrap; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav__link {
  padding: 8px 11px; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-700);
  white-space: nowrap; transition: color .15s, background .15s;
}
.nav__link:hover { color: var(--teal-700); background: var(--teal-50); }
.nav__link.is-active { color: var(--teal-700); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink-900); transition: transform .25s, opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -10%, var(--teal-50) 0%, transparent 60%),
    radial-gradient(700px 420px at -8% 110%, #ecfdf5 0%, transparent 55%),
    var(--bg);
}
/* Orbes de color: profundidad para que el glassmorphism sea visible */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
  pointer-events: none; z-index: 0;
}
.hero::before {
  width: 480px; height: 480px; top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(20,184,166,.28), rgba(20,184,166,0) 70%);
  animation: aurora-a 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 420px; height: 420px; bottom: -160px; left: 32%;
  background: radial-gradient(circle, rgba(13,148,136,.16), rgba(245,158,11,.10) 55%, transparent 75%);
  animation: aurora-b 20s ease-in-out infinite alternate;
}
.hero__aurora {
  position: absolute; width: 380px; height: 380px; top: 30%; left: -140px;
  border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(94,234,212,.22), transparent 70%);
  animation: aurora-a 22s ease-in-out 2s infinite alternate;
}
@keyframes aurora-a { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 26px) scale(1.12); } }
@keyframes aurora-b { from { transform: translate(0,0) scale(1); } to { transform: translate(-34px, -20px) scale(1.08); } }

.hero__inner { position: relative; z-index: 1; }
.hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding-top: 84px; padding-bottom: 96px;
}
.hero__title { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }
.hero__lead { font-size: 1.12rem; color: var(--ink-500); max-width: 36em; margin-bottom: 30px; }
.hero__lead strong { color: var(--teal-800); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font-size: .88rem; font-weight: 500; color: var(--ink-700); }
.hero__badges .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); margin-right: 8px; }

/* Hero panel (visual) */
.hero__panel { position: relative; min-height: 380px; }
.panel-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  padding: 22px;
}
.panel-card h3 { font-size: .98rem; margin-bottom: 12px; }
.panel-card__icon {
  width: 40px; height: 40px; display: grid; place-items: center; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 11px; margin-bottom: 10px;
}
.panel-card--main { position: absolute; inset: 8% 12% auto 0; width: 62%; z-index: 2; }
.panel-card--float-a { position: absolute; top: 0; right: 0; width: 46%; z-index: 3; animation: floaty 5s ease-in-out infinite; }
.panel-card--float-b { position: absolute; bottom: 4%; right: 8%; width: 44%; z-index: 3; animation: floaty 6s ease-in-out 1s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.skeleton i { display: block; height: 9px; border-radius: 6px; background: var(--ink-100); margin-bottom: 9px; }
.panel-card__meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--ink-500); margin-top: 12px; }
.chip { padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .74rem; }
.chip--ok { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.mini-bars { display: flex; align-items: flex-end; gap: 7px; height: 72px; }
.mini-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--teal-500), var(--teal-700)); animation: grow 1.2s ease both; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }

/* Trust bar (glass) */
.trustbar {
  position: relative; z-index: 1;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
}
.trustbar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; padding: 18px 24px; }
.trustbar__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); }
.trust-item { font-family: var(--font-display); font-weight: 700; color: var(--ink-500); font-size: .95rem; transition: color .25s var(--ease-out); }
.trust-item:hover { color: var(--teal-700); }

/* ── Tabs (segmentos) ──────────────────────── */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--border);
  background: rgba(255,255,255,.75); color: var(--ink-700); cursor: pointer;
  transition: all .25s var(--ease-out);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tab:hover { border-color: var(--teal-500); color: var(--teal-700); transform: translateY(-1px); }
.tab.is-active {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(13,148,136,.3);
}
.tabpane { display: none; animation: fadeUp .4s var(--ease-out); }
.tabpane.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ── Cards ─────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 14px; margin-bottom: 18px;
  transition: transform .3s var(--ease-spring);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-3deg); }
.card p { color: var(--ink-500); font-size: .93rem; }

.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .9rem; color: var(--ink-700); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-50) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230f766e" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/9px no-repeat;
  border: 1px solid var(--teal-100);
}

/* ── Services ──────────────────────────────── */
.service {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px 28px; overflow: hidden;
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.service:hover::after { transform: scaleX(1); }
.service__num { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--teal-600); letter-spacing: .12em; }
.service h3 { margin-top: 10px; }
.service p { color: var(--ink-500); font-size: .93rem; margin: 0; }

/* ── Steps ─────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  list-style: none; padding: 0; margin: 0; counter-reset: step;
}
.step {
  text-align: center; padding: 26px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 50%; font-family: var(--font-display); font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  box-shadow: 0 6px 16px rgba(13,148,136,.35);
}
.step h3 { font-size: .95rem; }
.step p { font-size: .82rem; color: var(--ink-500); margin: 0; }

/* ── Metrics ───────────────────────────────── */
.metrics { background: linear-gradient(135deg, var(--teal-900), var(--teal-700)); color: #fff; }
.metrics__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 24px; text-align: center; }
.metric strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.metric span { font-size: .9rem; opacity: .85; }

/* ── Garantía y validación ─────────────────── */
.assurance {
  background:
    radial-gradient(640px 340px at 92% 8%, rgba(20,184,166,.08) 0%, transparent 60%),
    var(--bg-alt);
}
.assurance__grid { display: grid; grid-template-columns: 1fr 1fr .85fr; gap: 24px; margin-bottom: 40px; }

.logo-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.logo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.logo-card__logo { height: 88px; margin: -10px 0 12px; display: flex; align-items: center; }
.logo-card__logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.logo-card h3 { font-size: 1.05rem; }
.logo-card p { color: var(--ink-500); font-size: .92rem; }
.logo-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip--soft { background: var(--ink-100); color: var(--ink-700); border: 1px solid var(--border); }

.verdict-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, #ffffff, var(--teal-50));
  border: 1.5px solid var(--teal-100); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-md);
}
.verdict-card__ring { width: 128px; margin-bottom: 14px; }
.verdict-card__arc { transition: stroke-dashoffset 1.4s cubic-bezier(.22,.8,.3,1) .3s; }
.verdict-card:not(.is-visible) .verdict-card__arc { stroke-dashoffset: 326.7; }
.verdict-card strong { font-family: var(--font-display); color: var(--teal-800); font-size: 1.02rem; margin-bottom: 8px; }
.verdict-card p { font-size: .84rem; color: var(--ink-500); margin: 0; }

.seals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.seals li {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 18px;
}
.seal__icon {
  flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 12px;
}
.seals strong { display: block; font-family: var(--font-display); font-size: .9rem; color: var(--ink-900); }
.seals span:not(.seal__icon) { font-size: .78rem; color: var(--ink-500); line-height: 1.45; display: block; margin-top: 2px; }

/* ── Pricing ───────────────────────────────── */
.pricing { align-items: stretch; gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan__for { color: var(--ink-500); font-size: .88rem; margin-top: -6px; }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.plan--featured { border-color: var(--teal-500); box-shadow: var(--shadow-lg); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), #fbbf24); color: #78350f;
  font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(245,158,11,.4);
  white-space: nowrap;
}

/* ── Carrusel de casos de éxito ────────────── */
.carousel { position: relative; max-width: 880px; margin: 0 auto 48px; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 8px 4px 18px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid rgba(20,184,166,.5); outline-offset: 4px; border-radius: var(--radius); }
.carousel__slide {
  flex: 0 0 100%; scroll-snap-align: center; margin: 0;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow-md), var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 14px; display: grid; place-items: center;
}
.carousel__slide img {
  width: 100%; height: 460px; object-fit: contain; border-radius: var(--radius-sm);
  cursor: zoom-in; background: #fdfefe;
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--teal-800); border: 1px solid var(--border);
  cursor: pointer; box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease-spring), background .2s, color .2s;
}
.carousel__btn:hover { background: var(--teal-700); color: #fff; transform: translateY(-50%) scale(1.06); }
.carousel__btn--prev { left: -14px; }
.carousel__btn--next { right: -14px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.carousel__dot {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--ink-300); transition: all .3s var(--ease-out);
}
.carousel__dot.is-active { width: 26px; background: linear-gradient(90deg, var(--teal-700), var(--teal-500)); }
.quotes-row { margin-top: 8px; }

/* ── Lightbox ──────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  background: rgba(15, 23, 42, .82); padding: 4vh 4vw;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fadeIn .25s var(--ease-out);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 900px); max-height: 88vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.5);
  animation: zoomIn .3s var(--ease-spring);
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.15rem;
  transition: background .2s, transform .2s var(--ease-spring);
}
.lightbox__close:hover { background: rgba(255,255,255,.28); transform: scale(1.08); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } }

/* ── Quotes ────────────────────────────────── */
.quote {
  margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0 0 18px; font-size: .96rem; color: var(--ink-700); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: .6; color: var(--teal-500); margin-bottom: 10px; }
.quote figcaption strong { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: .92rem; }
.quote figcaption span { font-size: .8rem; color: var(--ink-500); }

/* ── FAQ ───────────────────────────────────── */
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); margin-bottom: 12px; overflow: hidden; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--font-display); font-weight: 600; color: var(--ink-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700); font-weight: 700; transition: transform .25s var(--ease-out);
}
.faq__item[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--ink-500); font-size: .94rem; animation: fadeUp .3s var(--ease-out); }

/* ── CTA / Contact ─────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(20,184,166,.16) 0%, transparent 55%),
    linear-gradient(135deg, var(--teal-900), var(--teal-800));
  color: #fff;
}
.cta::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  top: -180px; right: -120px; filter: blur(80px); pointer-events: none;
  background: radial-gradient(circle, rgba(20,184,166,.5), transparent 70%);
}
.cta__inner { position: relative; z-index: 1; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.cta__copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta__copy p { color: rgba(255,255,255,.8); font-size: 1.08rem; margin-bottom: 28px; }

.cta__form {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-lg); color: var(--ink-700);
}
.cta__form h3 { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .93rem; color: var(--ink-900); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20,184,166,.16);
}
.field input.is-invalid { border-color: #ef4444; }
.field--consent { font-size: .8rem; }
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400; }
.consent input {
  width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-600); flex-shrink: 0;
}
.consent span { color: var(--ink-500); line-height: 1.5; }
.consent.is-invalid span { color: #ef4444; }
.form-note { font-size: .76rem; color: var(--ink-500); text-align: center; margin: 12px 0 0; }

/* ── Footer ────────────────────────────────── */
.footer { background: #0b1220; color: #94a3b8; }
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr; gap: 32px; padding: 64px 24px 44px;
}
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; align-items: flex-start; }
.footer__col a:hover { color: var(--teal-500); }
.footer__brand p { font-size: .9rem; margin-top: 16px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: var(--teal-500); }
.footer__legal-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: #94a3b8; text-align: left; transition: color .15s;
}
.footer__legal-link:hover { color: var(--teal-500); }
.footer__bottom { border-top: 1px solid rgba(148,163,184,.15); padding: 20px 0; font-size: .8rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── Drawers legales ───────────────────────── */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .25s var(--ease-out);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260;
  width: min(560px, 96vw);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: -24px 0 80px rgba(15, 23, 42, .25);
  display: flex; flex-direction: column;
  transform: translateX(0);
  animation: drawerIn .35s var(--ease-out);
}
@keyframes drawerIn { from { transform: translateX(60px); opacity: 0; } }
.drawer__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 26px 28px 18px; border-bottom: 1px solid var(--border);
}
.drawer__head h2 { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.drawer__close {
  flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer;
  color: var(--ink-700); font-size: 1rem; transition: all .2s var(--ease-out);
}
.drawer__close:hover { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-100); transform: rotate(90deg); }
.drawer__body { padding: 22px 28px 40px; overflow-y: auto; font-size: .92rem; }
.drawer__body h3 { font-size: 1rem; margin-top: 22px; }
.drawer__body ul, .drawer__body ol { padding-left: 20px; color: var(--ink-700); }
.drawer__body li { margin-bottom: 8px; }
.drawer__body a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drawer__updated {
  font-size: .78rem; color: var(--ink-500); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; display: inline-block;
}
.drawer__table { width: 100%; border-collapse: collapse; font-size: .82rem; margin: 12px 0; }
.drawer__table th, .drawer__table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.drawer__table th { background: var(--bg-alt); font-family: var(--font-display); font-size: .78rem; }

/* ── Cookie banner ─────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 240;
  max-width: 720px; margin-inline: auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  padding: 16px 20px;
  animation: cookieIn .5s var(--ease-spring);
}
@keyframes cookieIn { from { transform: translateY(30px); opacity: 0; } }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .84rem; color: var(--ink-700); }
.cookie-banner__icon { display: inline-block; vertical-align: -4px; color: var(--teal-700); margin-right: 4px; }
.cookie-banner__actions { display: flex; gap: 10px; }

/* ── Chat Mentor ───────────────────────────── */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 280; }
.chat__fab {
  position: relative; width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  box-shadow: 0 10px 28px rgba(13, 148, 136, .45);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out);
}
.chat__fab:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(13, 148, 136, .55); }
.chat__fab::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(20, 184, 166, .45);
  animation: chat-pulse 2.6s ease-out infinite;
}
@keyframes chat-pulse {
  0% { transform: scale(.9); opacity: .9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.chat__fab-badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px;
  display: grid; place-items: center; border-radius: 999px; padding: 0 5px;
  background: var(--amber); color: #78350f; font-size: .7rem; font-weight: 800;
  box-shadow: 0 2px 8px rgba(245,158,11,.5);
}
.chat.is-open .chat__fab-badge { display: none; }

.chat__panel {
  position: absolute; right: 0; bottom: 76px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 130px));
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--glass-border); border-radius: 20px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .3), var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  animation: chatIn .35s var(--ease-spring);
  transform-origin: bottom right;
}
@keyframes chatIn { from { transform: scale(.85) translateY(16px); opacity: 0; } }
.chat__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-600)); color: #fff;
}
.chat__avatar {
  width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.25rem;
  background: rgba(255,255,255,.18); border-radius: 50%; flex-shrink: 0;
}
.chat__title { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.chat__title strong { font-family: var(--font-display); font-size: .98rem; }
.chat__title span { font-size: .74rem; opacity: .9; display: flex; align-items: center; gap: 6px; }
.chat__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.chat__close {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s;
}
.chat__close:hover { background: rgba(255,255,255,.28); }

.chat__log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg {
  max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.5;
  animation: msgIn .3s var(--ease-spring);
  white-space: pre-line; overflow-wrap: break-word;
}
@keyframes msgIn { from { transform: translateY(8px) scale(.97); opacity: 0; } }
.chat__msg--bot { align-self: flex-start; background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink-700); border-bottom-left-radius: 6px; }
.chat__msg--user { align-self: flex-end; background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); color: #fff; border-bottom-right-radius: 6px; }
.chat__typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 16px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; border-bottom-left-radius: 6px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-300); animation: typing 1.1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .18s; }
.chat__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
.chat__chip {
  border: 1.5px solid var(--teal-100); background: var(--teal-50); color: var(--teal-800);
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  transition: all .2s var(--ease-out); animation: msgIn .3s var(--ease-spring);
}
.chat__chip:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; transform: translateY(-1px); }

.chat__wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 14px 10px; padding: 11px 16px; border-radius: 12px;
  background: var(--whatsapp); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  animation: msgIn .35s var(--ease-spring);
}
.chat__wa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.45); }

.chat__inputbar {
  display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: rgba(255,255,255,.7);
}
.chat__inputbar input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 16px;
  font-family: var(--font-body); font-size: .9rem; color: var(--ink-900); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.chat__inputbar input:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20,184,166,.14); }
.chat__inputbar button {
  width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}
.chat__inputbar button:hover { transform: scale(1.07); box-shadow: 0 6px 16px rgba(13,148,136,.4); }

/* ── Stagger (hijos con retardo progresivo) ── */
[data-stagger] > * { transition-delay: 0s; }
.reveal.is-visible [data-stagger] > *,
[data-stagger].is-visible > * { }
[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: .08s; }
[data-stagger] > *:nth-child(3) { transition-delay: .16s; }
[data-stagger] > *:nth-child(4) { transition-delay: .24s; }
[data-stagger] > *:nth-child(5) { transition-delay: .32s; }

/* ── Reveal on scroll ──────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .panel-card--float-a, .panel-card--float-b { animation: none; }
  .hero::before, .hero::after, .hero__aurora { animation: none; }
  .chat__fab::before { animation: none; }
  .btn--primary::after { display: none; }
  .carousel__track { scroll-behavior: auto; }
  .chat__panel, .chat__msg, .chat__chip, .chat__wa, .drawer, .cookie-banner, .lightbox img { animation: none; }
}

/* ── A11y: foco visible ────────────────────── */
.btn:focus-visible, .tab:focus-visible, .nav__link:focus-visible,
.faq__item summary:focus-visible, .linklike:focus-visible,
.footer__legal-link:focus-visible, .carousel__btn:focus-visible,
.carousel__dot:focus-visible, .chat__fab:focus-visible, .chat__chip:focus-visible,
.drawer__close:focus-visible, .lightbox__close:focus-visible {
  outline: 3px solid rgba(20, 184, 166, .5); outline-offset: 2px;
}

/* ── Fallback sin backdrop-filter ──────────── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header, .header.is-scrolled { background: rgba(255, 255, 255, .97); }
  .panel-card, .trustbar, .tab, .cta__form, .drawer, .cookie-banner,
  .chat__panel, .carousel__slide { background: rgba(255, 255, 255, .97); }
}

/* ── Blog / páginas internas ───────────────── */
.page-hero {
  position: relative; overflow: hidden; text-align: center; padding: 72px 0 56px;
  background:
    radial-gradient(700px 380px at 80% -20%, var(--teal-50) 0%, transparent 60%),
    radial-gradient(500px 320px at 10% 120%, #ecfdf5 0%, transparent 55%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; max-width: 20em; margin-inline: auto; }
.page-hero p { color: var(--ink-500); max-width: 44em; margin-inline: auto; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), border-color .25s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.post-card__tag {
  align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.post-card h3 { font-size: 1.05rem; line-height: 1.35; }
.post-card p { color: var(--ink-500); font-size: .9rem; flex: 1; }
.post-card__more { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--teal-700); }
.post-card:hover .post-card__more { text-decoration: underline; text-underline-offset: 3px; }

.article { max-width: 760px; margin-inline: auto; padding: 56px 24px 72px; }
.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.02em; }
.article__meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--ink-500); font-size: .84rem; margin-bottom: 28px; }
.article h2 { font-size: 1.4rem; margin-top: 40px; }
.article h3 { font-size: 1.1rem; margin-top: 28px; }
.article p, .article li { color: var(--ink-700); font-size: 1.02rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 22px; }
.article blockquote {
  margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--teal-500);
  background: var(--teal-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--teal-900); font-style: italic;
}
.article__cta {
  margin-top: 44px; padding: 28px; text-align: center;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700)); color: #fff;
  border-radius: var(--radius);
}
.article__cta h2 { color: #fff; margin-top: 0; font-size: 1.3rem; }
.article__cta p { color: rgba(255,255,255,.85); font-size: .95rem; }
.breadcrumbs { font-size: .82rem; color: var(--ink-500); padding: 18px 0 0; }
.breadcrumbs a { color: var(--teal-700); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 60px; }
  .hero__panel { max-width: 560px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .assurance__grid { grid-template-columns: 1fr 1fr; }
  .verdict-card { grid-column: 1 / -1; }
  .seals { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 44px; }
  .carousel__btn--prev { left: 6px; }
  .carousel__btn--next { right: 6px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 44px; padding-bottom: 64px; gap: 40px; }
  .eyebrow { font-size: .68rem; letter-spacing: .07em; line-height: 1.6; padding: 6px 16px; }
  .hero__lead { font-size: 1.02rem; }
  .hero__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .hero__badges li { font-size: .84rem; }
  .trustbar__inner { gap: 10px 22px; padding: 16px 20px; }
  .trust-item { font-size: .84rem; }
  .assurance__grid { grid-template-columns: 1fr; }
  .seals { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .metrics__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .brand__text small { display: none; }
  .carousel__slide img { height: 340px; }
  .field--split { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; gap: 4px; padding: 18px 24px 26px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s var(--ease-out);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header .btn--whatsapp { padding: 10px 16px; font-size: .85rem; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 6px; }
}

@media (max-width: 520px) {
  /* WhatsApp solo icono para que el header nunca desborde */
  .header .btn--whatsapp { font-size: 0; gap: 0; padding: 11px; }
  .header .btn--whatsapp svg { width: 20px; height: 20px; }
  .brand__text strong { font-size: 1.02rem; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .metrics__inner { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 44px 20px; }
  .hero__cta .btn { width: 100%; }
  .hero__badges { grid-template-columns: 1fr; }
  .cta__form { padding: 26px 20px; }
  .container { padding-inline: 18px; }
  .panel-card--main { position: relative; inset: auto; width: 100%; margin-bottom: 16px; }
  .panel-card--float-a, .panel-card--float-b { position: relative; inset: auto; width: 100%; margin-bottom: 16px; animation: none; }
  .hero__panel { min-height: 0; }
  .carousel__slide img { height: 300px; }
  .carousel__btn { width: 40px; height: 40px; }
  .chat { right: 14px; bottom: 14px; }
  .chat__panel { bottom: 72px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .drawer { width: 100vw; }
}
