/* =========================================================
   Uriel Digital · Prototipo de entrada (habitación → pantalla)
   ========================================================= */

:root {
  /* Colores oficiales */
  --salvia: #A5A79B;
  --beige: #E8D2B5;
  --vino: #590907;

  /* Derivados */
  --marfil: #F4E9DA;
  --vino-profundo: #2a0403;
  --tinta: #2b1512;
  --noche: #0b0705;

  --fuente-titulos: "Fraunces", Georgia, "Times New Roman", serif;
  --fuente-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Distancia de desplazamiento que dura la intro */
  --recorrido: 240vh;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--tinta);
  font-family: var(--fuente-texto);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: none; }
a { color: inherit; }

/* ---------- Intro ---------- */

.intro {
  position: relative;
  height: calc(100vh + var(--recorrido));
  background: var(--noche);
}

.escenario {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--noche);
  contain: layout paint;
}

.escena {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity .9s ease;
}
.listo .escena { opacity: 1; }

/* Imágenes de la habitación (render v3) y sus niveles de detalle */
.capa {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  transform-origin: 0 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pantalla viva: recortada con clip-path al rectángulo de la pantalla de la laptop */
.pantalla-viva {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(50% 50% 50% 50%);
  pointer-events: none;
  background: var(--beige);
}
.pantalla-viva.activa { pointer-events: auto; }
/* Mientras carga la habitación, la pantalla tampoco se muestra (aparecen juntas) */
.js:not(.listo) .pantalla-viva { visibility: hidden; }

.pantalla-contenido {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  will-change: transform;
  background: var(--beige);
  /* "Contenedor": la portada se adapta al tamaño de ESTA caja (la pantalla de la laptop
     o la ventana completa al final), no al de la ventana del navegador. */
  container-type: size;
  container-name: pantalla;
}

.pantalla-reflejo,
.pantalla-atenuado {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pantalla-reflejo {
  background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 34%, rgba(255, 255, 255, 0) 34.5%);
}
.pantalla-atenuado { background: #120804; }

/* Viñeta + grano de película */
.cine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 55%, rgba(0, 0, 0, .38) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' 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 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 1;
}
.ligero .cine {
  background: radial-gradient(ellipse at 50% 48%, transparent 55%, rgba(0, 0, 0, .38) 100%);
}

/* Indicador «Desliza para entrar» */
.indicador {
  position: absolute;
  left: 50%;
  bottom: max(1.4rem, env(safe-area-inset-bottom));
  z-index: 5;
  margin: 0;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: .6rem;
  color: var(--beige);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  pointer-events: none;
}
.indicador i {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--beige), transparent);
  transform-origin: top;
  animation: indicador 1.8s ease-in-out infinite;
}
@keyframes indicador {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Portada provisional (vive dentro de la pantalla) ---------- */

/* Todas las medidas usan "cqw/cqh": % del ancho/alto de la caja .pantalla-contenido.
   Esa caja mide lo que se ve de la pantalla de la laptop y, al terminar el zoom, la ventana
   completa. Así la portada llena la pantalla en la laptop, durante el zoom y al final,
   con los mismos proporciones. Los clamp() ponen mínimos y máximos razonables. */
.portada {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(1rem, min(3.6cqh, 2.4cqw), 2.8rem) clamp(1.25rem, 4.6cqw, 6rem);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(165, 167, 155, .45), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(89, 9, 7, .10), transparent 50%),
    var(--beige);
  color: var(--vino);
}

.portada__barra {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  text-decoration: none;
  font-family: var(--fuente-titulos);
  font-size: clamp(1.1rem, min(1.55cqw, 2.9cqh), 1.75rem);
  font-weight: 600;
  letter-spacing: .01em;
}
.marca__u { width: 1.2em; height: auto; color: var(--vino); }

.portada__nav {
  display: flex;
  gap: clamp(1rem, 2.6cqw, 3rem);
  font-size: clamp(.9rem, min(1.1cqw, 2.1cqh), 1.25rem);
  font-weight: 500;
}
.portada__nav a { text-decoration: none; position: relative; }
.portada__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.portada__nav a:hover::after { transform: scaleX(1); }

/* Bloque principal: ocupa casi todo el ancho, centrado y apenas por encima del centro */
.portada__centro {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(100%, 90cqw);
  padding-bottom: 2.5cqh;
  text-align: center;
}

