/* Boasapp · Mensajes que conectan
   Brand system: cream ground, forest ink, flat rounded colour tiles (forest,
   steel blue, mint, green) carrying emerald-cut gem patterns, lowercase Quicksand
   wordmark. No shadows: depth comes from colour blocks. The hero keeps the video's
   original pale studio background; its copy lives in the empty right side. */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bone: #F2F0E6;
  --bone-2: #E8E4D3;
  --line: #D9D3BE;
  --ink: #0F2A20;
  --ink-soft: #3C5247;        /* on --bone 7.3:1 */
  --forest: #174C36;          /* tile + primary button; white text 9:1 */
  --emerald: #17704D;
  --green: #5BAF88;           /* tile; ink text 6.4:1 */
  --mint: #CDEBDA;
  --mint-grey: #D5E4E0;
  --steel: #1F5C96;           /* tile; white text 6.6:1 */
  --steel-ink: #2F5F8F;       /* text on --bone 5.9:1 */
  --steel-soft: #D6E2EE;
  --stage: #E9F7EE;           /* matches the video's studio background */
  --ease: cubic-bezier(.16,1,.3,1);
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-pill: 999px;
  --font: 'Quicksand', 'Nunito', 'Varela Round', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
  --nav-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); background: var(--bone); }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--steel-ink); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--mint); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }

/* Iconos de línea */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 16px; height: 16px; stroke-width: 2.2; }

/* Patrón de gemas (talla esmeralda): 3 capas por gema, un color por superficie.
   Tamaño: --gw x --gh por celda (proporción 3:4). */
.gems { display: block; background-repeat: repeat; background-size: var(--gw, 45px) var(--gh, 60px); background-position: center; }

