/* =========================================================
   Lanza — estilos
   1. Tokens  2. Base  3. Botones  4. Splash  5. Encabezado
   6. Portada  7. Secciones  8. Ventajas  9. Demostración
   10. Proceso  11. Inversión  12. Cierre y pie  13. Reveals
   ========================================================= */

/* 1. Tokens */
:root {
  --cream: #F5EEE2;
  --cream-2: #EDE3D2;
  --paper: #FFFDF9;
  --coffee: #241917;
  --coffee-2: #1A1210;
  --brown: #8B5A2B;
  --yellow: #F0B90B;
  --yellow-soft: #FBF1CF;
  --yellow-pale: #FDF8E8;
  --ink: #241917;
  --mute: #6E625B;
  --line: rgba(36, 25, 23, 0.12);
  --shadow: 0 1px 2px rgba(36, 25, 23, .05), 0 18px 40px -18px rgba(36, 25, 23, .22);
  --radius: 22px;
  --nav-h: 72px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--yellow); color: var(--coffee); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--yellow); border-radius: 2px; }
.h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; max-width: 22ch; text-wrap: balance; }
.lead { color: var(--mute); font-size: clamp(16px, 1.6vw, 18px); max-width: 58ch; }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em;
  background: var(--yellow); border-radius: 6px; z-index: -1;
  transform-origin: left; transform: scaleX(var(--hl, 1));
  transition: transform 1s var(--ease) .9s;
}
.hero__title .hl { isolation: isolate; }

