/* ==========================================================================
   QuintaDerby — Landing (spec v4)
   Paleta oficial: navy #22303A, crema #F5F1EA y terracota #C26B4C (logos del cliente, 15/10/2026).
   Tipografías del Portafolio QuintaDerby 2026 (§5.1).
   Decisión del cliente: botones y recuadros sin bisel (radio 0) y párrafos finos.
   ========================================================================== */
:root {
  --qd-navy: #22303A;
  --qd-terracotta: #C26B4C;
  --qd-terracotta-dark: #A85A3E;
  --qd-cream: #F5F1EA;

  --qd-color-bg: var(--qd-navy);
  --qd-color-fg: var(--qd-cream);
  --qd-color-surface: var(--qd-cream);
  --qd-color-accent: var(--qd-terracotta);
  --qd-color-muted: rgba(245, 241, 234, .76);
  --qd-color-line: rgba(245, 241, 234, .18);
  --qd-color-error: #F2A08A;
  --qd-color-wa: #25D366;

  --qd-font-body: "Poppins", system-ui, sans-serif;
  --qd-font-accent: "Lora", Georgia, serif;
  --qd-radius: 0;
  --qd-space: clamp(16px, 4vw, 48px);
  --qd-h1: clamp(2.25rem, 5.6vw, 4.25rem);
  --qd-h2: clamp(1.7rem, 3.6vw, 2.9rem);
  --qd-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; } /* sin scroll-behavior: smooth (lo hace ScrollToPlugin) */
body {
  margin: 0;
  background: var(--qd-color-bg);
  color: var(--qd-color-fg);
  font: 300 .9375rem/1.65 var(--qd-font-body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--qd-font-body); margin: 0; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: var(--qd-h1); font-weight: 300; }
h2 { font-size: var(--qd-h2); font-weight: 300; }
h3 { font-weight: 500; }
p { margin: 0; }
strong { font-weight: 500; }

/* Remate en Lora itálica terracota (patrón del portafolio) */
.qd-accent { font-family: var(--qd-font-accent); font-style: italic; font-weight: 400; color: var(--qd-terracotta); letter-spacing: 0; }
/* Sobre fotos el terracota puro pierde contraste: se aclara un poco */

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--qd-terracotta); color: var(--qd-cream);
  padding: 10px 14px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.pending { color: var(--qd-terracotta); font-style: italic; }

.eyebrow {
  font: 500 .6875rem/1 var(--qd-font-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--qd-color-muted);
  margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--qd-terracotta); }
.lead { font-size: clamp(.92rem, 1.15vw, 1.02rem); font-weight: 300; color: var(--qd-color-muted); max-width: 44ch; }

