/* ============================================================
   UMBRAL — La hora azul
   Sistema cinematográfico: noche panameña, luz de farola ámbar,
   escenas numeradas, tipografía de cartel condensada.
   ============================================================ */

:root {
  --night: #06080c;
  --night-2: #0b0f16;
  --night-3: #121826;
  --fog: #ece8e1;
  --fog-dim: rgba(236, 232, 225, 0.72);
  --fog-mute: rgba(236, 232, 225, 0.56);
  --line: rgba(236, 232, 225, 0.14);
  --line-strong: rgba(236, 232, 225, 0.28);
  --amber: #f4a259;
  --amber-hot: #ffbf80;
  --amber-ink: #8a4410;
  --paper: #ece6da;
  --paper-2: #e0d8c8;
  --ink: #0b0f16;
  --ink-soft: #3a3f4a;

  --f-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(96px, 14vw, 200px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cine: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--fog);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: normal; }
::selection { background: var(--amber); color: var(--ink); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Grano de película */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none;
  width: 200%; height: 200%;
  opacity: 0.07;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Tipografía ---------- */
h1, h2, h3, .coast-title, .footer-fin {
  font-family: var(--f-display);
  font-stretch: 75%;
  font-variation-settings: "opsz" 96;
}
h2, .coast-title {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  font-weight: 640;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 em, .coast-title em, .hero-title em, .statement em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--amber);
  letter-spacing: -0.01em;
}
h3 { font-weight: 600; letter-spacing: -0.01em; }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fog-dim); margin-bottom: clamp(20px, 3vw, 32px);
}
.kicker-num {
  display: inline-flex; align-items: center;
  height: 24px; padding-inline: 8px; white-space: nowrap;
  border: 1px solid var(--amber); color: var(--amber);
  font-size: 0.6875rem;
}
.kicker-num::before { content: "Esc. "; opacity: 0.7; margin-right: 0.3em; }

.section-intro, .body-lg { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--fog-dim); max-width: 46ch; }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  border-radius: 2px; border: 1px solid transparent;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease-cine);
}
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary::before { background: var(--fog); }
.btn-ghost { border-color: var(--line-strong); color: var(--fog); background: rgba(6, 8, 12, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost::before { background: var(--fog); }
.btn-ghost:hover { color: var(--ink); border-color: var(--fog); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark::before { background: var(--amber-ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

.text-link {
  display: inline-flex; gap: 10px; align-items: center; font-weight: 600;
  border-bottom: 1px solid var(--amber); padding-bottom: 4px; color: var(--fog);
  transition: gap 0.3s var(--ease-out), color 0.3s;
}
.text-link:hover { gap: 16px; color: var(--amber); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.brand-mark { width: 28px; height: 28px; color: var(--fog); }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.035em; font-stretch: 100%; }
.brand-dot { color: var(--amber); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--fog-dim);
  padding-block: 6px; transition: color 0.3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-cine);
}
.nav a:not(.btn):hover { color: var(--fog); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-num { display: none; }
.nav-cta { margin-left: 6px; }

.menu-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border: 1px solid var(--line-strong); }
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fog);
  transition: transform 0.4s var(--ease-cine), top 0.4s var(--ease-cine);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 5vh, 56px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--night-2); }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%;
  transform-origin: 38% 45%;
  animation: hero-push 2.6s var(--ease-out) both;
  will-change: transform;
}
@keyframes hero-push { from { transform: scale(1.22); filter: brightness(0.3); } to { transform: scale(1.04); filter: brightness(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.62) 0%, rgba(6, 8, 12, 0.08) 26%, rgba(6, 8, 12, 0.18) 50%, rgba(6, 8, 12, 0.92) 86%, var(--night) 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(6, 8, 12, 0.55) 100%);
}
.shutter { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; z-index: 5; pointer-events: none; }
.shutter--top { top: 0; transform-origin: top; animation: shutter 1.3s var(--ease-cine) 0.15s both; }
.shutter--bottom { bottom: 0; transform-origin: bottom; animation: shutter 1.3s var(--ease-cine) 0.15s both; }
@keyframes shutter { from { transform: scaleY(1); } to { transform: scaleY(0); } }