.gems--forest, .gem--forest { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 60'><g transform='translate(7.5 10)'><polygon fill='%23F6FAF3' points='8,0 22,0 20,6 10,6'/><polygon fill='%23D3DFD4' points='22,0 30,8 24,10 20,6'/><polygon fill='%23BACCBE' points='30,8 30,32 24,30 24,10'/><polygon fill='%23AABFAF' points='30,32 22,40 20,34 24,30'/><polygon fill='%239BB4A2' points='22,40 8,40 10,34 20,34'/><polygon fill='%23B6C9BA' points='8,40 0,32 6,30 10,34'/><polygon fill='%23D2DED3' points='0,32 0,8 6,10 6,30'/><polygon fill='%23E8F0E7' points='0,8 8,0 10,6 6,10'/><polygon fill='%2393B39F' points='10,6 20,6 18,12 12,12'/><polygon fill='%23789C87' points='20,6 24,10 20,14 18,12'/><polygon fill='%23638B76' points='24,10 24,30 20,26 20,14'/><polygon fill='%2357816B' points='24,30 20,34 18,28 20,26'/><polygon fill='%234B7761' points='20,34 10,34 12,28 18,28'/><polygon fill='%23618974' points='10,34 6,30 10,26 12,28'/><polygon fill='%23769B86' points='6,30 6,10 10,14 10,26'/><polygon fill='%2388AA96' points='6,10 10,6 12,12 10,14'/><polygon fill='%23174C36' points='12,12 18,12 20,14 20,26 18,28 12,28 10,26 10,14'/><path fill='none' stroke='%23FFFFFF' stroke-opacity='.28' stroke-width='.9' stroke-linecap='round' d='M12.4 13.2 11 14.6V25'/></g></svg>"); }
.gems--blue, .gem--blue { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 60'><g transform='translate(7.5 10)'><polygon fill='%23C6E4FC' points='8,0 22,0 20,6 10,6'/><polygon fill='%239DC8F2' points='22,0 30,8 24,10 20,6'/><polygon fill='%237FB4EB' points='30,8 30,32 24,30 24,10'/><polygon fill='%236BA7E6' points='30,32 22,40 20,34 24,30'/><polygon fill='%235A9BE2' points='22,40 8,40 10,34 20,34'/><polygon fill='%237AB1EA' points='8,40 0,32 6,30 10,34'/><polygon fill='%239BC7F2' points='0,32 0,8 6,10 6,30'/><polygon fill='%23B6D9F8' points='0,8 8,0 10,6 6,10'/><polygon fill='%235CA2EC' points='10,6 20,6 18,12 12,12'/><polygon fill='%234A8ED7' points='20,6 24,10 20,14 18,12'/><polygon fill='%233C7FC8' points='24,10 24,30 20,26 20,14'/><polygon fill='%233475BE' points='24,30 20,34 18,28 20,26'/><polygon fill='%232C6DB5' points='20,34 10,34 12,28 18,28'/><polygon fill='%233A7DC6' points='10,34 6,30 10,26 12,28'/><polygon fill='%23498DD6' points='6,30 6,10 10,14 10,26'/><polygon fill='%23559AE4' points='6,10 10,6 12,12 10,14'/><polygon fill='%231F5C96' points='12,12 18,12 20,14 20,26 18,28 12,28 10,26 10,14'/><path fill='none' stroke='%23FFFFFF' stroke-opacity='.28' stroke-width='.9' stroke-linecap='round' d='M12.4 13.2 11 14.6V25'/></g></svg>"); }
.gems--mint, .gem--mint { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 60'><g transform='translate(7.5 10)'><polygon fill='%234F8A73' points='8,0 22,0 20,6 10,6'/><polygon fill='%233C715D' points='22,0 30,8 24,10 20,6'/><polygon fill='%232F5F4C' points='30,8 30,32 24,30 24,10'/><polygon fill='%23265341' points='30,32 22,40 20,34 24,30'/><polygon fill='%231E4938' points='22,40 8,40 10,34 20,34'/><polygon fill='%232D5D4A' points='8,40 0,32 6,30 10,34'/><polygon fill='%233B705B' points='0,32 0,8 6,10 6,30'/><polygon fill='%2348806A' points='0,8 8,0 10,6 6,10'/><polygon fill='%23336F57' points='10,6 20,6 18,12 12,12'/><polygon fill='%23275946' points='20,6 24,10 20,14 18,12'/><polygon fill='%231F4939' points='24,10 24,30 20,26 20,14'/><polygon fill='%23193F30' points='24,30 20,34 18,28 20,26'/><polygon fill='%23143629' points='20,34 10,34 12,28 18,28'/><polygon fill='%231D4737' points='10,34 6,30 10,26 12,28'/><polygon fill='%23275845' points='6,30 6,10 10,14 10,26'/><polygon fill='%232E6650' points='6,10 10,6 12,12 10,14'/><polygon fill='%23D5E4E0' points='12,12 18,12 20,14 20,26 18,28 12,28 10,26 10,14'/><path fill='none' stroke='%23FFFFFF' stroke-opacity='.28' stroke-width='.9' stroke-linecap='round' d='M12.4 13.2 11 14.6V25'/></g></svg>"); }
.gems--green, .gem--green { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 60'><g transform='translate(7.5 10)'><polygon fill='%23F4FCF7' points='8,0 22,0 20,6 10,6'/><polygon fill='%23D6EEE1' points='22,0 30,8 24,10 20,6'/><polygon fill='%23C0E4D1' points='30,8 30,32 24,30 24,10'/><polygon fill='%23B2DDC6' points='30,32 22,40 20,34 24,30'/><polygon fill='%23A5D7BD' points='22,40 8,40 10,34 20,34'/><polygon fill='%23BDE2CE' points='8,40 0,32 6,30 10,34'/><polygon fill='%23D4EDE0' points='0,32 0,8 6,10 6,30'/><polygon fill='%23E8F6EE' points='0,8 8,0 10,6 6,10'/><polygon fill='%238CCFAE' points='10,6 20,6 18,12 12,12'/><polygon fill='%2374BA99' points='20,6 24,10 20,14 18,12'/><polygon fill='%2362AB89' points='24,10 24,30 20,26 20,14'/><polygon fill='%2356A17F' points='24,30 20,34 18,28 20,26'/><polygon fill='%234C9876' points='20,34 10,34 12,28 18,28'/><polygon fill='%235FA987' points='10,34 6,30 10,26 12,28'/><polygon fill='%2372B998' points='6,30 6,10 10,14 10,26'/><polygon fill='%2382C7A6' points='6,10 10,6 12,12 10,14'/><polygon fill='%235BAF88' points='12,12 18,12 20,14 20,26 18,28 12,28 10,26 10,14'/><path fill='none' stroke='%23FFFFFF' stroke-opacity='.28' stroke-width='.9' stroke-linecap='round' d='M12.4 13.2 11 14.6V25'/></g></svg>"); }
.gem { display: block; width: var(--gw, 45px); height: var(--gh, 60px); background-size: var(--gw, 45px) var(--gh, 60px); background-repeat: no-repeat; background-position: center; }

/* Botones */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.45rem; border-radius: var(--r-pill);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .4s var(--ease);
}
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(15,42,32,.4); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--green); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 1.2rem; font-size: .94rem; }
.btn--block { width: 100%; }

/* ===== Menú flotante: transparente arriba; al bajar se recoge en una cápsula verde de cristal ===== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 14px; pointer-events: none; animation: nav-in .9s var(--ease) both; }
.nav-bar {
  pointer-events: auto; position: relative; width: min(var(--wrap), 100% - 40px); height: 62px; margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 0 9px 0 4px;
  border-radius: 34px 34px 34px 10px; border: 1px solid transparent; background: transparent;
  transition: width .75s var(--ease), padding .6s var(--ease), background .5s var(--ease), border-color .5s, box-shadow .6s var(--ease);
}
.site-header.is-scrolled .nav-bar, .site-header.is-open .nav-bar {
  width: min(780px, 100% - 40px); padding: 0 9px 0 20px;
  background: rgba(23,76,54,.86); border-color: rgba(205,235,218,.24); box-shadow: 0 14px 34px -18px rgba(15,42,32,.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.4rem; letter-spacing: -.035em; line-height: 1; transition: color .4s; }
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: auto; transition: transform .6s var(--ease), filter .4s; }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.site-header.is-scrolled .brand, .site-header.is-open .brand { color: #fff; }
.brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo, .site-header.is-open .brand__logo { display: none; }
.site-header.is-scrolled .brand__logo--light, .site-header.is-open .brand__logo--light { display: block; }
.nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav a {
  padding: 8px 16px; border-radius: var(--r-pill); color: var(--ink-soft); font-weight: 600; font-size: .96rem; text-decoration: none;
  transition: color .25s, background .3s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(15,42,32,.07); }
.nav a.is-active { color: var(--ink); background: var(--mint-grey); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-toggle { display: none; position: relative; width: 42px; height: 42px; padding: 0; cursor: pointer; border: 1.5px solid rgba(15,42,32,.3); border-radius: 50%; background: transparent; transition: border-color .4s; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease), background .4s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.is-open .nav-toggle span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
.site-header.is-scrolled .nav-toggle, .site-header.is-open .nav-toggle { border-color: rgba(255,255,255,.5); }
.site-header.is-scrolled .nav-toggle span, .site-header.is-open .nav-toggle span { background: #fff; }
@media (min-width: 900px) {
  .site-header.is-scrolled .nav a { color: rgba(255,255,255,.8); }
  .site-header.is-scrolled .nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
  .site-header.is-scrolled .nav a.is-active { color: #fff; background: rgba(255,255,255,.2); }
  .site-header.is-scrolled .nav-cta { background: var(--mint); color: var(--ink); }
  .site-header.is-scrolled .nav-cta:hover { background: #fff; color: var(--ink); }
}

.crumbs { font-size: .85rem; }
.crumbs ol { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--ink-soft); }
.crumbs li + li::before { content: '›'; margin-right: 8px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ===== Mundo con scroll ===== */
.world { position: relative; }
.world__track { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stage); }