/* 3. Botones */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--yellow); color: var(--coffee);
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(240, 185, 11, .8);
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn:hover { background: #F6C52A; box-shadow: 0 16px 30px -12px rgba(240, 185, 11, .95); }
.btn:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform .3s var(--ease); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--xl { padding: 18px 30px; font-size: 17px; width: 100%; max-width: 420px; }
.btn--block { width: 100%; margin-top: 22px; }
.link-soft, .link-light {
  font-weight: 500; font-size: 15px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-soft { color: var(--mute); }
.link-soft:hover, .link-light:hover { background-size: 100% 1.5px; }
.link-light { color: rgba(245, 238, 226, .75); }

/* 4. Splash (doble red de seguridad: CSS a 4.5s + JS) */
.splash {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--cream);
  animation: splashSafety .01s 4.5s forwards;
  transition: opacity .6s var(--ease), visibility .6s;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash__logo { width: 88px; height: 75px; animation: splashPop .9s var(--ease) both; }
@keyframes splashPop {
  0% { transform: scale(.6) translateY(20px); opacity: 0; }
  60% { transform: scale(1.05) translateY(-6px); opacity: 1; }
  100% { transform: none; }
}

/* 5. Encabezado */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(245, 238, 226, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: var(--cream); } }
.nav.is-scrolled { box-shadow: 0 10px 30px -20px rgba(36, 25, 23, .35); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; width: min(1160px, 100% - 32px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 34px; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-4deg); }
.brand__name { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--mute);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(36, 25, 23, .05); }
.nav__links a.is-current { color: var(--ink); background: var(--yellow-soft); }
.nav__toggle { display: none; }
.nav__sheet { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { gap: 10px; }
  .nav__inner .btn--sm { padding: 9px 14px; font-size: 13px; }
  .nav__toggle {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 18px;
  }
  .nav__sheet {
    display: grid; gap: 2px; padding: 0 16px; max-height: 0; overflow: hidden;
    transition: max-height .45s var(--ease), padding .45s var(--ease);
  }
  .nav.is-open .nav__sheet { max-height: 320px; padding: 6px 16px 18px; }
  .nav__sheet a { padding: 14px 4px; font-weight: 600; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .nav .brand__name { font-size: 20px; }
  .nav .brand__mark { width: 36px; height: 31px; }
  .nav__inner .btn--sm { padding: 9px 12px; font-size: 12.5px; }
}
@media (max-width: 350px) { .nav .brand__name { display: none; } }

/* 6. Portada */
.hero {
  position: relative; overflow: clip;
  padding: calc(var(--nav-h) + clamp(56px, 10vw, 120px)) 0 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero__glow {
  --gx: 78%; --gy: 8%;
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 420px at var(--gx) var(--gy), rgba(240, 185, 11, .30), transparent 70%),
    radial-gradient(600px 380px at 10% 95%, rgba(139, 90, 43, .10), transparent 70%);
  transition: background-position .2s;
}
.hero__inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.hero__title {
  font-size: clamp(34px, 6.6vw, 80px); font-weight: 800; line-height: 1.06;
  max-width: 17ch; text-wrap: balance; letter-spacing: -0.035em;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__sub { color: var(--mute); font-size: clamp(16px, 1.8vw, 20px); max-width: 52ch; }
.hero__cta { display: grid; justify-items: center; gap: 16px; width: 100%; margin-top: 6px; }

.ticker {
  position: relative; margin-top: clamp(56px, 9vw, 110px);
  border-top: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 28px; padding: 22px 14px;
  font-weight: 600; font-size: clamp(18px, 2.2vw, 26px); color: rgba(36, 25, 23, .32); white-space: nowrap;
}
.ticker span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); margin-left: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 7. Secciones */
.section { padding: clamp(80px, 11vw, 140px) 0; border-bottom: 1px solid var(--line); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { justify-items: center; text-align: center; }
.section__head--center .h2 { max-width: 20ch; }

/* 8. Ventajas */
.perks { display: grid; grid-template-columns: 1fr; }
.perk {
  position: relative; display: grid; gap: 10px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.perk__ico {
  width: 34px; height: 34px; fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 8px; transition: transform .5s var(--ease);
}
.perk h3 { font-size: 21px; font-weight: 700; }
.perk p { color: var(--mute); max-width: 38ch; }
@media (min-width: 760px) {
  .perks { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
  .perk { padding: 40px 34px; border-top: 0; border-left: 1px solid var(--line); }
  .perk:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .perk:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .perk::before {
    content: ""; position: absolute; inset: 0; background: radial-gradient(260px 200px at var(--px, 50%) var(--py, 50%), rgba(240, 185, 11, .16), transparent 70%);
    opacity: 0; transition: opacity .4s; pointer-events: none;
  }
  .perk:hover::before { opacity: 1; }
  .perk:hover .perk__ico { transform: translateY(-4px) rotate(-6deg); }
}

/* 9. Demostración */
.demo { background: linear-gradient(var(--cream), var(--cream-2)); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.tab {
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 600 15px/1.2 var(--font);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.tab:hover { transform: translateY(-2px); border-color: rgba(36, 25, 23, .25); }
.tab.is-active { background: var(--yellow); border-color: var(--yellow); }

.browser {
  --rx: 0deg; --ry: 0deg;
  max-width: 980px; margin-inline: auto;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 4px rgba(36, 25, 23, .05), 0 50px 90px -40px rgba(36, 25, 23, .45);
  border: 1px solid var(--line);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease);
}
.browser__bar {
  display: flex; align-items: center; gap: 16px; padding: 12px 16px;
  background: #F3EEE6; border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #D7CFC4; }
.browser__url {
  flex: 1; max-width: 360px; margin-inline: auto; transform: translateX(-26px);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.browser__url .ico { width: 14px; height: 14px; color: #3C9A5F; }
.browser__screen { height: clamp(520px, 72vh, 660px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

/* Ejemplos de la demostración: cada uno es una mini página real.
   El ancho del marco manda (container queries), no el de la ventana. */
.browser__screen { container-type: inline-size; }

.site {
  --acc: #C4532D; --acc-ink: #fff; --acc-soft: #FBE9E1; --bg: #FFF8F1; --ink2: #2A1E1A; --mute2: #74665F;
  background: var(--bg); color: var(--ink2); font-size: 14px; line-height: 1.55;
  animation: siteIn .55s var(--ease) both;
}
.site[hidden] { display: none; }
@keyframes siteIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.site--hotel { --acc: #1F6F6B; --acc-soft: #DDEFEC; --bg: #F5F9F8; --ink2: #15302E; --mute2: #5E7472; }
.site--salon { --acc: #B4436C; --acc-soft: #F8E1EA; --bg: #FDF6F8; --ink2: #33161F; --mute2: #7A6068; }
.site--serv  { --acc: #2457C5; --acc-soft: #E1E9FA; --bg: #F5F7FC; --ink2: #141D33; --mute2: #5D6680; }

/* 1. Barra */
.s-nav {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.s-logo { display: flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.s-logo i {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--acc); color: var(--acc-ink); font-style: normal; font-weight: 800; font-size: 14px;
}
.s-menu { display: none; gap: 18px; color: var(--mute2); font-size: 13px; font-weight: 500; }
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; white-space: nowrap;
  background: var(--acc); color: var(--acc-ink); box-shadow: 0 10px 20px -12px var(--acc);
}
.s-btn .ico { width: 16px; height: 16px; }
.s-btn--sm { padding: 8px 14px; font-size: 12px; }
.s-btn--ghost { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .45); }
.s-btn--wa { background: #22A852; color: #fff; box-shadow: 0 10px 20px -12px #22A852; }
.s-btn--line { background: #fff; color: var(--ink2); border: 1px solid rgba(0, 0, 0, .12); box-shadow: none; }

/* 2. Portada */
.s-hero { padding: 12px; }
.s-hero__img {
  position: relative; display: grid; align-content: end; gap: 10px; min-height: 330px;
  padding: 26px 22px; border-radius: 20px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, rgba(10, 8, 6, .05) 20%, rgba(10, 8, 6, .82)), var(--img) center / cover, #3a2a24;
}
.s-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.s-chip .ico { width: 13px; height: 13px; }
.s-hero h3 { font-size: clamp(26px, 8cqi, 40px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; max-width: 14ch; }
.s-hero p { font-size: 14.5px; opacity: .9; max-width: 34ch; }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* Bloques */
.s-sec { padding: 30px 20px 6px; display: grid; gap: 16px; }
.s-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.s-head h4 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.s-head span { font-size: 12px; font-weight: 600; color: var(--acc); white-space: nowrap; }
.s-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 4px; }

/* 3. Oferta */
.s-offer { display: grid; gap: 10px; }
.s-item {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start;
  padding: 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -18px rgba(0, 0, 0, .3);
}
.s-item b { font-size: 15px; font-weight: 600; }
.s-item small { grid-column: 1; color: var(--mute2); font-size: 12.5px; }
.s-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-weight: 700; font-size: 15px; color: var(--ink2); white-space: nowrap; }
.s-price em { display: block; font-style: normal; font-weight: 500; font-size: 11px; color: var(--mute2); }
.s-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-size: 10.5px; font-weight: 600; vertical-align: 2px; }
.s-amen { display: flex; flex-wrap: wrap; gap: 8px; }
.s-amen span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-size: 12px; font-weight: 600; }
.s-amen .ico { width: 14px; height: 14px; }

/* 4. Galería */
.s-gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 250px; }
.s-gallery figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--acc-soft); }
.s-gallery figure:first-child { grid-row: 1 / span 2; }
.s-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.s-gallery figure:hover img { transform: scale(1.06); }
.s-gallery figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink2); font-size: 11px; font-weight: 600;
}

/* 5. Reseñas */
.s-reviews { display: grid; gap: 10px; }
.s-review { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -18px rgba(0, 0, 0, .3); }
.s-review p { font-size: 13.5px; }
.s-who { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; }
.s-who i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); font-style: normal; font-size: 11px; font-weight: 700; }
.s-who small { display: block; font-weight: 400; color: var(--mute2); font-size: 11.5px; }
.site .stars { display: flex; gap: 2px; }
.site .stars svg { width: 14px; height: 14px; fill: #F0B90B; }

/* 6. Horarios y ubicación */
.s-info { display: grid; gap: 10px; }
.s-box { display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -18px rgba(0, 0, 0, .3); font-size: 13px; }
.s-box h5 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.s-box h5 .ico { color: var(--acc); width: 17px; height: 17px; }
.s-hours { display: grid; gap: 4px; }
.s-hours div { display: flex; justify-content: space-between; gap: 10px; color: var(--mute2); }
.s-hours b { color: var(--ink2); font-weight: 600; }
.s-map {
  position: relative; height: 84px; margin-top: 4px; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, .9) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 58%, rgba(255, 255, 255, .9) 58% 64%, transparent 64%),
    linear-gradient(25deg, transparent 70%, rgba(255, 255, 255, .7) 70% 74%, transparent 74%),
    var(--acc-soft);
}
.s-map::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -16px 0 0 -8px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--acc);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 25%, transparent);
}