.hero-inner { position: relative; display: grid; gap: clamp(24px, 4vh, 44px); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; color: var(--fog-dim);
  animation: fade-up 1s var(--ease-out) 1.1s both;
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta-item + .hero-meta-item::before { content: ""; width: 24px; height: 1px; background: var(--line-strong); margin-right: 18px; }
.hero-meta-item + .hero-meta-item { gap: 0; }
.hero-clock { gap: 10px !important; font-variant-numeric: tabular-nums; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: blink 1.6s steps(2) infinite; margin-right: 10px; }
@keyframes blink { 50% { opacity: 0.15; } }

.hero-title {
  font-size: clamp(3.4rem, 12.2vw, 12.5rem);
  font-weight: 700; line-height: 0.86; letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 6px 60px rgba(0, 0, 0, 0.35);
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: block; animation: rise 1.3s var(--ease-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.85s; }
.hero-title .line:nth-child(2) > span { animation-delay: 1s; }
.hero-title em.hero-price {
  text-transform: none; font-size: 1.08em; line-height: 0;
  color: var(--amber);
  text-shadow: 0 0 60px rgba(244, 162, 89, 0.45);
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; animation: fade-up 1s var(--ease-out) 1.35s both; }
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.3rem); line-height: 1.55; max-width: 44ch; color: var(--fog-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-credits {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  animation: fade-up 1s var(--ease-out) 1.55s both;
}
.hero-credits li { padding: 16px 16px 0 0; color: var(--fog); font-size: 0.78rem; display: grid; gap: 6px; }
.hero-credits li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-credits li span { color: var(--fog-mute); font-size: 0.66rem; }

.scroll-cue {
  position: absolute; right: var(--gutter); top: 50%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--fog-dim); writing-mode: vertical-rl; font-size: 0.66rem;
  animation: fade-up 1s var(--ease-out) 1.8s both;
}
.scroll-line { width: 1px; height: 64px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--amber); animation: drip 2.2s var(--ease-cine) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquesina ---------- */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding-block: clamp(18px, 2.6vw, 30px);
  background: var(--night);
}
.marquee-track { display: flex; width: max-content; align-items: center; gap: clamp(22px, 3vw, 44px); animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px var(--fog-mute);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.marquee span:nth-of-type(3n + 2) { color: var(--fog); -webkit-text-stroke-color: transparent; }
.marquee i { font-style: normal; color: var(--amber); font-size: clamp(1rem, 2vw, 1.6rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Escenas ---------- */
.scene { position: relative; padding-block: var(--section-y); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px 64px; align-items: end; margin-bottom: clamp(56px, 8vw, 104px);
}
.section-head .section-intro { justify-self: end; }

/* Marcos de foto */
.frame { position: relative; }
.frame-inner { position: relative; overflow: hidden; background: var(--night-3); }
.frame-inner img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.frame::before {
  content: ""; position: absolute; inset: -10px; border: 1px solid var(--line); pointer-events: none;
}
.frame figcaption {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 18px;
  color: var(--fog-mute); font-size: 0.68rem;
}
.frame figcaption span:first-child { color: var(--amber); }

/* ---------- 01 · Por qué ---------- */
.statement {
  font-size: clamp(2.8rem, 8.6vw, 8.6rem);
  font-weight: 650; line-height: 0.9; letter-spacing: -0.03em;
  max-width: 14ch; margin-bottom: clamp(64px, 9vw, 128px);
}
.statement .wd { opacity: var(--o, 1); transition: opacity 0.25s linear; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-media .frame-inner { aspect-ratio: 4 / 3.4; }
.why-copy { display: grid; gap: 44px; padding-top: 8px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.compare-col { padding: clamp(22px, 2.6vw, 32px); }
.compare-col h3 { font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; color: var(--fog-mute); margin-bottom: 20px; font-size: 0.7rem; }
.compare-col li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 0.96rem; color: var(--fog-mute); }
.compare-col li::before { content: "—"; position: absolute; left: 0; color: var(--fog-mute); }
.compare-col--new { background: linear-gradient(160deg, rgba(244, 162, 89, 0.12), rgba(244, 162, 89, 0.02)); border-left: 1px solid rgba(244, 162, 89, 0.35); }
.compare-col--new h3 { color: var(--amber); }
.compare-col--new li { color: var(--fog); }
.compare-col--new li::before { content: "✓"; color: var(--amber); }

/* ---------- 02 · Servicios ---------- */
.services { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.service-list { border-top: 1px solid var(--line); counter-reset: s; }
.service {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: baseline;
  padding: clamp(26px, 3.2vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, rgba(244, 162, 89, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.service:hover::before { opacity: 1; }
.service-num { color: var(--amber); font-size: 0.75rem; }
.service h3 {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 1; font-weight: 600; letter-spacing: -0.02em;
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
.service:hover h3 { transform: translateX(12px); color: var(--amber-hot); }
.service p { color: var(--fog-mute); max-width: 44ch; transition: color 0.4s; }
.service:hover p { color: var(--fog-dim); }

/* ---------- 03 · Ventana ---------- */
.window { position: relative; height: 190vh; background: var(--night-2); --p: 1; }
.window-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.window-media { position: absolute; inset: 0; clip-path: inset(calc(18% * (1 - var(--p))) calc(26% * (1 - var(--p))) round calc(6px * (1 - var(--p)))); will-change: clip-path; }
.window-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - 0.2 * var(--p))); }
.window-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 8, 12, 0.92) 0%, rgba(6, 8, 12, 0.6) 48%, rgba(6, 8, 12, 0.2) 100%); opacity: calc(0.2 + var(--p) * 0.8); }
.window-copy { position: relative; display: grid; gap: 28px; opacity: clamp(0, calc((var(--p) - 0.45) * 3), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - 0.45) * 3), 1)) * 40px)); }
.window-copy h2 { max-width: 13ch; font-size: clamp(2.6rem, 6.4vw, 6rem); }
.window-copy .kicker { margin-bottom: 0; }
.window-list { display: flex; flex-wrap: wrap; gap: 10px; }
.window-list li { display: inline-flex; gap: 10px; padding: 9px 14px; border: 1px solid var(--line-strong); background: rgba(6, 8, 12, 0.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.window-list li span { color: var(--amber); }
.window-note { max-width: 40ch; color: var(--fog-dim); font-size: 1.08rem; }

/* ---------- 04 · Reparto ---------- */
.cast { text-align: center; background: var(--night-2); }
.cast-head { display: grid; justify-items: center; gap: 0; margin-bottom: clamp(56px, 8vw, 100px); }
.cast-head h2 { margin-bottom: 28px; }
.cast-list { max-width: 1040px; margin-inline: auto; }
.cast-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: baseline;
  padding-block: clamp(18px, 2.2vw, 26px); border-top: 1px solid var(--line);
}
.cast-row:last-child { border-bottom: 1px solid var(--line); }
.cast-row dt {
  text-align: right; font-family: var(--f-display); font-stretch: 75%; font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.05; letter-spacing: -0.015em;
  transition: color 0.4s;
}
.cast-row dd { text-align: left; color: var(--fog-mute); max-width: 38ch; transition: color 0.4s; }
.cast-row:hover dt { color: var(--amber); }
.cast-row:hover dd { color: var(--fog-dim); }

/* Así se vería: maquetas ilustrativas en móvil */
.demos { margin-top: clamp(88px, 11vw, 150px); }
.demos-head { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(48px, 6vw, 80px); }
.demos-head h3 {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 0.95; letter-spacing: -0.03em;
}
.demos-head h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; color: var(--amber); letter-spacing: -0.01em; }
.demos-note { color: var(--fog-mute); font-size: 0.7rem; }
.demos-swipe { display: none; color: var(--amber); }
.demos-row { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 3vw, 44px); }
.demo { margin: 0; display: grid; justify-items: center; gap: 20px; }
.demo:nth-child(2) .phone { margin-top: -36px; }
.demo figcaption { font-size: 0.7rem; color: var(--fog-dim); display: inline-flex; gap: 10px; }
.demo figcaption span { color: var(--amber); }

