/* ============================================================
   EVOLVIA · INUSpheresis® — web clínica consultiva (v3 + harden)
   Mobile-first. Alto contraste. Sin oro/granate/negros.
   ============================================================ */

:root {
  --bg:       #FBFCFC;
  --surface:  #ECF3F1;
  --sand:     #F4F1EA;
  --card:     #FFFFFF;

  --brand:    #15605B;
  --brand-d:  #0E4A46;
  --sage:     #6F9B88;
  --sage-bg:  #E4EEE8;

  --ink:      #1B2A2E;
  --muted:    #46585D;

  --line:     #D9E4E0;
  --line-2:   #E7EEEB;

  --wa:       #25D366;
  --wa-btn:   #0F7A3D;
  --wa-btn-d: #0B5F30;

  /* superficies premium (tokens de overlay/hero — antes literales) */
  --hero-1:   #0E4A46;
  --hero-2:   #15605B;
  --hero-3:   #1C2B30;
  --on-brand: #EAF3F1;   /* texto claro sobre marca (alto)     */
  --on-brand-soft: #CFE5E1; /* texto claro sobre marca (medio) */
  --on-brand-mute: #B9D4CF; /* etiquetas sobre marca           */
  --hero-sub: #DCEAE7;   /* subtítulo del hero                 */
  --accent-l: #9FD4CC;   /* acento claro (eyebrow hero, marca) */
  --sage-band: rgba(111,155,136,.55); /* banda de resalte "2 horas" */

  --r:   14px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(20,50,45,.04), 0 8px 24px -16px rgba(20,50,45,.18);

  --pad: 22px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Manrope', -apple-system, sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(28px, 7vw, 34px); line-height: 1.16; font-weight: 800; }
h2 { font-size: clamp(23px, 5.6vw, 28px); line-height: 1.22; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }
p  { margin: 0 0 1em; max-width: 68ch; }
a  { color: var(--brand); }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 600; }