/* ---------- Botones (sin bisel) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  background: var(--qd-terracotta); color: var(--qd-cream);
  border: 0; border-radius: 0;
  font: 500 .92rem/1 var(--qd-font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--qd-terracotta-dark); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.site-header .btn { white-space: nowrap; flex: none; }
@media (max-width: 360px) { .site-header .btn { padding: 0 14px; font-size: .8rem; } }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--qd-cream); box-shadow: inset 0 0 0 1px rgba(245,241,234,.6); }
.btn-ghost:hover { background: rgba(245,241,234,.1); box-shadow: inset 0 0 0 1px var(--qd-cream); }
.btn-wa { background: var(--qd-color-wa); color: #072814; }
.btn-wa:hover { background: #3BE07B; }
.btn-wa img { width: 22px; height: 22px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Pantalla de carga (descarga del video de intro) ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--qd-navy);
  transition: opacity .6s ease, visibility 0s .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 56px; height: 56px; animation: loader-breathe 1.8s ease-in-out infinite; }
@keyframes loader-breathe { 50% { opacity: .55; } }
.loader-bar { position: relative; width: min(220px, 50vw); height: 2px; background: var(--qd-color-line); overflow: hidden; }
.loader-bar span {
  position: absolute; inset: 0; background: var(--qd-terracotta);
  transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .25s ease;
}
.loader.is-indeterminate .loader-bar span { right: auto; width: 40%; transform: none; animation: loader-slide 1.2s ease-in-out infinite; }
@keyframes loader-slide { from { left: -40%; } to { left: 100%; } }
.loader-pct { font-size: .7rem; letter-spacing: .2em; color: var(--qd-color-muted); font-variant-numeric: tabular-nums; }
.loader.is-indeterminate .loader-pct { visibility: hidden; }
html.is-loading, html.is-loading body { overflow: hidden; }
.is-static .loader { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--qd-header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--qd-space);
  padding-top: env(safe-area-inset-top);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-solid {
  background: rgba(34, 48, 58, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--qd-color-line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; }
.logo-word { width: 146px; }
.header-nav { display: none; gap: 30px; margin-left: auto; }
.header-nav a { text-decoration: none; font-size: .85rem; color: var(--qd-color-muted); transition: color .2s; }
.header-nav a:hover { color: var(--qd-cream); }
@media (min-width: 1100px) { .header-nav { display: flex; } }
@media (max-width: 420px) { .logo-word { width: 116px; } .logo-mark { display: none; } }

/* ---------- Recorrido (pin + scrub) ---------- */
#scrub { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--qd-navy); }
#scrub-canvas, .scrub-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-poster { z-index: 1; transition: opacity .4s ease; }
.scrub-poster.is-hidden { opacity: 0; }
.scrub-intro { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: var(--qd-navy); }
.scrub-intro { transition: opacity .5s ease; } /* fundido de entrada al volver a reproducir desde el logo */
.scrub-intro.is-done { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.scrub-dip { position: absolute; inset: 0; z-index: 2; background: var(--qd-navy); opacity: 0; visibility: hidden; pointer-events: none; }
/* Escenas sin video: fondo plano con el isotipo grande como marca de agua (estilo del portafolio).
   Van después de .scrub-shade en el DOM, así el degradado no las oscurece. */
.scrub-flat { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden; }
.scrub-flat[data-scene="trabajar"] { background: var(--qd-navy); }
.scrub-flat img {
  position: absolute; right: -6vw; top: 50%; transform: translateY(-50%);
  width: min(62vh, 46vw); height: auto; opacity: .07;
}

.scrub-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    /* El oscurecido se concentra a la izquierda (texto); la derecha queda casi limpia */
    linear-gradient(to right, rgba(26,37,45,.9) 0%, rgba(26,37,45,.7) 40%, rgba(26,37,45,.22) 65%, rgba(26,37,45,.08) 80%, transparent 92%),
    linear-gradient(to top, rgba(26,37,45,.75) 0%, rgba(26,37,45,.35) 38%, transparent 62%),
    linear-gradient(to bottom, rgba(26,37,45,.5), transparent 18%);
}

.scene {
  position: absolute; inset: 0; z-index: 3;
  display: grid; align-content: end;
  padding: calc(var(--qd-header-h) + 24px) calc(var(--qd-space) + 120px) clamp(56px, 10vh, 112px) var(--qd-space);
}
.scene-inner { max-width: 600px; display: grid; gap: 18px; }
/* Sombra suave en los textos sobre video: mantiene la lectura sin oscurecer toda la imagen */
.scene h1, .scene h2, .scene .lead, .scene .eyebrow, .scene .address, .scene .bullets, .scene .note { text-shadow: 0 1px 2px rgba(26,37,45,.45), 0 2px 18px rgba(26,37,45,.55); }
.scene-inner--mid { max-width: 760px; }
.scene-inner--wide { max-width: 1080px; }
.scene h2 { max-width: 19ch; } /* el título queda en la mitad oscura; la derecha del video, limpia */
.scene--hero h1 { max-width: 15ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.link-wa { color: var(--qd-color-muted); font-size: .88rem; text-underline-offset: 4px; }
.link-wa:hover { color: var(--qd-cream); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--qd-color-muted); display: flex; gap: 8px; align-items: center; white-space: nowrap;
}
.scroll-hint span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* Recuadros translúcidos (sin bisel) */
.benefits li, .rooms li {
  background: rgba(34, 48, 58, .62); border: 1px solid var(--qd-color-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--qd-radius);
}

/* Trabajar */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 6px; }
.card { overflow: hidden; display: flex; flex-direction: column; background: var(--qd-cream); color: var(--qd-navy); border-radius: var(--qd-radius); }
.card img { width: 100%; height: clamp(96px, 19vh, 200px); object-fit: cover; }
.card-body { padding: 14px 18px 16px; display: grid; gap: 4px; }
.card h3 { font-size: 1.05rem; }
.card-meta { color: rgba(34, 48, 58, .78); font-size: .84rem; }
.card-link {
  justify-self: start; margin-top: 6px;
  color: var(--qd-cream); font-weight: 500; font-size: .88rem; text-decoration: none;
  display: inline-flex; gap: 6px; padding: 6px 0;
}
.card-link span { color: var(--qd-terracotta); transition: transform .2s; }
.card .card-link { color: var(--qd-navy); }
.card-link:hover span { transform: translateX(3px); }
.includes {
  list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--qd-color-line);
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .82rem; color: var(--qd-color-muted);
}
.includes li { display: flex; align-items: center; gap: 8px; }
.includes svg { width: 18px; height: 18px; }