.portada__antetitulo {
  margin: 0 0 clamp(1rem, 3.4cqh, 2.6rem);
  font-size: clamp(.72rem, min(1cqw, 1.9cqh), 1.1rem);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--tinta);
  opacity: .75;
}

/* El título es el protagonista */
.portada__titulo {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 400;
  font-size: clamp(2.4rem, min(9.2cqw, 16cqh), 12rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.portada__titulo em { font-style: italic; color: var(--tinta); }

.portada__texto {
  max-width: 32em;
  margin: clamp(1rem, 3.6cqh, 2.6rem) auto 0;
  font-size: clamp(1rem, min(1.7cqw, 3cqh), 1.8rem);
  line-height: 1.55;
  color: var(--tinta);
  text-wrap: balance;
}

/* Botones uno al lado del otro, con tamaño propio (no a todo el ancho) */
.portada__botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.7rem, 1.2cqw, 1.3rem);
  margin-top: clamp(1.4rem, 5cqh, 3.6rem);
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: max(48px, 3.2em);
  padding: .95em 2em;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(.95rem, min(1.2cqw, 2.3cqh), 1.35rem);
  text-decoration: none;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton:focus-visible { outline: 2px solid var(--vino); outline-offset: 3px; }
.boton--vino { background: var(--vino); color: var(--marfil); }
.boton--vino:hover { background: #6e0d0a; }
.boton--linea { border: 1.5px solid var(--vino); color: var(--vino); }
.boton--linea:hover { background: var(--vino); color: var(--marfil); }

/* Pantalla angosta (celular al terminar el zoom): versión vertical */
@container pantalla (max-width: 620px) {
  .portada__nav a:not(:last-child) { display: none; }
  .portada__centro { width: 100%; padding-bottom: 8cqh; }
  .portada__antetitulo { font-size: .72rem; letter-spacing: .16em; }
  .portada__titulo { font-size: clamp(2.3rem, min(13.5cqw, 7.5cqh), 4.2rem); }
  .portada__texto { font-size: clamp(1rem, 4.4cqw, 1.2rem); }
  .portada__botones { flex-direction: column; align-items: stretch; }
  .boton { font-size: 1rem; }
}

/* ---------- Encabezados de sección (compartidos) ---------- */

.seccion__etiqueta {
  margin: 0 0 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--salvia);
}
.seccion__titulo {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.seccion__titulo em { font-style: italic; }
.seccion__intro {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  opacity: .82;
}

/* Aparición al llegar a la pantalla (js/secciones.js) */
.con-aparicion [data-aparece] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--retraso, 0s),
              transform .9s cubic-bezier(.2, .7, .2, 1) var(--retraso, 0s);
}
.con-aparicion [data-aparece].visible { opacity: 1; transform: none; }

/* ---------- Proyectos ---------- */