::selection { background: var(--sage-bg); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(21, 96, 91, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: var(--r-s); font-weight: 600; text-decoration: none;
  transition: top .16s ease;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: 64px; }
.section--tight { padding-block: 48px; }
.bg-surface { background: var(--surface); }
.bg-sand    { background: var(--sand); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-l); }
.lead { font-size: 18px; color: var(--muted); }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: var(--r-s);
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa      { background: var(--wa-btn); color: #fff; }
.btn--wa:hover { background: var(--wa-btn-d); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-d); }
.btn--ghost   { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--surface); }
.btn--light   { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--sage-bg); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--onhero { background: #fff; color: var(--brand-d); }
.btn--onhero:hover { background: var(--sage-bg); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* ---- Header ---------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,252,252,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}
.header--scrolled { box-shadow: 0 8px 24px -16px rgba(20,50,45,.45); background: rgba(251,252,252,.96); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; color: var(--ink); }
.brand__name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.brand__tag  { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.header__nav { display: none; gap: 28px; }
.header__nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.header__nav a:hover { color: var(--brand); }
.header__cta { display: none; }

/* ---- Hero full-background -------------------------------- */
.hero-bg {
  position: relative; display: flex; align-items: center;
  min-height: clamp(560px, 86vh, 780px);
  padding-block: 80px; color: var(--on-brand);
  background:
    radial-gradient(130% 110% at 80% -15%, rgba(111,155,136,.30), transparent 55%),
    linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 100%);
  overflow: hidden;
}
.hero-bg__fx { position: absolute; inset: 0; overflow: hidden; }
.hero-bg__glow {
  position: absolute; right: -10%; top: -26%;
  width: 72vw; height: 72vw; max-width: 860px; max-height: 860px; border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(120,205,182,.42), rgba(21,96,91,0) 62%);
  filter: blur(24px); will-change: transform, opacity;
  animation: ev-hero-glow 16s ease-in-out infinite;
}
.hero-bg__streams { position: absolute; inset: -5%; width: 110%; height: 110%; }
.hero-bg__drift { transform-origin: center; animation: ev-hero-drift 26s ease-in-out infinite alternate; }
.hero-bg__grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px; opacity: .05; mix-blend-mode: overlay;
}
.hero-bg__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12,42,40,.82) 0%, rgba(14,74,70,.42) 46%, rgba(20,43,48,.16) 100%),
    radial-gradient(120% 120% at 50% 125%, rgba(12,30,28,.55), transparent 60%);
}
@keyframes ev-hero-glow { 0%,100% { transform: translate(0,0) scale(1); opacity: .85; } 50% { transform: translate(-4%,3%) scale(1.09); opacity: 1; } }
@keyframes ev-hero-drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-3%,1.5%,0); } }
.hero-bg__inner { position: relative; z-index: 2; max-width: 760px; min-width: 0; width: 100%; }
/* H1 con keywords (visible, pequeño) — SEO */
.hero-bg .hero-h1 {
  font-family: 'Manrope', sans-serif; font-weight: 600;
  font-size: clamp(15px, 2.4vw, 20px); letter-spacing: .04em; line-height: 1.3;
  color: var(--accent-l); margin: 0 0 10px; overflow-wrap: break-word;
}
/* Claim comercial (impacto visual, ya no es H1) */
.hero-bg .hero-claim {
  color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: clamp(29px, 6.2vw, 54px); line-height: 1.11; letter-spacing: -0.01em;
  margin: 0 0 18px; max-width: none; text-wrap: balance; overflow-wrap: break-word;
}
.hero-bg__sub, .eyebrow { overflow-wrap: break-word; }
.hero-claim .hl-2h {
  color: #fff;
  background: linear-gradient(180deg, transparent 62%, var(--sage-band) 62%);
  padding: 0 .06em; white-space: nowrap;
}
/* Título visual de sección sin ser <h2> (SEO: no diluir encabezados) */
.h2v {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: clamp(23px, 5.6vw, 28px); line-height: 1.22; letter-spacing: -0.01em;
  color: var(--ink); margin: 0; max-width: none; text-wrap: balance;
}
.cta-band .h2v { color: #fff; margin-bottom: 8px; }
@media (min-width: 1080px) { .h2v { font-size: 34px; } }
.hero-bg__sub { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.6; color: var(--hero-sub); max-width: 60ch; margin: 0 0 26px; }
.hero-bg .btn-row { margin-bottom: 30px; }

.stats { display: flex; flex-wrap: wrap; gap: 22px 40px; }
.stat .n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(28px, 4.6vw, 40px); line-height: 1; color: #fff; }
.stat .l { font-size: 13.5px; color: var(--on-brand-mute); margin-top: 6px; letter-spacing: .02em; }

/* ---- Media (foto con fallback degradado) ----------------- */
.media {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, #DFEDE9 0%, var(--surface) 60%, #E7EFEA 100%);
  border: 1px solid var(--line); aspect-ratio: 4 / 3;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- Callout / note -------------------------------------- */
.callout { background: var(--sage-bg); border-left: 4px solid var(--brand); border-radius: var(--r-s); padding: 18px; margin-block: 20px 0; }
.callout p { margin: 0; color: var(--ink); font-size: 16px; }
.note {
  font-size: 14px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 14px 16px; margin-top: 20px;
}

/* ---- Listas fluidas -------------------------------------- */
.fluid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.fluid > li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; display: flex; gap: 12px; align-items: baseline; }
.fluid > li::before { content: "—"; color: var(--sage); font-weight: 700; flex: none; }
.fluid > li b { font-weight: 600; }
.fluid > li span { color: var(--muted); }
@media (min-width: 760px) { .fluid { grid-template-columns: 1fr 1fr; column-gap: 44px; } }

/* ---- Flujo numerado -------------------------------------- */
.flow { display: grid; gap: 0; }
.flow__item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.flow__n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px; line-height: 1; color: var(--sage); min-width: 46px; }
.flow__item h3 { font-size: 18px; margin-bottom: 4px; }
.flow__item p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 880px) {
  .flow--4 { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .flow--4 .flow__item { flex-direction: column; gap: 10px; }
}

/* ---- Diagrama del mecanismo (Cómo funciona) -------------- */
.mech { position: relative; display: grid; gap: 26px; }
.mech__node { position: relative; z-index: 1; }
.mech__ic {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 10px 22px -12px rgba(20,50,45,.38);
  display: grid; place-items: center; color: var(--brand); margin-bottom: 14px;
}
.mech__ic svg { width: 32px; height: 32px; }
.mech__node h3 { font-size: 17px; margin-bottom: 4px; }
.mech__node p { font-size: 15px; color: var(--muted); margin: 0; }
.mech__eluado { margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.mech__tag {
  display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; margin-right: 10px; background: var(--card);
}
@media (min-width: 760px) {
  .mech { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .mech__node { text-align: center; }
  .mech__ic { margin-inline: auto; }
  /* línea de conexión del proceso (a la altura de los iconos) */
  .mech::before {
    content: ""; position: absolute; z-index: 0; top: 33px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--sage) 20%, var(--sage) 80%, transparent);
  }
}

/* ---- Confianza clínica ----------------------------------- */
.trust { display: grid; gap: 0; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.trust__item svg { width: 24px; height: 24px; color: var(--brand); flex: none; margin-top: 2px; }
.trust__item h3 { font-size: 17px; margin-bottom: 2px; }
.trust__item p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (min-width: 760px) { .trust { grid-template-columns: 1fr 1fr; column-gap: 44px; } }

/* ---- CTA band -------------------------------------------- */
.cta-band { background: var(--brand); color: var(--on-brand); border-radius: var(--r); padding: 28px 22px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: var(--on-brand-soft); margin: 0 auto 20px; }
.cta-band .btn-row { max-width: 380px; margin-inline: auto; }

/* ---- Vídeo (póster + lazy iframe al clic) ---------------- */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 30% 0%, #18514C 0%, var(--hero-1) 70%, var(--hero-3) 100%);
  display: grid; place-items: center; color: var(--on-brand); text-align: center; cursor: pointer;
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,42,40,.62), rgba(12,42,40,.30)); }
.video__inner { position: relative; z-index: 2; }
.video__play {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.7);
  display: grid; place-items: center; margin: 0 auto 14px;
  transition: background .18s ease, transform .18s ease;
}
.video:hover .video__play { background: rgba(255,255,255,.26); transform: scale(1.04); }
.video__play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.video__label { font-size: 14px; letter-spacing: .04em; color: var(--on-brand-soft); }
.video.is-playing { cursor: default; }
.video.is-playing::after { display: none; }
.video--vertical { aspect-ratio: 9 / 16; max-width: 300px; width: 100%; margin: 0 auto; }
.shortvid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .shortvid { grid-template-columns: 300px 1fr; gap: 44px; } }

