/* Wardline. A warm paper page in ink, with one signal orange. The animated assets are HUD style: they float on dark
   wells (night photos or the deep dusk gradient), never on the paper, and read the --illos-* roles below. Light only. */

@font-face { font-family: "Lemon Milk Pro"; src: url("LEMONMILKPro-Regular.woff2") format("woff2"); font-weight: 300 400; font-display: swap; }

:root {
  --paper: #F4F6F9;
  --paper-2: #E8EDF3;
  --card: #ffffff;
  --ink: #0F2A47;
  --ink-2: #34475e;
  --ink-3: #5B6670;
  --line: rgb(15 42 71 / 0.1);
  --line-2: rgb(15 42 71 / 0.2);
  --accent: #F26B1F;
  --accent-ink: #b34a0c;
  --night: #081b30;

  /* One depth decision: resting surfaces get a hairline ring; only the chips that float over photos get a shadow. */
  --ring: 0 0 0 1px var(--line);
  --float: 0 0 0 1px rgb(22 21 19 / 0.06), 0 2px 4px rgb(22 21 19 / 0.08), 0 20px 44px -16px rgb(10 10 12 / 0.45);

  /* HUD roles, tuned for the dark wells every asset sits on. Orange is the data; the alert stays a distinct red. */
  --illos-ground: #081b30;
  --illos-ink: #ece8e1;
  --illos-line: #8f8b84;
  --illos-faint: #3a3834;
  --illos-accent: #ff8640;
  --illos-accent-dim: #9a4718;
  --illos-alert: #ff3d63;

  --sans: "Lemon Milk Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Lemon Milk Pro", ui-sans-serif, system-ui, sans-serif;

  /* radius scale: tags, controls, cards and wells, large panels */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 16px;
  --r-4: 24px;
  --gutter: 32px;
  --section: 128px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --z-nav: 20;
  --z-chip: 2;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); font-synthesis: weight; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: color-mix(in oklch, var(--accent) 22%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 12px; border-radius: var(--r-2); background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 20px; height: 20px; flex: none; stroke-width: 1.5; }

/* type scale */
.display { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 65ch; text-wrap: pretty; }
.fine { font-size: 14px; color: var(--ink-3); }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
/* the HUD readout's square mark, carried onto the page */
.tag::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-2); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn .i { width: 18px; height: 18px; margin-inline-end: -2px; }
.btn--lg { height: 52px; padding: 0 22px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--glass { background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: color-mix(in oklch, var(--ink) 84%, var(--paper)); }
  .btn--line:hover { background: var(--paper-2); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--line-2) 60%, var(--ink-3)); }
  .btn--paper:hover { background: #fff; }
  .btn--glass:hover { background: rgb(255 255 255 / 0.14); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-nav); background: var(--paper); box-shadow: 0 1px 0 transparent; transition: box-shadow 200ms var(--ease); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.logo svg { width: 24px; height: 24px; }
.logo__box { fill: none; stroke: var(--ink); stroke-width: 1.75; }
.logo__line { stroke: var(--ink); stroke-width: 1.75; }
.logo__dot { fill: var(--accent); }
.links { display: flex; gap: 4px; }
.links a, .nav__signin { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-2); font-size: 15px; color: var(--ink-2); transition: color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .links a:hover, .nav__signin:hover { color: var(--ink); } }
.nav__end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.burger { display: none; place-items: center; width: 44px; height: 44px; margin-inline-end: -10px; border: 0; border-radius: var(--r-2); background: none; }
.burger .i { width: 24px; height: 24px; }
.burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
.sheet { display: grid; padding: 4px var(--gutter) 24px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.sheet a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 18px; box-shadow: 0 1px 0 var(--line); }
.sheet .btn { margin-top: 20px; }

