/* =========================================================
   SAGGEE — landing estática
   ========================================================= */

/* ---------- Fuentes (auto-hospedadas, sin terceros) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Marca (tomada del logo: nube celeste → índigo) */
  --indigo-950: #0B1040;
  --indigo-900: #11175A;
  --indigo-800: #1B2270;   /* títulos */
  --indigo-600: #2E3192;   /* índigo del logo */
  --blue-700:   #095C93;
  --blue-600:   #0B6FB0;   /* acción: AA sobre blanco */
  --blue-500:   #1A8AC6;   /* azul del logo */
  --sky-400:    #29A9E0;   /* acento decorativo */
  --sky-300:    #7CCBEF;
  --sky-200:    #BFE5F8;
  --sky-100:    #E3F3FC;
  --sky-50:     #F3F9FE;

  /* Texto */
  --ink:   #131A3F;
  --text:  #3B4466;
  --muted: #5E6787;
  --line:  #DCE5F1;
  --white: #FFFFFF;

  /* Tipografía */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-xl: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  --fs-hero: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);

  /* Espaciado y forma */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(4rem, 3rem + 4.5vw, 7rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(17, 23, 90, .06), 0 4px 14px rgba(17, 23, 90, .06);
  --shadow-2: 0 2px 6px rgba(17, 23, 90, .08), 0 22px 44px -14px rgba(17, 23, 90, .24);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--indigo-800); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue-600); text-underline-offset: .2em; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--indigo-800); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600; box-shadow: var(--shadow-2); }
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sky-400), var(--indigo-600)); }
.eyebrow--light { color: var(--sky-300); }
.eyebrow--light::before { background: linear-gradient(90deg, var(--sky-300), var(--white)); }
.section-title { font-size: var(--fs-xl); margin-bottom: 1.1rem; }
.section-title--light { color: var(--white); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--blue-600); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font: 600 .95rem/1.2 var(--font); letter-spacing: .01em;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--blue-600), #1E4FA6); border: 0; box-shadow: 0 10px 24px -10px rgba(11, 111, 176, .7); }
.btn--primary:hover { background: linear-gradient(135deg, var(--blue-700), var(--indigo-600)); box-shadow: 0 14px 28px -10px rgba(46, 49, 146, .6); }
.btn--outline { --bg: rgba(255, 255, 255, .6); --fg: var(--indigo-800); --bd: #B9C8DE; }
.btn--outline:hover { --bg: var(--white); --bd: var(--indigo-800); }
.btn--light { --bg: var(--white); --fg: var(--indigo-800); }
.btn--light:hover { --bg: var(--sky-100); }
.btn--sm { min-height: 42px; padding: .55rem 1.2rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--sky-50);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(17, 23, 90, .35); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 52px; }
.site-nav__list { display: flex; align-items: center; gap: .1rem; }
.site-nav__list a:not(.btn) {
  position: relative; display: block; padding: .6rem .8rem;
  color: var(--text); font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.site-nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: linear-gradient(90deg, var(--sky-400), var(--indigo-600)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__list a:not(.btn):hover, .site-nav__list a:not(.btn)[aria-current="true"] { color: var(--indigo-800); }
.site-nav__list a:not(.btn):hover::after, .site-nav__list a:not(.btn)[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__cta { margin-left: .75rem; }
.site-nav__cta .btn[aria-current="true"] { box-shadow: 0 0 0 3px var(--sky-200); }

.nav-toggle { display: none; }

@media (max-width: 1060px) {
  :root { --header-h: 66px; }
  .brand img { height: 44px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
    background: transparent; border: 0; border-radius: 10px; color: var(--indigo-800); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -7px; }
  .nav-toggle__bars::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -16px rgba(17, 23, 90, .3);
    padding: .5rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a:not(.btn) { padding: .95rem .25rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .site-nav__list a:not(.btn)::after { display: none; }
  .site-nav__cta { margin: 1rem 0 0; }
  .site-nav__cta .btn { width: 100%; min-height: 50px; }
}

/* ---------- Hero (capas con parallax) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  background: linear-gradient(180deg, var(--sky-50) 0%, #E9F4FC 62%, var(--white) 100%);
  padding-top: clamp(2.5rem, 1.5rem + 4.5vw, 5.5rem);
  padding-bottom: clamp(4rem, 3rem + 5vw, 7.5rem);
}
.hero__layers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__layer { position: absolute; will-change: transform; }
.hero__glow {
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(34% 44% at 80% 36%, rgba(41, 169, 224, .26), transparent 70%),
    radial-gradient(30% 36% at 96% 82%, rgba(46, 49, 146, .16), transparent 70%),
    radial-gradient(30% 40% at 6% 10%, rgba(124, 203, 239, .30), transparent 70%);
}
.hero__arcs { width: min(1100px, 120vw); aspect-ratio: 1; right: -20%; top: 50%; margin-top: calc(min(1100px, 120vw) / -2); }
.hero__arcs circle { fill: none; stroke: rgba(26, 138, 198, .16); stroke-width: 1.2; }
.hero__cloud path { fill: var(--white); }
.hero__cloud { filter: drop-shadow(0 18px 30px rgba(26, 138, 198, .16)); }
.hero__cloud--a { width: 190px; left: -3%; bottom: 3%; opacity: .85; }
.hero__cloud--b { width: 150px; right: 6%; top: 6%; opacity: .75; }
.hero__dots {
  left: 38%; top: 10%; width: 200px; height: 150px;
  background-image: radial-gradient(rgba(46, 49, 146, .22) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 85%); mask-image: linear-gradient(135deg, #000 30%, transparent 85%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(2.5rem, 1rem + 5vw, 5rem);
}
.hero__title { font-size: var(--fs-hero); line-height: 1.1; letter-spacing: -0.025em; max-width: 17ch; }
.hl {
  background: linear-gradient(100deg, var(--blue-500) 0%, var(--indigo-600) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { margin-top: 1.4rem; max-width: 50ch; font-size: var(--fs-md); line-height: 1.75; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2.1rem; }

/* Panel ilustrado (todo HTML, sin texto en imágenes) */
.hero__visual { position: relative; display: flex; justify-content: center; padding-block: 2.5rem; }
.mock {
  position: relative; width: min(100%, 440px);
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(220, 229, 241, .9);
  border-radius: 20px; box-shadow: 0 40px 70px -30px rgba(17, 23, 90, .45), 0 0 0 8px rgba(255, 255, 255, .45);
  overflow: hidden; will-change: transform;
}
.mock__bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; background: linear-gradient(90deg, var(--indigo-600), var(--blue-500)); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.mock__bar span { margin-left: .6rem; color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.mock__body { padding: 1.25rem; display: grid; gap: 1.1rem; }
.mock__summary { display: flex; align-items: center; gap: 1.1rem; padding: 1rem; border-radius: 14px; background: var(--sky-50); border: 1px solid var(--line); }
.mock__donut {
  flex: none; width: 84px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--indigo-600) 0 34%, var(--blue-500) 34% 72%, var(--sky-300) 72% 100%);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%); mask: radial-gradient(circle, transparent 46%, #000 47%);
}
.mock__label { font-size: .82rem; font-weight: 700; color: var(--indigo-800); margin-bottom: .35rem; }
.mock__legend { display: grid; gap: .15rem; font-size: .75rem; color: var(--muted); }
.mock__legend li { display: flex; align-items: center; gap: .45rem; }
.mock__legend i { width: 9px; height: 9px; border-radius: 3px; }
.mock__legend .d1 { background: var(--indigo-600); } .mock__legend .d2 { background: var(--blue-500); } .mock__legend .d3 { background: var(--sky-300); }
.mock__steps { position: relative; display: grid; gap: .55rem; }
.mock__steps li {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: .8rem; align-items: center;
  padding: .7rem .85rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
}
.mock__dot { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); }
.mock__dot svg { width: 15px; height: 15px; }
.mock__steps b { font-size: .85rem; color: var(--indigo-800); line-height: 1.3; }
.mock__steps small { grid-column: 2; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.mock__steps em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-size: .7rem; font-weight: 600; padding: .25rem .6rem; border-radius: var(--radius-pill); background: #E6F6EE; color: #157347; }
.mock__steps .is-active { border-color: var(--sky-200); box-shadow: 0 8px 20px -12px rgba(26, 138, 198, .6); }
.mock__steps .is-active .mock__dot { background: var(--blue-600); }
.mock__steps .is-active .mock__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: pulse 1.8s ease-in-out infinite; }
.mock__steps .is-active em { background: var(--sky-100); color: var(--blue-700); }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }

.chip {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  font-size: .8rem; font-weight: 600; line-height: 1.2;
  padding: .6rem .95rem .6rem .7rem; border-radius: var(--radius-pill);
  color: var(--indigo-800); background: var(--white);
  box-shadow: 0 16px 34px -12px rgba(17, 23, 90, .4), 0 0 0 1px rgba(220, 229, 241, .8);
  will-change: transform;
}
.chip svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: var(--white); background: var(--blue-600); }
.chip--a { top: 0; left: max(-2%, -1rem); }
.chip--b { top: 42%; right: -6%; }
.chip--b svg { background: var(--indigo-600); }
.chip--c { bottom: .25rem; left: 6%; }
.chip--c svg { background: var(--sky-400); }