.phone {
  position: relative; width: 284px; aspect-ratio: 9 / 17.6;
  padding: 9px; border-radius: 42px; background: #161b26;
  box-shadow: inset 0 0 0 1px rgba(236, 232, 225, 0.16), 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px #05070a;
  transition: transform 0.6s var(--ease-out);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 74px; height: 20px; margin-left: -37px; border-radius: 12px; background: #05070a; z-index: 2; }
@media (hover: hover) { .demo:hover .phone { transform: translateY(-10px); } }

.screen {
  height: 100%; border-radius: 33px; overflow: hidden; text-align: left;
  padding: 48px 18px 20px; display: flex; flex-direction: column; gap: 12px;
  font-family: var(--f-body); font-size: 11px; line-height: 1.4;
}
.screen p { margin: 0; }
.screen ul { list-style: none; margin: 0; padding: 0; }
.ds-bar { display: flex; justify-content: space-between; align-items: center; }
.ds-burger { width: 16px; height: 8px; border-block: 1.5px solid currentColor; }
.ds-btn { display: block; text-align: center; padding: 11px 12px; border-radius: 999px; font-weight: 600; font-size: 11.5px; }

/* A · Fonda: crema, terracota, serif */
.ds-fonda { background: #f3ead9; color: #2b1a10; }
.ds-fonda .ds-logo { font-family: var(--f-serif); font-style: italic; font-size: 17px; }
.ds-fonda .ds-hero { padding: 18px 0 14px; border-bottom: 1px solid rgba(43, 26, 16, 0.18); }
.ds-fonda .ds-eyebrow { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #9a3d18; }
.ds-fonda .ds-title { font-family: var(--f-serif); font-size: 31px; line-height: 0.98; margin-top: 8px; }
.ds-fonda .ds-title em { color: #9a3d18; }
.ds-fonda .ds-label { font-weight: 600; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.ds-fonda .ds-menu li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dotted rgba(43, 26, 16, 0.3); font-size: 12px; }
.ds-fonda .ds-menu b { font-family: var(--f-mono); font-weight: 500; }
.ds-fonda .ds-hours { color: #5c4636; margin-top: auto; }
.ds-fonda .ds-wa { background: #17703f; color: #fff; }

/* B · Clínica: blanco, azul petróleo, sans limpia */
.ds-clinica { background: #f6f8fa; color: #0f2a3a; }
.ds-clinica .ds-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.ds-clinica .ds-logo i { width: 14px; height: 14px; border-radius: 50% 50% 4px 4px; border: 2px solid #17637b; }
.ds-clinica .ds-hero { background: #dceaf0; border-radius: 18px; padding: 16px 14px 14px; display: grid; gap: 8px; margin-top: 4px; }
.ds-clinica .ds-title { font-family: var(--f-display); font-weight: 700; font-size: 23px; line-height: 1.02; letter-spacing: -0.02em; }
.ds-clinica .ds-sub { color: #3d5868; }
.ds-clinica .ds-btn { background: #17637b; color: #fff; margin-top: 4px; }
.ds-clinica .ds-label { font-weight: 600; font-size: 12px; }
.ds-clinica .ds-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-clinica .ds-chips li { padding: 5px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #c9d8e0; font-size: 10.5px; }
.ds-clinica .ds-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 0 #d9e3e8; }
.ds-clinica .ds-card b { display: block; font-size: 11.5px; }
.ds-clinica .ds-card small { color: #4b6575; font-size: 10px; }
.ds-clinica .ds-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 38%, #9fbfcc 0 28%, transparent 29%), radial-gradient(circle at 50% 110%, #9fbfcc 0 46%, #dceaf0 47%); }
.ds-clinica .ds-btn--ghost { background: transparent; color: #17637b; box-shadow: inset 0 0 0 1.5px #17637b; margin-top: auto; }
.ds-clinica .ds-card--soft { justify-content: space-between; background: transparent; box-shadow: inset 0 0 0 1px #d3e0e7; }

/* C · Barbería: negro, amarillo, condensada */
.ds-barber { background: #0e0e0e; color: #f2f0ea; }
.ds-barber .ds-logo { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 18px; letter-spacing: 0.12em; }
.ds-barber .ds-tag { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #e8c547; }
.ds-barber .ds-hero { padding: 22px 0 6px; }
.ds-barber .ds-title { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase; }
.ds-barber .ds-prices li { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-top: 1px solid #2a2a2a; font-size: 12.5px; }
.ds-barber .ds-prices li:last-child { border-bottom: 1px solid #2a2a2a; }
.ds-barber .ds-prices b { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; color: #e8c547; }
.ds-barber .ds-btn { background: #e8c547; color: #0e0e0e; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: auto; }
.ds-barber .ds-hours { text-align: center; color: #a9a59b; font-size: 10px; }

/* ---------- 05 · Proceso ---------- */
.process { background: var(--night); }
.process-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.process-media { position: sticky; top: calc(var(--header-h) + 32px); }
.process-media .frame-inner { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 120px); }
.steps { position: relative; padding-left: 0; }
.steps::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps::after {
  content: ""; position: absolute; left: 30px; top: 0; height: 100%; width: 1px; background: var(--amber);
  transform: scaleY(var(--sp, 0)); transform-origin: top; transition: transform 0.2s linear;
}
.step { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 28px; padding-block: clamp(36px, 6vh, 64px); }
.step h3, .step p { transition: color 0.6s var(--ease-out); }
.js .step:not(.is-active) h3 { color: var(--fog-mute); }
.js .step:not(.is-active) .step-num { color: var(--fog-mute); }

.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--night); border: 1px solid var(--line-strong);
  font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 1.35rem;
  transition: background 0.5s, color 0.5s, border-color 0.5s;
}
.step.is-active .step-num { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.step-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.step h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; font-weight: 640; }
.step-meta { color: var(--amber); font-size: 0.68rem; white-space: nowrap; border: 1px solid rgba(244, 162, 89, 0.4); padding: 5px 9px; }
.step p { color: var(--fog-dim); max-width: 42ch; }

/* ---------- 06 · Infraestructura ---------- */
.infra { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); }
.infra-bg { position: absolute; inset: 0; z-index: -1; }
.infra-bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; opacity: 0.32; filter: saturate(0.8); }
.infra-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(6, 8, 12, 0.55) 30%, rgba(6, 8, 12, 0.6) 70%, var(--night) 100%); }
.infra-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 112px); align-items: start; }
.infra-intro { display: grid; gap: 28px; }
.infra-intro .kicker { margin-bottom: 0; }
.infra-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.infra-list li { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 2.6vw, 34px); background: rgba(9, 12, 18, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-height: 200px; transition: background 0.4s; }
.infra-list li:hover { background: rgba(18, 24, 38, 0.92); }
.infra-list li > span { color: var(--amber); }
.infra-list strong { display: block; font-family: var(--f-display); font-stretch: 75%; font-size: 1.6rem; font-weight: 600; line-height: 1.05; margin-bottom: 8px; letter-spacing: -0.01em; }
.infra-list p { color: var(--fog-mute); font-size: 0.96rem; }
.infra-note { grid-column: 1 / -1; color: var(--fog-mute); font-size: 0.7rem; border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- 07 · Precio (entrada) ---------- */
.pricing { overflow: hidden; background: var(--night); }
.pricing-glow {
  position: absolute; left: 50%; top: 55%; width: min(1200px, 140vw); aspect-ratio: 2 / 1; z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(244, 162, 89, 0.22), rgba(244, 162, 89, 0.05) 55%, transparent);
  pointer-events: none;
}
.pricing .container { position: relative; z-index: 1; }
.pricing-head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(56px, 7vw, 88px); }
.pricing-head h2 { margin-bottom: 28px; }

.ticket {
  --notch: 18px;
  position: relative; max-width: 1080px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  color: var(--ink);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.4));
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out);
}
.ticket-main, .ticket-stub { position: relative; padding: clamp(28px, 4vw, 56px); }
.ticket-main {
  background: var(--paper);
  -webkit-mask: radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
                radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
                radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
}
.ticket-stub {
  background: var(--paper-2);
  -webkit-mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
                radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
                radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
}
.ticket-stub::before {
  content: ""; position: absolute; left: 0; top: calc(var(--notch) + 10px); bottom: calc(var(--notch) + 10px);
  border-left: 2px dashed rgba(11, 15, 22, 0.28);
}
.ticket-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.68rem; color: var(--ink-soft); padding-bottom: 18px; border-bottom: 1px solid rgba(11, 15, 22, 0.16); margin-bottom: clamp(24px, 3vw, 36px); }
.ticket h3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 0.95; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.plan-for { color: var(--ink-soft); max-width: 40ch; }
.plan-price {
  display: flex; align-items: flex-start; margin-block: clamp(20px, 3vw, 32px) 10px;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(6.5rem, 14vw, 11rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--ink);
}
.plan-price .currency { font-size: 0.36em; margin-top: 0.08em; margin-right: 0.04em; color: var(--amber-ink); }
.plan-price .per { align-self: flex-end; margin-left: 12px; margin-bottom: 0.4em; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.plan-note { color: var(--ink-soft); font-size: 0.66rem; line-height: 1.7; margin-bottom: 28px; }
.plan-cta { width: 100%; }
.ticket-label { font-size: 0.68rem; color: var(--amber-ink); margin-bottom: 18px; font-weight: 500; }
.plan-features li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid rgba(11, 15, 22, 0.12); font-size: 0.96rem; font-weight: 500; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 8px; border-left: 2px solid var(--amber-ink); border-bottom: 2px solid var(--amber-ink); transform: translateY(-70%) rotate(-45deg); }
.plan-scope { margin-top: 20px; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }
.ticket-barcode {
  height: 38px; margin-top: 24px; opacity: 0.75;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 14px);
}
.pricing-note { text-align: center; margin-top: 48px; color: var(--fog-mute); font-size: 0.66rem; }

/* ---------- 08 · FAQ ---------- */
.faq { background: var(--night-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 56px clamp(40px, 7vw, 112px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; justify-items: start; }
.faq-head .kicker { margin-bottom: 0; }
.faq-aside { margin-top: 16px; padding: 22px 24px; border: 1px solid var(--line); width: 100%; max-width: 360px; }
.faq-aside p { color: var(--amber); margin-bottom: 12px; font-size: 0.68rem; }
.faq-aside li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--fog-dim); font-size: 0.95rem; }

.accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--f-body); font-stretch: 100%; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 26px 0; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.35;
  transition: color 0.3s, padding 0.5s var(--ease-out);
}
.faq-q:hover { color: var(--amber-hot); padding-left: 8px; }
.faq-icon { position: relative; flex: 0 0 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform 0.5s var(--ease-cine), background 0.4s, border-color 0.4s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-cine); }
.faq-item.is-open .faq-icon { background: var(--amber); border-color: var(--amber); color: var(--ink); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease-cine); }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 56px 28px 0; color: var(--fog-dim); max-width: 60ch; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }

/* ---------- Costa ---------- */
.coast { position: relative; isolation: isolate; height: clamp(520px, 92vh, 980px); overflow: hidden; display: flex; align-items: flex-end; --p: 0.5; }
.coast-media { position: absolute; inset: 0; z-index: -2; }
.coast-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * 0.14)) translateY(calc((var(--p) - 0.5) * -4%)); }
.coast-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night-2) 0%, rgba(6, 8, 12, 0) 30%, rgba(6, 8, 12, 0.1) 60%, rgba(6, 8, 12, 0.85) 100%); }
.coast-inner { padding-bottom: clamp(32px, 6vh, 64px); }
.coast-title { font-size: clamp(3.4rem, 11vw, 11rem); font-weight: 700; text-transform: uppercase; line-height: 0.86; margin-bottom: 28px; }
.coast-title em { text-transform: none; }
.coast-caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-strong); padding-top: 16px; color: var(--fog-dim); font-size: 0.68rem; }