/* El video conserva su fondo original. El contenedor mantiene 16:9 (como el arte)
   y se centra: en pantallas más anchas recorta arriba/abajo, en más angostas deja
   franjas del mismo color. Sin máscaras: un mask-image sobre un <video> lo deja en blanco. */
.stage__media {
  position: absolute; top: 50%; left: max(0px, calc((100% - 1480px) / 2 - 24px)); width: min(78%, 1080px); aspect-ratio: 16 / 9;
  transform: translateY(-50%);
}
/* El video (1280x720) se muestra cerca de su tamaño real para no estirarlo; los bordes se funden con el fondo */
.stage__media::after {
  content: ''; position: absolute; inset: -1px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--stage) 0, rgba(233,247,238,0) 10%, rgba(233,247,238,0) 82%, var(--stage) 100%),
    linear-gradient(180deg, var(--stage) 0, rgba(233,247,238,0) 12%, rgba(233,247,238,0) 88%, var(--stage) 100%);
}
.stage__poster, .stage__video, .stage__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__poster { opacity: 0; }
.stage__poster:first-child { opacity: 1; }
.stage__video { opacity: 0; transition: opacity .4s; }
.world.has-video .stage__video { opacity: 1; }
.world.has-video .stage__poster { opacity: 0 !important; }
.stage__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(233,247,238,.7) 0, rgba(233,247,238,.4) 26%, rgba(233,247,238,0) 44%); }

.chapters { position: absolute; inset: 0; }
.chapter { position: absolute; inset: 0; display: flex; align-items: center; padding-top: var(--nav-h); will-change: opacity, transform; }
.chapter .wrap { width: min(var(--wrap), 100% - 40px); display: flex; justify-content: flex-end; }
.chapter__copy { width: min(500px, 36vw); min-width: 340px; }
.chapter h1 { font-size: clamp(2.4rem, 4.3vw, 4rem); }
.chapter h2 { font-size: clamp(1.95rem, 3.2vw, 2.85rem); }
.chapter .lead { color: #33493E; margin-bottom: 1.4rem; }
.chapter__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chapter .btn--ghost { background: rgba(255,255,255,.5); }
.chapter .btn--ghost:hover { background: var(--ink); }

/* Filas de características: cada ícono vive en un bloque de color de la marca */
.features { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid rgba(15,42,32,.16); }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(15,42,32,.16); }
.features .ic-wrap { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--forest); }
.features li:nth-child(2) .ic-wrap { background: var(--steel); }
.features li:nth-child(3) .ic-wrap { background: var(--green); color: var(--ink); }
.features strong { display: block; font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.features span:not(.ic-wrap) { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.4; }

/* Entrada escalonada del texto cuando la escena queda activa */
.js .chapter .rv { opacity: 0; transform: translateY(22px); filter: blur(8px); transition: opacity .3s, transform .3s, filter .3s; }
.js .chapter.is-on .rv { opacity: 1; transform: none; filter: none; transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
html:not(.js) .chapter:not(:first-child) { display: none; }

/* Navegación del recorrido */
.world__dots { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 5; }
.world__dot { position: relative; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(15,42,32,.5); background: transparent; padding: 0; cursor: pointer; transition: background .3s, box-shadow .4s var(--ease), border-color .3s; }
.world__dot::before { content: ''; position: absolute; inset: -8px; }
.world__dot:hover { border-color: var(--emerald); }
.world__dot.is-active { background: var(--forest); border-color: var(--forest); box-shadow: 0 0 0 4px rgba(23,76,54,.16); }
.world__progress { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(15,42,32,.08); z-index: 5; }
.world__progress span { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--green), var(--forest)); transform-origin: top; transform: scaleY(0); }
.world__hint {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 5;
  display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--ink);
  background: var(--mint); padding: 8px 16px; border-radius: var(--r-pill);
}
.world__hint .ic { animation: nudge 1.8s var(--ease) infinite; }

/* ===== Secciones ===== */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--bone-2); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
#planes { padding-bottom: clamp(56px, 7vw, 96px); }
.section__head { max-width: 680px; margin-bottom: 48px; }

/* Revelado al hacer scroll */
.js [data-rv] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rv].in { opacity: 1; transform: none; filter: none; }

/* Luz que sigue al cursor sobre los bloques */
[data-spot] { --mx: 50%; --my: 0%; position: relative; isolation: isolate; overflow: hidden; }
[data-spot]::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 60%);
  transition: opacity .4s;
}
[data-spot]:hover::before { opacity: 1; }

/* Planes: tres bloques de color, como en el tablero de marca */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: 36px 36px 36px 10px; padding: 34px 30px 30px; background: var(--mint-grey); color: var(--ink); transition: transform 1s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }

.plan h3 { color: inherit; }
.plan--featured { background: var(--forest); color: #fff; }
.plan--featured::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, var(--green) 86%, transparent 100%);
  -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: spin 6s linear infinite;
}
.plan--blue { background: var(--steel); color: #fff; }
.plan__tag { align-self: flex-start; background: var(--mint); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.plan__price { font-size: 2.5rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin: 8px 0 2px; color: inherit; }
.plan__price small { font-size: .95rem; font-weight: 600; letter-spacing: 0; opacity: .85; }
.plan__price--text { font-size: 2.1rem; }
.plan__price--text small { display: block; margin-top: 6px; font-size: .95rem; white-space: nowrap; }
.plan__for { margin-bottom: 20px; opacity: .9; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1.5px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.plan li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12.5 4.5 4.5L19 7.5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12.5 4.5 4.5L19 7.5'/></svg>") center / contain no-repeat;
}
.plan .btn--ghost { color: inherit; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.plan .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--featured .btn--primary { background: var(--mint); color: var(--ink); }
.plan--featured .btn--primary:hover { background: #fff; }
.plan--blue .btn--ghost:hover { background: #fff; color: var(--steel); border-color: #fff; }

/* Tarjetas que se voltean: frente = plan, reverso = casos de uso */
.flip { display: grid; perspective: 1600px; transition: transform 1s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.flip.in:hover { transform: translateY(-6px); }
.flip > .plan { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .85s var(--ease); }
.plan--back { transform: rotateY(-180deg); }
.flip.is-flipped > .plan--front { transform: rotateY(180deg); }
.flip.is-flipped > .plan--back { transform: rotateY(0); }
.flip:not(.is-flipped):hover > .plan--front { transform: rotateY(-6deg); }
.flip.in:not(.is-flipped) > .plan--front { animation: flip-hint 1.3s var(--ease) calc(1.4s + var(--i, 0) * .25s) 1; }

.plan--featured, .plan--back-b { border-radius: 36px 36px 10px 36px; }
.plan__top { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-bottom: 14px; padding-right: 52px; }
.plan__top h3 { margin: 0; font-size: 1.35rem; }
.plan__top .plan__tag { margin: 0; }
.plan__price { font-size: clamp(2.2rem, 3.4vw, 2.9rem); min-height: 4.4rem; display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; column-gap: 8px; }
.plan__for { min-height: 3.2em; }
.plan__price--text { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.plan__price--text small { flex-basis: 100%; margin-top: 4px; }
/* Mini conversación: cada plan muestra el tipo de mensaje que resuelve */
.demo { display: grid; align-content: center; gap: 8px; min-height: 132px; margin: 2px 0 22px; padding: 14px; border-radius: 22px; background: color-mix(in srgb, currentColor 8%, transparent); }
.b { max-width: 90%; padding: 9px 13px; font-size: .86rem; font-weight: 600; line-height: 1.3; border-radius: 16px; display: block; }
.b--in { justify-self: start; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; }
.b--out { justify-self: end; border-radius: 16px 16px 4px 16px; }
.demo--a .b--out { background: var(--forest); color: #fff; }
.demo--b .b--out { background: var(--mint); color: var(--ink); }
.demo--c .b--out { background: #fff; color: var(--steel); }
.chip2 { display: block; font-style: normal; margin-top: 6px; padding: 5px 10px; border-radius: 10px; background: rgba(15,42,32,.12); font-size: .76rem; font-weight: 700; }
.js .flip.in .b { animation: bubble .7s var(--ease) both; animation-delay: calc(.5s + var(--k, 0) * .45s + var(--i, 0) * .2s); }
.js .flip .b { opacity: 0; }
.plan--back-a { background: var(--mint-grey); color: var(--ink); }
.plan--back-b { background: var(--forest); color: #fff; }
.plan--back-c { background: var(--steel); color: #fff; }
.flip .plan { cursor: pointer; }
.flip .plan a, .flip .plan button { cursor: pointer; }
.plan--back h3 { font-size: 1.6rem; margin: 4px 0 26px; max-width: 11ch; padding-right: 48px; }
.plan--back ul { border-top: 0; padding-top: 0; gap: 20px; align-content: start; }
.plan--back li { gap: 14px; align-items: center; font-size: 1.04rem; line-height: 1.4; }
.plan--back li::before { content: none; }
.u-ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, currentColor 14%, transparent); }
.u-ic .ic { width: 22px; height: 22px; }
/* Esquina: la señal de que la tarjeta se puede girar (toda la tarjeta responde al clic) */
.flip__corner {
  position: absolute; top: 20px; right: 20px; z-index: 2; width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, currentColor 38%, transparent); border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.flip__corner:hover, .flip__corner:focus-visible { background: color-mix(in srgb, currentColor 14%, transparent); border-color: currentColor; }
.flip__corner .ic { transition: transform .7s var(--ease); }
.flip__corner:hover .ic, .flip .plan:hover .flip__corner .ic { transform: rotate(180deg); }
.flip.in:not(.is-flipped) > .plan--front .flip__corner { animation: ring 2.2s ease-out calc(2s + var(--i, 0) * .3s) 2; }

/* Tips: notitas cortas, ligeramente inclinadas, que se enderezan al pasar el cursor */
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; padding-bottom: 14px; }
.tip { position: relative; padding: 18px 20px 22px; border-radius: 26px 26px 26px 8px; transform: rotate(var(--rot, -1.2deg)); transition: transform .5s var(--ease); }
.tip:nth-child(2) { --rot: 1deg; margin-top: 14px; border-radius: 26px 26px 8px 26px; }
.tip:nth-child(3) { --rot: -.8deg; }
.tip:nth-child(4) { --rot: 1.3deg; margin-top: 10px; border-radius: 26px 26px 8px 26px; }
.tip:hover { transform: rotate(0deg) translateY(-6px); }
.tip__tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 4px 12px 4px 8px; border-radius: var(--r-pill); background: color-mix(in srgb, currentColor 16%, transparent); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.tip__tag .ic { animation: glow 3.2s ease-in-out infinite; }
.tip:nth-child(2) .tip__tag .ic { animation-delay: .6s; }
.tip:nth-child(3) .tip__tag .ic { animation-delay: 1.2s; }
.tip:nth-child(4) .tip__tag .ic { animation-delay: 1.8s; }
.tip h4 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.2; color: inherit; letter-spacing: -.015em; }
.tip p { margin: 0; font-size: .93rem; line-height: 1.45; opacity: .92; }
.tip--mint { background: var(--mint-grey); color: var(--ink); }
.tip--forest { background: var(--forest); color: #fff; }
.tip--steel { background: var(--steel); color: #fff; }
.tip--green { background: var(--green); color: var(--ink); }

/* WhatsApp Flows: tres teléfonos con un formulario de ejemplo */
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 44px 36px 40px; border-radius: 40px 40px 40px 12px; background: var(--mint-grey); align-items: start; }
.phone { margin: 0; justify-self: center; width: min(100%, 300px); }
.phone:nth-child(2) { margin-top: 36px; }
.phone figcaption { margin-top: 14px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.phone__frame { position: relative; height: 560px; border-radius: 40px; background: var(--ink); padding: 8px; overflow: hidden; }
.phone__peek { height: 30px; display: flex; justify-content: center; align-items: center; }
.phone__notch { width: 74px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.28); }
.fl-sheet { position: relative; height: calc(100% - 30px); display: flex; flex-direction: column; border-radius: 26px 26px 0 0; background: #F7F6F0; color: var(--ink); overflow: hidden; font-size: .78rem; }
.fl-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px; }
.fl-top b { font-size: .84rem; }
.fl-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(15,42,32,.07); }
.fl-ic .ic { width: 15px; height: 15px; }
.fl-body { flex: 1; display: grid; align-content: start; gap: 8px; padding: 4px 14px 0; }
.fl-body h4 { margin: 4px 0 6px; font-size: 1.12rem; line-height: 1.1; letter-spacing: -.02em; }
.fl-badge { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 4px; background: var(--forest); color: var(--mint); }
.fl-badge .ic { width: 28px; height: 28px; }
.fl-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border-radius: 12px; background: #fff; }
.fl-field b { font-size: .74rem; }
.fl-field span { color: var(--ink-soft); font-weight: 600; text-align: right; }
.fl-label { margin-top: 2px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.fl-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fl-chips--4 { grid-template-columns: repeat(4, 1fr); }
.fl-chip { font-style: normal; text-align: center; padding: 8px 0; border-radius: 10px; background: #fff; border: 1.5px solid rgba(15,42,32,.14); font-weight: 700; font-size: .72rem; animation: pick 6s ease-in-out infinite; animation-delay: calc(var(--k) * 2s); }
.fl-chips--4 .fl-chip { animation-duration: 8s; animation-delay: calc(var(--k) * 2s); }
.fl-radio { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #fff; font-weight: 600; }
.fl-radio .ic { color: var(--emerald); }
.fl-radio--off { opacity: .6; }
.fl-sum { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; }
.fl-sum b { display: block; font-size: .82rem; }
.fl-sum small { display: block; color: var(--ink-soft); font-weight: 600; font-size: .7rem; }
.fl-sumic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-grey); color: var(--forest); }
.fl-terms { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .68rem; font-weight: 600; color: var(--ink-soft); }
.fl-tick { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #fff; flex: none; }
.fl-foot { display: grid; gap: 8px; justify-items: center; padding: 12px 14px 14px; }
.fl-btn { display: block; width: 100%; text-align: center; padding: 12px 0; border-radius: 999px; background: var(--emerald); color: #fff; font-weight: 700; font-size: .84rem; }
.fl-btn--go { animation: btnpulse 4s ease-in-out infinite; }
.fl-foot small { display: inline-flex; align-items: center; gap: 5px; font-size: .62rem; font-weight: 600; color: var(--ink-soft); }
.fl-toast { position: absolute; left: 14px; right: 14px; bottom: 74px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem; opacity: 0; animation: toast 4s ease-in-out infinite; }
.fl-toast .ic { color: var(--mint); }
.flows__note { margin: 16px 0 0; text-align: center; color: var(--ink-soft); font-size: .9rem; }

/* Atención: bloques de color con chat, horario y estado en vivo */
.care { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: stretch; }
.care__side { display: grid; gap: 14px; grid-template-rows: auto 1fr; }
.care__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.care__main { background: var(--forest); color: #fff; border-radius: 36px 36px 36px 10px; padding: clamp(30px, 4.5vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.care__main h2 { color: #fff; }
.care__main .lead { color: var(--mint); }
.status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 10px 0 24px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--mint); color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.25; }
.status__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); animation: live 1.8s ease-out infinite; }
.status.is-off .status__dot { background: #8a8f86; animation: none; }
.care__chat { display: grid; gap: 8px; padding: 16px; border-radius: 24px; background: rgba(255,255,255,.08); }
.care__chat .b { font-size: .9rem; }
.care__chat .b--out { background: var(--mint); color: var(--ink); }
.care__hours { background: var(--mint-grey); color: var(--ink); border-radius: 36px 36px 10px 36px; padding: 28px 28px 26px; }
.care__hours h3 { margin-bottom: 14px; }
.care__hours p { margin: 16px 0 0; color: var(--ink-soft); }
.days { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.days li { flex: 1; aspect-ratio: 1; max-width: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .88rem; border: 1.5px solid rgba(15,42,32,.28); color: var(--ink-soft); transition: transform .4s var(--ease); }
.days li.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.days li.today { box-shadow: 0 0 0 3px var(--mint-grey), 0 0 0 5px var(--forest); transform: translateY(-3px); }
.timeline { margin-top: 18px; }
.timeline__bar { position: relative; display: block; height: 10px; border-radius: 10px; background: var(--forest); }
.now { position: absolute; top: 50%; left: var(--p, 0%); width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--green); transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(91,175,136,.6); animation: live 1.8s ease-out infinite; }
.timeline__t { display: flex; justify-content: space-between; margin-top: 8px; font-size: .8rem; }
.care__human { background: var(--steel); color: #fff; border-radius: 30px 30px 30px 10px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.care__human h3 { color: #fff; font-size: 1.1rem; margin: 6px 0 0; }
.care__human p { margin: 0; font-size: .92rem; opacity: .92; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.avatar img { width: 20px; height: auto; }
.care__wa { position: relative; background: var(--green); color: var(--ink); border-radius: 30px 30px 10px 30px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; text-decoration: none; font-weight: 700; transition: transform .5s var(--ease), background .25s; }
.care__wa b { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.care__wa:hover { background: var(--mint); color: var(--ink); transform: translateY(-4px); }
.care__go { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease); }
.care__wa:hover .care__go { transform: rotate(-45deg); }
.js .care .b { opacity: 0; }
.js .care__main.in .b { animation: bubble .7s var(--ease) both; animation-delay: calc(.6s + var(--k, 0) * .5s); }

/* Preguntas frecuentes: nubes de ideas que se responden en un chat */
.ask { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.cloud { display: flex; flex-wrap: wrap; gap: 12px 10px; align-content: flex-start; padding: 6px 0; }
.q {
  font: inherit; font-weight: 700; font-size: .96rem; line-height: 1.2; cursor: pointer; min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: 26px 26px 26px 8px; transform: rotate(var(--r, 0deg));
  animation: float 6s ease-in-out infinite; animation-delay: var(--f, 0s);
  transition: background .25s, color .25s, border-color .25s, box-shadow .3s;
}
.q:nth-child(3n) { border-radius: 26px 26px 8px 26px; }
.q:nth-child(4n) { border-radius: 8px 26px 26px 26px; }
.q--lg { font-size: 1.1rem; padding: 14px 26px; }
.q--sm { font-size: .88rem; padding: 8px 16px; }
.q--mint { background: var(--mint-grey); color: var(--ink); }
.q--forest { background: var(--forest); color: #fff; }
.q--steel { background: var(--steel); color: #fff; }
.q--green { background: var(--green); color: var(--ink); }
.q--white { background: #fff; color: var(--ink); border-color: var(--line); }
.q:hover { animation-play-state: paused; border-color: var(--ink); }
.q[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--bone-2), 0 0 0 5px var(--ink); animation-play-state: paused; }
.chat { position: sticky; top: calc(var(--nav-h) + 12px); display: flex; flex-direction: column; height: 460px; border-radius: 32px 32px 32px 10px; overflow: hidden; background: #fff; border: 1.5px solid var(--line); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--forest); color: #fff; font-weight: 700; letter-spacing: -.02em; }
.chat__head img { width: 22px; height: auto; }
.chat__on { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(205,235,218,.25); }
.chat__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; background: var(--bone); scroll-behavior: smooth; }
.m { margin: 0; max-width: 88%; padding: 11px 15px; font-size: .95rem; font-weight: 600; line-height: 1.4; animation: bubble .45s var(--ease) both; }
.m--bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 18px 18px 18px 5px; }
.m--me { align-self: flex-end; background: var(--forest); color: #fff; border-radius: 18px 18px 5px 18px; }
.m--typing { display: flex; gap: 6px; padding: 14px 16px; }
.m--typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); animation: bounce 1.2s ease-in-out infinite; }
.m--typing i:nth-child(2) { animation-delay: .15s; }
.m--typing i:nth-child(3) { animation-delay: .3s; }
.m a { color: var(--steel); }
/* Respuestas: viven en el HTML (SEO y sin JavaScript) y el chat las muestra */
.js .answers { display: none; }
html:not(.js) .ask { display: none; }
.answers { margin-top: 40px; display: grid; gap: 22px; max-width: 70ch; }
.answers h3 { font-size: 1.1rem; margin-bottom: .3em; }
.answers p { color: var(--ink-soft); margin: 0; }

/* CTA final: la composición del tablero de marca (lema + bloques con gemas) */
.final__band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.final h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); margin-bottom: .4em; }
.final p { max-width: 44ch; color: var(--ink-soft); }
.final .btn { margin-top: .6rem; }
.cluster { --g: 14px; display: grid; grid-template-columns: 1.25fr 1fr 84px; gap: var(--g); width: min(100%, 480px); height: 420px; justify-self: end; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
/* La cinta es una conversación hecha con tarjetas de la marca: sube como mensajes nuevos que llegan */
.track { display: flex; flex-direction: column; animation: climb var(--d, 40s) linear infinite; animation-delay: var(--o, 0s); will-change: transform; }
.t { position: relative; flex: none; margin-bottom: var(--g); border-radius: var(--r-lg); overflow: hidden; }
.t p { margin: 0; max-width: none; color: inherit; }
.t--in, .t--out { padding: 14px 16px 10px; font-size: .94rem; font-weight: 600; line-height: 1.3; }
.t--in { background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 22px 22px 22px 6px; }
.t--out { background: var(--forest); color: #fff; border-radius: 22px 22px 6px 22px; }
.meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 6px; font-size: .7rem; font-weight: 600; opacity: .7; }
.t--out .meta .ic { color: var(--mint); }
.chip { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.14); font-size: .8rem; font-weight: 700; }
.ic--xs { width: 14px; height: 14px; stroke-width: 2.4; }
.t--flow { padding: 16px; background: var(--mint-grey); color: var(--ink); display: grid; gap: 10px; }
.t--flow b { font-size: .98rem; letter-spacing: -.01em; }
.opts { display: flex; gap: 6px; }
.opt { flex: 1; font-style: normal; text-align: center; padding: 7px 0; border-radius: var(--r-pill); border: 1.5px solid rgba(15,42,32,.3); font-size: .78rem; font-weight: 700; animation: pick 5.4s ease-in-out infinite; animation-delay: calc(var(--k) * 1.8s); }
.fbtn { display: block; text-align: center; padding: 9px; border-radius: var(--r-pill); background: var(--forest); color: #fff; font-size: .8rem; font-weight: 700; }
.t--green { background: var(--green); padding: 28px 0; display: grid; place-items: center; }
.typing { display: flex; gap: 7px; padding: 15px 20px; border-radius: 24px 24px 24px 6px; background: rgba(255,255,255,.92); }
.typing i { width: 9px; height: 9px; border-radius: 50%; background: var(--forest); animation: bounce 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
/* Ola de gemas: la notificación recorre la rejilla en diagonal */
.t--ai { background: var(--steel); color: #fff; padding: 14px 16px; border-radius: 22px 22px 6px 22px; display: grid; gap: 8px; font-size: .94rem; font-weight: 600; line-height: 1.3; }
.ai__tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.18); font-size: .7rem; font-weight: 700; }
.t--rate { background: var(--steel-soft); color: var(--ink); padding: 16px; display: grid; gap: 12px; }
.t--rate b, .t--steps b { font-size: .98rem; letter-spacing: -.01em; }
.stars { display: flex; gap: 6px; }
.star { flex: 1; font-style: normal; text-align: center; padding: 7px 0; border-radius: 50%; border: 1.5px solid rgba(15,42,32,.3); font-size: .78rem; font-weight: 700; animation: pick5 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.2s); }
.t--steps { background: var(--mint); color: var(--ink); padding: 16px; display: grid; gap: 12px; }
.t--steps small { font-size: .7rem; font-weight: 700; opacity: .75; }
.track2 { position: relative; display: flex; justify-content: space-between; }
.track2::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(15,42,32,.2); border-radius: 3px; }
.track2::after { content: ''; position: absolute; left: 6px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--forest); border-radius: 3px; animation: progress 5s ease-in-out infinite; }
.track2 i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--forest); }
/* Ola de gemas */
.t--wave { background: var(--steel); display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 8px; }
.t--wave .gem { --gw: 100%; --gh: auto; width: 100%; height: auto; aspect-ratio: 3 / 4; background-size: 100% 100%; animation: wave 2.6s ease-in-out infinite; animation-delay: calc(var(--w) * .2s); }
.t--promo { background: var(--steel); color: #fff; padding: 18px 16px; display: grid; gap: 12px; justify-items: start; }
.t--promo p { font-weight: 700; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.01em; }
.promo__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.pill { white-space: nowrap; padding: 7px 16px; border-radius: var(--r-pill); background: #fff; color: var(--steel); font-size: .8rem; font-weight: 700; }
.t--tick { background: var(--mint-grey); display: grid; place-items: center; padding: 22px 0 26px; }
.t .gem { flex: none; }
.gem.big { --gw: 66px; --gh: 88px; animation: breathe 3.2s ease-in-out infinite; }
.badge { position: absolute; right: 12px; bottom: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--mint); }
.t--stack { background: var(--forest); display: grid; justify-items: center; padding: 10px 0; }
.t--stack .gem { --gw: 52px; --gh: 70px; animation: wave 2.6s ease-in-out infinite; animation-delay: calc(var(--w) * .3s); }
.t--done { background: var(--green); color: var(--ink); display: grid; place-items: center; padding: 22px 0; }
.t--done .ic { width: 38px; height: 38px; stroke-width: 2.2; }
.js .cluster[data-rv] { opacity: 1; transform: none; filter: none; }
.js .cluster .col { opacity: 0; transform: translateY(80px); }
.js .cluster.in .col { animation: rise .9s var(--ease) both; animation-delay: calc(var(--n, 0) * .25s + .1s); }

.site-footer { padding: 64px 0 110px; background: var(--ink); color: #C9DBD0; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration-color: transparent; transition: color .25s, text-decoration-color .25s; }
.site-footer a:hover { color: var(--mint); text-decoration-color: currentColor; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-tag { margin-top: 14px; max-width: 34ch; }
.site-footer h2 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand { color: #fff; }
.copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(205,235,218,.2); font-size: .86rem; }

/* CTA fijo solo móvil */
.mobile-cta { display: none; }

/* Páginas simples (404 / privacidad) */
.page { padding: 20px 0 80px; min-height: 70vh; }
.page .wrap { max-width: 800px; }
.page h2 { font-size: 1.6rem; margin-top: 1.8em; }
.page h3 { margin-top: 1.2em; }
.notfound { text-align: center; padding-top: 150px; }
.notfound .gems { margin: 0 auto 8px; width: 108px; height: 64px; --gw: 36px; --gh: 64px; }
.notfound__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: var(--emerald); letter-spacing: -.06em; }
.notfound .lead { margin-inline: auto; }
.links-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ===== Animaciones ===== */
@keyframes nav-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); opacity: .6; } 50% { transform: translateY(3px); opacity: 1; } }
@keyframes spin { to { --ang: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(70px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-7px); opacity: 1; } }
@keyframes climb { to { transform: translateY(-50%); } }
@keyframes flip-hint { 0%, 100% { transform: rotateY(0); } 35% { transform: rotateY(-16deg); } 65% { transform: rotateY(5deg); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes pick { 0%, 30% { background: var(--forest); border-color: var(--forest); color: #fff; } 36%, 100% { background: transparent; border-color: rgba(15,42,32,.3); color: var(--ink); } }
@keyframes wave { 0%, 100% { transform: scale(1); filter: brightness(1); } 40% { transform: scale(1.14); filter: brightness(1.45); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes bubble { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pick5 { 0%, 17% { background: var(--forest); border-color: var(--forest); color: #fff; } 22%, 100% { background: transparent; border-color: rgba(15,42,32,.3); color: var(--ink); } }
@keyframes progress { 0% { width: 0; } 70%, 100% { width: calc(100% - 12px); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(23,112,77,.5); } 80%, 100% { box-shadow: 0 0 0 12px rgba(23,112,77,0); } }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22) rotate(-8deg); } }
@keyframes btnpulse { 0%, 55%, 100% { transform: scale(1); } 65% { transform: scale(.96); } 75% { transform: scale(1); } }
@keyframes toast { 0%, 62% { opacity: 0; transform: translateY(10px); } 72%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ===== Responsive ===== */
@media (max-height: 780px) and (min-width: 900px) {
  .chapter .lead { font-size: 1rem; margin-bottom: 1rem; }
  .features { margin-top: 1.4rem; }
  .features li { padding: 9px 0; }
  .features span:not(.ic-wrap) { display: none; }
  .chapter h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
}

@media (max-width: 1099px) and (min-width: 900px) {
  .chapter .wrap { width: calc(100% - 40px); }
  .chapter__copy { width: 35vw; min-width: 320px; }
  .world__dots { right: 12px; }
  .nav a { padding: 8px 12px; }
}

@media (max-width: 899px) {
  :root { --nav-h: 80px; }
  .nav-bar { grid-template-columns: 1fr auto; padding: 0 9px 0 18px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    border-radius: 26px; background: #F2F0E6; border: 1px solid rgba(15,42,32,.16);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { padding: 15px 16px; font-size: 1.08rem; border-radius: 18px; }

  .stage__media { top: 0; left: 0; width: 100%; transform: none; height: 66svh; aspect-ratio: auto; scale: 1; }
  .stage__media::after { display: none; }
  .stage__poster, .stage__video video { object-position: 24% 50%; }
  .stage__veil { background: linear-gradient(180deg, rgba(233,247,238,0) 0, rgba(233,247,238,0) 42%, rgba(233,247,238,.92) 68%, var(--stage) 100%); }
  .chapter { align-items: flex-end; padding: 0 0 calc(92px + env(safe-area-inset-bottom)); overflow: hidden; }
  .chapter .wrap { width: calc(100% - 40px); justify-content: flex-start; }
  .chapter__copy { width: 100%; min-width: 0; }
  .chapter h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .chapter h2 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
  .chapter .lead { font-size: 1rem; margin-bottom: 1rem; }
  .chapter__cta .btn--primary { display: none; }
  .chapter__cta .btn { min-height: 46px; }
  .features { display: none; }
  .world__dots { right: 10px; gap: 18px; }
  .world__hint { display: none; }

  .plans, .care, .footer-grid, .final__band, .ask { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr 1fr; }
  .tip, .tip:nth-child(n) { margin-top: 0; }
  .chat { position: static; height: 400px; }
  .plans { align-items: stretch; }
  .plan__price, .plan__for { min-height: 0; }

  .cluster { justify-self: stretch; height: 380px; width: calc(100% + 20px); margin-right: -20px;
    grid-template-columns: calc((100% - 28px) * .45) calc((100% - 28px) * .30) 104px; }
  .track { animation-duration: var(--dm, var(--d, 36s)); }
  .t--in, .t--out { font-size: .82rem; padding: 12px 12px 8px; }
  .chip { font-size: .72rem; }
  .t--flow { padding: 12px; }
  .t--flow b { font-size: .86rem; }
  .opt { font-size: .68rem; padding: 6px 0; }
  .t--promo p { font-size: .9rem; }
  .pill { padding: 6px 12px; font-size: .74rem; }
  .t--ai { font-size: .82rem; padding: 12px; }
  .t--rate, .t--steps { padding: 12px; }
  .t--rate b, .t--steps b { font-size: .86rem; }
  .star { font-size: .68rem; padding: 5px 0; }
  .gem.big { --gw: 58px; --gh: 77px; }
  .t--stack .gem { --gw: 46px; --gh: 61px; }
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    min-height: 54px; border-radius: var(--r-pill); background: var(--forest); color: #fff; font-weight: 700; font-size: 1.05rem;
    align-items: center; justify-content: center; text-decoration: none; gap: 8px; border: 1.5px solid rgba(255,255,255,.35);
  }
  .mobile-cta:hover { background: var(--ink); color: #fff; }
}
@media (max-width: 899px) { .flows { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 20px; -webkit-overflow-scrolling: touch; } .phone { flex: none; width: 250px; scroll-snap-align: center; } .phone:nth-child(2) { margin-top: 0; } .phone__frame { height: 500px; } }
@media (max-width: 639px) { .nav-cta { display: none; } .tips { grid-template-columns: 1fr; } .care__row { grid-template-columns: 1fr; } .care__wa { min-height: 150px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .chapter .rv, .js [data-rv], .js .cluster .col, .js .flip .b, .js .care .b { opacity: 1; transform: none; filter: none; }
}