/* Coreografía de carga */
.js .hero__copy > *, .js .mock, .js .chip { opacity: 0; }
.js:not(.is-loaded) .hero__copy > *, .js:not(.is-loaded) .mock, .js:not(.is-loaded) .chip { animation: failsafe 0s 2.5s forwards; }
@keyframes failsafe { to { opacity: 1; } }
.is-loaded .hero__copy > * { animation: rise .8s var(--ease) both; }
.is-loaded .hero__copy > :nth-child(2) { animation-delay: .07s; }
.is-loaded .hero__copy > :nth-child(3) { animation-delay: .14s; }
.is-loaded .hero__copy > :nth-child(4) { animation-delay: .21s; }
.is-loaded .mock { animation: settle 1s var(--ease) .1s both; }
.is-loaded .chip--a { animation: pop .6s var(--ease) .6s both; }
.is-loaded .chip--b { animation: pop .6s var(--ease) .75s both; }
.is-loaded .chip--c { animation: pop .6s var(--ease) .9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; scale: .95; } to { opacity: 1; scale: 1; } }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__dots { display: none; }
  .hero__cloud--a { bottom: 4%; }
}
@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { padding-inline: .25rem; }
  .chip { font-size: .74rem; }
  .chip--a { left: 0; }
  .chip--b { right: 0; }
  .mock__body { padding: 1rem; }
}