/* Reunirse */
.rooms { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rooms li { padding: 16px 18px; display: grid; gap: 4px; border-left: 2px solid var(--qd-terracotta); }
.rooms strong { font-size: .98rem; }
.rooms span { font-size: .84rem; color: var(--qd-color-muted); }
.note { font-size: .85rem; color: var(--qd-color-muted); }
/* Sobre color plano no hace falta la sombra de texto */
.scene[data-id="trabajar"] * { text-shadow: none !important; }

.scene .card-link { margin-top: 0; }

/* La quinta */
.benefits { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.benefits li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: .88rem; font-weight: 400; }
.benefits li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.benefits svg, .address svg, .includes svg {
  flex: none; fill: none; stroke: var(--qd-terracotta); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.benefits svg { width: 24px; height: 24px; }

/* Ubicación (Business Zone → acento salvia) */
.address { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 400; }
.address svg { width: 24px; height: 24px; }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--qd-color-muted); font-size: .88rem; }
.bullets li { display: flex; gap: 12px; align-items: baseline; }
.bullets li::before { content: ""; width: 6px; height: 6px; background: var(--qd-terracotta); flex: none; transform: translateY(-2px); }

/* ---------- Indicador lateral de progreso (se mantiene: lo pidió el cliente) ---------- */
.progress {
  position: absolute; z-index: 4;
  right: var(--qd-space); top: 50%; transform: translateY(-50%);
  display: grid; gap: 20px;
}
.progress a {
  position: relative; display: block; width: 11px; height: 11px;
  border-radius: 50%; border: 1.5px solid var(--qd-cream);
  transition: background-color .25s, transform .25s, border-color .25s;
}
.progress a::after { content: ""; position: absolute; inset: -10px; } /* área táctil */
.progress a[aria-current="step"] { background: var(--qd-terracotta); border-color: var(--qd-terracotta); transform: scale(1.3); }
.progress span {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: .75rem; letter-spacing: .04em; color: var(--qd-cream); opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.progress a:hover span, .progress a:focus-visible span, .progress a[aria-current="step"] span { opacity: .92; }

/* ---------- Contacto ---------- */
.contact {
  position: relative; isolation: isolate;
  padding: calc(var(--qd-header-h) + 48px) var(--qd-space) 96px;
  background: url(../img/static/contacto.jpg) center / cover no-repeat;
  min-height: 100svh; display: grid; align-items: center;
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(34,48,58,.92) 0%, rgba(34,48,58,.7) 45%, rgba(34,48,58,.45) 100%),
    linear-gradient(to top, rgba(34,48,58,.6), transparent 35%);
}
.contact-inner {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr minmax(380px, 480px); gap: 72px; } }
.contact-copy { display: grid; gap: 18px; }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 10px; }
.contact-lines { display: grid; gap: 2px; font-size: .88rem; }
.contact-lines a { color: var(--qd-color-muted); text-underline-offset: 4px; }
.contact-name { color: var(--qd-cream); font-weight: 400; }
.contact-lines a:hover { color: var(--qd-cream); }

/* Formulario sobre crema */
.form-card {
  background: var(--qd-cream); color: var(--qd-navy);
  border-radius: var(--qd-radius); padding: clamp(20px, 3vw, 34px);
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
label { font-size: .82rem; font-weight: 400; color: rgba(34, 48, 58, .78); }
.optional { color: rgba(34, 48, 58, .6); }
input[type="text"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: transparent; color: var(--qd-navy);
  border: 1px solid rgba(34, 48, 58, .2); border-radius: var(--qd-radius);
  font: 300 1rem/1.4 var(--qd-font-body); /* 16px: evita zoom en iOS */
  transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--qd-navy) 50%), linear-gradient(-45deg, transparent 50%, var(--qd-navy) 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select:invalid { color: rgba(34, 48, 58, .6); }
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--qd-terracotta); box-shadow: 0 0 0 3px rgba(194,107,76,.2); }
.form-card [aria-invalid="true"] { border-color: #A8452A !important; }
.hint { font-size: .75rem; color: rgba(34, 48, 58, .6); }
.form-card .error, .form-status { font-size: .8rem; color: #A8452A; }
.field-check { grid-template-columns: 22px 1fr; align-items: start; column-gap: 10px; }
.field-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--qd-terracotta); }
.field-check label { color: rgba(34, 48, 58, .78); }
.field-check .error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; }
.form-success { display: grid; gap: 20px; padding: 4px 0; }
.form-success:focus { outline: none; }
.success-title { font: 300 1.3rem/1.35 var(--qd-font-body); }