/* hero */
.hero { padding: 48px 0 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.hero__copy { display: grid; gap: 24px; }
.hero__copy .actions { margin-top: 8px; }
.hero__stage { position: relative; }
.hero__well { aspect-ratio: 5 / 6; border-radius: var(--r-4); }
.hero__illo { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; aspect-ratio: 720 / 460; }

/* status chips: plain HTML cards that overlap the hero well's edges */
.chip { position: absolute; z-index: var(--z-chip); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-2); background: var(--card); box-shadow: var(--float); pointer-events: none; user-select: none; }
.chip__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 18%, transparent); }
.chip__body { display: grid; gap: 2px; }
.chip__body b { font-size: 14px; font-weight: 560; line-height: 1.3; }
.chip__body span { font-size: 14px; line-height: 1.3; color: var(--ink-3); }
.chip__time { align-self: flex-start; margin-inline-start: 8px; font: 500 12px/1.4 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip__num { font-size: 24px !important; line-height: 1.1 !important; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip--a { left: -40px; top: 12%; }
.chip--b { right: -16px; bottom: 9%; }

/* dark wells: deep grainy gradients (the HUD's thin lines need a calm field, never a photo), with the HUD's corner
   brackets as the page's signature. Three moods of one night: dusk (warm low right), ember (warm low left), steel (cool). */
.well, .close__in { --grain: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%22240%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E"); }
.well { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-3); background: var(--night); }
.well::before { content: ""; position: absolute; inset: 16px; z-index: 1; pointer-events: none; --c: rgb(255 255 255 / 0.32); --l: 14px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px var(--l) no-repeat; }
.well--ember { background: var(--grain), radial-gradient(75% 55% at 14% 106%, rgb(240 106 44 / 0.4), transparent 70%), radial-gradient(60% 55% at 92% -6%, #2a3348, transparent 72%), linear-gradient(184deg, #12161f 0%, #15151a 55%, #221619 100%); }
.well--steel { background: var(--grain), radial-gradient(70% 60% at 18% -4%, #2b3b58, transparent 70%), radial-gradient(60% 50% at 92% 104%, rgb(240 106 44 / 0.22), transparent 72%), linear-gradient(170deg, #111622 0%, #13151b 60%, #18161b 100%); }
.well--dusk {
  background: var(--grain), radial-gradient(80% 60% at 82% 108%, rgb(240 106 44 / 0.42), transparent 70%), radial-gradient(60% 55% at 8% 104%, rgb(176 72 40 / 0.3), transparent 72%), radial-gradient(70% 60% at 30% -10%, #26324a, transparent 72%), linear-gradient(176deg, #121722 0%, #16161c 52%, #24171a 100%); }
.illo { pointer-events: none; user-select: none; }
.illo svg { width: 100%; height: 100%; }

/* sections */
.segments, .coverage, .how, .story, .pricing { padding-top: var(--section); }
.head { margin-bottom: 64px; }
.head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.head--split .h2 { max-width: 15em; }

/* segment rows: a dark well and a text card, alternating */
.seg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.seg + .seg { margin-top: 16px; }
.seg--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.seg--flip .seg__well { order: 2; }
.seg__well { aspect-ratio: 4 / 3; }
.seg__illo { position: absolute; left: 6%; right: 6%; top: 50%; translate: 0 -50%; aspect-ratio: 720 / 460; }
.card { border-radius: var(--r-3); background: var(--card); box-shadow: var(--ring); }
.seg__card { display: flex; flex-direction: column; gap: 16px; padding: 40px; }
.seg__card .tag { margin-bottom: auto; padding-bottom: 32px; }
.seg__card .ticks, .seg__card .figs { margin-top: 8px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ticks .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-ink); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); }
/* the value shows above its label; both figures keep a shared top edge when a label wraps */
.figs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.figs dt { font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.figs dd { font-size: 32px; line-height: 1.1; font-weight: 560; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* coverage: six checks inside a faint grid */
.grid-frame { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; padding: 64px; border-radius: var(--r-3); box-shadow: var(--ring); }
.grid-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(120% 90% at 0% 0%, #000 0%, rgb(0 0 0 / 0.35) 55%, transparent 100%); mask-image: radial-gradient(120% 90% at 0% 0%, #000 0%, rgb(0 0 0 / 0.35) 55%, transparent 100%); }
.coverage__head { display: grid; gap: 20px; align-content: start; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.caps li { display: flex; gap: 16px; }
.caps .i { width: 22px; height: 22px; margin-top: 1px; color: var(--ink); }
.caps h3 { font-size: 18px; line-height: 1.35; font-weight: 560; letter-spacing: -0.01em; }
.caps p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* from alert to all clear: a numbered rail beside the alerts asset */
.how__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.how__copy { display: grid; gap: 20px; }
.rail { margin-top: 24px; }
.rail li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
.rail li:last-child { padding-bottom: 0; }
.rail li:not(:last-child)::before { content: ""; position: absolute; left: 15.5px; top: 40px; bottom: 8px; width: 1px; background: var(--line-2); }
.rail__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--paper); font: 500 12px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rail li:first-child .rail__n { background: var(--ink); color: var(--paper); box-shadow: none; }
.rail h3 { padding-top: 4px; font-size: 18px; line-height: 1.35; font-weight: 560; letter-spacing: -0.01em; }
.rail p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.how__well { position: sticky; top: 104px; aspect-ratio: 6 / 5; }
.how__illo { position: absolute; left: 4%; right: 4%; top: 50%; translate: 0 -50%; aspect-ratio: 720 / 460; }

/* customer story */
.story__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.story__photo { overflow: hidden; border-radius: var(--r-3); aspect-ratio: 4 / 5; background: var(--night); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; }
.story__copy { display: grid; gap: 40px; }
.quote { display: grid; gap: 28px; }
.quote p { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.24; font-weight: 480; letter-spacing: -0.025em; text-wrap: pretty; text-indent: -0.4em; }
.who { display: grid; gap: 2px; }
.who b { font-weight: 560; }
.who span { color: var(--ink-3); }
.figs--story { max-width: 560px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--r-3); background: var(--card); box-shadow: var(--ring); }
.plan--pick { box-shadow: 0 0 0 1.5px var(--accent); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 560; letter-spacing: -0.01em; }
.plan__note { padding: 4px 8px; border-radius: var(--r-1); background: color-mix(in oklch, var(--accent) 12%, var(--card)); color: var(--accent-ink); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 48px; line-height: 1; font-weight: 560; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 14px; color: var(--ink-3); }
.plan__for { font-size: 15px; line-height: 1.5; color: var(--ink-2); min-height: 3em; text-wrap: pretty; }
.plan .ticks { padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); }
.enterprise { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 16px; padding: 32px; border-radius: var(--r-3); background: var(--paper-2); }
.enterprise > div { display: grid; gap: 8px; }
.enterprise .h3 { font-size: 20px; }

/* closing band */
.close { padding: var(--section) 0; }
.close__in { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; min-height: 520px; padding: 64px; border-radius: var(--r-4); color: #fff;
  background: var(--grain), radial-gradient(50% 75% at 76% 62%, rgb(240 106 44 / 0.3), transparent 70%), radial-gradient(50% 70% at 0% 0%, #233048, transparent 72%), linear-gradient(100deg, #0f1219 0%, #14151b 55%, #1d1719 100%); }
.close__copy { display: grid; gap: 20px; }
.close__copy .body { color: rgb(255 255 255 / 0.74); }
.close__copy .actions { margin-top: 12px; }
.close__illo { width: 110%; justify-self: center; aspect-ratio: 720 / 460; }
.close :focus-visible { outline-color: #fff; }

/* footer */
.foot { padding: 72px 0 32px; box-shadow: inset 0 1px 0 var(--line); }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.foot__brand { display: grid; gap: 16px; align-content: start; }
.foot__brand p { font-size: 15px; color: var(--ink-3); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__cols div { display: grid; gap: 4px; align-content: start; }
.foot__cols h3 { margin-bottom: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.foot__cols a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; color: var(--ink-2); transition: color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover { color: var(--ink); } }
.legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); font-size: 14px; color: var(--ink-3); }

/* small screens */
@media (max-width: 1100px) {
  .links { display: none; }
  .nav__signin { display: none; }
  .burger { display: grid; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --section: 88px; }
  .hero { padding-top: 24px; }
  .hero__in, .head--split, .seg, .seg--flip, .grid-frame, .how__in, .story__in, .close__in, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .hero__in { gap: 40px; }
  .hero__well { aspect-ratio: 4 / 5; border-radius: var(--r-3); }
  .chip--a { left: 12px; top: 12px; }
  .chip--b { right: 12px; bottom: 12px; }
  .head { margin-bottom: 40px; }
  .head--split { gap: 16px; }
  .seg--flip .seg__well { order: 0; }
  .seg + .seg { margin-top: 32px; }
  .seg__illo { left: 3%; right: 3%; }
  .seg__card { padding: 28px 24px; }
  .seg__card .tag { padding-bottom: 8px; }
  .grid-frame { gap: 40px; padding: 40px 24px; }
  .caps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .how__in { gap: 40px; }
  .how__well { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .how__illo { left: 3%; right: 3%; }
  .story__in { gap: 32px; }
  .story__photo { aspect-ratio: 4 / 3; }
  .story__photo img { object-position: 50% 30%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan__for { min-height: 0; }
  .enterprise { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .close__in { gap: 24px; min-height: 0; padding: 48px 24px 16px; border-radius: var(--r-3); }
  .close__in::after { background: linear-gradient(180deg, rgb(8 9 11 / 0.78) 0%, rgb(8 9 11 / 0.5) 100%); }
  .foot__in { gap: 40px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { flex-direction: column-reverse; align-items: flex-start; margin-top: 48px; }
}
@media (max-width: 560px) { .actions .btn { flex: 1 1 100%; } }
@media (pointer: coarse) {
  .foot__cols a { min-height: 44px; }
  /* the credit pill stays 32px to the eye and takes a 44px tap */
  .legal .illos-credit { position: relative; }
  .legal .illos-credit::after { content: ""; position: absolute; inset: -6px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}

/* DAVE: logo, preguntas frecuentes y botón de WhatsApp */
.logo img { height: 34px; width: auto; }
.foot__brand .logo img { height: 30px; }
.qa { display: grid; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; line-height: 1; color: var(--accent); transition: transform 200ms var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { max-width: 70ch; padding-bottom: 24px; color: var(--ink-2); text-wrap: pretty; }
.faq { padding-top: var(--section); }
.wa-float { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: #25D366; color: #fff; font-size: 15px; font-weight: 600; box-shadow: var(--float); }
.wa-float svg { width: 20px; height: 20px; }
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot { padding-bottom: 88px; }
/* sección del formulario de Clientify */
.info { padding-top: var(--section); }
.info__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.info__copy { display: grid; gap: 20px; }
.info__copy .fine a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.info__form { padding: 12px 18px; }
.info__form iframe { display: block; width: 100%; height: 560px; border: 0; }
.info__legal { margin: 4px 6px 10px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.info__legal a { color: var(--ink-2); text-decoration: underline; }
@media (max-width: 900px) { .info__in { grid-template-columns: minmax(0, 1fr); gap: 32px; } .info__form { padding: 6px 8px; } }
/* aviso de cookies */
#dave-cookies { position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-3); background: var(--card); box-shadow: var(--float); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
#dave-cookies a { color: var(--ink); text-decoration: underline; }
#dave-cookies .ck-row { display: flex; justify-content: flex-end; gap: 8px; }
#dave-cookies button { height: 40px; padding: 0 18px; border-radius: var(--r-2); border: 0; font-size: 14px; font-weight: 600; cursor: pointer; }
#dave-cookies .ck-no { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
#dave-cookies .ck-si { background: var(--ink); color: #fff; }
.foot__cols a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .qa summary { font-size: 16px; } }
@media (max-width: 600px) { .nav__end > .btn { display: none; } .logo img { height: 30px; } .nav__in { gap: 16px; } }

/* ===================== MOVIMIENTO DAVE (sobre Wardline) =====================
   Sin JS o con «reducir movimiento», todo se ve quieto y completo. */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* barra de progreso de lectura */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 40; height: 3px; background: linear-gradient(90deg, var(--accent), #ffb27a); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* aparición al hacer scroll */
html.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-rv="left"] { transform: translateX(-24px); }
html.js [data-rv="well"] { transform: translateY(36px) scale(0.965); clip-path: inset(6% 6% 6% 6% round 28px); transition: opacity 1000ms var(--ease), transform 1100ms var(--ease), clip-path 1200ms var(--ease); }
html.js [data-rv].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 16px); }
html.rv-done [data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* titular de portada palabra a palabra */
.display .w { display: inline-block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; vertical-align: top; }
.display .w > i { display: inline-block; font-style: normal; transform: translateY(110%); animation: dv-rise 1000ms var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.display .w.acc > i { color: var(--accent); }
@keyframes dv-rise { to { transform: none; } }

/* tarjetas flotantes de la portada */
html.js .chip { opacity: 0; animation: dv-pop 700ms var(--ease) forwards, dv-float 6s ease-in-out 1.4s infinite alternate; }
html.js .chip--a { animation-delay: 700ms, 1.4s; }
html.js .chip--b { animation-delay: 950ms, 2.6s; }
@keyframes dv-pop { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes dv-float { from { translate: 0 0; } to { translate: 0 -10px; } }
.chip__dot { position: relative; }
.chip__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: dv-ping 2.2s ease-out infinite; }
@keyframes dv-ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }

/* paneles oscuros: la mira se cierra sobre el objetivo y pasa un barrido de luz */
html.js .well::before { inset: -6px; opacity: 0; transition: inset 1100ms var(--ease) 250ms, opacity 600ms ease 250ms; }
html.js .well.is-in::before, html.rv-done .well::before { inset: 16px; opacity: 1; }
.well::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.10) 48%, rgb(255 160 100 / 0.10) 52%, transparent 65%); transform: translateX(-120%); }
html.js .well.is-in::after { animation: dv-sweep 1600ms var(--ease) 500ms 1 both; }
@keyframes dv-sweep { to { transform: translateX(120%); } }
.well .illo { transform: translate3d(0, var(--py, 0px), 0); }
.hero__well { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 400ms var(--ease); will-change: transform; }

/* franja de datos en movimiento */
.ticker { margin-top: 72px; padding: 18px 0; overflow: hidden; background: var(--ink); color: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: dv-marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--accent); transform: rotate(45deg); }
@keyframes dv-marquee { to { transform: translateX(-50%); } }

/* iconos que se dibujan */
html.js .caps li .i path, html.js .ticks .i path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1200ms var(--ease); transition-delay: calc(var(--d, 0ms) + 250ms); }
html.js .caps li.is-in .i path, html.js .ticks li.is-in .i path, html.rv-done .i path { stroke-dashoffset: 0; }
.caps li { transition: transform 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .caps li:hover { transform: translateX(4px); } .caps li:hover .i { color: var(--accent); } }

/* raíl: la línea avanza con el scroll y enciende cada paso */
.rail { position: relative; }
.rail__fill { position: absolute; left: 15px; top: 16px; width: 2px; height: calc((100% - 48px) * var(--rp, 0)); background: linear-gradient(var(--accent), #ffb27a); border-radius: 2px; z-index: 0; transition: height 120ms linear; }
.rail li { z-index: 1; }
.rail__n { position: relative; z-index: 1; transition: background-color 400ms var(--ease), color 400ms var(--ease), transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.rail li.is-on .rail__n { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent) 20%, transparent); transform: scale(1.08); }
.rail li:first-child .rail__n { background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.rail li:first-child.is-on .rail__n { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent) 20%, transparent); }

/* borde vivo en la tarjeta de precio */
.plan--pick { position: relative; isolation: isolate; box-shadow: none; }
.plan--pick::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1.5px; border-radius: inherit; background: conic-gradient(from var(--spin), var(--accent), #ffd2b0, var(--ink), var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: dv-spin 6s linear infinite; }
@keyframes dv-spin { to { --spin: 360deg; } }
.plan--next .plan__price b { font-size: 34px; }
.plan { transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-4px); } }

/* botones: brillo que cruza y flecha que avanza */
.btn--ink, .btn--paper { position: relative; overflow: hidden; }
.btn--ink::after, .btn--paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.28) 50%, transparent 70%); transform: translateX(-110%); transition: transform 700ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover::after, .btn--paper:hover::after { transform: translateX(110%); } .btn:hover .i { transform: translateX(3px); } }
.btn .i { transition: transform 250ms var(--ease); }

/* cierre: foco que sigue al ratón */
.close__in::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgb(242 107 31 / 0.22), transparent 60%); transition: background 200ms linear; }

/* preguntas: apertura suave */
.qa details[open] p { animation: dv-open 450ms var(--ease); }
@keyframes dv-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* WhatsApp: latido suave */
.wa-float { animation: dv-wa 3.2s ease-in-out 3s infinite; }
@keyframes dv-wa { 0%, 86%, 100% { transform: none; } 90% { transform: scale(1.07); } 94% { transform: scale(0.98); } }

@media (max-width: 900px) { .ticker { margin-top: 48px; } .hero__well { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.js [data-rv], html.js .chip, .display .w > i { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; transition: none !important; }
  html.js .well::before { inset: 16px; opacity: 1; transition: none; }
  .well::after, .chip__dot::after, .plan--pick::before, .wa-float { animation: none !important; }
  .ticker__track { animation: none; }
  html.js .i path { stroke-dashoffset: 0 !important; transition: none !important; }
  .well .illo { transform: none; }
}

/* ===================== COMPONENTES PRO (inspirados en 21st.dev) ===================== */
/* 1 · Fondo WebGL «silk» */
canvas.silk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1400ms ease 200ms; }
.has-silk canvas.silk { opacity: 1; }
.hero__well.has-silk { background: #081b30; }
.close__in.has-silk { background: #081b30; }
.close__in canvas.silk { z-index: -2; }

/* 2 · Rejilla animada del hero */
.hero { position: relative; isolation: isolate; }
canvas.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 80% at 30% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 80% at 30% 40%, #000 30%, transparent 80%); }

/* 3 · Línea «slot» de la portada */
.slotline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45em; margin: 18px 0 2px; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.25; color: var(--ink, #0F2A47); }
.slotline__k { color: color-mix(in srgb, currentColor 60%, transparent); }
.slot { display: inline-flex; align-items: baseline; padding: 0 .3em; border-radius: 10px; background: rgb(242 107 31 / .1); color: #F26B1F; box-shadow: inset 0 0 0 1px rgb(242 107 31 / .28); }
.slot__win { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; transition: width 700ms cubic-bezier(.65,0,.35,1); white-space: nowrap; }
.slot__reel { display: flex; flex-direction: column; will-change: transform; }
.slot__reel > span { display: block; height: 1.25em; line-height: 1.25em; }

/* 4 · Temario en tarjetas apiladas */
.temario { padding: var(--section, 120px) 0 calc(var(--section, 120px) * .6); }
.stack { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 28px; }
.stack__card { position: sticky; top: calc(92px + var(--i, 0) * 22px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: start;
  min-height: 300px; padding: 44px 48px; border-radius: 28px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 90% at 100% 0%, rgb(242 107 31 / .22), transparent 70%), linear-gradient(160deg, #13365c 0%, #0F2A47 60%, #0a1f36 100%);
  box-shadow: 0 -1px 0 rgb(255 255 255 / .08) inset, 0 30px 60px -30px rgb(8 27 48 / .55);
  transform: scale(var(--sc, 1)); transform-origin: 50% 0; filter: brightness(calc(1 - var(--dim, 0))); transition: transform 120ms linear, filter 120ms linear; }
.stack__card:nth-child(2) { background: radial-gradient(60% 90% at 0% 100%, rgb(242 107 31 / .3), transparent 70%), linear-gradient(160deg, #1a2f4a 0%, #11243c 100%); }
.stack__card:nth-child(3) { background: radial-gradient(70% 90% at 100% 100%, rgb(242 107 31 / .45), transparent 70%), linear-gradient(160deg, #23170f 0%, #14151b 100%); }
.stack__card:nth-child(4) { color: #0F2A47; background: radial-gradient(60% 90% at 100% 0%, rgb(242 107 31 / .18), transparent 70%), linear-gradient(160deg, #ffffff 0%, #eef2f7 100%); box-shadow: 0 0 0 1px rgb(15 42 71 / .1) inset, 0 30px 60px -30px rgb(8 27 48 / .35); }
.stack__n { font-size: clamp(56px, 7vw, 96px); line-height: .9; color: #F26B1F; letter-spacing: -.02em; }
.stack__card .tag { color: inherit; opacity: .7; margin: 0 0 10px; }
.stack__card h3 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.stack__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.stack__card li { position: relative; padding-left: 22px; line-height: 1.45; opacity: .86; }
.stack__card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: #F26B1F; }
.stack__k { align-self: start; padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); font-size: 13px; white-space: nowrap; }
@media (max-width: 760px) {
  .stack__card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 30px 24px; min-height: 0; top: calc(76px + var(--i, 0) * 14px); border-radius: 22px; }
  .stack__k { justify-self: start; grid-row: 1; }
  .stack__n { font-size: 48px; }
}

/* 5 · Spotlight que sigue al ratón */
.spot { position: relative; }
.stack__card.spot { position: sticky; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgb(242 107 31 / .13), transparent 60%); }
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.plan.spot::after { z-index: 1; }

/* 6 · Titulares H2 palabra a palabra con desenfoque */
html.js .h2 .wd { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity 700ms var(--ease, ease), filter 800ms var(--ease, ease), transform 800ms var(--ease, ease); transition-delay: calc(var(--wi) * 55ms + 80ms); }
html.js .h2.wd-in .wd, html.rv-done .h2 .wd { opacity: 1; filter: none; transform: none; }

/* 7 · Botones magnéticos */
.btn--lg, .nav .btn--ink { transition: translate 260ms cubic-bezier(.2,.8,.2,1), background-color 150ms ease, color 150ms ease, border-color 150ms ease; }

@media (prefers-reduced-motion: reduce) {
  canvas.silk, canvas.hero-grid { display: none; }
  .stack__card { transform: none; filter: none; }
  html.js .h2 .wd { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ===================== SEO: requisitos, examen y sueldo ===================== */
.guide, .pay { padding: calc(var(--section, 120px) * .6) 0; }
.guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.guide__card { display: grid; align-content: start; gap: 14px; padding: 32px; }
.guide__card .h3 { margin: 0; }
.guide__card .body { margin: 0; }
.guide__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0; }
.guide__facts div { padding: 14px 12px; border-radius: 14px; background: var(--paper, #F4F6F9); border: 1px solid var(--line, rgb(15 42 71 / .1)); }
.guide__facts dt { font-size: 12px; color: var(--ink-3, #5B6670); margin-bottom: 6px; }
.guide__facts dd { margin: 0; font-size: 17px; color: var(--ink, #0F2A47); }
.pay__card { margin-top: 48px; padding: 32px; overflow-x: auto; }
.pay__table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.pay__table caption { text-align: left; font-size: 13px; color: var(--ink-3, #5B6670); padding-bottom: 14px; }
.pay__table th, .pay__table td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--line, rgb(15 42 71 / .1)); font-weight: 400; }
.pay__table th[scope="row"], .pay__table thead th:first-child { text-align: left; }
.pay__table thead th { font-size: 13px; color: var(--ink-3, #5B6670); }
.pay__table td:last-child, .pay__table thead th:last-child { color: var(--accent-ink, #b34a0c); }
.pay__total th, .pay__total td { font-size: 18px; color: var(--ink, #0F2A47); border-bottom: 0; }
.pay__total td:last-child { color: #F26B1F; }
.pay__card .fine { margin: 18px 0 0; }
@media (max-width: 900px) {
  .guide__grid { grid-template-columns: minmax(0, 1fr); }
  .guide__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide__card, .pay__card { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .pay__table { min-width: 0; font-size: 13px; }
  .pay__table th, .pay__table td { padding: 10px 4px; }
  .pay__total th, .pay__total td { font-size: 14px; }
}