/* ---------- Ecosistema ---------- */
.eco { border-block: 1px solid var(--line); background: var(--white); }
.eco__inner { display: grid; gap: 1.25rem; padding-block: 1.75rem 2rem; }
.eco__title { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eco__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.eco__list li { display: flex; align-items: flex-start; gap: .75rem; }
.eco__list svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--blue-600); background: var(--sky-100); }
.eco__list span { display: grid; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.eco__list b { font-size: .95rem; color: var(--indigo-800); }
@media (max-width: 1024px) { .eco__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .eco__list { grid-template-columns: 1fr; } }

/* ---------- Garantías Estatales ---------- */
.ggee__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.ggee__copy p + p { margin-top: 1rem; }
.ggee__media { position: relative; min-height: 440px; }
.ggee__img { position: absolute; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-2); will-change: transform; }
.ggee__img--a { width: 80%; aspect-ratio: 4 / 3; right: 0; top: 0; }
.ggee__img--b { width: 58%; aspect-ratio: 16 / 10; left: 0; bottom: 0; border: 6px solid var(--white); }
.ggee__badge {
  position: absolute; right: 4%; bottom: 10%; display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.05rem; border-radius: var(--radius); background: var(--indigo-600); color: var(--white);
  font-size: .85rem; font-weight: 600; line-height: 1.3; max-width: 230px;
  box-shadow: 0 18px 36px -14px rgba(46, 49, 146, .7); will-change: transform;
}
.ggee__badge svg { flex: none; width: 24px; height: 24px; color: var(--sky-300); }
.ggee__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.card {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem; color: var(--white); background: linear-gradient(135deg, var(--sky-400), var(--blue-600)); }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: var(--fs-lg); margin-bottom: .6rem; }
.card--accent { background: linear-gradient(150deg, var(--sky-50), var(--white) 60%); }
.card--accent .card__icon { background: linear-gradient(135deg, var(--blue-500), var(--indigo-600)); }
@media (max-width: 860px) {
  .ggee__grid { grid-template-columns: 1fr; }
  .ggee__media { min-height: 0; aspect-ratio: 1.15; max-width: 520px; width: 100%; margin-inline: auto; }
  .ggee__cards { grid-template-columns: 1fr; }
}