/* ---- FAQ / acordeón nativo ------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 22px; width: 12px; height: 12px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq__a { padding: 0 0 20px; color: var(--muted); font-size: 16px; }
.faq__a p { margin: 0; }

/* ---- Formulario ------------------------------------------ */
.final { display: grid; gap: 28px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; min-height: 50px;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,96,91,.14);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form__ok { display: none; background: var(--sage-bg); color: var(--brand-d); border: 1px solid var(--sage); border-radius: var(--r-s); padding: 14px; font-size: 15px; text-align: center; margin-top: 14px; }
.form__ok.show { display: block; }
[data-submit].is-sent { background: var(--brand); }

/* ---- Footer ---------------------------------------------- */
.footer { background: var(--surface); color: var(--muted); padding-block: 40px 32px; font-size: 14px; }
.footer__top { display: grid; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer .brand__name { color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--brand); }
.footer__legal { margin-top: 20px; font-size: 12.5px; line-height: 1.6; }
.footer__copy { margin-top: 12px; font-size: 12.5px; }

/* ---- Legales en el footer (plegados, discretos) ----------- */
.footer-legal { margin-top: 6px; font-size: 13px; color: var(--muted); }
.footer-legal__note { font-size: 12px; color: var(--muted); opacity: .8; margin: 10px 0 0; }
.footer-legal .legal-acc-wrap { border-top: 0; }
.legal-acc { border-bottom: 1px solid var(--line-2); scroll-margin-top: 80px; }
.legal-acc > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 10px 30px 10px 0;
  font-weight: 600; font-size: 13px; color: var(--muted);
}
.legal-acc > summary:hover { color: var(--brand); }
.legal-acc > summary::-webkit-details-marker { display: none; }
.legal-acc > summary::after {
  content: ""; position: absolute; right: 4px; top: 13px; width: 8px; height: 8px;
  border-right: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s ease;
}
.legal-acc[open] > summary::after { transform: rotate(-135deg); top: 16px; }
.legal-acc__body { padding: 0 0 12px; font-size: 12.5px; line-height: 1.6; }
.legal-acc__body p { margin: 0 0 6px; max-width: 78ch; }
.legal-acc__body p:last-child { margin-bottom: 0; }
.legal-acc__body code { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: 11.5px; }
.legal__flag { font-size: 12px; color: var(--brand); font-weight: 600; }