/* ---------- FAQ (crema) ---------- */
.faq { padding: 96px var(--qd-space); background: var(--qd-cream); color: var(--qd-navy); }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq .eyebrow { color: var(--qd-terracotta); }
.faq h2 { margin: 12px 0 32px; }
details { border-top: 1px solid rgba(34, 48, 58, .2); }
details:last-of-type { border-bottom: 1px solid rgba(34, 48, 58, .2); }
summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 400 .98rem/1.4 var(--qd-font-body);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 300 1.5rem/1 var(--qd-font-body); color: var(--qd-terracotta); transition: transform .25s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 20px; color: rgba(34, 48, 58, .78); max-width: 62ch; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px var(--qd-space) calc(44px + env(safe-area-inset-bottom)); background: var(--qd-navy); }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; gap: 24px; align-items: center;
  font-size: .82rem; color: var(--qd-color-muted);
}
.footer-logo { width: 156px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a, .footer-legal a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { color: var(--qd-cream); text-decoration: underline; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr auto; gap: 48px; } }

/* ---------- WhatsApp FAB (solo mobile) ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: none;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));
  transition: opacity .25s, transform .25s;
}
.wa-fab img { width: 100%; height: 100%; }
.wa-fab.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }

/* ---------- Desktop bajo ---------- */
@media (min-width: 769px) and (max-height: 760px) {
  .scene-inner { gap: 12px; }
  .card img { height: 84px; }
  .rooms li { padding: 12px 16px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  :root { --qd-header-h: 64px; }
  .wa-fab { display: block; }
  .scene { padding: calc(var(--qd-header-h) + 16px) var(--qd-space) 70px; }
  .scene-inner { gap: 12px; }
  .lead { font-size: .88rem; }
  .cta-row .btn { width: 100%; }
  .scene--hero .cta-row { justify-content: center; }
  /* Tarjetas: carrusel horizontal dentro de la escena */
  .cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--qd-space) * -1); padding: 0 var(--qd-space) 4px;
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card img { height: clamp(80px, 15svh, 140px); }
  .includes { gap: 8px 16px; font-size: .76rem; padding-top: 10px; }
  .rooms { grid-template-columns: 1fr; gap: 8px; }
  .rooms li { padding: 10px 14px; }
  .benefits { grid-template-columns: 1fr; gap: 8px; }
  .benefits li { padding: 10px 14px; font-size: .84rem; }
  .progress {
    top: auto; bottom: 26px; right: auto; left: 50%; transform: translateX(-50%);
    grid-auto-flow: column; gap: 20px;
  }
  .progress span { display: none; }
  .scroll-hint { display: none; }
  .scrub-shade {
    background:
      linear-gradient(to top, rgba(26,37,45,.92) 0%, rgba(26,37,45,.6) 50%, rgba(26,37,45,.15) 80%),
      linear-gradient(to bottom, rgba(26,37,45,.5), transparent 20%);
  }
  .contact { padding-bottom: 110px; }
}

/* ---------- Modo estático (sin JS, reduced motion, datos reducidos) ---------- */
.scene[data-id="inicio"]    { --bg: url(../img/static/inicio.jpg); }
.scene[data-id="trabajar"]  { --bg: var(--qd-navy); }
.scene[data-id="reunirse"]  { --bg: url(../img/static/reunirse.jpg); }
.scene[data-id="quinta"]    { --bg: url(../img/static/quinta.jpg); }
.scene[data-id="ubicacion"] { --bg: url(../img/static/ubicacion.jpg); }

.no-js #scrub, .is-static #scrub { height: auto; overflow: visible; }
.no-js #scrub-canvas, .is-static #scrub-canvas,
.no-js .scrub-poster, .is-static .scrub-poster,
.no-js .scrub-intro, .is-static .scrub-intro,
.no-js .scrub-shade, .is-static .scrub-shade,
.no-js .scrub-dip, .is-static .scrub-dip,
.no-js .scrub-flat, .is-static .scrub-flat,
.no-js .progress, .is-static .progress,
.no-js .scroll-hint, .is-static .scroll-hint { display: none; }
.no-js .scene, .is-static .scene {
  position: relative; min-height: 100svh; isolation: isolate;
  padding-right: var(--qd-space);
  background: var(--bg) center / cover no-repeat;
}
.no-js .scene::before, .is-static .scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(26,37,45,.9), rgba(26,37,45,.45) 60%, rgba(26,37,45,.3));
}
.no-js .scene[data-id="trabajar"]::before, .is-static .scene[data-id="trabajar"]::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
