:root {
  --bg: #0B0B0D;
  --surface: #161618;
  --clip: #2C2C30;
  --clip-2: #48484E;
  --text: #F5F5F7;
  --muted: #A1A1A6;
  --accent: #FF6B1A;
  --on-accent: #0B0B0D;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --section-gap: clamp(7rem, 20vh, 14rem);
  --display: clamp(2.6rem, 8.6vw, 10rem);
  --body: clamp(1.0625rem, 1.3vw, 1.3125rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
a { color: inherit; text-decoration: none; }
video { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.accent { color: var(--accent); }

.skip {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Grano y carga */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.loader { display: none; }
.js:not(.no-intro) .loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: loader-cut .18s 1s steps(1) forwards;
}
.loader-tc {
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
@keyframes loader-cut {
  to { visibility: hidden; opacity: 0; }
}

/* Barra superior */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem var(--pad);
  font-size: .8125rem;
  font-weight: 500;
  transition: color .15s linear;
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -1.5rem;
  z-index: -1;
  background: linear-gradient(var(--bg) 55%, rgba(11, 11, 13, 0));
  pointer-events: none;
}
.on-accent .topbar::before { background: linear-gradient(var(--accent) 55%, rgba(255, 107, 26, 0)); }
.brand { letter-spacing: .08em; font-weight: 600; justify-self: start; }
.timecode { font-variant-numeric: tabular-nums; color: var(--muted); transition: color .15s linear; }
.topbar-cta { justify-self: end; }
.brand, .topbar-cta { padding: .5rem 0; }
.topbar-cta:hover { color: var(--accent); }
.on-accent .topbar { color: var(--on-accent); }
.on-accent .timecode { color: var(--on-accent); }
.on-accent .topbar-cta:hover { color: var(--on-accent); text-decoration: underline; }
.on-accent :focus-visible { outline-color: var(--on-accent); }

/* Línea de tiempo global */
.timeline {
  display: none;
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: .85rem;
  z-index: 60;
}
.js .timeline { display: block; }
.timeline-track { position: relative; display: flex; gap: 2px; }
.clip {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: flex-end;
}
.clip::before {
  content: "";
  width: 100%;
  height: 6px;
  border-radius: 2px;
  background: var(--clip-2);
  transition: height .2s var(--ease), background-color .15s linear;
}
.clip span {
  position: absolute;
  left: 0;
  bottom: 1.1rem;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  transition: opacity .15s linear;
  pointer-events: none;
}
.clip:hover::before, .clip:focus-visible::before { height: 12px; background: var(--muted); }
.clip:hover span, .clip:focus-visible span { opacity: 1; }
.playhead {
  position: absolute;
  top: 8px;
  bottom: -2px;
  left: 0;
  width: 2px;
  background: var(--accent);
  pointer-events: none;
  will-change: transform;
}
.on-accent-low .clip::before { background: rgba(11, 11, 13, .35); }
.on-accent-low .clip:hover::before, .on-accent-low .clip:focus-visible::before { background: var(--on-accent); }
.on-accent-low .clip span { color: var(--on-accent); }
.on-accent-low .playhead { background: var(--on-accent); }

/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  display: none;
  width: 2px;
  height: 34px;
  margin: -17px 0 0 -1px;
  background: var(--accent);
  pointer-events: none;
  transition: height .2s var(--ease), margin .2s var(--ease), opacity .15s linear;
}
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .rail { cursor: none; }
.has-cursor input { cursor: text; }
.cursor.is-link { height: 52px; margin-top: -26px; }
.cursor.is-hidden { opacity: 0; }
.cursor.on-form { background: var(--on-accent); }
.cursor-label {
  position: absolute;
  top: 0;
  left: 8px;
  padding: .15rem .5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s linear;
}
.cursor.has-label .cursor-label { opacity: 1; }

/* Comunes */
.section { padding: var(--section-gap) var(--pad); background: var(--bg); position: relative; }
.slate {
  font-size: .8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.display, .hero-title, .pillar-title {
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .98;
}
.display { font-size: var(--display); margin-top: 1.5rem; }
.line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.line-inner { display: block; will-change: transform; }

.btn {
  display: inline-block;
  padding: 1.05rem 1.6rem;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s linear;
  will-change: transform;
}
.btn:hover { background: #FF8038; }
.btn:focus-visible { outline-color: var(--text); }
.btn-dark { background: var(--on-accent); color: var(--text); }
.btn-dark:hover { background: #2C2C30; }
.btn-dark:focus-visible { outline-color: var(--on-accent); }
.btn[disabled] { cursor: progress; }

.footnote {
  max-width: 62ch;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
}

.scene { position: absolute; inset: 0; overflow: hidden; }
.scene video, .scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
}
.scene.has-video ~ .fallback { display: none; }

/* Hero */
.hero { position: relative; background: var(--bg); }
.hero-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}
.hero-fallback { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34vw;
  transform: translateX(-4vw);
  background: linear-gradient(90deg, rgba(255, 107, 26, 0), rgba(255, 107, 26, .26) 49.8%, #FF6B1A 50%, rgba(255, 107, 26, .26) 50.2%, rgba(255, 107, 26, 0));
  will-change: transform;
}
.hero .scene { z-index: -1; }
/* Fondo con fragmentos de reels: ocupa la parte de arriba y se funde en negro antes del título */
.hero .scene-reel {
  bottom: auto;
  height: 66%;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.hero .scene-reel video, .hero .scene-reel img { opacity: .55; }
@media (min-width: 768px) { .hero .scene-reel video, .hero .scene-reel img { opacity: .42; } }
.hero-content {
  width: 100%;
  margin-top: auto;
  padding: 5rem var(--pad) 4.25rem;
}
.hero-title { font-size: min(7.8vw, 13.5vh); }
.reflection {
  height: .62em;
  overflow: hidden;
  font-size: min(7.8vw, 13.5vh);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .98;
  transform: scaleY(-1);
  transform-origin: center;
  opacity: .5;
  filter: blur(0);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 95%);
  mask-image: linear-gradient(to top, #000, transparent 95%);
  display: flex;
  align-items: flex-end;
  gap: .25em;
  white-space: nowrap;
  pointer-events: none;
  will-change: filter, opacity;
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}
.hero-sub { max-width: 46ch; color: var(--text); }
.scroll-hint {
  position: absolute;
  right: var(--pad);
  top: 4.25rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: opacity .3s linear;
}
.is-scrolled .scroll-hint { opacity: 0; }

/* Cifras */
.stats { padding-block: clamp(6rem, 18vh, 12rem); }
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vh, 5rem) var(--pad);
  margin: clamp(3rem, 8vh, 5rem) 0 clamp(2rem, 5vh, 4rem);
}
.stat { display: flex; flex-direction: column; gap: .5rem; border-top: 1px solid var(--clip-2); padding-top: 1rem; }
.stat-value {
  font-size: 17vw;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--muted); }
.lead.also { max-width: 44ch; margin-top: clamp(4rem, 10vh, 7rem); color: var(--text); }

/* Problema */
.mission { position: relative; background: var(--bg); }
.mission-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.mission .scene { z-index: -1; }
.strips {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 3.75rem;
  z-index: -1;
  height: clamp(4rem, 15vh, 9rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.strip {
  width: clamp(3px, .85vw, 16px);
  background: var(--clip-2);
  border-radius: 2px;
  will-change: transform;
}
.strip.is-key { background: var(--accent); }
.mission-copy { padding: 5rem var(--pad) calc(clamp(4rem, 15vh, 9rem) + 4.5rem); max-width: 1500px; }
.mission-title {
  margin-top: .75rem;
  font-size: min(4.6vw, 7.4vh);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.mission-list { margin-top: clamp(1rem, 3vh, 2.25rem); }
.mission-line {
  font-size: min(2.7vw, 4.4vh);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.16;
  margin-top: .6em;
}
.mission-list .mission-line { padding-left: .6em; border-left: 3px solid var(--accent); }
.mission-strong { margin-top: clamp(1.25rem, 3.5vh, 2.5rem); font-weight: 600; }
.mission-line .w { display: inline-block; white-space: pre; }

/* Pilares */
.pillars { position: relative; background: var(--bg); }
.pillar {
  display: flex;
  flex-direction: column;
  padding: 5rem var(--pad) 5rem;
  min-height: 86vh;
  min-height: 86svh;
  border-top: 1px solid var(--clip);
}
.pillar-title {
  font-size: clamp(2.75rem, 12vw, 15rem);
  margin: auto 0 1.5rem -.04em;
}
.pillar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 4rem;
}
.pillar-text { max-width: 38ch; font-size: clamp(1.125rem, 1.8vw, 1.75rem); line-height: 1.3; }
.pillar-intro .display { margin-top: auto; margin-bottom: 1.75rem; }
.pillar-intro .pillar-text { max-width: 48ch; }
.pillar-next { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 600; color: var(--accent); }
.bar { flex: 1 1 280px; max-width: 640px; height: 26px; display: flex; gap: 2px; }
.bar i { display: block; border-radius: 2px; background: var(--clip); }
.bar i.on { background: var(--accent); }

/* Trabajo */
.work { padding-inline: 0; }
.work > .slate, .work > .display { margin-inline: var(--pad); }
.rail {
  --reel: clamp(15rem, 25vw, 24rem);
  display: flex;
  gap: clamp(.5rem, 1.5vw, 1.5rem);
  margin-top: clamp(3rem, 8vh, 6rem);
  padding: 1.5rem calc(50vw - var(--reel) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; }
.rail:focus-visible { outline-offset: -4px; }
.reel {
  flex: 0 0 var(--reel);
  scroll-snap-align: center;
  transform: scale(.86);
  transform-origin: center;
  transition: transform .5s var(--ease);
}
.reel.is-center { transform: scale(1); }
.reel-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--clip);
  border-radius: 4px;
  background: var(--surface);
  color: inherit;
  font: inherit;
}
.reel-frame video, .reel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.reel-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
}
.reel-brand { margin-top: .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand, var(--accent)); }
.reel-title { margin-top: .2rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.reel-meta { margin-top: .15rem; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reel.is-center .reel-frame { border-color: var(--brand, var(--clip)); }
.work > .work-lead { max-width: 46ch; margin: 1.25rem var(--pad) 0; }

/* Colores de cada marca, tomados de sus propios videos */
[data-brand="paracasa"]  { --brand: #FF7A66; --brand-bg: #254A71; --brand-ink: #FFFFFF; --brand-style: #FFB3A7; --brand-chip: rgba(255, 255, 255, .35); }
[data-brand="packpoint"] { --brand: #FF7A1A; --brand-bg: #141416; --brand-ink: #FFFFFF; --brand-style: #FF7A1A; --brand-chip: rgba(255, 122, 26, .6); }
[data-brand="gracia"]    { --brand: #F45BC8; --brand-bg: #F7D9E6; --brand-ink: #3B1230; --brand-style: #B8277F; --brand-chip: rgba(59, 18, 48, .35); }

/* Tarjeta de estilo: abre cada bloque de marca */
.brand-card {
  flex: 0 0 var(--reel);
  scroll-snap-align: center;
  transform: scale(.86);
  transform-origin: center;
  transition: transform .5s var(--ease);
}
.brand-card.is-center { transform: scale(1); }
.brand-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 16;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
  border-radius: 4px;
  border-top: 6px solid var(--brand);
  background: var(--brand-bg);
  color: var(--brand-ink);
}
[data-brand="packpoint"] .brand-frame { box-shadow: inset 0 0 0 1px rgba(255, 122, 26, .35); }
.brand-photo {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  width: 100%;
  height: 62%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.brand-num { align-self: flex-start; padding: .2rem .5rem; border-radius: 3px; background: var(--brand-bg); font-size: .8125rem; font-weight: 500; }
.brand-name { margin-top: auto; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.brand-style { margin-top: .5rem; font-size: clamp(1.0625rem, 1.4vw, 1.375rem); font-weight: 600; color: var(--brand-style); }
.brand-aud { margin-top: 1rem; font-size: .875rem; line-height: 1.4; opacity: .9; }
.brand-aud b { font-weight: 600; }
.brand-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.brand-tags li { padding: .25rem .6rem; border: 1px solid var(--brand-chip); border-radius: 999px; font-size: .75rem; line-height: 1.3; }

.case { margin-top: clamp(5rem, 14vh, 10rem); }
.case-title {
  max-width: 16ch;
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.02;
}
.table-wrap { margin: clamp(2rem, 5vh, 4rem) 0 1.25rem; overflow-x: auto; }
.case-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.case-table th, .case-table td { padding: 1.1rem 0; border-bottom: 1px solid var(--clip); text-align: right; }
.case-table th:first-child { text-align: left; }
.case-table thead th { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.case-table tbody th, .case-table tbody td { font-size: clamp(1.125rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.case-table tbody td:nth-child(2) { color: var(--accent); }

/* Oferta */
.lead { margin-top: 2.5rem; max-width: 34ch; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.25; color: var(--muted); }
.offer-heading { font-size: .9375rem; font-weight: 600; color: var(--accent); }
.service > .offer-heading { margin-top: clamp(4rem, 10vh, 7rem); }
.offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--pad);
  margin-top: 1.25rem;
}
.offer-list li {
  padding: 1.25rem 0 clamp(1.5rem, 4vh, 2.75rem);
  border-top: 1px solid var(--clip-2);
  font-size: clamp(1.375rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.offer-start {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem var(--pad);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: 4px;
  background: var(--surface);
}
.offer-start-text {
  max-width: 24ch;
  margin-top: .75rem;
  font-size: clamp(1.625rem, 3.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.06;
}

/* Preguntas */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vh, 4rem) var(--pad);
  margin-top: clamp(3rem, 9vh, 6rem);
}
.faq-item { padding-top: 1rem; border-top: 1px solid var(--clip-2); }
.faq-q {
  margin-bottom: .75rem;
  font-size: clamp(1.375rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.faq-item p { max-width: 46ch; color: var(--muted); }

/* Historia */
.story-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pad);
  margin-top: clamp(3rem, 9vh, 6rem);
  margin-left: auto;
  max-width: 70rem;
}
.story-copy p { font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.4; }

/* Contacto */
.contact { position: relative; background: var(--bg); }
.stage { display: none; position: relative; }
.stage-inner { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.frame-wrap { position: absolute; inset: 0; display: grid; place-items: center; }
.frame {
  grid-area: 1 / 1;
  height: 40vh;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: var(--accent);
  will-change: transform;
}
.frame-glow {
  grid-area: 1 / 1;
  width: 90vh;
  height: 90vh;
  max-width: 100vw;
  background: radial-gradient(closest-side, rgba(255, 107, 26, .34), rgba(255, 107, 26, 0));
}
.flood { position: absolute; inset: 0; background: var(--accent); opacity: 0; pointer-events: none; }
.form-panel {
  padding: clamp(6rem, 16vh, 11rem) var(--pad) clamp(6rem, 14vh, 9rem);
  background: var(--accent);
  color: var(--on-accent);
}
.form-panel .slate { color: var(--on-accent); }
.form-lead { max-width: 40ch; color: var(--on-accent); }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem var(--pad);
  max-width: 70rem;
  margin-top: clamp(3rem, 8vh, 5rem);
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 600; }
.optional { font-weight: 400; }
.field input {
  width: 100%;
  min-height: 48px;
  padding: .7rem 0;
  border: 0;
  border-bottom: 2px solid var(--on-accent);
  border-radius: 0;
  background: transparent;
  color: var(--on-accent);
  font: inherit;
  font-weight: 500;
  outline: none;
}
.field input:focus { border-bottom-width: 4px; padding-bottom: calc(.7rem - 2px); }
.field-error { min-height: 0; margin-top: .4rem; font-size: .9375rem; font-weight: 600; }
.field-error:empty { display: none; }
.field.is-invalid input { border-bottom-style: dashed; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { font-weight: 600; }

/* Pie */
.footer { position: relative; padding: 2.5rem var(--pad) 0; background: var(--bg); overflow: hidden; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.5rem;
  font-size: .9375rem;
  color: var(--muted);
}
.footer-row a { color: var(--text); padding: .25rem 0; }
.footer-row a:hover { color: var(--accent); }
.footer-fin { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.footer-brand {
  margin: clamp(2rem, 8vh, 5rem) 0 0 -.05em;
  height: .72em;
  font-size: 23.5vw;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
  white-space: nowrap;
}

/* Visor */
.viewer {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: var(--text);
}
.viewer::backdrop { background: #000; }
.viewer video { width: 100%; height: 100%; object-fit: contain; }
.viewer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid var(--clip-2);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  cursor: pointer;
}

/* Escenas fijadas: solo con animación activa */
.fx .mission { height: 260vh; }
.fx .mission-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-value { font-size: min(7.6vw, 9rem); }

  .fx .hero { height: 280vh; }
  .fx .hero-stage { position: sticky; top: 0; height: 100vh; }

  .fx .pillars { height: calc(300vw + 100vh); }
  .fx .pillars-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .fx .pillars-track { display: flex; width: 400vw; height: 100%; will-change: transform; }
  .fx .pillar { flex: 0 0 100vw; min-height: 0; height: 100%; border-top: 0; border-right: 1px solid var(--clip); }

  .fx .stage { display: block; height: 230vh; }
  .fx .stage-inner { position: sticky; top: 0; height: 100vh; }
}

@media (max-width: 767px) {
  .hero-title, .reflection { font-size: 10.6vw; }
  .reflection-lead { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-content { padding-bottom: 3rem; }
  .btn { width: 100%; text-align: center; }
  .scroll-hint { display: none; }

  .timeline { left: 0; right: 0; bottom: 0; }
  .timeline-track { gap: 0; pointer-events: none; }
  .clip { height: 3px; visibility: hidden; }
  .playhead { top: 0; bottom: 0; width: 100%; transform-origin: left; }

  .timecode { display: none; }
  .topbar { grid-template-columns: 1fr auto; }

  .strip:nth-child(2n) { display: none; }
  .mission-title { font-size: 8.4vw; }
  .mission-line { font-size: min(5.2vw, 2.7vh); }
  .mission-copy { padding-bottom: calc(clamp(4rem, 15vh, 9rem) + 2.5rem); }

  .rail { --reel: 74vw; }
  .reel, .brand-card { transform: scale(.94); }

  .offer-list, .faq-list, .story-copy, .form { grid-template-columns: minmax(0, 1fr); }

  .stage.scene-on { display: block; height: 70svh; }
  .stage.scene-on .stage-inner { height: 70svh; }
  .stage.scene-on .flood { display: none; }

  .footer-fin { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blade { display: none; }
  .reel, .brand-card, .clip::before, .cursor { transition: none; }
}
