/* PeluContesta · web pública y páginas de cuenta.
   Identidad: papel crema de peluquería, tinta azul marino y el palo de barbero (rojo, blanco y azul).
   Bricolage Grotesque para titulares, Lexend para el texto y Caveat para las notas a mano.
   Las tijeras son el hilo de toda la portada: cortan la barra de arriba al bajar, los separadores, la palabra
   «cortas», el cupón del precio y la cinta del final. Fuentes autoalojadas (CSP sin terceros).
   Todo se mide en rem y la raíz crece con la pantalla: en 2K y 4K la web escala en vez de quedarse en el centro. */

/* ───────── Fuentes ───────── */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url("/static/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url("/static/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/static/fonts/lexend-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/static/fonts/lexend-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("/static/fonts/caveat-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("/static/fonts/caveat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ───────── Tokens ───────── */
:root {
  --paper: #f6f1e7;
  --paper-2: #ede5d6;
  --paper-3: #e3d8c4;
  --card: #fffcf6;
  --white: #ffffff;
  --ink: #141a33;
  --ink-2: #3b4262;
  --steel: #5c6279;
  --line: #e0d6c4;
  --line-2: #d2c6b0;
  --red: #c8243a;
  --red-700: #a61b2f;
  --red-soft: #fbe2e2;
  --red-bright: #e23a4e;
  --blue: #2443c4;
  --blue-700: #1b349e;
  --blue-soft: #e2e8fb;
  --ok: #12804f;
  --ok-soft: #dcf2e6;
  --warn: #8a5a00;
  --warn-soft: #fcefd0;
  --mint: #d9f7c7;
  --hl: #ffd84d;
  --wa: #157a45;
  --on-dark: #eef0f7;
  --on-dark-2: #b9c0d8;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --r-sm: .625rem;
  --r-md: .875rem;
  --r-lg: 1.375rem;
  --r-xl: 2rem;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 0 rgb(20 26 51 / .04), 0 1.4rem 2.8rem -1.6rem rgb(20 26 51 / .35);
  --shadow-lg: 0 2px 0 rgb(20 26 51 / .05), 0 2.5rem 5rem -2.5rem rgb(20 26 51 / .5);
  --focus: #2443c4;
  --stripes: repeating-linear-gradient(135deg, var(--red) 0 .375rem, var(--white) .375rem .75rem, var(--blue) .75rem 1.125rem, var(--white) 1.125rem 1.5rem);

  color-scheme: light;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* 16 px hasta ~1650 px de ancho; de ahí crece: ~17,5 px en 1920, ~21 px en 2560 y tope de 22 px en 4K */
  font-size: clamp(100%, .4375rem + .547vw, 137.5%);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  /* grano de papel muy suave */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
main { flex: 1 0 auto; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
svg { flex: none; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
strong { font-weight: 600; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 780;
  font-stretch: 86%;
  line-height: 1.02;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.2rem + 5vw, 6.2rem); line-height: .96; letter-spacing: -.03em; }
h2 { font-size: clamp(2.1rem, 1.25rem + 3vw, 4.4rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.55rem); font-stretch: 94%; font-weight: 720; letter-spacing: -.012em; line-height: 1.18; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hl); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: .75rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: .75rem; }
@media (max-width: 419px) { .hide-xs { display: none; } }

/* ───────── Estructura ───────── */
.container { width: min(84rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 9rem); position: relative; }
.stack > * + * { margin-top: var(--stack-gap, 1rem); }
.muted { color: var(--steel); }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.1rem;
  font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.kicker::before {
  content: ""; width: 1.75rem; height: .5rem; border-radius: 99px;
  background: var(--stripes); box-shadow: inset 0 0 0 1px rgb(20 26 51 / .12);
}
.kicker--dark { color: #ff8a97; }
.kicker--ok { color: #7fe0a8; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { margin-bottom: .35em; }
.section-head__lead { font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }

/* letra a mano */
.hand {
  font-family: var(--hand); font-weight: 600; font-stretch: normal;
  letter-spacing: 0; line-height: 1;
}
.hand--red { color: var(--red); }

/* ───────── Botones ───────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: 0 1.4rem;
  border: 2px solid transparent; border-radius: .875rem;
  font: 600 1rem/1.15 var(--body); letter-spacing: -.005em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .18s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .icon-arrow { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 .7rem 1.4rem -.8rem rgb(200 36 58 / .8), inset 0 -2px 0 rgb(0 0 0 / .14); }
.btn--primary:hover { background: var(--red-700); box-shadow: 0 1rem 1.8rem -.9rem rgb(200 36 58 / .9), inset 0 -2px 0 rgb(0 0 0 / .14); transform: translateY(-1px); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: rgb(20 26 51 / .18); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost .icon-wa { color: var(--wa); }
.btn--light { background: var(--paper); color: var(--ink); box-shadow: 0 .8rem 1.6rem -.9rem rgb(0 0 0 / .6); }
.btn--light:hover { background: var(--white); transform: translateY(-1px); }
.btn--large { min-height: 3.5rem; padding: 0 1.6rem; font-size: 1.05rem; border-radius: 1rem; }
.btn--small { min-height: 2.6rem; padding: 0 1rem; font-size: .95rem; border-radius: .7rem; }
.btn--block { display: flex; width: 100%; }

/* ───────── Formularios ───────── */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .75rem .95rem;
  border: 1.5px solid var(--line-2); border-radius: .75rem;
  background: var(--white); color: var(--ink);
  font: 400 1rem/1.4 var(--body);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  appearance: none;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23141a33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input::placeholder, .field textarea::placeholder { color: #8c8a92; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9ab92; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(36 67 196 / .16);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"],
.field--error input, .field--error select, .field--error textarea {
  border-color: var(--red); box-shadow: 0 0 0 4px rgb(200 36 58 / .12);
}
.field__hint { font-size: .875rem; color: var(--steel); margin: 0; }
.field__error { font-size: .875rem; color: var(--red); font-weight: 500; margin: 0; }
.check {
  display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start;
  font-size: .95rem; line-height: 1.5; cursor: pointer;
}
.check input { width: 1.375rem; height: 1.375rem; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }

/* ───────── Avisos, tarjetas y etiquetas ───────── */
.alert {
  padding: .875rem 1rem; border-radius: .75rem; border: 1px solid transparent; border-left-width: 4px;
  font-size: .95rem; line-height: 1.5;
}
.alert--error { background: var(--red-soft); border-color: #f1b8bf; border-left-color: var(--red); color: #7d1422; }
.alert--ok { background: var(--ok-soft); border-color: #a9dcc0; border-left-color: var(--ok); color: #0b5634; }
.alert--info { background: var(--blue-soft); border-color: #c3d0f5; border-left-color: var(--blue); color: #172f7c; }
.alert a { color: inherit; font-weight: 600; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--shadow);
}

.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .25rem .7rem; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2);
  font-size: .8125rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--err { background: var(--red-soft); color: #a3182a; }

/* ───────── Registro y login ───────── */
.auth {
  min-height: calc(100vh - var(--header-h) - 9rem);
  display: grid; place-items: center;
  padding: clamp(2rem, 7vw, 5.5rem) var(--gutter);
  background:
    radial-gradient(60rem 30rem at 50% -10%, rgb(255 255 255 / .7), transparent 70%),
    repeating-linear-gradient(135deg, rgb(200 36 58 / .06) 0 1.1rem, transparent 1.1rem 2.25rem, rgb(36 67 196 / .06) 2.25rem 3.4rem, transparent 3.4rem 4.5rem);
}
.auth__card {
  width: min(29rem, 100%);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 6vw, 2.5rem); box-shadow: var(--shadow-lg);
}
.auth__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: .35em; }
.auth__foot { margin-top: 1.5rem; text-align: center; font-size: .95rem; color: var(--steel); }
.auth__card > .alert { margin-block: 1.1rem; }
.auth__card > .form, .alert + .form { margin-top: 1.4rem; }

/* ───────── Texto largo (legal) ───────── */
.prose { max-width: 70ch; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.prose h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); color: var(--ink); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem); color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }

/* ───────── Marca: palo de barbero pequeño (logo, avatares) ───────── */
.brand__mark {
  position: relative; display: inline-block; overflow: hidden; flex: none;
  width: .9rem; height: 1.8rem; border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1.5px rgb(20 26 51 / .18);
}
.brand__stripes {
  position: absolute; left: 0; right: 0; top: -100%; height: 300%;
  background: repeating-linear-gradient(135deg, var(--red) 0 3px, var(--white) 3px 6px, var(--blue) 6px 9px, var(--white) 9px 12px);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgb(20 26 51 / .28), transparent 32%, rgb(255 255 255 / .45) 50%, transparent 68%, rgb(20 26 51 / .3));
}
.brand__mark--avatar { width: .8rem; height: 1.5rem; }

/* ───────── Palo de barbero grande, con remates cromados ───────── */
.barber-pole { display: flex; flex-direction: column; align-items: center; width: 2.6rem; filter: drop-shadow(0 1.2rem 1.2rem rgb(20 26 51 / .25)); }
.barber-pole__cap {
  width: 128%; height: .95rem; flex: none;
  background: linear-gradient(90deg, #8b93a8, #f4f6fb 38%, #c4cad8 60%, #6f778c);
}
.barber-pole__cap--top { border-radius: 1.4rem 1.4rem .3rem .3rem; height: 1.25rem; }
.barber-pole__cap--top::before {
  content: ""; display: block; width: .7rem; height: .7rem; margin: -.55rem auto 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #aab1c2 60%, #6f778c);
}
.barber-pole__cap--bottom { border-radius: .3rem .3rem 1rem 1rem; }
.barber-pole__glass {
  position: relative; flex: 1; width: 100%; overflow: hidden; background: var(--white);
  box-shadow: inset 0 0 0 1px rgb(20 26 51 / .14);
}
.barber-pole__stripes {
  position: absolute; left: 0; right: 0; top: -2.4rem; bottom: -2.4rem;
  background: repeating-linear-gradient(135deg, var(--red) 0 .6rem, var(--white) .6rem 1.2rem, var(--blue) 1.2rem 1.8rem, var(--white) 1.8rem 2.4rem);
}
.barber-pole__glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(20 26 51 / .32), transparent 30%, rgb(255 255 255 / .55) 48%, transparent 66%, rgb(20 26 51 / .34));
}
/* gira como uno de verdad (solo con movimiento) */
@keyframes pole-spin { to { transform: translateY(3.394rem); } }
@media (prefers-reduced-motion: no-preference) {
  .barber-pole__stripes { animation: pole-spin 2.4s linear infinite; }
}

/* ───────── Tijeras ───────── */
.scissors { overflow: visible; width: 100%; height: auto; }
.scissors__blade { fill: #dfe3ec; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.scissors__shank, .scissors__ring { fill: none; stroke-width: 4.6; stroke-linecap: round; }
.scissors__ring--a, .scissors__shank--a { stroke: var(--red); }
.scissors__ring--b, .scissors__shank--b { stroke: var(--blue); }
.scissors__pin { fill: var(--ink); stroke: #fff; stroke-width: .9; }

/* ───────── Cabecera ───────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(246 241 231 / .82);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(246 241 231 / .94); }
.page-landing .site-header.is-scrolled { border-bottom-color: transparent; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; min-width: 0; }
.brand__name { font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: 1.4rem; letter-spacing: -.025em; line-height: 1; }
.brand__name span { color: var(--red); }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; align-items: center; gap: .5rem; }
.site-nav__links { display: none; list-style: none; align-items: center; gap: .15rem; margin-right: .5rem; }
.site-nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 .75rem; border-radius: .625rem;
  color: var(--ink-2); font-weight: 500; font-size: .95rem; text-decoration: none;
}
.site-nav__links a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .45rem; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a:hover::after { transform: scaleX(1); }

.site-nav__menu { position: relative; order: 2; }
.site-header__cta { white-space: nowrap; }
.site-nav__toggle {
  list-style: none; display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: .625rem; cursor: pointer; color: var(--ink);
  border: 1.5px solid rgb(20 26 51 / .16); background: var(--card);
}
.site-nav__toggle::-webkit-details-marker { display: none; }
.site-nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-nav__menu[open] .site-nav__toggle { background: var(--ink); color: var(--white); border-color: var(--ink); }
.site-nav__list {
  position: absolute; right: 0; top: calc(100% + .6rem); z-index: 50;
  width: min(18rem, calc(100vw - 2 * var(--gutter)));
  list-style: none; padding: .5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: var(--shadow-lg);
}
.site-nav__list a {
  display: flex; align-items: center; min-height: 3.1rem; padding: 0 .875rem; border-radius: .75rem;
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.site-nav__list a:hover { background: var(--paper); }
.site-nav__account { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .4rem; }
@media (min-width: 960px) {
  .site-nav__links { display: flex; }
  .site-nav__menu { display: none; }
}

/* La barra de corte: una línea discontinua bajo la cabecera que las tijeras van cortando al bajar */
.cutbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.cutbar__line {
  position: absolute; inset: 1px 0 auto; height: 1.5px;
  background: repeating-linear-gradient(90deg, rgb(20 26 51 / .38) 0 .55rem, transparent .55rem .95rem);
}
.cutbar__done {
  position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--red) 0 .9rem, var(--white) .9rem 1.35rem, var(--blue) 1.35rem 2.25rem, var(--white) 2.25rem 2.7rem);
  clip-path: inset(0 100% 0 0);
}
.cutbar__tool {
  position: absolute; left: 0; top: 50%; width: 2.1rem; margin-top: -.64rem;
  will-change: transform; filter: drop-shadow(0 2px 3px rgb(20 26 51 / .25));
}
.no-js .cutbar__tool, .anim-fail .cutbar__tool { display: none; }

/* ───────── Portada ───────── */
.hero { position: relative; padding-block: clamp(1.75rem, 4.5vh, 3.5rem) clamp(3rem, 7vh, 5rem); }
.hero::before { /* manchas de color suaves detrás */
  content: ""; position: absolute; inset: -10% -5% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(36rem 26rem at 82% 40%, rgb(36 67 196 / .10), transparent 70%),
    radial-gradient(30rem 22rem at 70% 75%, rgb(200 36 58 / .09), transparent 70%);
}
.hero__inner { display: grid; gap: clamp(2.75rem, 6vw, 4rem); align-items: center; }
.hero__title { margin: 0; font-size: inherit; letter-spacing: 0; line-height: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: clamp(1rem, 2.6vh, 1.6rem);
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 .4rem 1rem -.7rem rgb(20 26 51 / .35);
  font: 600 clamp(.78rem, .74rem + .15vw, .9rem)/1.25 var(--body); letter-spacing: 0; color: var(--ink-2);
}
.hero__eyebrow-icon { width: 1.6rem; }
.hero__headline {
  display: block;
  font-family: var(--display); font-weight: 800; font-stretch: 80%;
  font-size: min(clamp(2.75rem, .9rem + 4.9vw, 6.6rem), 11.2vh);
  font-size: min(clamp(2.75rem, .9rem + 4.9vw, 6.6rem), 11.2svh);
  line-height: .94; letter-spacing: -.032em; text-wrap: balance;
}
.hero__headline .hand {
  display: inline-block; font-size: 1.12em; line-height: .8; transform: rotate(-5deg) translateY(-.04em);
  padding: 0 .06em; margin-inline: -.02em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C50 6 120 4 197 10' fill='none' stroke='%23c8243a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 100% .22em no-repeat;
  padding-bottom: .08em;
}
.hero__lead {
  margin-top: clamp(1rem, 2.8vh, 1.75rem);
  font-size: clamp(1.05rem, .96rem + .42vw, 1.36rem); line-height: 1.55; color: var(--ink-2); max-width: 32em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.25rem, 3.4vh, 2rem); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: clamp(1rem, 2.6vh, 1.5rem); font-size: .92rem; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__facts .icon-check { color: var(--white); background: var(--ok); border-radius: 50%; padding: 2px; width: 1.1rem; height: 1.1rem; }
@media (max-width: 559px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 1000px) {
  .hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero > .container { width: min(84rem, 100% - 2 * var(--gutter)); }
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

/* «cortas»: las tijeras pasan y la palabra queda cortada en dos */
.cut { position: relative; display: inline-block; white-space: nowrap; }
.cut::before, .cut::after {
  content: attr(data-word); content: attr(data-word) / "";
  position: absolute; left: 0; top: 0; color: var(--ink); opacity: 0; pointer-events: none;
}
.cut::before { clip-path: polygon(-5% -20%, 105% -20%, 105% 8%, -5% 96%); transform: translate(var(--cut-x, 0), var(--cut-y, 0)); }
.cut::after { clip-path: polygon(-5% 96%, 105% 8%, 105% 120%, -5% 120%); transform: translate(var(--cut-bx, 0), var(--cut-by, 0)); }
.cut.is-cut { color: transparent; }
.cut.is-cut::before, .cut.is-cut::after { opacity: 1; }
.cut__tool { position: absolute; left: -1.1em; top: 50%; width: .95em; margin-top: -.29em; opacity: 0; transform: rotate(-22deg); filter: drop-shadow(0 .06em .06em rgb(20 26 51 / .25)); }
.cut__hairs { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.cut__hairs i {
  position: absolute; top: 0; width: .16em; height: .05em; border-radius: 99px; background: #5a3b22; opacity: 0;
}
.cut__hairs i:nth-child(1) { left: 12%; } .cut__hairs i:nth-child(2) { left: 30%; background: #2a2a2a; }
.cut__hairs i:nth-child(3) { left: 52%; background: #8c5a2b; } .cut__hairs i:nth-child(4) { left: 70%; }
.cut__hairs i:nth-child(5) { left: 88%; background: #2a2a2a; }

/* El escenario de la portada: móvil, palo, pegatina y notas */
.hero__visual { margin: 0; display: flex; justify-content: center; }
.hero__stage { position: relative; perspective: 1400px; }
.phone {
  position: relative;
  width: min(19.5rem, 74vw);
  aspect-ratio: 9 / 18.4;
  padding: .55rem; border-radius: 2.9rem;
  background: linear-gradient(155deg, #2b355c, var(--ink) 45%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / .1), inset 0 0 0 .3rem rgb(0 0 0 / .25);
}
.phone--hero { width: min(19.5rem, 72vw, (100vh - var(--header-h) - 8rem) * .5); width: min(19.5rem, 72vw, (100svh - var(--header-h) - 8rem) * .5); min-width: 15rem; }
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 2.4rem;
  background-color: #efe7dc; display: flex; flex-direction: column;
  /* fondo de chat con dibujitos de peluquería */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23141a33' stroke-opacity='.07' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='14' cy='18' r='5'/%3E%3Ccircle cx='14' cy='34' r='5'/%3E%3Cpath d='M18 21l20 9M18 31l20-9'/%3E%3Cpath d='M70 12h30M74 12v10M80 12v10M86 12v10M92 12v10M98 12v10'/%3E%3Cpath d='M60 70c6-10 14-10 20 0s14 10 20 0'/%3E%3Cpath d='M20 82l4 8 9 1-7 6 2 9-8-5-8 5 2-9-7-6 9-1z'/%3E%3Cpath d='M96 96a8 8 0 1 0 0 .1M96 88v-6'/%3E%3C/svg%3E");
}
.phone__screen::before { /* isla de la cámara */
  content: ""; position: absolute; top: .6rem; left: 50%; width: 5.2rem; height: 1.4rem; margin-left: -2.6rem;
  border-radius: 999px; background: #0b0f1f; z-index: 2;
}
.chat-head {
  display: flex; align-items: center; gap: .6rem;
  padding: 2.6rem 1rem .75rem; background: var(--card); border-bottom: 1px solid var(--line);
}
.chat-head__avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; flex: none; }
.chat-head__text { display: grid; line-height: 1.25; }
.chat-head__text b { font-size: .95rem; }
.chat-head__text small { font-size: .75rem; color: var(--ok); }

.chat {
  list-style: none; flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem;
  padding: .85rem .7rem 1.1rem;
}
.chat__msg {
  position: relative; max-width: 86%;
  padding: .5rem .7rem 1.15rem; border-radius: 1rem;
  font-size: .82rem; line-height: 1.42; color: var(--ink);
  box-shadow: 0 1px 0 rgb(20 26 51 / .1);
}
.chat__msg time { position: absolute; right: .55rem; bottom: .2rem; display: inline-flex; align-items: center; gap: 2px; font-size: .64rem; color: var(--steel); }
.chat__msg .ticks { color: #3a8fd8; width: .9rem; }
.chat__msg--in { align-self: flex-start; background: var(--white); border-top-left-radius: .3rem; }
.chat__msg--out { align-self: flex-end; background: var(--mint); border-top-right-radius: .3rem; }
.chat__typing {
  display: none; align-self: flex-end; gap: 4px; padding: .75rem .9rem; border-radius: 1rem; border-top-right-radius: .3rem;
  background: var(--mint);
}
.chat__typing.is-on { display: inline-flex; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); opacity: .35; animation: typing 1s infinite; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-2px); } }

.hero__pole { position: absolute; left: calc(100% + 1.1rem); top: 14%; height: 62%; }
.hero__pole .barber-pole__glass { border-radius: 0; }
.sticker-badge {
  position: absolute; left: -3.9rem; top: -2.3rem; z-index: 3; width: 7.25rem; aspect-ratio: 1;
  border-radius: 50%; background: var(--hl); color: var(--ink);
  box-shadow: 0 1rem 1.6rem -1rem rgb(20 26 51 / .6), inset 0 0 0 2px rgb(20 26 51 / .9);
  display: grid; place-items: center;
}
.sticker-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticker-badge text { font: 700 10.5px/1 var(--body); text-transform: uppercase; fill: var(--ink); }
.sticker-badge__core { width: 3.4rem; transform: rotate(-30deg) translateX(-.2rem); }
.hero__note {
  position: absolute; z-index: 3; left: -3.5rem; bottom: 9%;
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0; padding: .65rem .95rem .65rem .65rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: .82rem; line-height: 1.3; color: var(--ink-2); white-space: nowrap;
}
.hero__note b { display: block; color: var(--ok); font-weight: 700; }
.hero__note-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; background: var(--ok); color: var(--white); flex: none; }

/* notas a mano con flecha */
.annot { position: absolute; margin: 0; display: flex; align-items: flex-start; gap: .1rem; pointer-events: none; }
.annot .hand { font-size: clamp(1.35rem, 1.1rem + .6vw, 1.75rem); color: var(--red); transform: rotate(-6deg); white-space: nowrap; line-height: .95; }
.hand-arrow { width: 4.2rem; overflow: visible; }
.hand-arrow path { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.annot--hero { right: calc(100% + 1rem); top: 31%; flex-direction: column; align-items: flex-end; }
.annot--hero .hand-arrow { margin-right: -1.5rem; margin-top: .2rem; }
@media (max-width: 1239px) { .annot--hero { display: none; } }
@media (max-width: 999px) {
  .hero__visual { padding-inline: 2.6rem 3.2rem; }
  .sticker-badge { left: -2.2rem; width: 6.2rem; }
  .hero__note { left: -1.6rem; }
}
@media (max-width: 459px) {
  .hero__visual { padding-inline: 1.4rem 2.6rem; }
  .hero__pole { left: calc(100% + .7rem); width: 1.9rem; }
  .sticker-badge { left: -1.4rem; top: -1.9rem; width: 5.4rem; }
  .sticker-badge__core { width: 2.6rem; }
  .hero__note { left: -1rem; font-size: .78rem; }
}

/* La conversación de la portada se «escribe» sola: con JS, los mensajes empiezan ocultos */
.js .chat--auto .chat__msg { display: none; }
.js .chat--auto .chat__msg.is-shown { display: block; }
.js [data-hero-note] { opacity: 0; }
.anim-fail .chat--auto .chat__msg { display: block; }
.anim-fail [data-hero-note] { opacity: 1; }

/* ───────── Cinta de servicios ───────── */
.marquee {
  position: relative; overflow: hidden; padding-block: clamp(.9rem, 2vw, 1.4rem);
  border-block: 1.5px solid rgb(20 26 51 / .12);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  font-family: var(--display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 5.4rem); line-height: 1; letter-spacing: -.03em;
  padding-inline: .3em; color: var(--ink);
}
.marquee__group .marquee__item:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__icon { width: clamp(2.6rem, 2rem + 2.4vw, 5rem); margin-inline: .2em; }

/* ───────── Separador que se corta ───────── */
.snip {
  --top: var(--paper); --bottom: var(--ink); --dash: rgb(20 26 51 / .45); --cut-at: 2.25rem;
  position: relative; z-index: 3; height: 4.75rem; pointer-events: none; overflow-x: clip; overflow-y: visible;
  background: linear-gradient(var(--top) 0 var(--cut-at), var(--bottom) var(--cut-at));
}
.snip--ink-paper { --top: var(--ink); --bottom: var(--paper); --dash: rgb(246 241 231 / .5); }
.snip__strip { position: absolute; left: 0; right: 0; top: var(--cut-at); bottom: 0; display: flex; visibility: hidden; }
.js .snip__strip { visibility: visible; }
.anim-fail .snip__strip { visibility: hidden; }
.snip__piece { flex: 1 1 0; margin-right: -1px; background: var(--top); clip-path: polygon(0 0, 100% 0, 100% 86%, 78% 100%, 46% 90%, 18% 100%, 0 92%); }
.snip__piece:nth-child(3n+1) { clip-path: polygon(0 0, 100% 0, 100% 94%, 70% 86%, 38% 100%, 0 88%); }
.snip__piece:nth-child(3n+2) { clip-path: polygon(0 0, 100% 0, 100% 100%, 62% 90%, 30% 97%, 0 86%); }
.snip--paper-ink .snip__piece { background-color: var(--paper); }
.snip__line {
  position: absolute; left: 0; right: 0; top: calc(var(--cut-at) - 1px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--dash) 0 .8rem, transparent .8rem 1.3rem);
}
.snip__tool {
  position: absolute; left: 0; top: var(--cut-at); width: clamp(3.2rem, 2.6rem + 1.6vw, 4.6rem);
  margin-top: calc(clamp(3.2rem, 2.6rem + 1.6vw, 4.6rem) * -.3); will-change: transform;
  filter: drop-shadow(0 .3rem .4rem rgb(20 26 51 / .3)); visibility: hidden;
}
.js .snip__tool { visibility: visible; }
.anim-fail .snip__tool { visibility: hidden; }
.snip--ink-paper .scissors__blade { stroke: #0b0f1f; }

/* ───────── El problema ───────── */
.problem {
  position: relative; background: var(--ink); color: var(--on-dark-2);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  --focus: #9db4ff;
}
.problem__inner { display: grid; gap: 3rem; align-items: center; grid-template-areas: "before" "lock" "after"; }
.problem__copy { display: contents; }
.problem__stage--before { grid-area: before; }
.problem__stage--after { grid-area: after; }
.lockscreen { grid-area: lock; }
.problem__title { color: var(--white); max-width: 13ch; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.6rem); }
.problem__title--after { font-family: var(--display); font-weight: 780; font-stretch: 86%; line-height: 1.02; letter-spacing: -.022em; text-wrap: balance; max-width: 15ch; }
.problem__stage p:not(.problem__title):not(.kicker) { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 36ch; }
.problem__stage .problem__punch {
  margin-top: 1.4em; color: var(--white);
  font-family: var(--display); font-weight: 720; font-stretch: 90%;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2.15rem); line-height: 1.16; letter-spacing: -.014em;
  padding-left: 1.1rem; border-left: 4px solid var(--red-bright); max-width: 22ch;
}
.lockscreen {
  justify-self: center; width: min(23rem, 100%);
  padding: 2.1rem 1rem 1.4rem; border-radius: 2.6rem;
  background:
    radial-gradient(120% 70% at 50% 0%, rgb(36 67 196 / .55), transparent 60%),
    radial-gradient(90% 60% at 50% 110%, rgb(200 36 58 / .35), transparent 60%),
    linear-gradient(170deg, #1d2852, #0a1030);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .08), 0 2.5rem 5rem -2.5rem rgb(0 0 0 / .8);
  color: var(--white);
}
.lockscreen__time {
  margin: 0; text-align: center;
  font-family: var(--display); font-weight: 300; font-stretch: 78%; font-size: 4.4rem; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.lockscreen__date { margin: .25rem 0 1.5rem; text-align: center; font-size: .9rem; color: var(--on-dark-2); }
.lockscreen__list { list-style: none; display: grid; gap: .5rem; }
.notif {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: .6rem; align-items: start;
  padding: .7rem .85rem; border-radius: 1.1rem;
  background: rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .86rem; line-height: 1.35;
}
.notif__app { grid-row: 1 / span 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: .45rem; background: var(--wa); color: var(--white); }
.notif b { color: var(--white); font-weight: 600; }
.notif__text { grid-column: 2 / span 2; color: var(--on-dark); }
.notif time { grid-column: 3; grid-row: 1; font-size: .72rem; color: var(--on-dark-2); }
.notif__audio { display: inline-flex; align-items: center; gap: .35rem; }
.notif__done {
  grid-column: 2 / span 2; display: none; align-items: center; gap: .35rem; margin-top: .35rem;
  font-size: .78rem; font-weight: 600; color: #8ff0b8;
}
.notif.is-done { background: rgb(18 128 79 / .3); box-shadow: inset 0 0 0 1px rgb(143 240 184 / .35); }
.notif.is-done .notif__done { display: inline-flex; }
.notif--lost.is-gone { opacity: .35; }
.notif--lost.is-gone .notif__text { text-decoration: line-through; text-decoration-color: var(--red-bright); text-decoration-thickness: 2px; }
@media (min-width: 900px) {
  .problem__inner { grid-template-columns: 1.05fr .95fr; grid-template-areas: "before lock" "after lock"; column-gap: clamp(3rem, 6vw, 6rem); row-gap: 3rem; }
  /* modo fijado (site.js): el antes y el después ocupan el mismo sitio y se cambian al bajar */
  .problem.is-pinned .problem__inner { grid-template-areas: "copy lock"; min-height: calc(100vh - var(--header-h)); align-content: center; padding-block: 2rem; }
  .problem.is-pinned { padding-block: 0; }
  .problem.is-pinned .problem__stage { grid-area: copy; }
}

/* ───────── Cómo funciona ───────── */
.steps__body { position: relative; }
.steps__list { list-style: none; display: grid; gap: 1.25rem; padding-left: 4.25rem; }
.step {
  position: relative; padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--ink-2); max-width: 40ch; }
.step__num {
  position: absolute; left: -4.25rem; top: 1.25rem;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center; z-index: 1;
  background: var(--paper); border: 2px dashed var(--line-2); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.step.is-active .step__num { background: var(--red); border: 2px solid var(--red); color: var(--white); transform: scale(1.08) rotate(-6deg); }
.steps__rail { position: absolute; left: 1.5rem; top: 2.75rem; bottom: 3rem; width: 3px; pointer-events: none; }
.steps__dash { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgb(20 26 51 / .3) 0 .55rem, transparent .55rem .95rem); }
.steps__cut { position: absolute; inset: 0; background: var(--red); transform-origin: 0 0; transform: scaleY(0); }
.steps__tool { position: absolute; left: 50%; top: 0; width: 2.6rem; margin-left: -1.3rem; transform: rotate(90deg); visibility: hidden; filter: drop-shadow(0 .2rem .3rem rgb(20 26 51 / .3)); }
.js .steps__tool { visibility: visible; }
.anim-fail .steps__tool { visibility: hidden; }
.step__art { margin-top: 1.25rem; }
.step__art--form { display: grid; gap: .5rem; max-width: 17rem; }
.mini-field { display: grid; padding: .45rem .75rem; border-radius: .7rem; border: 1.5px solid var(--line-2); background: var(--white); line-height: 1.25; }
.mini-field i { font-style: normal; font-size: .7rem; color: var(--steel); }
.mini-field b { font-weight: 500; font-size: .9rem; min-height: 1.15em; }
.mini-btn { justify-self: start; padding: .45rem .9rem; border-radius: .6rem; background: var(--red); color: var(--white); font-size: .82rem; font-weight: 600; }
.step__code { display: flex; flex-wrap: nowrap; gap: .3rem; margin-top: 1.25rem; }
.step__code span {
  width: 2.1rem; height: 2.7rem; display: grid; place-items: center;
  border-radius: .55rem; background: var(--white); border: 1.5px solid var(--line-2);
  font-family: var(--display); font-weight: 750; font-size: 1.2rem; color: var(--ink);
}
.step__code .step__code-gap { width: .7rem; border: 0; background: none; color: var(--steel); }
.step__art--chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.step__art--chips li { padding: .35rem .7rem; border-radius: 99px; background: var(--paper-2); font-size: .82rem; font-weight: 500; }
.step__art--chips li:last-child { background: var(--blue-soft); color: var(--blue-700); }
@media (max-width: 419px) {
  .steps__list { padding-left: 3.4rem; }
  .step__num { left: -3.4rem; width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
  .steps__rail { left: 1.25rem; }
  .step { padding: 1.25rem 1.1rem; }
  .step__code { gap: .2rem; }
  .step__code span { width: 1.7rem; height: 2.3rem; font-size: 1rem; }
  .step__code .step__code-gap { width: .35rem; }
}
@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); padding-left: 0; padding-top: 5rem; }
  .step__num { left: 1.5rem; top: -5rem; width: 3.5rem; height: 3.5rem; font-size: 1.45rem; }
  .steps__rail { left: 3.25rem; right: calc((100% - 2 * clamp(1rem, 2vw, 2rem)) / 3 - 3.25rem); top: 1.65rem; bottom: auto; width: auto; height: 3px; }
  .steps__dash { background: repeating-linear-gradient(90deg, rgb(20 26 51 / .3) 0 .55rem, transparent .55rem .95rem); }
  .steps__cut { transform: scaleX(0); }
  .steps__tool { left: 0; top: 50%; margin-left: 0; margin-top: -.8rem; transform: none; width: 2.9rem; }
  .step { padding: 1.75rem; }
}

/* ───────── Vídeo ───────── */
.video-block { background: var(--paper-2); }
.video-block__inner { display: grid; gap: 2.5rem; align-items: center; }
.video-block__copy { position: relative; }
.video-block__frame { position: relative; justify-self: center; width: min(24rem, 100%); }
.video-block__stripes {
  position: absolute; inset: -1.1rem -1.1rem 1.1rem 1.1rem; border-radius: 2.2rem; overflow: hidden; transform: rotate(3deg);
  box-shadow: inset 0 0 0 2px rgb(20 26 51 / .1);
}
.video-block__stripes span {
  position: absolute; inset: -50%;
  background: repeating-linear-gradient(135deg, var(--red) 0 1.6rem, var(--paper) 1.6rem 3.2rem, var(--blue) 3.2rem 4.8rem, var(--paper) 4.8rem 6.4rem);
  opacity: .9;
}
.video-block__video {
  position: relative; width: 100%; height: auto; aspect-ratio: 540 / 676; background: var(--ink);
  border-radius: 1.8rem; box-shadow: var(--shadow-lg); border: .45rem solid var(--ink);
}
.annot--video { position: relative; margin-top: 1.5rem; align-items: center; }
.annot--video .hand-arrow { transform: rotate(-10deg); }
@media (max-width: 899px) { .annot--video { display: none; } }
@media (min-width: 900px) {
  .video-block__inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .video-block__frame { justify-self: center; }
}

/* ───────── Qué hace (bento) ───────── */
.bento { display: grid; gap: 1rem; }
.tile {
  position: relative; overflow: hidden;
  display: grid; gap: 1.5rem; align-content: space-between;
  padding: clamp(1.4rem, 2.4vw, 2.1rem); border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile h3 { margin-bottom: .4em; }
.tile p { color: var(--ink-2); }
.tile__copy p { max-width: 38ch; }
.tile--audio { background: var(--blue-soft); border-color: #cdd7f7; }
.tile--remind { background: #fff2c9; border-color: #f1dea0; }
.tile--number { background: #e3f6d6; border-color: #c6e8ad; }
.tile--night { background: var(--ink); border-color: var(--ink); }
.tile--night h3 { color: var(--white); }
.tile--night p { color: var(--on-dark-2); }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
  .tile--slots { grid-column: span 7; } .tile--audio { grid-column: span 5; }
  .tile--remind { grid-column: span 5; } .tile--move { grid-column: span 7; }
  .tile--night { grid-column: span 6; } .tile--number { grid-column: span 6; }
  .tile--slots, .tile--move { grid-template-columns: 1fr 1fr; align-items: center; }
}

.mini-chat { display: flex; flex-direction: column; gap: .45rem; padding: 1rem; border-radius: var(--r-lg); background: #efe7dc; }
.tile--audio .mini-chat { background: rgb(255 255 255 / .55); }
.mini-chat__msg {
  max-width: 90%; margin: 0;
  padding: .6rem .8rem; border-radius: .95rem;
  font-size: .9rem; line-height: 1.45; color: var(--ink);
  box-shadow: 0 1px 0 rgb(20 26 51 / .08);
}
.tile p.mini-chat__msg { color: var(--ink); }
.mini-chat__msg--in { align-self: flex-start; background: var(--white); border-top-left-radius: .3rem; }
.mini-chat__msg--out { align-self: flex-end; background: var(--mint); border-top-right-radius: .3rem; }
.mini-chat__msg--audio { display: inline-flex; align-items: center; gap: .6rem; color: var(--blue); }
.mini-chat__msg--audio small { color: var(--steel); font-size: .75rem; }
.slots { display: flex; gap: .4rem; align-self: flex-end; margin: 0; }
.slots span {
  padding: .4rem .7rem; border-radius: .7rem; background: var(--white); border: 1.5px solid var(--line-2);
  font-family: var(--display); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.slots .is-picked.is-on { background: var(--ok); border-color: var(--ok); color: var(--white); transform: scale(1.08) rotate(-3deg); }
.no-js .slots .is-picked, .anim-fail .slots .is-picked { background: var(--ok); border-color: var(--ok); color: var(--white); }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 1.4rem; }
.wave i { display: block; width: 3px; border-radius: 2px; background: currentColor; height: 40%; transform-origin: 50% 50%; }
.wave i:nth-child(3n) { height: 85%; } .wave i:nth-child(3n+1) { height: 55%; }
.wave i:nth-child(4n) { height: 100%; } .wave i:nth-child(5n) { height: 30%; }
.reminder {
  display: flex; gap: .75rem; align-items: flex-start; margin: 0;
  padding: 1rem; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow);
  font-size: .92rem; line-height: 1.45;
}
.tile p.reminder { color: var(--ink); }
.reminder__bell { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--hl); color: var(--ink); flex: none; transform-origin: 50% 10%; }
.week { padding: 1rem; border-radius: var(--r-lg); background: var(--paper); }
.week__days, .week__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.week__days span { text-align: center; font-weight: 700; font-size: .78rem; color: var(--steel); }
.week__grid { position: relative; grid-template-rows: repeat(3, 2.2rem); margin-top: .4rem; background: repeating-linear-gradient(180deg, transparent 0 2.2rem, rgb(20 26 51 / .06) 2.2rem calc(2.2rem + 1px)); }
.week__slot, .week__ghost { border-radius: .55rem; }
.week__slot { background: var(--blue-soft); border-left: 3px solid var(--blue); }
.week__slot--moving { z-index: 1; display: grid; place-items: center; background: var(--red); border-left-color: var(--red-700); color: var(--white); font-size: .72rem; font-weight: 600; box-shadow: 0 .5rem 1rem -.5rem rgb(200 36 58 / .8); }
.week__ghost { border: 2px dashed var(--line-2); }
.week .d1 { grid-column: 1; } .week .d2 { grid-column: 2; } .week .d3 { grid-column: 3; } .week .d4 { grid-column: 4; } .week .d5 { grid-column: 5; }
.week .h1 { grid-row: 1; } .week .h2 { grid-row: 2; } .week .h3 { grid-row: 3; }
.week__note { margin: .75rem 0 0; font-size: .8rem; color: var(--steel); }
.tile p.week__note { color: var(--steel); }
.night { position: relative; display: grid; gap: .75rem; justify-items: end; padding-top: 1rem; }
.night__moon { position: absolute; left: .4rem; top: 0; width: 3rem; height: 3rem; border-radius: 50%; box-shadow: inset -.8rem -.3rem 0 0 var(--hl); transform: rotate(-20deg); }
.night__clock { font-family: var(--display); font-weight: 300; font-stretch: 78%; font-size: 3.4rem; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.devices { display: flex; align-items: center; justify-content: center; gap: .75rem; padding-block: .5rem; }
.devices__phone, .devices__bot {
  display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1.2rem; flex: none;
  box-shadow: 0 .8rem 1.4rem -.8rem rgb(20 26 51 / .5);
}
.devices__phone { background: var(--wa); color: var(--white); }
.devices__bot { background: var(--white); }
.devices__bot .brand__mark { width: 1.3rem; height: 2.4rem; }
.devices__link { display: flex; gap: .4rem; }
.devices__link i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--wa); opacity: .35; }

/* ───────── Tú mandas ───────── */
.control__inner { display: grid; gap: 3rem; align-items: center; }
.rules { margin: 1.75rem 0 0; }
.rules__item { padding-block: 1.25rem; border-top: 1.5px dashed var(--line-2); }
.rules__item dt { font-family: var(--display); font-weight: 720; font-stretch: 92%; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.01em; line-height: 1.2; }
.rules__item dd { margin: .5rem 0 0; color: var(--ink-2); max-width: 44ch; }
.inbox { background: var(--card); border-radius: var(--r-xl); padding: .5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.inbox__head { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: .9rem 1rem .6rem; }
.inbox__head b { font-family: var(--display); font-size: 1.35rem; font-weight: 780; }
.inbox__head span { font-size: .8rem; color: var(--steel); }
.inbox__list { list-style: none; }
.inbox__row {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: .8rem; row-gap: 1px; align-items: center;
  padding: .85rem 1rem; border-top: 1px solid var(--line);
}
.inbox__avatar {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-700); font-weight: 700;
}
.inbox__avatar--home { background: #fde4ea; color: #a3182a; }
.inbox__avatar--pro { background: var(--warn-soft); color: var(--warn); }
.inbox__avatar--group { background: var(--paper-2); color: var(--ink-2); }
.inbox__who { font-weight: 600; font-size: .95rem; }
.inbox__text { grid-column: 2; color: var(--steel); font-size: .88rem; line-height: 1.4; }
.inbox__row .stamp { grid-column: 3; grid-row: 1 / span 2; }
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .3rem .6rem; border: 2px solid currentColor; border-radius: .4rem; white-space: nowrap;
  font: 700 .7rem/1.2 var(--body); letter-spacing: .07em; text-transform: uppercase;
  transform: rotate(-5deg); background: rgb(255 255 255 / .6);
}
.stamp--book { color: var(--blue); }
.stamp--quiet { color: #6c6f7d; }
.stamp--alert { color: #b06f00; }
@media (max-width: 519px) {
  .inbox__row { grid-template-columns: auto 1fr; }
  .inbox__row .stamp { grid-column: 2; grid-row: auto; justify-self: start; margin-top: .5rem; }
}
@media (min-width: 900px) {
  .control__inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* ───────── Panel ───────── */
.panel-block { background: var(--paper-2); }
.panel-block__inner { display: grid; gap: 3rem; align-items: center; }
.panel-block__visual { position: relative; justify-self: center; }
.phone--panel { aspect-ratio: 9 / 16.2; width: min(19rem, 76vw); }
.agenda { background: var(--paper); }
.agenda__head {
  display: flex; align-items: center; gap: .75rem;
  padding: 2.7rem 1.1rem .9rem; background: var(--card); border-bottom: 1px solid var(--line);
}
.agenda__head div { display: grid; line-height: 1.25; }
.agenda__head b { font-family: var(--display); font-weight: 760; font-size: 1.15rem; }
.agenda__head small { font-size: .74rem; color: var(--ok); }
.agenda__list { list-style: none; padding: .75rem; display: grid; gap: .5rem; }
.agenda__item {
  display: grid; grid-template-columns: 3.2rem 1fr; align-items: center; gap: .2rem .6rem;
  padding: .7rem .75rem; border-radius: .9rem; background: var(--card);
  border-left: 3px solid var(--line-2); font-size: .82rem; line-height: 1.3;
}
.agenda__item time { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.agenda__item span { display: grid; color: var(--steel); }
.agenda__item b { color: var(--ink); font-weight: 600; }
.agenda__item em { grid-column: 2; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--red); }
.agenda__item--new { background: #fff1f1; border-left-color: var(--red); }
.agenda__alert {
  margin: .25rem .75rem 0; padding: .65rem .75rem; border-radius: .9rem;
  background: var(--warn-soft); color: var(--warn); font-size: .78rem; line-height: 1.35;
}
.agenda__alert b { display: block; font-size: .8rem; }
.annot--panel { left: calc(100% - 1rem); top: 40%; align-items: flex-end; }
.annot--panel .hand { margin-left: -.5rem; margin-top: 2.2rem; }
.annot__arrow--flip { transform: scaleX(1); }
@media (max-width: 1099px) { .annot--panel { display: none; } }
.ticks-list { list-style: none; display: grid; gap: .75rem; margin-top: 1.75rem; }
.ticks-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.ticks-list .icon-check { flex: none; margin-top: .15rem; color: var(--white); background: var(--red); border-radius: 50%; padding: 3px; width: 1.4rem; height: 1.4rem; }
@media (min-width: 900px) {
  .panel-block__inner { grid-template-columns: .9fr 1.1fr; gap: 6rem; }
}

/* ───────── Quién hay detrás ───────── */
.maker__inner {
  display: grid; gap: 2rem; align-items: center; justify-items: start;
  padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--r-xl);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.maker__photo {
  width: clamp(8rem, 18vw, 14rem); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  padding: .45rem; background: conic-gradient(from 0deg, var(--red) 0 12.5%, var(--white) 0 25%, var(--blue) 0 37.5%, var(--white) 0 50%, var(--red) 0 62.5%, var(--white) 0 75%, var(--blue) 0 87.5%, var(--white) 0);
  box-shadow: var(--shadow-lg);
}
.maker__copy p { color: var(--ink-2); max-width: 46ch; }
.maker__copy .btn { margin-top: .5rem; }
@media (min-width: 760px) {
  .maker__inner { grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
}

/* ───────── Precio: el cupón ───────── */
.pricing__inner { display: grid; gap: 3rem; align-items: center; }
.pricing__mail { font-size: .95rem; color: var(--steel); margin-top: 1rem; }
.coupon-wrap {
  position: relative; justify-self: center; width: min(28rem, 100%);
  padding: .9rem; border-radius: 2.1rem;
  border: 2px dashed rgb(20 26 51 / .35);
}
.coupon-wrap__tool { position: absolute; left: 0; top: 0; width: 2.9rem; margin: -.85rem 0 0 -1.4rem; visibility: hidden; z-index: 2; filter: drop-shadow(0 .25rem .35rem rgb(20 26 51 / .3)); }
.js .coupon-wrap__tool { visibility: visible; opacity: 0; }
.coupon {
  position: relative; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 1.5rem;
  background: var(--card); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at 0 50%, var(--paper) .9rem, transparent .95rem), radial-gradient(circle at 100% 50%, var(--paper) .9rem, transparent .95rem);
}
.coupon__brand { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: 1.6rem; letter-spacing: -.02em; }
.coupon__sub { margin: .1rem 0 1.4rem; color: var(--steel); font-size: .9rem; }
.coupon__price { display: flex; align-items: flex-end; gap: .5rem; margin: 0 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 2px dashed var(--line-2); }
.coupon__price b { font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: clamp(4rem, 3rem + 4vw, 5.6rem); line-height: .8; letter-spacing: -.04em; }
.coupon__price span { display: grid; font-weight: 700; font-size: 1.15rem; line-height: 1.1; padding-bottom: .2rem; }
.coupon__price small { font-weight: 500; font-size: .82rem; color: var(--steel); }
.coupon__lines { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.coupon__lines li { display: flex; gap: .55rem; align-items: center; font-size: .95rem; }
.coupon__lines .icon-check { color: var(--ok); flex: none; }
@media (min-width: 900px) {
  .pricing__inner { grid-template-columns: 1.05fr .95fr; gap: 5rem; }
  .coupon-wrap { justify-self: end; }
}

/* ───────── Preguntas ───────── */
.faq { background: var(--paper-2); }
.faq__inner { display: grid; gap: 2rem; }
.faq__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin-top: 1rem; }
.faq__more .hand { font-size: 1.7rem; color: var(--red); }
.faq__more a { font-weight: 600; }
.faq__list { border-top: 1.5px solid var(--line-2); }
.faq__item { border-bottom: 1.5px solid var(--line-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem; padding-block: 1.1rem;
  font-weight: 600; font-size: clamp(1.02rem, 1rem + .25vw, 1.18rem); line-height: 1.4;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--line-2);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem; border-radius: 2px; background: var(--ink);
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--white); }
.faq__item summary:hover { color: var(--red); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 3rem 1.4rem 0; color: var(--ink-2); max-width: 62ch; }
@media (min-width: 1000px) {
  .faq__inner { grid-template-columns: .75fr 1.25fr; gap: 5rem; align-items: start; }
  .faq__side { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* ───────── Cierre: la cinta de inauguración ───────── */
.closing {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding-block: clamp(6rem, 13vw, 11rem);
  --focus: #9db4ff;
}
.closing__stripes { position: absolute; inset: -40% -20%; transform: rotate(-12deg); pointer-events: none; opacity: .1; }
.closing__stripes span {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--red-bright) 0 2.2rem, transparent 2.2rem 4.4rem, #6f8cff 4.4rem 6.6rem, transparent 6.6rem 8.8rem);
}
.closing__inner { position: relative; }
.closing__title { color: var(--white); max-width: 19ch; font-size: clamp(2.2rem, 1.2rem + 3.8vw, 5.2rem); }
.closing__cta { position: relative; margin-top: 2.5rem; width: fit-content; max-width: 100%; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.closing__link { color: var(--white); font-weight: 500; }
.closing__price { margin-top: 1.4rem; color: var(--on-dark-2); font-size: .95rem; }
.ribbon { position: absolute; z-index: 2; left: -1.5rem; right: -1.5rem; top: 1.75rem; height: 0; pointer-events: none; display: none; }
.js .ribbon { display: block; }
.anim-fail .ribbon { display: none; }
.ribbon__half {
  position: absolute; top: -.7rem; height: 1.4rem; width: 50%;
  background: linear-gradient(180deg, #ff5a6c, var(--red) 55%, var(--red-700));
  box-shadow: 0 .4rem .8rem -.3rem rgb(0 0 0 / .5);
}
.ribbon__half--l { left: 0; transform-origin: 0 50%; clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%); }
.ribbon__half--r { right: 0; transform-origin: 100% 50%; clip-path: polygon(4% 50%, 0 0, 100% 0, 100% 100%, 0 100%); }
.ribbon__tool { position: absolute; left: 50%; top: 0; width: 3.4rem; margin: -1.8rem 0 0 -1.7rem; transform: rotate(90deg); opacity: 0; filter: drop-shadow(0 .3rem .4rem rgb(0 0 0 / .4)); }
@media (max-width: 559px) {
  .closing__cta { width: 100%; }
  .closing__actions .btn { width: 100%; }
}

/* ───────── Pie ───────── */
.site-footer {
  background: var(--paper-2); border-top: 1px solid var(--line);
  padding-block: 3.5rem calc(2rem + env(safe-area-inset-bottom));
  font-size: .95rem;
}
.page-landing .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
.site-footer__inner { display: grid; gap: 2rem; }
.brand--footer .brand__name { font-size: 1.3rem; }
.site-footer__about { margin: .9rem 0 .4rem; color: var(--ink-2); max-width: 32ch; }
.site-footer__made { margin: 0; color: var(--steel); font-size: .9rem; }
.site-footer__label { margin: 0 0 .6rem; color: var(--steel); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__nav ul, .site-footer__legal ul { list-style: none; display: grid; gap: .1rem; }
.site-footer__nav a, .site-footer__legal a { color: var(--ink-2); display: inline-flex; min-height: 2rem; align-items: center; text-decoration: none; }
.site-footer__nav a:hover, .site-footer__legal a:hover { color: var(--red); text-decoration: underline; }
.site-footer__wa { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.site-footer__wa .icon-wa { color: var(--wa); }
.site-footer__hint { margin: .3rem 0 0; color: var(--steel); font-size: .88rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--steel); }
@media (min-width: 700px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .page-landing .site-footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); } }

/* ───────── WhatsApp flotante (páginas sin barra) ───────── */
.wa-float {
  position: fixed; z-index: 45;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 3.6rem; height: 3.6rem; border-radius: 999px;
  background: var(--wa); color: var(--white); text-decoration: none;
  box-shadow: 0 .9rem 1.9rem -.75rem rgb(20 26 51 / .55), 0 0 0 4px rgb(255 255 255 / .9);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover { background: #0f6337; transform: translateY(-2px); text-decoration: none; }
.wa-float__label { display: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
@media (min-width: 900px) {
  .wa-float { width: auto; padding: 0 1.25rem 0 1rem; }
  .wa-float__label { display: inline; }
}

/* ───────── Barra inferior en el móvil (portada) ───────── */
.dock {
  position: fixed; z-index: 45; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom));
  display: flex; gap: .5rem; padding: .45rem; border-radius: 1.25rem;
  background: rgb(255 252 246 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 1rem 2rem -1rem rgb(20 26 51 / .55);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.dock__cta { flex: 1; min-height: 3rem; }
.dock__wa { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem; background: var(--wa); color: var(--white); flex: none; }
.js .dock:not(.is-on) { transform: translateY(160%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  .dock { left: auto; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock__cta { display: none; }
  .dock__wa { width: 3.6rem; height: 3.6rem; border-radius: 999px; box-shadow: 0 .9rem 1.9rem -.75rem rgb(20 26 51 / .55), 0 0 0 4px rgb(255 255 255 / .9); transition: transform .2s var(--ease); }
  .dock__wa:hover { transform: translateY(-2px) scale(1.04); }
  .js .dock:not(.is-on) { transform: none; opacity: 1; pointer-events: auto; }
}

/* ───────── Estados iniciales de las animaciones (solo con JS; si GSAP no carga, anim-fail lo enseña todo) ───────── */
.js .hero__stage { opacity: 0; }
.js .hero__headline .hand { clip-path: inset(-20% 100% -20% 0); }
.anim-fail .hero__stage { opacity: 1; }
.anim-fail .hero__headline .hand { clip-path: none; }
.js .hand-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-annot] .hand { opacity: 0; }
.anim-fail [data-annot] .hand { opacity: 1; }
.anim-fail .hand-arrow path { stroke-dashoffset: 0; }
.no-js .cut__tool, .anim-fail .cut__tool { display: none; }

/* ───────── Movimiento reducido ─────────
   Windows con «Efectos de animación» desactivado (y otros sistemas) piden menos movimiento. site.js pasa entonces a
   un modo «calmado»: nada se desplaza ni gira solo, nada se fija al hacer scroll; las cosas aparecen (opacidad) y las
   tijeras solo avanzan cuando bajas tú. */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) .chat__typing span { animation: none; opacity: .7; }
  html:not([data-motion="full"]) .tile:hover { transform: none; }
}