/* 7. Cierre del ejemplo */
.s-cta {
  margin: 26px 12px 0; padding: 26px 20px; border-radius: 20px; display: grid; gap: 14px; text-align: center; justify-items: center;
  background: var(--ink2); color: #fff;
}
.s-cta h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 18ch; }
.s-cta p { font-size: 13.5px; opacity: .75; }
.s-cta__btns { display: grid; gap: 8px; width: 100%; max-width: 320px; }
.s-cta .s-btn { padding: 13px 18px; font-size: 14px; }
.s-foot { display: flex; justify-content: space-between; gap: 10px; padding: 18px 20px 20px; font-size: 11.5px; color: var(--mute2); }

@container (min-width: 560px) {
  .s-menu { display: flex; }
  .s-nav { padding: 14px 24px; }
  .s-hero { padding: 14px; }
  .s-hero__img { min-height: 360px; padding: 34px; }
  .s-sec { padding: 40px 30px 6px; }
  .s-offer { grid-template-columns: 1fr 1fr; }
  .s-gallery { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr; height: 220px; }
  .s-gallery figure:first-child { grid-row: auto; }
  .s-reviews, .s-info { grid-template-columns: 1fr 1fr; }
  .s-cta { margin: 34px 14px 0; padding: 34px; }
  .s-cta__btns { grid-template-columns: 1fr 1fr; max-width: 420px; }
  .s-foot { padding: 20px 30px 24px; }
}

