/* =========================================================
   Vindra — sistema visual
   Concepto: "la sala de máquinas del negocio". Flujos, horas y
   estados reales en lugar de ilustraciones decorativas.
   ========================================================= */

:root {
  color-scheme: light;

  /* Color */
  --paper: #F4F5F2;        /* fondo principal, blanco frío */
  --paper-2: #E9EBE6;      /* superficies secundarias */
  --white: #FFFFFF;
  --ink: #0C1B22;          /* tinta petróleo: texto y bandas oscuras */
  --ink-2: #13262F;
  --ink-3: #1D3440;
  --muted: #5A6A70;        /* texto secundario */
  --line: #D6DAD3;         /* filetes */
  --line-dark: rgba(255,255,255,.12);
  --brand: #217BFB;        /* azul exacto del punto del logo */
  --cobalt: #1769E6;       /* acento de interfaz: azul del logo con contraste AA sobre blanco */
  --cobalt-deep: #0F55C2;
  --cobalt-soft: #E1EDFF;
  --amber: #FFB020;        /* señales, pendientes */
  --amber-soft: #FFF1D1;
  --green: #12A474;        /* resuelto */
  --green-soft: #DBF3EA;
  --red: #E0473B;

  /* Tipografía */
  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
  --t-h1: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem);

  /* Espaciado (base 4px) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --r-sm: 6px;
  --r-md: 10px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --nav-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 1.75; flex: none; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.section { padding-block: var(--s-9); position: relative; }
.section__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); max-width: 780px; }
.section__head--split { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--s-7); }
.section__head--split > div { display: grid; gap: var(--s-4); }
.kicker {
  font-family: var(--f-mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em;
  color: var(--cobalt); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.kicker--light { color: #9CC4FF; }
.h2 { font-size: var(--t-h2); font-weight: 700; max-width: 22ch; }
.section__head--split .h2 { max-width: 22ch; }
.lead { font-size: var(--t-lg); color: var(--muted); line-height: 1.5; max-width: 52ch; }
.note { color: var(--muted); margin-top: var(--s-5); }
.link { color: var(--cobalt); border-bottom: 1px solid currentColor; }
.link:hover { color: var(--cobalt-deep); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding-inline: 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--ease);
}
.btn::after { /* barrido de luz al hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--cobalt); box-shadow: 0 8px 24px -10px rgba(23,105,230,.7); }
.btn--primary:hover { --bg: var(--cobalt-deep); box-shadow: 0 14px 30px -12px rgba(23,105,230,.8); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); background: var(--white); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--cobalt-soft); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn--outline-light:hover { --bd: #fff; }
.btn--sm { height: 40px; padding-inline: 16px; font-size: .9rem; }
.btn--lg { height: 56px; padding-inline: 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Logo (wordmark VINDRA: la "I" lleva un punto azul) ---------- */
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo__word { font-family: "Outfit", var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: .06em; line-height: 1; padding-top: .3em; }
.logo__i { position: relative; display: inline-block; }
.logo__i::after {
  content: ""; position: absolute; left: calc(50% - .03em); top: -.2em; width: .16em; height: .16em; border-radius: 50%;
  background: var(--brand); transform: translateX(-50%); transition: transform .4s var(--ease);
}
.logo:hover .logo__i::after { transform: translate(-50%, -.12em); }
.logo--light { color: #fff; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--s-6); transition: height .3s var(--ease); }
.nav.is-scrolled { background: rgba(244,245,242,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__inner { height: 58px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(12,27,34,.05); }
.nav__links a.is-current { color: var(--ink); }
.nav__burger { display: none; width: 42px; height: 42px; margin-left: auto; position: relative; border-radius: 50%; border: 1px solid var(--line); }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu { background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu nav { display: grid; padding-block: var(--s-3) var(--s-5); }
.mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; }
.mobile-menu .btn { margin-top: var(--s-5); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--s-7); overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(12,27,34,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,27,34,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-7); align-items: center; position: relative; padding-bottom: var(--s-8); }
.hero__copy { display: grid; gap: var(--s-5); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--muted); font-weight: 500; }
.hero__title { font-size: var(--t-h1); font-weight: 800; letter-spacing: -.04em; line-height: .98; }
.hero__title .hl { color: var(--cobalt); display: block; font-weight: 600; letter-spacing: -.035em; }
.hero__sub { font-size: var(--t-lg); color: var(--muted); max-width: 50ch; line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-sm); color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof svg { color: var(--green); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex: none; display: inline-block; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ping 2s ease-out infinite; }

/* Consola */
.hero__visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.console {
  width: min(100%, 440px); background: var(--ink); color: #E6EEF0; border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(12,27,34,.55), 0 0 0 1px rgba(12,27,34,.9);
  overflow: hidden; position: relative; z-index: 2; transition: transform .6s var(--ease);
}
.console__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); color: #8FA3AA; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A424D; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: var(--t-xs); color: #7FD8B6; }
.console__body { padding: 18px 16px 20px; }
.flow { display: grid; gap: 6px; position: relative; }
.flow::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 1px; background: #2A424D; }
.flow__step {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 8px; border-radius: 10px; position: relative;
  opacity: .35; transform: translateX(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .5s;
}
.flow__step.is-done { opacity: 1; transform: none; }
.flow__step.is-active { opacity: 1; transform: none; background: rgba(23,105,230,.16); }
.flow__icon { width: 38px; height: 38px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: #BFD0D6; position: relative; z-index: 1; transition: background-color .4s, color .4s; }
.flow__step.is-active .flow__icon { background: var(--cobalt); color: #fff; box-shadow: 0 0 0 6px rgba(23,105,230,.2); }
.flow__step.is-done .flow__icon { background: #17443A; color: #7FD8B6; }
.flow__step b { display: block; font-weight: 600; font-size: .95rem; color: #fff; }
.flow__step small { display: block; color: #8FA3AA; font-size: .85rem; line-height: 1.35; }
.flow__step time { color: #5E7680; }

.float {
  position: absolute; z-index: 3; background: var(--white); border-radius: 12px;
  box-shadow: 0 20px 40px -20px rgba(12,27,34,.35), 0 0 0 1px rgba(12,27,34,.06);
  padding: 14px 16px; transition: transform .6s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.float--a { top: 18px; left: -6px; display: grid; gap: 2px; }
.float__k { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.float__v { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.03em; line-height: 1; }
.float__n { font-size: .8rem; color: var(--muted); }
.float--b { right: -10px; top: 46%; display: grid; gap: 8px; animation-delay: -2s; }
.float__slot { color: var(--ink); }
.float--c { bottom: 14px; left: 8%; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; width: 250px; animation-delay: -4s; }
.float--c > svg { color: var(--cobalt); width: 22px; height: 22px; }
.float--c b { display: block; font-size: .9rem; }
.float--c small { color: var(--muted); }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; background: var(--cobalt); border-radius: inherit; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip--ok { background: var(--green-soft); color: #0B7453; }
.chip--warn { background: var(--amber-soft); color: #8A5A00; }
.chip--new { background: var(--cobalt-soft); color: var(--cobalt-deep); }
.chip--off { background: #F7DEDB; color: #A22E24; }

/* Ticker */
.ticker { display: flex; align-items: center; gap: var(--s-5); border-block: 1px solid var(--line); padding-block: var(--s-4); overflow: hidden; }
.ticker__label { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.ticker__track { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.ticker__row { display: flex; gap: var(--s-6); padding-right: var(--s-6); flex: none; animation: marquee 40s linear infinite; }
.ticker__row span { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s-6); }
.ticker__row span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cobalt); }

/* ---------- Problema ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-8); }
.problem__head { display: grid; gap: var(--s-5); align-content: start; }
.problem__visual { position: relative; align-self: center; justify-self: end; width: min(100%, 420px); }
.inbox { background: var(--white); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(12,27,34,.3), 0 0 0 1px var(--line); overflow: hidden; transform: rotate(-2deg); }
.inbox__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.badge { background: var(--red); color: #fff; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; padding: 2px 8px; border-radius: 999px; }
.inbox__msg { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 18px; border-bottom: 1px solid var(--paper-2); }
.inbox__msg b { font-size: .9rem; }
.inbox__msg span { grid-column: 1; color: var(--muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__msg time { grid-row: 1; grid-column: 2; color: var(--red); }
.inbox__msg.is-faded { opacity: .45; }
.sticky-note {
  position: absolute; right: -18px; bottom: -40px; width: 160px; padding: 14px 16px;
  background: #FFE38A; color: #4A3A00; font-family: var(--f-mono); font-size: .78rem; line-height: 1.5;
  transform: rotate(5deg); box-shadow: 0 16px 30px -16px rgba(0,0,0,.35);
}
.pains { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.pain { display: grid; gap: var(--s-4); padding: var(--s-5) var(--s-5) var(--s-5) 0; border-right: 1px solid var(--line); transition: background-color .3s; }
.pain + .pain { padding-left: var(--s-5); }
.pain:last-child { border-right: 0; }
.pain__n { color: var(--cobalt); }
.pain h3 { font-size: var(--t-h3); font-weight: 600; margin-bottom: var(--s-3); }
.pain p { color: var(--muted); font-size: .98rem; }

/* ---------- Solución ---------- */
.solution { background: var(--white); border-block: 1px solid var(--line); }
.solution__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-7); }
.solution__head > div { display: grid; gap: var(--s-4); }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.switch button { position: relative; z-index: 1; height: 44px; padding-inline: 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .3s; }
.switch button[aria-selected="true"] { color: #fff; }
.switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease), background-color .45s; }
.switch[data-mode="despues"] .switch__thumb { transform: translateX(100%); background: var(--cobalt); }

.day { position: relative; display: grid; }
.day__rail { position: absolute; left: 70px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.day__row { display: grid; grid-template-columns: 70px 1fr auto; gap: var(--s-6); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); position: relative; }
.day__row time { font-size: .85rem; color: var(--muted); }
.day__row::before { content: ""; position: absolute; left: 66px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--white); border: 2px solid var(--muted); transition: border-color .4s, background-color .4s; }
.day[data-mode="despues"] .day__row::before { border-color: var(--cobalt); background: var(--cobalt); }
.day__cell { display: grid; padding-left: var(--s-5); }
.day__cell p { grid-area: 1 / 1; font-size: 1.12rem; line-height: 1.45; max-width: 60ch; transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s; }
.day__antes { color: var(--muted); }
.day[data-mode="despues"] .day__antes, .day[data-mode="antes"] .day__despues { opacity: 0; transform: translateY(8px); filter: blur(4px); pointer-events: none; }
.day__tag { font-family: var(--f-mono); font-size: .8rem; display: grid; justify-items: end; min-width: 110px; }
.day__tag span { grid-area: 1 / 1; padding: 6px 12px; border-radius: 999px; transition: opacity .4s; }
.t-antes { background: #F7DEDB; color: #A22E24; }
.t-despues { background: var(--green-soft); color: #0B7453; }
.day[data-mode="despues"] .t-antes, .day[data-mode="antes"] .t-despues { opacity: 0; }

/* ---------- Servicios ---------- */
.svc { display: grid; grid-template-columns: minmax(260px, .8fr) 1.6fr; gap: var(--s-7); align-items: start; }
.svc__list { display: grid; border-top: 1px solid var(--ink); position: sticky; top: 100px; }
.svc__tab {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: var(--s-3); text-align: left;
  padding: 22px 4px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600;
  color: var(--muted); letter-spacing: -.02em; transition: color .25s, padding .35s var(--ease);
}
.svc__tab .mono { color: var(--muted); }
.svc__tab svg { opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .3s var(--ease); color: var(--cobalt); }
.svc__tab:hover { color: var(--ink); }
.svc__tab.is-active { color: var(--ink); padding-left: 14px; }
.svc__tab.is-active .mono { color: var(--cobalt); }
.svc__tab.is-active svg, .svc__tab:hover svg { opacity: 1; transform: none; }
.svc__panels { position: relative; }
.svc__panel { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; animation: fadeUp .5s var(--ease); }
.svc__text { padding: var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.svc__text h3 { font-size: 1.8rem; font-weight: 700; }
.svc__text dl { margin: 0; display: grid; gap: var(--s-4); }
.svc__text dt { font-family: var(--f-mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--cobalt); margin-bottom: 4px; }
.svc__text dd { margin: 0; color: var(--ink-3); line-height: 1.5; }
.svc__text div:last-child dd { font-weight: 600; color: var(--ink); }
.svc__mock { background: var(--ink); padding: var(--s-6) var(--s-5); display: grid; place-items: center; position: relative; overflow: hidden; }
.svc__mock::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.svc__mock > * { position: relative; width: 100%; max-width: 300px; }

.mock-book { background: var(--white); border-radius: 12px; padding: 18px; display: grid; gap: 14px; }
.mock-book__k { color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots span { text-align: center; font-family: var(--f-mono); font-size: .8rem; padding: 9px 0; border-radius: 8px; border: 1px solid var(--line); }
.slots .is-off { color: #B4BCB6; text-decoration: line-through; background: var(--paper); }
.slots .is-sel { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.mock-book__btn { background: var(--ink); color: #fff; text-align: center; border-radius: 8px; padding: 11px; font-size: .88rem; font-weight: 600; }

.mock-chat { display: grid; gap: 8px; background: #0F2A33; border-radius: 14px; padding: 16px; }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.4; }
.bubble--in { background: #1F3C47; color: #E6EEF0; justify-self: start; border-bottom-left-radius: 4px; }
.bubble--out { background: #DCF8C6; color: #13301F; justify-self: end; border-bottom-right-radius: 4px; }

.mock-panel { background: var(--white); border-radius: 12px; padding: 14px; display: grid; gap: 8px; }
.mock-panel__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px; }
.mock-panel__kpis div { background: var(--paper); border-radius: 8px; padding: 8px 10px; }
.mock-panel__kpis b { font-family: var(--f-display); font-size: 1.4rem; display: block; line-height: 1.1; }
.mock-panel__kpis small { color: var(--muted); font-size: .72rem; }
.mock-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; font-size: .84rem; padding: 7px 4px; border-top: 1px solid var(--paper-2); }
.mock-row .mono { color: var(--muted); }

.mock-auto { display: grid; justify-items: center; }
.node { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-3); color: #E6EEF0; padding: 11px 16px; border-radius: 10px; font-size: .88rem; font-weight: 500; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.node--accent { background: var(--cobalt); color: #fff; }
.wire { width: 1px; height: 32px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.wire i { position: absolute; left: -1.5px; width: 4px; height: 10px; border-radius: 2px; background: #9CC4FF; animation: travel 1.6s linear infinite; }
.wire + .node + .wire i { animation-delay: .8s; }

/* ---------- Cómo funciona ---------- */
.how { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; --progress: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.steps::after { background: var(--cobalt); transform-origin: left; transform: scaleX(var(--progress)); transition: transform .2s linear; }
.step { position: relative; padding-right: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.step__n {
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); position: relative; z-index: 1;
  display: grid; place-items: center; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; margin-bottom: var(--s-4);
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.step.is-lit .step__n { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.step:hover .step__n { transform: scale(1.06); }
.step__time { color: var(--cobalt); }
.step h3 { font-size: 1.5rem; font-weight: 700; }
.step p:last-child { color: var(--muted); max-width: 30ch; }

/* ---------- Casos ---------- */
.cases { background: var(--ink); color: #E6EEF0; overflow: hidden; }
.cases .h2 { color: #fff; }
.cases__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s-7); }
.cases__chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); color: #BFD0D6; font-weight: 500; transition: all .25s var(--ease);
}
.cases__chip:hover { border-color: #fff; color: #fff; }
.cases__chip[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.cases__stage { display: grid; grid-template-columns: 1fr 360px; gap: var(--s-8); align-items: center; }
.cases__info { display: grid; gap: var(--s-4); align-content: start; }
.cases__info > * { animation: fadeUp .5s var(--ease) both; }
.cases__label { color: #9CC4FF; text-transform: uppercase; letter-spacing: .12em; }
.cases__info h3 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 700; color: #fff; max-width: 20ch; }
.cases__info > p:not(.cases__label) { color: #A9BCC2; font-size: 1.1rem; max-width: 52ch; }
.cases__list { display: grid; gap: 0; margin-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.cases__list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); padding: 14px 0; border-bottom: 1px solid var(--line-dark); animation: fadeUp .5s var(--ease) both; }
.cases__list svg { color: #7FD8B6; margin-top: 3px; }
.phone {
  width: 100%; max-width: 340px; justify-self: center; background: #0A161B; border-radius: 38px; padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 80px -30px rgba(0,0,0,.7), inset 0 0 0 2px #1D3440; position: relative;
}
.phone__notch { width: 90px; height: 22px; background: #000; border-radius: 0 0 14px 14px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone__head { display: flex; align-items: center; gap: 10px; background: #13262F; padding: 34px 14px 12px; border-radius: 28px 28px 0 0; }
.phone__head b { display: block; font-size: .92rem; color: #fff; }
.phone__head small { color: #7FD8B6; font-size: .75rem; }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--f-display); }
.phone__chat { background: #0E1F26; min-height: 380px; padding: 16px 12px; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.phone__chat .bubble { animation: pop .4s var(--ease) both; }
.phone__chat .sys { align-self: center; font-family: var(--f-mono); font-size: .7rem; color: #7FD8B6; background: rgba(127,216,182,.1); padding: 5px 10px; border-radius: 999px; animation: pop .4s var(--ease) both; display: inline-flex; gap: 6px; align-items: center; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px !important; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8FA3AA; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

/* ---------- Beneficios ---------- */
.ben { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s-7); align-items: start; }
.ben__big { background: var(--cobalt); color: #fff; border-radius: 18px; padding: var(--s-7) var(--s-6); display: grid; gap: var(--s-4); position: sticky; top: 100px; overflow: hidden; }
.ben__big::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.ben__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 3rem + 8vw, 9rem); letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.ben__big h3 { font-size: 1.6rem; font-weight: 600; max-width: 16ch; }
.ben__big p { color: rgba(255,255,255,.8); max-width: 40ch; }
.ben__list { display: grid; border-top: 1px solid var(--ink); }
.ben__list li { display: grid; grid-template-columns: 170px 1fr; gap: var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .35s var(--ease); }
.ben__list li:hover { padding-left: 8px; }
.ben__metric { font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; letter-spacing: -.04em; color: var(--cobalt); font-variant-numeric: tabular-nums; line-height: 1; }
.ben__metric svg { width: 36px; height: 36px; stroke-width: 2; }
.ben__list h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.ben__list p { color: var(--muted); }

/* ---------- Demo ---------- */
.demo { background: var(--white); border-block: 1px solid var(--line); }
.app {
  display: grid; grid-template-columns: 220px 1fr; border-radius: 16px; overflow: hidden; background: var(--paper);
  box-shadow: 0 50px 100px -50px rgba(12,27,34,.45), 0 0 0 1px var(--line); font-size: .92rem;
}
.app__side { background: var(--ink); color: #BFD0D6; padding: 20px 14px; display: grid; gap: 22px; align-content: start; }
.app__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; padding-left: 6px; }
.app__brand .logo__word { font-size: 1.15rem; color: #fff; }
.app__nav { display: grid; gap: 2px; }
.app__nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s, color .2s, transform .12s var(--ease); }
.app__nav button:active { transform: scale(.97); }
.app__nav button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.app__nav button.is-active { background: rgba(255,255,255,.08); color: #fff; }
@media (hover: hover) and (pointer: fine) { .app__nav button:not(.is-active):hover { background: rgba(255,255,255,.05); color: #fff; } }
.app__nav em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: .7rem; background: var(--amber); color: var(--ink); border-radius: 999px; padding: 1px 7px; transition: transform .3s var(--ease); }
.app__nav em.bump { transform: scale(1.35); }
.app__main { padding: 22px; display: grid; gap: 18px; min-width: 0; }
.app__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app__top h3 { font-size: 1.5rem; }
.app__date { color: var(--muted); text-transform: capitalize; }
.app__search { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .85rem; transition: border-color .2s; }
.app__search:focus-within { border-color: var(--cobalt); }
.app__search svg { width: 16px; height: 16px; flex: none; }
.app__search input { border: 0; background: none; font: inherit; color: var(--ink); width: 150px; outline: none; }
.app__search input::placeholder { color: var(--muted); }
.app__view { display: grid; gap: 18px; min-width: 0; animation: fadeUp .35s var(--ease); }
.app__view[hidden] { display: none; }
.app__card { display: block; background: var(--white); border-radius: 10px; box-shadow: 0 0 0 1px var(--line); padding: 14px; }
.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; }
.app__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--white); border-radius: 10px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--line); }
.kpi small { color: var(--muted); display: block; font-size: .78rem; }
.kpi b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: inline-block; }
.kpi--warn b { color: #B87800; }
.kpi b.tick { animation: tick .5s var(--ease); }
.app__cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; min-width: 0; }
.app__agenda, .app__feed { background: var(--white); border-radius: 10px; box-shadow: 0 0 0 1px var(--line); padding: 14px; min-width: 0; }
.app__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.app__h h4 { font-family: var(--f-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.app__h .mono { color: var(--muted); }
.app__h .live { color: var(--green); margin-left: 0; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--paper); border-radius: 999px; }
.seg button { font: inherit; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, transform .12s var(--ease); }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.alist, .clist { max-height: 372px; overflow-y: auto; overscroll-behavior: contain; }
.alist li, .clist li { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--paper-2); }
.alist .mono { color: var(--muted); }
.alist b, .clist b { font-weight: 600; display: block; font-size: .9rem; }
.alist small, .clist small { color: var(--muted); font-size: .78rem; }
.clist li { grid-template-columns: 34px 1fr auto; }
.clist .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt-deep); font-weight: 700; font-size: .75rem; }
.clist .meta { text-align: right; }
.clist small.unread { display: inline-block; min-width: 20px; text-align: center; font-family: var(--f-mono); background: var(--green); color: #fff; border-radius: 999px; padding: 1px 6px; }
.empty { padding: 18px 4px; color: var(--muted); border-top: 1px solid var(--paper-2); }
#agenda li { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--paper-2); transition: background-color .4s; }
#agenda li.is-new { animation: flash 1.6s var(--ease); }
#agenda .mono { color: var(--muted); }
#agenda .who b { font-weight: 600; display: block; font-size: .9rem; }
#agenda .who small { color: var(--muted); font-size: .78rem; }
.agenda__act { display: inline-flex; align-items: center; gap: 6px; }
.mini-btn { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--cobalt); color: var(--cobalt); cursor: pointer; transition: background-color .2s, color .2s, transform .12s var(--ease); }
.mini-btn:active { transform: scale(.97); }
.mini-btn:hover { background: var(--cobalt); color: #fff; }
#feed { display: grid; gap: 2px; }
#feed li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--paper-2); animation: slideIn .5s var(--ease) both; }
#feed .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink-3); }
#feed .ic svg { width: 14px; height: 14px; }
#feed .ic--blue { background: var(--cobalt-soft); color: var(--cobalt); }
#feed .ic--green { background: var(--green-soft); color: #0B7453; }
#feed .ic--amber { background: var(--amber-soft); color: #8A5A00; }
#feed p { font-size: .84rem; line-height: 1.35; }
#feed time { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }

/* ---------- Planes ---------- */
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); border-top: 1px solid var(--ink); align-items: stretch; }
.plan { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s-4); padding: var(--s-6) var(--s-5) var(--s-5); border-right: 1px solid var(--line); transition: background-color .3s; }
.plan:hover { background: var(--white); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); }
.plan h3 { font-size: 1.45rem; font-weight: 700; }
.plan__pitch { color: var(--muted); font-size: .98rem; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan__price b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan__price span { color: var(--muted); font-size: .9rem; }
.plan ul { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line); padding-top: var(--s-4); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: .94rem; line-height: 1.4; }
.plan li svg { color: var(--green); margin-top: 2px; }
.plan .btn { width: 100%; margin-top: var(--s-3); }
.plan--featured { background: var(--ink); color: #E6EEF0; border-right: 0; border-radius: 0 0 18px 18px; position: relative; box-shadow: 0 40px 80px -40px rgba(12,27,34,.6); }
.plan--featured:hover { background: var(--ink-2); }
.plan--featured .plan__icon { background: var(--cobalt); color: #fff; }
.plan--featured h3 { color: #fff; }
.plan--featured .plan__pitch, .plan--featured .plan__price span { color: #A9BCC2; }
.plan--featured .plan__price b { color: #fff; }
.plan--featured ul { border-color: var(--line-dark); }
.plan--featured li svg { color: #7FD8B6; }
.plan__badge { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; background: var(--amber); color: var(--ink); padding: 4px 10px; border-radius: 999px; }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-8); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; max-width: 100%; }
.placeholder {
  height: 100%; border-radius: 18px; border: 1.5px dashed #AFB8B2; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--paper) 14px 28px); color: var(--muted);
}
.placeholder svg { width: 32px; height: 32px; }
.placeholder small { font-size: .8rem; }
.about__copy { display: grid; gap: var(--s-5); }
.about__copy .h2 { max-width: 22ch; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.9rem); }
.about__copy > p { color: var(--ink-3); font-size: 1.1rem; max-width: 56ch; }
.principles { display: grid; border-top: 1px solid var(--line); margin-top: var(--s-3); }
.principles li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.principles svg { color: var(--cobalt); margin-top: 4px; }
.principles b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-8); align-items: start; }
.faq__head { display: grid; gap: var(--s-4); position: sticky; top: 100px; }
.faq__head > p:last-child { color: var(--muted); }
.faq__list { border-top: 1px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--cobalt); }
.faq__list summary svg { transition: transform .35s var(--ease); flex: none; width: 20px; height: 20px; }
.faq__list details[open] summary svg { transform: rotate(45deg); color: var(--cobalt); }
.faq__list details p { color: var(--muted); padding-bottom: 22px; max-width: 62ch; animation: fadeUp .4s var(--ease); }

/* ---------- CTA final ---------- */
.final { background: var(--ink); color: #E6EEF0; position: relative; overflow: hidden; padding-block: var(--s-9); }
.final__glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; pointer-events: none;
  background: radial-gradient(circle, rgba(23,105,230,.55), transparent 60%); filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
}
.final__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-8); align-items: center; }
.final__copy { display: grid; gap: var(--s-5); }
.final__title { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; max-width: 16ch; }
.final__copy > p { color: #A9BCC2; font-size: 1.15rem; max-width: 46ch; }
.final__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.final__small { color: #7B9199; }
.quick { background: var(--white); color: var(--ink); border-radius: 18px; padding: var(--s-6); display: grid; gap: 8px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.quick__title { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -.02em; }
.quick label { font-size: .85rem; font-weight: 600; margin-top: 6px; }
.quick label span { color: var(--muted); font-weight: 400; }
.quick input, .quick textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; resize: vertical;
}
.quick input:focus, .quick textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(23,105,230,.15); }
.quick input[aria-invalid="true"] { border-color: var(--red); }
.quick .btn { margin-top: 12px; }
.quick__err { color: var(--red); font-size: .85rem; }

/* ---------- Footer ---------- */
.footer { background: #08131A; color: #A9BCC2; padding-block: var(--s-8) var(--s-5); }
.footer .logo { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s-6); padding-bottom: var(--s-7); }
.footer__brand { display: grid; gap: var(--s-4); align-content: start; }
.footer__brand p { max-width: 28ch; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: .95rem; }
.footer__col .mono { color: #6B838B; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.footer__col a { display: inline-flex; align-items: center; gap: 4px; transition: color .2s; width: fit-content; }
.footer__col a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); border-top: 1px solid rgba(255,255,255,.08); padding-top: var(--s-5); font-size: .82rem; color: #6B838B; }
.footer__legal a:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 55; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: #1FAF5A; color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(12,27,34,.45);
  transform: translateY(24px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .3s, background-color .2s;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.wa-float:hover { background: #17964B; transform: translateY(-2px); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1FAF5A; opacity: 0; animation: ping 2.4s ease-out 1s infinite; pointer-events: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9rem; z-index: 60; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: pop .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }

/* ---------- Reveal (solo con JS activo; sin JS todo queda visible) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes travel { from { top: -10px; } to { top: 100%; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes flash { 0% { background: var(--cobalt-soft); } 100% { background: transparent; } }
@keyframes tick { 0% { transform: translateY(-6px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes drift { to { transform: translate(-120px, 80px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__cta + .nav__burger { margin-left: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 480px; max-width: 560px; width: 100%; justify-self: center; }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .pain { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .pain:nth-child(odd) { border-right: 1px solid var(--line); padding-right: var(--s-5); }
  .pain:nth-child(even) { padding-left: var(--s-5) !important; }
  .svc { grid-template-columns: 1fr; }
  .svc__list { position: static; grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0 var(--s-4); }
  .svc__tab { border-top: 1px solid var(--line); border-bottom: 0; font-size: 1.1rem; padding: 16px 4px; }
  .svc__tab.is-active { padding-left: 4px; box-shadow: inset 0 2px 0 var(--cobalt); }
  .cases__stage { grid-template-columns: 1fr; gap: var(--s-7); }
  .ben { grid-template-columns: 1fr; }
  .ben__big { position: relative; top: 0; }
  .app { grid-template-columns: 1fr; }
  .app__side { padding: 8px; overflow-x: auto; }
  .app__brand { display: none; }
  .app__nav { display: flex; gap: 4px; }
  .app__nav button { width: auto; white-space: nowrap; flex: none; }
  .final__grid, .faq__grid, .about__grid { grid-template-columns: 1fr; }
  .plans__grid { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plan--featured { border-radius: 18px; }
  .faq__head { position: static; }
  .about__photo { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section__head--split { grid-template-columns: 1fr; gap: var(--s-4); }
}

@media (max-width: 720px) {
  :root { --t-base: 1rem; }
  .section { padding-block: var(--s-8); }
  .section__head { margin-bottom: var(--s-7); }
  .nav__cta { display: none; }
  .nav__cta + .nav__burger { margin-left: auto; }
  .hero { padding-top: var(--s-5); }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { min-height: 0; padding-block: 64px 90px; }
  .float--a { top: 0; left: 0; padding: 10px 12px; }
  .float__v { font-size: 1.5rem; }
  .float--b { right: 0; top: auto; bottom: 70px; }
  .float--c { display: none; }
  .problem__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .problem__visual { justify-self: center; margin-bottom: var(--s-6); }
  .sticky-note { right: -4px; }
  .pains { grid-template-columns: 1fr; }
  .pain, .pain:nth-child(odd), .pain:nth-child(even) { border-right: 0; padding: var(--s-5) 0 !important; }
  .day__rail, .day__row::before { display: none; }
  .day__row { grid-template-columns: 1fr auto; gap: var(--s-2) var(--s-4); }
  .day__row time { grid-column: 1 / -1; }
  .day__cell { padding-left: 0; }
  .day__cell p { font-size: 1.02rem; }
  .day__tag { min-width: 0; align-self: start; }
  .switch { width: 100%; }
  .svc__list { grid-template-columns: 1fr 1fr; }
  .svc__tab { grid-template-columns: 20px 1fr; font-size: 1rem; }
  .svc__tab svg { display: none; }
  .svc__panel { grid-template-columns: 1fr; }
  .svc__text { padding: var(--s-5); }
  .steps { grid-template-columns: 1fr; gap: var(--s-6); }
  .steps::before, .steps::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--progress)); transform-origin: top; }
  .step { grid-template-columns: 56px 1fr; column-gap: var(--s-5); padding-right: 0; }
  .step__n { grid-row: span 3; margin-bottom: 0; }
  .ben__list li { grid-template-columns: 1fr; gap: var(--s-2); }
  .app__main { padding: 14px; }
  .app__kpis { grid-template-columns: repeat(2, 1fr); }
  .app__cols { grid-template-columns: 1fr; }
  .app__top { flex-wrap: wrap; }
  .app__search { width: 100%; }
  .app__search input { width: 100%; }
  .app__h { flex-wrap: wrap; gap: 8px; }
  .final__ctas .btn { width: 100%; }
  .quick { padding: var(--s-5); }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .plan--featured { padding-inline: var(--s-5); margin-top: var(--s-4); border-bottom: 0; }
  .plan__pitch { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js-anim .reveal { opacity: 1; transform: none; }
}