/* ---------- Cierre ---------- */
.closer { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); text-align: center; background: var(--night); }
.closer-glow {
  position: absolute; left: 50%; bottom: -40%; z-index: -1; width: min(1600px, 180vw); aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(244, 162, 89, 0.34), rgba(244, 162, 89, 0.08) 55%, transparent);
}
.closer-inner { display: grid; justify-items: center; }
.closer h2 { font-size: clamp(3.6rem, 12vw, 11.5rem); line-height: 0.86; margin-bottom: 28px; text-transform: uppercase; font-weight: 700; }
.closer h2 em { text-transform: none; }
.closer-lede { font-size: clamp(1.0625rem, 1.4vw, 1.3rem); color: var(--fog-dim); max-width: 40ch; margin-bottom: clamp(40px, 6vw, 72px); }
.closer-phone {
  position: relative; display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  padding-bottom: 14px;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 700;
  font-size: clamp(2.6rem, 8.4vw, 7.8rem); line-height: 1; letter-spacing: -0.03em;
  transition: color 0.4s;
}
.closer-phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform-origin: left; transition: transform 0.7s var(--ease-cine); }
.closer-phone:hover { color: var(--amber-hot); }
.closer-phone:hover::after { transform: scaleX(0); transform-origin: right; }
.closer-prefix { color: var(--fog-mute); }
.closer-arrow { display: grid; place-items: center; width: clamp(48px, 6vw, 88px); height: clamp(48px, 6vw, 88px); border-radius: 50%; background: var(--amber); color: var(--ink); flex: none; transition: transform 0.5s var(--ease-out); }
.closer-arrow svg { width: 46%; height: 46%; }
.closer-phone:hover .closer-arrow { transform: rotate(45deg) scale(1.06); }
.closer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 44px; color: var(--fog-mute); font-size: 0.68rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px) 32px; background: var(--night); }
.footer-fin {
  font-family: var(--f-serif); font-style: italic; font-stretch: 100%; font-weight: 400;
  font-size: clamp(5rem, 16vw, 15rem); line-height: 0.8; letter-spacing: -0.03em; color: var(--fog);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.footer-fin span { color: var(--amber); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin-top: 16px; color: var(--fog-mute); font-size: 0.95rem; }
.footer-nav { display: flex; gap: clamp(48px, 8vw, 120px); }
.footer-nav div { display: grid; gap: 10px; align-content: start; }
.footer-nav .mono { color: var(--fog-mute); font-size: 0.66rem; margin-bottom: 6px; }
.footer-nav a { color: var(--fog-dim); transition: color 0.3s; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--fog-mute); font-size: 0.66rem; }
.footer-bottom a:hover { color: var(--amber); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(244, 162, 89, 0.5);
  animation: pulse 3s var(--ease-out) 3s infinite;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; transform: scale(0.6); pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(244, 162, 89, 0.5); } 70%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 18px rgba(244, 162, 89, 0); } }