/* ---- WhatsApp FAB (sticky móvil) ------------------------- */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px -6px rgba(20,50,45,.4); text-decoration: none;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab__label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 7px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-fab:hover .wa-fab__label { opacity: 1; }

/* ---- Menú móvil ------------------------------------------ */
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 12px var(--pad) 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-nav .btn { margin-top: 14px; }

/* ---- Micro-fades al hacer scroll (mínimo) ---------------- */
.reveal-on .reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ---- Optimize: saltar render de secciones fuera de viewport
   (mejora el pintado inicial en páginas largas; el hero NO lo lleva) --- */
.section, .legal { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* ---- Polish: profundidad real y micro-interacciones ------ */
.video { box-shadow: 0 24px 60px -30px rgba(12,42,40,.60); }
.cta-band { box-shadow: 0 30px 70px -34px rgba(14,74,70,.70); }
.form { box-shadow: 0 24px 60px -34px rgba(20,50,45,.28); }
.btn--wa, .btn--primary { box-shadow: 0 10px 24px -14px rgba(15,122,61,.70); }
.btn--wa:hover, .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(15,122,61,.75); }
.btn--onhero { box-shadow: 0 12px 26px -14px rgba(6,26,24,.55); }
.btn--onhero:hover { transform: translateY(-1px); }
.wa-fab { transition: transform .16s ease, box-shadow .16s ease; }
.wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 30px -8px rgba(20,50,45,.5); }
.fluid > li { transition: color .16s ease; }
.fluid > li:hover span { color: var(--ink); }
.header__nav a, .footer__links a, .footer__legal-links a { transition: color .16s ease; }
/* acento crafteado en los stats del hero (en vez del stat plano) */
.stat { position: relative; padding-left: 15px; }
.stat::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--sage), transparent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 760px) {
  :root { --pad: 32px; }
  body { font-size: 18px; }
  .section { padding-block: 88px; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { flex: 0 1 auto; }
  .final { grid-template-columns: 1fr 1fr; align-items: start; }
  .cta-band { padding: 40px; }
  .footer__top { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
@media (min-width: 1080px) {
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
  .section { padding-block: 104px; }
  .wa-fab { display: none; }
}

/* ---- Reduced motion (refinado: preserva feedback de foco/hover) --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal-on .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