.proyectos {
  position: relative;
  padding: clamp(5rem, 11vw, 9.5rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(89, 9, 7, .45), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(165, 167, 155, .10), transparent 70%),
    #120b08;
  color: var(--beige);
}
.proyectos__cabecera { max-width: 76rem; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.proyectos .seccion__titulo { color: var(--marfil); }
.proyectos .seccion__titulo em { color: var(--beige); }

.proyectos__rejilla {
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.proyecto {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(232, 210, 181, .12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  overflow: hidden;
  transition: border-color .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}
.proyecto:hover {
  border-color: rgba(232, 210, 181, .3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

/* Imagen dentro de un marco de navegador */
.proyecto__marco {
  position: relative;
  margin: clamp(.8rem, 1.6vw, 1.2rem) clamp(.8rem, 1.6vw, 1.2rem) 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1d1410;
  aspect-ratio: 16 / 10.6;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}
.proyecto__barra {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: flex;
  gap: 6px;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  background: rgba(18, 11, 8, .92);
}
.proyecto__barra i { width: 8px; height: 8px; border-radius: 50%; background: rgba(232, 210, 181, .28); }
.proyecto__marco img {
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: calc(100% - 26px);
  object-fit: cover;
  object-position: top center;
  transform: scale(1.001);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.proyecto:hover .proyecto__marco img { transform: scale(1.045); }

/* Placas NFC/QR: ilustración hasta tener fotos reales */
.proyecto__marco--placa {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(165, 167, 155, .22), transparent 65%),
    linear-gradient(160deg, #2a1712, #140c09);
}
.placa {
  display: grid;
  justify-items: center;
  gap: .7rem;
  width: min(46%, 220px);
  aspect-ratio: 1;
  align-content: center;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--marfil), var(--beige));
  color: var(--vino);
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: rotate(-6deg);
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.proyecto:hover .placa { transform: rotate(-2deg) translateY(-6px); }
.placa__u { width: 28%; }
.placa__ondas { width: 22%; color: var(--tinta); opacity: .7; }
.placa__texto { font-size: clamp(.62rem, 1vw, .78rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta); }
.proyecto__ilustracion {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232, 210, 181, .8);
}

.proyecto__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.3rem, 2.4vw, 2rem) clamp(1.3rem, 2.6vw, 2.2rem) clamp(1.5rem, 2.6vw, 2.2rem);
}
.proyecto__tipo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .8rem;
  margin: 0 0 1rem;
  font-size: .8rem;
  color: rgba(232, 210, 181, .7);
}
.etiqueta {
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.etiqueta--cliente { background: var(--beige); color: var(--vino); }
.etiqueta--demo { border: 1px solid rgba(165, 167, 155, .7); color: var(--salvia); }
.etiqueta--producto { border: 1px solid rgba(232, 210, 181, .45); color: var(--beige); }

.proyecto__nombre {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: var(--marfil);
}
.proyecto__texto {
  margin: .9rem 0 0;
  font-size: .98rem;
  line-height: 1.65;
  color: rgba(232, 210, 181, .82);
}
.proyecto__claves {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}
.proyecto__claves li {
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(232, 210, 181, .07);
  font-size: .78rem;
  color: rgba(232, 210, 181, .85);
}
.proyecto__enlace {
  margin: auto 0 0;
  padding-top: 1.5rem;
  font-size: .82rem;
}
.proyecto__enlace--nota {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232, 210, 181, .5);
}
.enlace-sitio {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1.35rem;
  border-radius: 999px;
  background: var(--beige);
  color: var(--vino);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
.enlace-sitio span[aria-hidden] { transition: transform .3s ease; }
.enlace-sitio:hover { background: var(--marfil); transform: translateY(-2px); }
.enlace-sitio:hover span[aria-hidden] { transform: translate(2px, -2px); }
.enlace-sitio:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }

/* Botón «Explorar demostración»: contorno elegante; se distingue del sitio de un cliente real */
.proyecto__enlace--demo { display: grid; justify-items: start; gap: .6rem; }
.enlace-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 46px;
  padding: .45rem 1.1rem .45rem .45rem;
  border: 1px solid rgba(232, 210, 181, .45);
  border-radius: 999px;
  color: var(--beige);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s ease, transform .3s ease, color .3s ease;
}
.enlace-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(232, 210, 181, .16) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s ease;
}
.enlace-demo__icono {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--beige);
  color: var(--vino);
  transition: transform .3s ease;
}
.enlace-demo__icono svg { width: 1.05rem; height: 1.05rem; margin-left: 2px; }
.enlace-demo__estado {
  padding: .15rem .55rem;
  border: 1px solid rgba(165, 167, 155, .5);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--salvia);
}
.enlace-demo__texto, .enlace-demo__estado { white-space: nowrap; }
@media (max-width: 420px) {
  .enlace-demo { gap: .5rem; padding-right: .8rem; font-size: .86rem; }
  .enlace-demo__estado { padding: .12rem .45rem; font-size: .58rem; letter-spacing: .08em; }
}
.enlace-demo[aria-disabled="true"] { cursor: default; border-style: dashed; opacity: .85; }
.enlace-demo.activa { cursor: pointer; }
.enlace-demo.activa:hover { border-color: var(--beige); transform: translateY(-2px); }
.enlace-demo.activa:hover::before { transform: translateX(100%); }
.enlace-demo.activa:hover .enlace-demo__icono { transform: scale(1.08); }
.enlace-demo:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }
.enlace-demo__nota {
  margin: 0;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232, 210, 181, .5);
}
@media (prefers-reduced-motion: reduce) {
  .enlace-demo, .enlace-demo::before, .enlace-demo__icono { transition: none; }
}

/* Texto solo para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .proyectos__rejilla { grid-template-columns: 1fr; }
}

/* ---------- Servicios ---------- */