/* ---------- Revelado (solo con JS) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-ready .frame[data-reveal] .frame-inner { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-cine) var(--d, 0ms); }
.reveal-ready .frame[data-reveal].is-in .frame-inner { clip-path: inset(0 0 0 0); }
.split-ready [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-ready [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.split-ready [data-split].is-in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .demos-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 24px; scrollbar-width: none; }
  .demos-row::-webkit-scrollbar { display: none; }
  .demo { scroll-snap-align: center; flex: none; }
  .demos-swipe { display: inline; }
  .demo:nth-child(2) .phone { margin-top: 0; }
  .nav {
    position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 1; overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--night);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.7s var(--ease-cine), visibility 0s linear 0.7s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-cine), visibility 0s; }
  .nav a:not(.btn) {
    display: flex; align-items: baseline; gap: 18px;
    font-family: var(--f-display); font-stretch: 75%; font-weight: 650; color: var(--fog);
    font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: 1.05; letter-spacing: -0.02em;
    padding-block: 10px; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav-num { display: inline; color: var(--amber); font-size: 0.7rem; }
  .nav.is-open a:not(.btn) { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(1) { transition-delay: 0.25s; }
  .nav.is-open a:nth-child(2) { transition-delay: 0.3s; }
  .nav.is-open a:nth-child(3) { transition-delay: 0.35s; }
  .nav.is-open a:nth-child(4) { transition-delay: 0.4s; }
  .nav.is-open a:nth-child(5) { transition-delay: 0.45s; }
  .nav-cta { margin: 32px 0 0; min-height: 56px; }
  .menu-toggle { display: block; }

  .section-head { grid-template-columns: 1fr; }
  .section-head .section-intro { justify-self: start; }
  .why-grid, .process-grid, .infra-inner, .faq-grid { grid-template-columns: 1fr; }
  .process-media { position: relative; top: 0; }
  .process-media .frame-inner { aspect-ratio: 16 / 11; max-height: none; }
  .faq-head { position: static; }
  .hero-bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .hero { padding-bottom: 24px; }
  .hero-img { object-position: 36% 50%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 8, 12, 0.6) 0%, rgba(6, 8, 12, 0.18) 16%, rgba(6, 8, 12, 0.5) 32%, rgba(6, 8, 12, 0.8) 48%, rgba(6, 8, 12, 0.93) 68%, var(--night) 100%);
  }
  .hero-meta { gap: 8px 16px; font-size: 0.66rem; }
  .hero-meta-geo { display: none; }
  .hero-meta-item + .hero-meta-item::before { width: 14px; margin-right: 12px; }
  .hero-title { font-size: clamp(3rem, 15.4vw, 5.4rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-credits { grid-template-columns: 1fr 1fr; }
  .hero-credits li { padding: 12px 12px 12px 0; }
  .hero-credits li + li { padding-left: 0; border-left: 0; }
  .hero-credits li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .hero-credits li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .compare { grid-template-columns: 1fr; }
  .compare-col--new { border-left: 0; border-top: 1px solid rgba(244, 162, 89, 0.35); }

  .service { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 14px; }
  .service p { grid-column: 2; }
  .service:hover h3 { transform: none; }

  .window { height: 170vh; }
  .window-shade { background: linear-gradient(180deg, rgba(6, 8, 12, 0.3) 0%, rgba(6, 8, 12, 0.88) 55%, rgba(6, 8, 12, 0.95) 100%); }
  .window-sticky { align-items: flex-end; padding-bottom: 40px; }
  .window-copy { gap: 20px; }

  .cast { text-align: left; }
  .cast-head { justify-items: start; }
  .cast-row { grid-template-columns: 1fr; gap: 6px; }
  .cast-row dt { text-align: left; }

  .steps::before, .steps::after { left: 22px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-block: 28px; }
  .step-num { width: 44px; height: 44px; font-size: 1.05rem; }
  .step-top { flex-direction: column; gap: 10px; }

  .infra-list { grid-template-columns: 1fr; }
  .infra-list li { min-height: 0; }

  .pricing-head { text-align: left; justify-items: start; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-main {
    -webkit-mask: radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) right / 51% 100% no-repeat;
            mask: radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) right / 51% 100% no-repeat;
  }
  .ticket-stub {
    -webkit-mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) right / 51% 100% no-repeat;
            mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) right / 51% 100% no-repeat;
  }
  .ticket-stub::before { left: calc(var(--notch) + 10px); right: calc(var(--notch) + 10px); top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(11, 15, 22, 0.28); }
  .pricing-note { text-align: left; }

  .faq-q { padding: 22px 0; }
  .faq-panel p { padding-right: 0; }

  .closer { text-align: left; }
  .closer-inner { justify-items: start; }
  .closer-meta { justify-content: flex-start; flex-direction: column; gap: 8px; }
  .closer-phone { font-size: clamp(2.2rem, 11.4vw, 3.6rem); }
  .closer-arrow { width: 44px; height: 44px; }

  .footer-nav { gap: 56px; }
  .wa-float { width: 54px; height: 54px; }
}

@media (max-width: 380px) {
  .closer-prefix { display: block; font-size: 0.6em; }
  .closer-number { display: grid; }
}

/* Puntero fino: sin hover en táctil */
@media (hover: none) {
  .service:hover h3, .faq-q:hover { transform: none; padding-left: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .grain, .shutter { display: none; }
  .marquee-track { animation: none; }
  .hero-img { transform: none; }
  .window { height: auto; }
  .window-sticky { position: relative; min-height: 100svh; }
  .window-media { clip-path: none; }
  .window-media img { transform: none; }
  .window-copy { opacity: 1; transform: none; }
  .window-shade { opacity: 1; }
  .coast-media img { transform: none; }
  .ticket { transform: none; }
}