@media (max-width: 560px) {
  .browser__url { transform: none; }
  .browser__screen { height: 580px; }
}
.demo__note { margin-top: 22px; text-align: center; font-size: 13px; color: var(--mute); }


/* 10. Proceso */
.process { display: grid; gap: 20px; }
@media (min-width: 960px) {
  .process { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .process__head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
}
.steps { position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--yellow); transform-origin: top; transform: scaleY(var(--progress, 0));
  opacity: .9;
}
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 0 26px; align-items: start;
  padding: 34px 0 34px 26px; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: clamp(42px, 6vw, 64px); font-weight: 800; line-height: .9; color: var(--yellow);
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 21px; font-weight: 700; margin: 4px 0 8px; }
.step p { color: var(--mute); max-width: 46ch; }

/* 11. Inversión */
.plans { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; align-items: stretch; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  --rx: 0deg; --ry: 0deg;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border-radius: var(--radius);
  border: 1.5px solid var(--line); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { box-shadow: 0 1px 2px rgba(36, 25, 23, .05), 0 36px 60px -26px rgba(36, 25, 23, .32); }
.plan--featured { border: 3px solid var(--yellow); }
.plan__top { display: grid; gap: 10px; padding: 32px 30px 28px; }
.plan__bottom { flex: 1; display: grid; align-content: start; gap: 8px; padding: 26px 30px 32px; background: var(--yellow-pale); border-top: 1px solid rgba(240, 185, 11, .3); }
.plan h3 { font-size: 19px; font-weight: 600; }
.plan__label { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.pill { padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--coffee); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.plan__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px;
  font-size: clamp(44px, 6.4vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.plan__price .cur { font-size: .55em; align-self: flex-start; margin-top: .12em; }
.plan__price .per { font-size: 17px; font-weight: 500; color: var(--mute); letter-spacing: 0; margin-left: 8px; }
.plan__price--sm { font-size: clamp(34px, 4.6vw, 44px); }
.plan__note { color: var(--mute); font-size: 14.5px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.checks { display: grid; gap: 12px; margin-top: 6px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ico { color: var(--coffee); background: var(--yellow); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 3; margin-top: 1px; }

/* 12. Cierre y pie */
.closing {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(96px, 14vw, 170px) 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(240, 185, 11, .16), transparent 70%), var(--coffee);
  color: var(--cream);
}
.closing__mark {
  --mark-bg: transparent; --mark-fg: rgba(245, 238, 226, .07);
  position: absolute; right: -8vw; bottom: -12vw; width: min(58vw, 620px); opacity: .9; pointer-events: none;
}
.closing__mark { --mark-accent: rgba(240, 185, 11, .16); }
.closing__inner { position: relative; display: grid; justify-items: center; gap: 24px; }
.closing__title { font-size: clamp(32px, 5.6vw, 66px); font-weight: 800; max-width: 18ch; letter-spacing: -0.035em; text-wrap: balance; }
.closing__sub { color: rgba(245, 238, 226, .68); font-size: clamp(16px, 1.7vw, 19px); max-width: 50ch; }
.closing__cta { display: grid; justify-items: center; gap: 18px; width: 100%; margin-top: 10px; }

.footer { background: var(--coffee-2); color: rgba(245, 238, 226, .65); font-size: 14px; border-top: 1px solid rgba(245, 238, 226, .08); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 28px 0; }
.brand--light { color: var(--cream); margin-right: 0; --mark-bg: transparent; --mark-fg: var(--cream); }
.brand--light .brand__mark { width: 34px; height: 29px; }
.brand--light .brand__name { font-size: 19px; }
@media (max-width: 560px) { .footer__inner { flex-direction: column; text-align: center; } }

/* 13. Reveals — contenido primero: si el JS falla todo queda visible */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.js .hero__title .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + .15s); }
.js .hero__title.is-in .w > span { transform: none; }
.js .hero__title[data-done] .hl { --hl: 0; }
.js .hero__title[data-done].is-in .hl { --hl: 1; }