.servicios {
  position: relative;
  padding: clamp(5rem, 11vw, 9.5rem) clamp(1.25rem, 6vw, 6rem) clamp(4rem, 9vw, 8rem);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(165, 167, 155, .35), transparent 70%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(232, 210, 181, .7), transparent 70%),
    var(--marfil);
  color: var(--tinta);
}
.servicios .seccion__etiqueta { color: var(--vino); }
.servicios .seccion__titulo { color: var(--vino); max-width: 15ch; }
.servicios .seccion__titulo em { color: var(--tinta); }
.servicios__cabecera { max-width: 76rem; margin: 0 auto clamp(3rem, 6vw, 5rem); }

.servicios__cuerpo {
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.servicios__lista { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.servicio {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid rgba(89, 9, 7, .16);
}
.servicio:last-child { border-bottom: 1px solid rgba(89, 9, 7, .16); }

.servicio__cabeza {
  display: flex;
  align-items: baseline;
  gap: clamp(.9rem, 2vw, 1.6rem);
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.servicio__cabeza:focus-visible { outline: 2px solid var(--vino); outline-offset: 6px; border-radius: 6px; }
.servicio__num {
  flex: none;
  width: 2.2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: #6f7166;
}
.servicio__nombre {
  position: relative;
  font-family: var(--fuente-titulos);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--vino);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.servicio__nombre::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.25em;
  width: 100%;
  height: 2px;
  background: var(--vino);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.servicio__detalle { padding-left: calc(2.2rem + clamp(.9rem, 2vw, 1.6rem)); transition: opacity .5s ease; }
.servicio__detalle p { max-width: 32rem; margin: 1rem 0 0; font-size: 1rem; line-height: 1.65; }
.servicio__claves { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.servicio__claves li {
  padding: .32rem .8rem;
  border: 1px solid rgba(89, 9, 7, .2);
  border-radius: 999px;
  font-size: .76rem;
  color: var(--vino);
}
.servicio__visual-movil { display: none; }

/* Computadora: el servicio activo resalta, los demás se atenúan */
@media (min-width: 900px) {
  .servicio:not(.activo) .servicio__nombre { opacity: .32; }
  .servicio:not(.activo) .servicio__detalle { opacity: .4; }
  .servicio.activo .servicio__nombre { transform: translateX(.35rem); }
  .servicio.activo .servicio__nombre::after { transform: scaleX(1); }
}

/* Escenario (computadora) */
.servicios__escenario {
  position: sticky;
  top: max(6rem, calc(50vh - min(38vw, 540px) / 2));
}
.escenario-marco,
.servicio__visual-movil {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(89, 9, 7, .55), transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(165, 167, 155, .22), transparent 70%),
    #1a0f0b;
  box-shadow: 0 40px 80px -40px rgba(43, 21, 18, .55);
}
.escenario-marco { aspect-ratio: 1 / 1; max-height: 540px; margin-left: auto; }

.visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.94) translate3d(0, 3cqw, 0);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.visual.activo { opacity: 1; transform: none; }

/* Piezas compartidas de las ilustraciones */
.visual .l { display: block; height: 2.2cqw; border-radius: 99px; background: var(--vino); transform-origin: left; }
.visual .mini-boton { display: block; width: 18cqw; height: 4.4cqw; border-radius: 99px; background: var(--vino); }
.mini-celular {
  position: absolute;
  border: 1.4cqw solid #0d0806;
  border-radius: 4.5cqw;
  background: var(--marfil);
  box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .7);
  overflow: hidden;
}
.mini-celular__pantalla { display: grid; align-content: start; gap: 2cqw; height: 100%; padding: 5cqw 3cqw 3cqw; }

/* 1 · Páginas web */
.mini-navegador {
  position: absolute;
  left: 8cqw;
  top: 17cqw;
  width: 70cqw;
  aspect-ratio: 16 / 11;
  border-radius: 2.4cqw;
  background: var(--marfil);
  box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .75);
  overflow: hidden;
}
.mini-navegador__barra { display: flex; align-items: center; gap: 1cqw; height: 5.5cqw; padding: 0 2.2cqw; background: #2b1a14; }
.mini-navegador__barra i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: rgba(232, 210, 181, .35); }
.mini-navegador__barra span { flex: 1; height: 2.2cqw; margin-left: 2cqw; border-radius: 99px; background: rgba(232, 210, 181, .12); }
.mini-navegador__cuerpo { display: grid; gap: 3.4cqw; padding: 3.4cqw 4cqw; }
.mini-nav { display: flex; align-items: center; gap: 2cqw; }
.mini-nav b { width: 3.4cqw; height: 3.4cqw; margin-right: auto; border-radius: 1cqw; background: var(--vino); }
.mini-nav span { width: 7cqw; height: 1.4cqw; border-radius: 99px; background: rgba(43, 21, 18, .3); }
.mini-hero { display: grid; gap: 1.6cqw; justify-items: start; }
.mini-hero .l--1 { width: 80%; height: 3.6cqw; }
.mini-hero .l--2 { width: 60%; height: 3.6cqw; background: var(--tinta); opacity: .75; }
.mini-hero .l--3 { width: 46%; height: 1.6cqw; background: rgba(43, 21, 18, .3); margin: 1cqw 0; }
.mini-tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.mini-tarjetas span { aspect-ratio: 4 / 3; border-radius: 1.6cqw; background: linear-gradient(150deg, var(--salvia), var(--beige)); }
.mini-tarjetas span:nth-child(2) { background: linear-gradient(150deg, var(--beige), #c9a98a); }
.mini-tarjetas span:nth-child(3) { background: linear-gradient(150deg, #8d3a2c, var(--vino)); }
.mini-celular--web { right: 7cqw; bottom: 12cqw; width: 21cqw; aspect-ratio: 9 / 18; }
.mini-celular--web .l--1 { width: 90%; height: 2.4cqw; }
.mini-celular--web .l--2 { width: 65%; height: 2.4cqw; background: var(--tinta); opacity: .7; }
.mini-celular--web .mini-boton { width: 100%; height: 4cqw; margin-top: 1cqw; }
.mini-celular--web .bloque { display: block; height: 14cqw; margin-top: 1cqw; border-radius: 1.6cqw; background: linear-gradient(150deg, var(--salvia), var(--beige)); }

.visual--web.activo .l,
.visual--web.activo .mini-tarjetas span { animation: crecer .9s cubic-bezier(.2, .7, .2, 1) both; }
.visual--web.activo .l--2 { animation-delay: .12s; }
.visual--web.activo .l--3 { animation-delay: .22s; }
.visual--web.activo .mini-tarjetas span:nth-child(2) { animation-delay: .1s; }
.visual--web.activo .mini-tarjetas span:nth-child(3) { animation-delay: .2s; }
.visual--web.activo .mini-celular--web { animation: flotar 5s ease-in-out infinite; }

/* 2 · Landing pages */
.mini-celular--grande { left: 50%; top: 50%; width: 36cqw; aspect-ratio: 9 / 18.5; translate: -50% -50%; }
.mini-celular--grande .mini-celular__pantalla { gap: 2.4cqw; padding: 4cqw 3.4cqw; }
.mini-celular--grande .foto { display: block; height: 26cqw; border-radius: 2.4cqw; background: linear-gradient(160deg, var(--salvia), #c9a98a 60%, var(--vino)); }
.mini-celular--grande .l--1 { width: 92%; height: 3.4cqw; }
.mini-celular--grande .l--2 { width: 70%; height: 3.4cqw; background: var(--tinta); opacity: .75; }
.mini-celular--grande .l--3 { width: 82%; height: 1.6cqw; background: rgba(43, 21, 18, .3); }
.mini-boton--pulso { width: 100% !important; height: 6cqw !important; margin-top: 2cqw; }
.visual--landing.activo .mini-boton--pulso { animation: pulso 2.2s ease-out infinite; }
.flecha-objetivo {
  position: absolute;
  left: calc(50% + 10cqw);
  top: calc(50% + 21cqw);
  width: 7cqw;
  height: 7cqw;
  border: .6cqw solid var(--beige);
  border-radius: 50%;
  opacity: 0;
}
.visual--landing.activo .flecha-objetivo { animation: toque 2.2s ease-out infinite; }
.visual--landing.activo .mini-celular--grande { animation: flotar 6s ease-in-out infinite; }

/* 3 · Publicidad digital */
.anuncio {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40cqw;
  aspect-ratio: 4 / 5;
  display: grid;
  align-content: start;
  gap: 2cqw;
  padding: 2.4cqw;
  border-radius: 3cqw;
  background: var(--marfil);
  box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .7);
  translate: -50% -50%;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.anuncio .foto { display: block; height: 28cqw; border-radius: 2cqw; background: linear-gradient(150deg, var(--vino), #a4553f 55%, var(--beige)); }
.anuncio--2 .foto { background: linear-gradient(150deg, var(--salvia), var(--beige)); }
.anuncio--3 .foto { background: linear-gradient(150deg, #3a2a24, #8d6e5a); }
.anuncio .l { width: 80%; height: 2.4cqw; }
.anuncio .l--2 { width: 55%; height: 1.6cqw; background: rgba(43, 21, 18, .3); }
.anuncio .mini-boton { width: 100%; height: 4.6cqw; }
.visual--publicidad.activo .anuncio--1 { transform: rotate(3deg) translateY(2cqw); }
.visual--publicidad.activo .anuncio--2 { transform: rotate(-9deg) translate(-17cqw, 1cqw); }
.visual--publicidad.activo .anuncio--3 { transform: rotate(13deg) translate(17cqw, -1cqw); }
.chispa {
  position: absolute;
  right: 10cqw;
  top: 10cqw;
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 1.6cqw 3cqw;
  border-radius: 99px;
  background: var(--beige);
  color: var(--vino);
  font-size: 3.4cqw;
  font-weight: 600;
  letter-spacing: .08em;
  box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .6);
}
.chispa svg { width: 4cqw; height: 4cqw; }
.visual--publicidad.activo .chispa svg { animation: girar 6s linear infinite; }

/* 4 · Contenido para redes */
.rejilla-posts {
  position: absolute;
  left: 10cqw;
  top: 18cqw;
  display: grid;
  grid-template-columns: repeat(3, 15cqw);
  gap: 1.4cqw;
}
.rejilla-posts span { aspect-ratio: 1; border-radius: 1.6cqw; background: linear-gradient(150deg, var(--beige), #c9a98a); }
.rejilla-posts span:nth-child(2), .rejilla-posts span:nth-child(9) { background: linear-gradient(150deg, var(--vino), #8d3a2c); }
.rejilla-posts span:nth-child(3), .rejilla-posts span:nth-child(7) { background: linear-gradient(150deg, var(--salvia), var(--beige)); }
.rejilla-posts span:nth-child(4), .rejilla-posts span:nth-child(8) { background: var(--marfil); }
.rejilla-posts span:nth-child(6) { background: linear-gradient(150deg, #3a2a24, #8d6e5a); }
.rejilla-posts .destacado { background: var(--marfil) !important; outline: .6cqw solid var(--beige); outline-offset: .6cqw; }
.visual--contenido.activo .rejilla-posts span { animation: aparecer-pieza .7s cubic-bezier(.2, .7, .2, 1) both; }
.visual--contenido.activo .rejilla-posts span:nth-child(3n+2) { animation-delay: .08s; }
.visual--contenido.activo .rejilla-posts span:nth-child(3n) { animation-delay: .16s; }
.historia {
  position: absolute;
  right: 9cqw;
  top: 26cqw;
  width: 24cqw;
  aspect-ratio: 9 / 16;
  display: grid;
  align-content: start;
  gap: 2cqw;
  padding: 2cqw;
  border: 1.2cqw solid #0d0806;
  border-radius: 3.6cqw;
  background: linear-gradient(170deg, var(--vino), #3a0605);
  box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .75);
}
.historia__barra { display: block; height: .8cqw; border-radius: 99px; background: rgba(232, 210, 181, .3); position: relative; overflow: hidden; }
.historia__barra::after { content: ""; position: absolute; inset: 0; background: var(--beige); transform-origin: left; transform: scaleX(.3); }
.visual--contenido.activo .historia__barra::after { animation: progreso 4s linear infinite; }
.historia__foto { display: block; height: 24cqw; margin-top: 1cqw; border-radius: 2cqw; background: linear-gradient(160deg, var(--beige), var(--salvia)); }
.historia .l { width: 80%; height: 2.4cqw; background: var(--beige); }
.visual--contenido.activo .historia { animation: flotar 5.5s ease-in-out infinite; }

/* 5 · NFC y QR */
.placa--servicio {
  position: absolute;
  left: 13cqw;
  top: 22cqw;
  width: 38cqw;
  transform: rotate(-8deg);
}
.placa--servicio .placa__u { width: 30%; }
.mini-celular--nfc { right: 12cqw; top: 12cqw; width: 22cqw; aspect-ratio: 9 / 18; }
.mini-celular--nfc .mini-celular__pantalla { background: linear-gradient(170deg, var(--marfil), var(--beige)); }
.visual--nfc.activo .mini-celular--nfc { animation: acercar 3.2s cubic-bezier(.5, 0, .3, 1) infinite; }
.visual--nfc.activo .placa__ondas { animation: ondas 3.2s ease-out infinite; }
.destinos {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  bottom: 8cqw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.destinos li {
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.6cqw 3cqw;
  border: 1px solid rgba(232, 210, 181, .3);
  border-radius: 99px;
  font-size: 3.2cqw;
  color: var(--beige);
}
.destinos svg { width: 3.8cqw; height: 3.8cqw; }
.visual--nfc.activo .destinos li { animation: aparecer-pieza .7s cubic-bezier(.2, .7, .2, 1) both; }
.visual--nfc.activo .destinos li:nth-child(2) { animation-delay: .12s; }
.visual--nfc.activo .destinos li:nth-child(3) { animation-delay: .24s; }

@keyframes crecer { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.2cqw); } }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(89, 9, 7, .45); } 70%, 100% { box-shadow: 0 0 0 3.4cqw rgba(89, 9, 7, 0); } }
@keyframes toque { 0% { opacity: 0; transform: scale(1.6); } 30% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes progreso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes aparecer-pieza { from { opacity: 0; transform: translateY(2.4cqw) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes acercar {
  0%, 100% { transform: translate(0, 0) rotate(8deg); }
  45%, 60% { transform: translate(-22cqw, 12cqw) rotate(-4deg); }
}
@keyframes ondas { 0%, 35% { opacity: .25; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } 75%, 100% { opacity: .25; transform: scale(.9); } }

/* Invitación a cotizar */
.cotizar {
  max-width: 76rem;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(165, 167, 155, .25), transparent 70%),
    var(--vino);
  color: var(--beige);
}
.cotizar__titulo {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  color: var(--marfil);
}
.cotizar__texto p { max-width: 30rem; margin: 1rem 0 0; line-height: 1.65; opacity: .85; }
.cotizar__opciones { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; border: 0; }
.cotizar__opciones label { position: relative; cursor: pointer; }
.cotizar__opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cotizar__opciones span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .6rem 1.1rem;
  border: 1px solid rgba(232, 210, 181, .45);
  border-radius: 999px;
  font-size: .9rem;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.cotizar__opciones span::before { content: "+"; margin-right: .5rem; opacity: .7; transition: transform .3s ease; }
.cotizar__opciones label:hover span { border-color: var(--beige); }
.cotizar__opciones input:checked + span { background: var(--beige); border-color: var(--beige); color: var(--vino); }
.cotizar__opciones input:checked + span::before { content: "✓"; opacity: 1; }
.cotizar__opciones input:focus-visible + span { outline: 2px solid var(--beige); outline-offset: 3px; }
.boton-cotizar {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 54px;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  background: var(--beige);
  color: var(--vino);
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
.boton-cotizar svg { width: 1.3rem; height: 1.3rem; }
.boton-cotizar:hover { background: var(--marfil); transform: translateY(-2px); }
.boton-cotizar:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }
.cotizar__texto { grid-row: span 2; }

/* Celular y tableta: una columna, cada servicio con su ilustración */
@media (max-width: 899px) {
  .servicios__cuerpo { grid-template-columns: 1fr; }
  .servicios__escenario { display: none; }
  .servicio__visual-movil { display: block; aspect-ratio: 1 / 1; max-width: 520px; margin-top: 1.6rem; }
  .servicio__detalle { padding-left: 0; }
  .cotizar { grid-template-columns: 1fr; padding: 2rem 1.4rem; border-radius: 22px; }
  .cotizar__opciones { gap: .5rem; }
  .cotizar__opciones span { padding: .55rem .9rem; font-size: .85rem; }
  .cotizar__texto { grid-row: auto; }
  .boton-cotizar { grid-column: 1; justify-self: stretch; justify-content: center; }
}

/* Movimiento reducido: ilustraciones quietas */
@media (prefers-reduced-motion: reduce) {
  .visual, .visual *, .servicio__nombre, .servicio__nombre::after { animation: none !important; transition: none !important; }
}
.reducido .visual, .reducido .visual * { animation: none !important; transition: none !important; }

/* ---------- Contacto ---------- */

.contacto {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 9.5rem) clamp(1.25rem, 6vw, 6rem) clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 60% 55% at 15% 0%, rgba(89, 9, 7, .6), transparent 70%),
    radial-gradient(ellipse 50% 45% at 100% 70%, rgba(165, 167, 155, .14), transparent 70%),
    #120b08;
  color: var(--beige);
}
.contacto__interior { max-width: 76rem; margin: 0 auto; }
.contacto__cabecera { max-width: 46rem; }
.contacto .seccion__titulo { color: var(--marfil); }
.contacto .seccion__titulo em { color: var(--beige); }

.contacto__canales {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.canal {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icono tipo"
    "dato dato"
    "accion accion";
  align-items: center;
  gap: 1rem 1rem;
  min-height: clamp(15rem, 24vw, 19rem);
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  border-radius: 28px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease, border-color .4s ease;
}
.canal::after {
  /* brillo que se desplaza al pasar el cursor */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--x, 80%) var(--y, 20%), rgba(255, 255, 255, .18), transparent 45%);
  opacity: 0;
  transition: opacity .5s ease;
}
.canal:hover { transform: translateY(-4px); }
.canal:hover::after { opacity: 1; }
.canal:focus-visible { outline: 2px solid var(--beige); outline-offset: 4px; }

.canal--whatsapp {
  background: linear-gradient(150deg, var(--beige), #d9bb98);
  color: var(--vino);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.canal--instagram {
  border: 1px solid rgba(232, 210, 181, .25);
  background: linear-gradient(150deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  color: var(--beige);
}
.canal--instagram:hover { border-color: rgba(232, 210, 181, .55); }

.canal__icono {
  grid-area: icono;
  position: relative;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
}
.canal--whatsapp .canal__icono { background: var(--vino); color: var(--marfil); }
.canal--instagram .canal__icono { border: 1px solid rgba(232, 210, 181, .4); }
.canal__icono svg { width: 1.6rem; height: 1.6rem; }
.canal--whatsapp .canal__icono::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--vino);
  animation: anillo 2.6s ease-out infinite;
}
@keyframes anillo { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

.canal__tipo {
  grid-area: tipo;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.canal__dato {
  grid-area: dato;
  align-self: end;
  font-family: var(--fuente-titulos);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.canal__accion {
  grid-area: accion;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
}
.canal__accion span { display: inline-block; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.canal:hover .canal__accion span { transform: translateX(6px); }

/* Pie de página */
.pie {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(232, 210, 181, .14);
  font-size: .85rem;
  color: rgba(232, 210, 181, .65);
}
.pie__marca {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--fuente-titulos);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--beige);
  text-decoration: none;
}
.pie__marca svg { width: 1.2rem; color: var(--beige); }
.pie__nav { display: flex; gap: 1.6rem; }
.pie__nav a { color: inherit; text-decoration: none; transition: color .3s ease; }
.pie__nav a:hover { color: var(--beige); }
.pie__copia { margin: 0; width: 100%; }

@media (max-width: 760px) {
  .contacto__canales { grid-template-columns: 1fr; }
  .canal { min-height: 0; }
  .pie { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .canal--whatsapp .canal__icono::before { animation: none; opacity: 0; }
}
.reducido .canal--whatsapp .canal__icono::before { animation: none; opacity: 0; }

/* ---------- Secciones provisionales ---------- */

.provisional {
  min-height: 70vh;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  display: grid;
  align-content: center;
  gap: .8rem;
  background: var(--marfil);
  color: var(--tinta);
}
.provisional h2 {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--vino);
}
.provisional p { max-width: 40rem; margin: 0; }
.provisional__etiqueta { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.provisional--salvia { background: var(--salvia); }
.provisional--vino { background: var(--vino); color: var(--beige); }
.provisional--vino h2 { color: var(--beige); }

/* ---------- Celular ---------- */

@media (max-width: 760px) {
  :root { --recorrido: 200vh; }
}

/* ---------- Movimiento reducido ---------- */

.reducido { --recorrido: 70vh; }
.reducido .indicador i { animation: none; }

/* ---------- Sin JavaScript: la portada se muestra como una sección normal ---------- */

.no-js .intro { height: auto; }
.no-js .escenario { position: relative; height: 100vh; }
.no-js .escena, .no-js .cine, .no-js .indicador,
.no-js .pantalla-reflejo, .no-js .pantalla-atenuado { display: none; }
.no-js .pantalla-viva { clip-path: none; pointer-events: auto; }