/* ---------- Solución ---------- */
.solution { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: linear-gradient(180deg, var(--sky-50), var(--white)); }
.solution__glow {
  position: absolute; z-index: -1; width: 60vw; max-width: 760px; aspect-ratio: 1; left: -18%; top: -10%;
  background: radial-gradient(closest-side, rgba(124, 203, 239, .35), transparent); border-radius: 50%; will-change: transform;
}
.solution__head { max-width: 820px; }
.solution__lead { font-size: var(--fs-md); }
.solution__subtitle { font-size: var(--fs-lg); margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 1.5rem; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature {
  position: relative; padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover, .js .feature.is-in:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.feature__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; color: var(--blue-600); background: var(--sky-100); transition: background-color .3s, color .3s; }
.feature:hover .feature__icon { background: var(--blue-600); color: var(--white); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { font-size: .94rem; color: var(--muted); }
.solution__cta { margin-top: 2.25rem; display: flex; justify-content: center; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Plataforma (capturas en laptops) ---------- */
.platform {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  background: radial-gradient(60% 50% at 50% 0%, rgba(41, 169, 224, .22), transparent 70%), linear-gradient(180deg, var(--indigo-900), var(--indigo-950));
  color: rgba(227, 243, 252, .85);
}
.platform__glow {
  position: absolute; z-index: -1; width: 70vw; max-width: 900px; aspect-ratio: 1.6; left: 50%; top: 38%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(46, 49, 146, .7), transparent); border-radius: 50%; will-change: transform;
}
.platform__head { max-width: 700px; margin: 0 auto clamp(2rem, 1.5rem + 2.5vw, 3.5rem); text-align: center; }
.platform__head .eyebrow { justify-content: center; color: var(--sky-300); }
.platform__head .eyebrow::before { background: linear-gradient(90deg, var(--sky-300), var(--white)); }
.platform__head .section-title { color: var(--white); }
.showcase { margin: 0; }
.showcase__caption { display: grid; gap: .3rem; max-width: 640px; margin: 2rem auto 0; text-align: center; min-height: 4.6em; }
.showcase__caption b { color: var(--white); font-size: var(--fs-lg); }
.showcase__caption span { font-size: .95rem; }

.laptop { position: relative; display: block; container-type: inline-size; }
.laptop--lg { width: min(100% - 2rem, 860px); margin-inline: auto; will-change: transform; }
.laptop__screen {
  position: relative; display: block; padding: 2.4cqw 2.4cqw 3.2cqw;
  background: linear-gradient(180deg, #1C1F2B, #0E1018); border-radius: 3cqw 3cqw .8cqw .8cqw;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.laptop__screen::before { content: ""; position: absolute; left: 50%; top: .9cqw; width: .8cqw; height: .8cqw; translate: -50% 0; border-radius: 50%; background: #2E3344; }
.laptop__screen img { width: 100%; aspect-ratio: 1456 / 846; object-fit: cover; object-position: left top; border-radius: .5cqw; background: #F3F4F8; }
.laptop__base {
  position: relative; display: block; width: 114%; margin-left: -7%; height: 2.6cqw;
  background: linear-gradient(180deg, #F1F3F8 0%, #CBD0DB 55%, #9097A8 100%);
  border-radius: .4cqw .4cqw 5cqw 5cqw / .4cqw .4cqw 2.4cqw 2.4cqw;
  box-shadow: 0 20px 30px -18px rgba(0, 0, 0, .7);
}
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 1cqw; translate: -50% 0; border-radius: 0 0 1.2cqw 1.2cqw; background: #A9AFBD; }
.laptop__zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: .5cqw; }
.laptop__zoom img { transition: opacity .25s var(--ease); }
.laptop__zoom.is-swapping img { opacity: .15; }
.laptop__zoom-hint {
  position: absolute; right: 2.5cqw; bottom: 2.5cqw; display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600;
  color: var(--white); background: rgba(17, 23, 90, .82); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
  opacity: 0; translate: 0 6px; transition: opacity .2s var(--ease), translate .2s var(--ease);
}
.laptop__zoom-hint svg { width: 16px; height: 16px; }
.laptop__zoom:hover .laptop__zoom-hint, .laptop__zoom:focus-visible .laptop__zoom-hint { opacity: 1; translate: 0 0; }
@media (hover: none) { .laptop__zoom-hint { opacity: 1; translate: 0 0; } }

.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 2vw, 2.25rem); max-width: 960px; margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0; }
.thumb {
  display: grid; gap: .9rem; justify-items: center; width: 100%; padding: 1rem 1.25rem 1.1rem;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  color: rgba(227, 243, 252, .8); font: 600 .88rem/1.3 var(--font); cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.thumb .laptop { width: 86%; }
.thumb .laptop__screen { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 16px 30px -16px rgba(0, 0, 0, .8); }
.thumb:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.thumb[aria-pressed="true"] { background: rgba(41, 169, 224, .14); border-color: var(--sky-400); color: var(--white); }
.thumb[aria-pressed="true"] .thumb__label::after { transform: scaleX(1); }
.thumb__label { position: relative; padding-bottom: .35rem; }
.thumb__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--sky-400); transform: scaleX(0); transition: transform .25s var(--ease); }
@media (max-width: 760px) {
  .thumbs {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) .75rem; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs li { scroll-snap-align: start; }
  .thumb { padding: .85rem .75rem 1rem; font-size: .82rem; }
}

/* Visor ampliado */
.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 9, 34, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox__img { width: 100%; max-height: 88vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); background: #F3F4F8; }
.lightbox__close {
  position: absolute; right: -.5rem; top: -3.25rem; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--white); color: var(--indigo-800); cursor: pointer; box-shadow: var(--shadow-2);
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox[open] { animation: settle .35s var(--ease) both; }
@media (max-width: 560px) { .lightbox__close { right: 0; } }

/* ---------- Cómo funciona ---------- */
.how__head { max-width: 680px; margin: 0 auto clamp(2.5rem, 2rem + 2.5vw, 4rem); text-align: center; }
.how__head .eyebrow { justify-content: center; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps::before { /* línea que une las etapas */
  content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-300) 0 8px, transparent 8px 16px);
}
.step { position: relative; padding: 0 .5rem; }
.step__num {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.5rem;
  border-radius: 50%; font-size: 1.35rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--sky-400), var(--indigo-600));
  box-shadow: 0 0 0 8px var(--white), 0 16px 30px -10px rgba(46, 49, 146, .55);
}
.step__title { text-align: center; font-size: var(--fs-lg); margin-bottom: 1.1rem; }
.step .checklist { padding: 1.4rem; border-radius: var(--radius-lg); background: var(--sky-50); border: 1px solid var(--line); height: calc(100% - 68px - 1.5rem - 3.1rem); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { left: 34px; right: auto; top: 34px; bottom: 34px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--sky-300) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.25rem; padding: 0; }
  .step__num { grid-row: span 2; margin: 0; }
  .step__title { text-align: left; align-self: center; margin-bottom: .75rem; }
  .step .checklist { grid-column: 2; height: auto; }
}

/* ---------- Servicios ---------- */
.services { background: var(--sky-50); border-block: 1px solid var(--line); }
.services__head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service {
  display: flex; flex-direction: column; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.service__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem; color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--indigo-600)); }
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-size: 1.15rem; margin-bottom: 1rem; }
.service--wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, .8fr) minmax(0, 2fr); gap: 1.5rem 2rem; align-items: start;
  color: rgba(227, 243, 252, .9); background: linear-gradient(135deg, var(--indigo-800), var(--indigo-600) 60%, #2559A8); border: 0; box-shadow: var(--shadow-2);
}
.service--wide .service__icon { margin: 0; background: rgba(255, 255, 255, .12); color: var(--sky-300); }
.service--wide .service__title { color: var(--white); font-size: var(--fs-lg); margin: 0; }
.service__tag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); margin-bottom: .4rem; }
@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service--wide { grid-template-columns: auto 1fr; }
  .service--wide .checklist { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* Lista con check (compartida) */
.checklist { display: grid; gap: .6rem; align-content: start; }
.checklist li { position: relative; padding-left: 1.85rem; line-height: 1.6; font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.checklist--light li::before, .service--wide .checklist li::before { background-color: var(--sky-400); }
@media (max-width: 600px) { .checklist--cols { grid-template-columns: 1fr; } }

/* ---------- Beneficios ---------- */
.benefits {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  padding-block: calc(var(--section) + 1rem);
  background: var(--indigo-900); color: rgba(227, 243, 252, .88);
}
.benefits__bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.benefits__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.6); }
.benefits::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(17, 23, 90, .96) 0%, rgba(27, 34, 112, .88) 50%, rgba(9, 92, 147, .78) 100%); }
.benefits__head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.benefit {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.benefit__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem; color: var(--indigo-900); background: linear-gradient(135deg, var(--sky-300), var(--white)); }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit__title { color: var(--white); font-size: var(--fs-lg); margin-bottom: 1rem; }
.checklist--light li { color: rgba(227, 243, 252, .88); }
@media (max-width: 960px) { .benefits__grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- Equipo ---------- */
.team__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.team__media { position: relative; }
.team__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.team__media::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; z-index: -1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sky-200), var(--sky-50)); }
.team__badge {
  position: absolute; left: -1rem; bottom: 1.5rem; display: grid; gap: .1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-2); will-change: transform;
}
.team__badge b { font-size: 1.6rem; line-height: 1.1; color: var(--indigo-600); }
.team__badge span { font-size: .82rem; line-height: 1.35; color: var(--muted); max-width: 18ch; }
.team__copy p + p { margin-top: 1rem; }
.team__maker { padding: 1rem 1.25rem; border-left: 3px solid var(--sky-400); background: var(--sky-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.team__maker a { font-weight: 600; }
.team__copy .btn { margin-top: 1.75rem; }
@media (max-width: 860px) {
  .team__grid { grid-template-columns: 1fr; }
  .team__badge { left: .75rem; bottom: .75rem; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--indigo-800); font-size: 1.02rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; color: var(--blue-600); background: var(--sky-100); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.accordion details[open] summary svg { transform: rotate(180deg); background: var(--blue-600); color: var(--white); }
.accordion summary:hover { color: var(--blue-600); }
.accordion__panel { padding: 0 3rem 1.35rem 0; }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .accordion__panel { padding-right: 0; }
}

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, var(--sky-50), #EAF4FC); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__copy p { max-width: 40ch; }
.contact__list { display: grid; gap: .4rem; margin-top: 1.75rem; }
.contact__list a {
  display: inline-flex; align-items: center; gap: .7rem; padding-block: .35rem;
  font-weight: 600; color: var(--indigo-800); text-decoration: none;
}
.contact__list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--blue-600); background: var(--white); box-shadow: var(--shadow-1); }
.contact__list a:hover { color: var(--blue-600); text-decoration: underline; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid #C8D5E6; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #8A94AE; }
.field input:hover, .field textarea:hover { border-color: #A6B7CF; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 111, 176, .15); }
.field [aria-invalid="true"] { border-color: #C2410C; }
.field__error { margin-top: .35rem; font-size: .85rem; color: #B23A0A; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.form__note { font-size: .85rem; color: var(--muted); max-width: 36ch; }
.form__status { margin-top: 1rem; font-size: .95rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #0F7B4B; }
.form__status.is-error { color: #B23A0A; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: rgba(227, 243, 252, .78);
  background: linear-gradient(180deg, var(--indigo-900) 0%, var(--indigo-950) 100%);
  padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sky-400), var(--blue-500) 45%, var(--indigo-600) 75%, transparent); }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.brand--footer img { height: 46px; }
.site-footer__brand p { margin-top: 1.1rem; max-width: 38ch; font-size: .9rem; line-height: 1.7; }
.site-footer__maker { font-size: .88rem; }
.site-footer__maker a { color: var(--white); font-weight: 600; }
.site-footer__title { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer__col ul { display: grid; gap: .15rem; }
.site-footer__col a:not(.btn) {
  display: inline-flex; align-items: center; gap: .55rem; padding-block: .35rem;
  color: rgba(227, 243, 252, .78); font-size: .9rem; text-decoration: none; transition: color .2s;
}
.site-footer__col a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--sky-400); }
.site-footer__cta { margin-top: 1.1rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .18); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.1rem 1.25rem; font-size: .8rem; color: rgba(227, 243, 252, .7); }
.site-footer__legal p { max-width: 72ch; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__links a, .linklike {
  display: inline-block; padding-block: .5rem; background: none; border: 0; cursor: pointer;
  font: inherit; color: rgba(227, 243, 252, .8); text-decoration: underline; text-underline-offset: .2em;
}
.site-footer__links a:hover, .linklike:hover { color: var(--white); }
.form__note a { color: var(--blue-600); }
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__grid { gap: 2rem 1.25rem; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem .7rem .8rem;
  background: #15803D; color: var(--white); font-weight: 600; font-size: .9rem; text-decoration: none;
  border-radius: var(--radius-pill); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float[hidden] { display: none; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); background: #116B33; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .8rem; } }
.has-wa .site-footer__bottom { padding-bottom: 4.25rem; }

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  width: min(420px, calc(100vw - 2rem));
  padding: 1.25rem 1.25rem 1.1rem; background: var(--white); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -12px rgba(17, 23, 90, .35);
  animation: rise .4s var(--ease) both;
}
.consent[hidden] { display: none; }
.consent__title { font-weight: 700; color: var(--indigo-800); margin-bottom: .35rem; }
.consent__text { font-size: .9rem; line-height: 1.55; }
.consent__actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.consent__actions .btn { flex: 1; }
@media (max-width: 560px) {
  .consent { left: .75rem; right: .75rem; width: auto; bottom: calc(.75rem + env(safe-area-inset-bottom)); }
  .has-consent .wa-float { display: none; }
}

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js:not(.is-loaded) [data-reveal] { animation: failsafe 0s 3s forwards; }

/* ---------- Página legal ---------- */
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); background: var(--white); }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: var(--fs-xl); margin-bottom: .5rem; }
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.legal__lead { font-size: var(--fs-md); margin-bottom: 2rem; }
.legal section { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal h2 { font-size: var(--fs-lg); margin-bottom: .9rem; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: .9rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .5rem; }
.legal__toc { background: var(--sky-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.legal__toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; list-style: decimal; }
.legal__toc li { padding-block: .2rem; break-inside: avoid; }
.legal__toc a { color: var(--indigo-800); }
.legal__facts { display: grid; gap: .75rem; }
.legal__facts dt { font-weight: 600; color: var(--ink); font-size: .9rem; }
.legal__note { color: var(--muted); font-size: .9rem; }
.site-header--legal { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-footer--legal { padding-top: 0; }
.site-footer--legal::before { display: none; }
@media (max-width: 560px) { .legal__toc ol { columns: 1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; padding-block: 4rem; }
.notfound .brand img { height: 48px; margin-bottom: 3rem; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero__copy > *, .js .mock, .js .chip, .js [data-reveal] { opacity: 1; transform: none; }
  [data-scroll], [data-depth] { transform: none !important; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .wa-float, .consent, .hero__layers, .benefits__bg, .form, .thumbs, .lightbox { display: none !important; }
  .platform { background: none; color: #000; }
  .platform__head .section-title, .showcase__caption b { color: #000; }
  .benefits { background: none; color: #000; }
  .benefits::before { display: none; }
  .section-title--light, .benefit__title { color: #000; }
  .js [data-reveal], .js .hero__copy > *, .js .mock, .js .chip { opacity: 1 !important; transform: none !important; }
}
