/* ═════════════════════════════════════════════
   Frame Studio · estilos
   ═════════════════════════════════════════════ */

:root {
  --tinta: #0c0c0c;
  --tinta-2: #131313;
  --tinta-3: #1b1b1b;
  --papel: #f2efe8;
  --texto: #f2efe8;
  --texto-2: #a39f95;
  --texto-3: #918c82;
  --linea: rgba(242, 239, 232, .12);
  --acento: #ff5b2e;
  --acento-2: #ff7a52;

  --fuente: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --ancho: 1240px;
  --curva: cubic-bezier(.16, 1, .3, 1);
  --alto-cabecera: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-cabecera) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--tinta);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--acento); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.saltar {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--acento); color: var(--tinta); padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.saltar:focus { left: 16px; }

.ceja {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--texto-2);
}

/* ───────── Botones ───────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 16px/1 var(--fuente); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--curva), background-color .2s, border-color .2s, color .2s;
}
.boton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--curva); }
.boton:hover svg { transform: translateX(3px); }
.boton:active { transform: scale(.97); }
.boton-acento { background: var(--acento); color: var(--tinta); }
.boton-acento:hover { background: var(--acento-2); }
.boton-linea { border-color: var(--linea); color: var(--texto); }
.boton-linea:hover { border-color: var(--texto-2); }
.boton-chico { height: 40px; padding: 0 18px; font-size: 14px; }
.boton-ancho { width: 100%; }

/* ───────── Encabezado ───────── */
.cabecera {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.cabecera.con-fondo, .cabecera.menu-abierto {
  background: rgba(12, 12, 12, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--linea);
}
.cabecera-fila { display: flex; align-items: center; gap: 28px; height: var(--alto-cabecera); }

.marca { touch-action: manipulation; user-select: none; -webkit-user-select: none; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--papel); }
.marca svg { height: 40px; width: 75px; --trazo: 20px; }
.marca small { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2); }
.marca-grande svg { height: 64px; width: 120px; --trazo: 14px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--texto-2); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--texto); }
.menu-boton { display: none; }

/* ───────── Hero ───────── */
.hero { padding: calc(var(--alto-cabecera) + clamp(48px, 9vh, 104px)) 0 clamp(56px, 8vw, 96px); }
.hero-grilla { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.punto-vivo { width: 8px; height: 8px; border-radius: 50%; background: var(--acento); animation: latido 2.4s infinite; }
@keyframes latido {
  0% { box-shadow: 0 0 0 0 rgba(255, 91, 46, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 91, 46, 0); }
}

h1 {
  margin: 22px 0 26px;
  font-size: clamp(46px, 6.6vw, 100px); line-height: .94; letter-spacing: -.045em; font-weight: 600;
  text-wrap: balance;
}
h1 em { color: var(--acento); font-size: 1.07em; letter-spacing: -.02em; }
.hero-bajada { max-width: 34em; color: var(--texto-2); font-size: clamp(17px, 1.35vw, 19px); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Escena del hero */
.escena { position: relative; aspect-ratio: 16 / 12.4; }
.esq { position: absolute; width: 26px; height: 26px; border: 0 solid var(--acento); }
.esq-1 { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.esq-2 { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; }
.esq-3 { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }
.esq-4 { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; }

.toma {
  position: absolute; inset: 7% 6% 17% 6%;
  opacity: 0; transform: translateY(16px) scale(.985); pointer-events: none;
  transition: opacity .8s var(--curva), transform 1s var(--curva);
}
.toma.activa { opacity: 1; transform: none; }
.toma .navegador { position: absolute; top: 0; left: 0; width: 86%; }
.toma .celu { position: absolute; right: 0; bottom: -3%; width: 25%; }

.escena-indice { position: absolute; left: 6%; right: 6%; bottom: 5%; display: flex; gap: 16px; }
.escena-indice button {
  position: relative; flex: 1; padding: 12px 0 0; text-align: left;
  background: none; border: 0; border-top: 1px solid var(--linea); cursor: pointer;
  font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--texto-3);
  transition: color .3s;
}
.escena-indice button:hover { color: var(--texto-2); }
.escena-indice button[aria-selected="true"] { color: var(--texto); }
.escena-indice button::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--acento);
}
.escena-indice button[aria-selected="true"]::before { animation: avance var(--duracion, 5s) linear forwards; }
.escena.en-pausa .escena-indice button::before { animation-play-state: paused; }
@keyframes avance { to { width: 100%; } }

/* ───────── Compu y celular ───────── */
.navegador {
  overflow: hidden;
  background: var(--tinta-3);
  border: 1px solid var(--linea); border-radius: 12px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .75);
}
.navegador-barra {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #161616; border-bottom: 1px solid var(--linea);
}
.navegador-barra i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; flex: none; }
.navegador-barra i:first-child { background: var(--acento); }
.navegador-barra span {
  margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--mono); font-size: 11px; color: var(--texto-3);
}
.navegador > img { width: 100%; }

.celu {
  padding: 5px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .8);
}
.celu > img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 19px; }

/* ───────── Cinta ───────── */
.cinta { overflow: hidden; padding: 18px 0; background: var(--tinta-2); border-block: 1px solid var(--linea); }
.cinta-pista { display: flex; width: max-content; animation: cinta 42s linear infinite; }
.cinta span {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2);
  white-space: nowrap;
}
.cinta span::after { content: ""; width: 7px; height: 7px; background: var(--acento); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ───────── Secciones ───────── */
.seccion { padding: clamp(88px, 12vw, 150px) 0; }
.seccion-clara {
  background: var(--papel); color: var(--tinta);
  --texto: var(--tinta); --texto-2: #5f5b53; --texto-3: #8a867d; --linea: rgba(12, 12, 12, .12);
}
.seccion-borde { border-top: 1px solid var(--linea); }

.seccion-cabeza { max-width: 780px; margin-bottom: clamp(48px, 7vw, 88px); }
.seccion-cabeza h2 {
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 600;
  text-wrap: balance;
}
.seccion-cabeza h2 em { color: var(--acento); }
.seccion-cabeza > p:not(.ceja) { margin-top: 20px; max-width: 34em; color: var(--texto-2); font-size: 18px; }

/* ───────── Trabajos ───────── */
.proyecto {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(44px, 6vw, 80px) 0;
  border-top: 1px solid var(--linea);
}
.proyecto-invertido { grid-template-columns: 1fr 1.5fr; }
.proyecto-invertido .visor { order: 2; }

.proyecto-num { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--acento); }
.estado {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border: 1px solid var(--linea); border-radius: 999px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-2);
}
.estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--texto-3); }
.estado-online { color: #8fe3a4; border-color: rgba(143, 227, 164, .3); }
.estado-online::before { background: #4cd471; box-shadow: 0 0 8px #4cd471; }
.proyecto h3 { margin: 12px 0 12px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.proyecto-rubro {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2);
}
.muestra { width: 12px; height: 12px; border-radius: 3px; background: var(--marca); flex: none; }
.proyecto-texto > p:not([class]) { color: var(--texto-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { padding: 7px 12px; border: 1px solid var(--linea); border-radius: 999px; font-size: 13px; }

/* Visor interactivo */
.visor-barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modos { display: inline-flex; padding: 4px; background: var(--tinta-2); border: 1px solid var(--linea); border-radius: 999px; }
.modos button {
  display: flex; align-items: center; gap: 7px; padding: 9px 16px;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 13px/1 var(--fuente); color: var(--texto-2);
  transition: background-color .25s, color .25s;
}
.modos button:hover { color: var(--texto); }
.modos button[aria-selected="true"] { background: var(--papel); color: var(--tinta); }
.modos svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.visor-abrir { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--texto-2); text-decoration: none; transition: color .2s; }
.visor-abrir:hover { color: var(--acento); }

.visor[data-modo="compu"] .visor-celu,
.visor[data-modo="celu"] .visor-compu { display: none; }
.visor-celu { display: flex; justify-content: center; }
.visor-celu .celu { width: min(300px, 82%); }

.ventana { position: relative; overflow: hidden; background: #0a0a0a; }
.visor-compu .ventana { aspect-ratio: 1280 / 800; }
.visor-celu .ventana { aspect-ratio: 390 / 844; border-radius: 19px; }
.ventana .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ventana iframe {
  position: absolute; top: 0; left: 0; border: 0; background: #fff;
  transform-origin: 0 0; opacity: 0; transition: opacity .5s;
}
.ventana iframe.cargado { opacity: 1; }

/* Capa que evita que el scroll de la página quede atrapado en la web de adentro */
.activar {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 50%);
  border: 0; cursor: pointer; color: var(--papel);
  font: 600 14px/1 var(--fuente);
}
.activar span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  background: rgba(12, 12, 12, .86); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--curva), background-color .2s;
}
.activar:hover span { transform: translateY(-2px); background: var(--acento); color: var(--tinta); }
.activar span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acento); }
.activar:hover span::before { background: var(--tinta); }
.ventana.interactiva .activar { display: none; }
.tu-turno {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 44px);
  border: 1px dashed rgba(255, 91, 46, .55); border-radius: 20px;
}
.tu-turno p { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.tu-turno em { color: var(--acento); }

/* ───────── Qué incluye ───────── */
.incluye-grilla {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--linea); border-left: 1px solid var(--linea);
}
.item {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
  transition: background-color .3s;
}
.item:hover { background: rgba(12, 12, 12, .035); }
.item svg {
  width: 36px; height: 36px; margin-bottom: 28px;
  fill: none; stroke: var(--acento); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.item h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.item p { color: var(--texto-2); font-size: 16px; }

/* ───────── Proceso ───────── */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.paso { position: relative; padding-top: 28px; border-top: 1px solid var(--linea); }
.paso::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--acento);
  transition: width 1.4s var(--curva) .3s;
}
.paso-num { font-family: var(--mono); font-size: 13px; color: var(--acento); }
.paso h3 { margin: 14px 0 10px; font-size: 26px; letter-spacing: -.03em; font-weight: 600; }
.paso p { color: var(--texto-2); font-size: 16px; }

/* ───────── Planes ───────── */
.planes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 44px);
  background: var(--tinta-2); border: 1px solid var(--linea); border-radius: 20px;
}
.plan-destacado {
  border-color: rgba(255, 91, 46, .5);
  background: linear-gradient(160deg, rgba(255, 91, 46, .12), transparent 55%), var(--tinta-2);
}
.plan-tipo { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); }
.plan h3 { margin: 10px 0 26px; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.04em; font-weight: 600; }
.plan ul { flex: 1; display: grid; align-content: start; gap: 12px; margin-bottom: 34px; }
.plan li { display: flex; gap: 12px; color: var(--texto-2); }
.plan li::before {
  content: ""; flex: none; width: 13px; height: 7px; margin-top: 7px;
  border-left: 2px solid var(--acento); border-bottom: 2px solid var(--acento); transform: rotate(-45deg);
}
.plan .boton { align-self: flex-start; }
.planes-nota { margin-top: 24px; color: var(--texto-3); font-size: 15px; }

/* ───────── Preguntas ───────── */
.preguntas-grilla { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.preguntas-grilla .seccion-cabeza { position: sticky; top: calc(var(--alto-cabecera) + 40px); margin-bottom: 0; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas details:first-child { border-top: 1px solid var(--linea); }
.preguntas summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.015em;
  transition: color .2s;
}
.preguntas summary:hover { color: var(--acento); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--acento), var(--acento)) center / 100% 2px no-repeat,
    linear-gradient(var(--acento), var(--acento)) center / 2px 100% no-repeat;
  transition: transform .35s var(--curva);
}
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { max-width: 40em; padding-bottom: 26px; color: var(--texto-2); }

/* ───────── Contacto ───────── */
.contacto {
  padding: clamp(88px, 12vw, 150px) 0;
  background: var(--acento); color: var(--tinta);
}
.contacto-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contacto .ceja { color: rgba(12, 12, 12, .7); }
.contacto h2 { margin: 18px 0 24px; font-size: clamp(64px, 10.5vw, 160px); line-height: .88; letter-spacing: -.06em; font-weight: 600; }
.contacto-texto > p:not(.ceja) { max-width: 22em; font-size: 20px; }
.contacto-links { display: grid; gap: 10px; margin-top: 32px; justify-items: start; }
.contacto-links a { font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }
@media (hover: hover) { .contacto-links a:hover { border-bottom-color: transparent; } }

.formulario {
  display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px);
  background: var(--tinta); color: var(--texto); border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.formulario label > span, .formulario legend { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--texto-2); }
.formulario small { color: var(--texto-3); font-weight: 400; }
.formulario input:not([type="radio"]), .formulario textarea {
  width: 100%; padding: 14px 16px;
  background: var(--tinta-3); color: var(--texto);
  border: 1px solid var(--linea); border-radius: 12px;
  font: 16px/1.4 var(--fuente);
  transition: border-color .2s;
}
.formulario ::placeholder { color: var(--texto-3); }
.formulario input:focus, .formulario textarea:focus { outline: none; border-color: var(--acento); }
.formulario .campo-error { border-color: #ff8a73; }
.formulario textarea { min-height: 92px; resize: vertical; }
.formulario fieldset { margin: 0; padding: 0; border: 0; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones label { position: relative; }
.opciones input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.opciones span {
  display: block; padding: 10px 16px; border: 1px solid var(--linea); border-radius: 999px;
  font-size: 14px; color: var(--texto-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.opciones label:hover span { color: var(--texto); }
.opciones input:checked + span { background: var(--papel); border-color: var(--papel); color: var(--tinta); }
.opciones input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
.formulario-error { color: #ff8a73; font-size: 14px; }
.formulario-nota { color: var(--texto-3); font-size: 13px; text-align: center; }

/* ───────── Pie ───────── */
.pie { padding: 48px 0 40px; }
.pie-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.pie p { color: var(--texto-2); font-size: 14px; }
.pie .pie-meta { color: var(--texto-3); }

/* ───────── Aparición al scrollear ───────── */
.js .revela { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--curva), transform .9s var(--curva); }
.js .revela.visible { opacity: 1; transform: none; }

/* ═════════════════════════════════════════════
   Animaciones e interacción
   ═════════════════════════════════════════════ */
[hidden] { display: none !important; }
:root { interpolate-size: allow-keywords; }

/* ───────── Intro ───────── */
.intro { display: none; }
.con-intro .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--tinta);
  clip-path: inset(0 0 0 0);
  animation: intro-sube .9s var(--curva) 1.55s forwards;
}
.intro svg { width: min(46vw, 280px); overflow: visible; }
.intro text { fill: var(--papel); }
.intro-sombra { fill-opacity: .16; opacity: 0; animation: intro-aparece .6s ease .55s forwards; }
.intro-palabra { opacity: 0; transform: translateY(70px); animation: intro-palabra .9s var(--curva) .45s forwards; }
.intro-marco {
  fill: none; stroke: var(--acento); stroke-width: 18; stroke-linecap: square;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: intro-dibuja .8s cubic-bezier(.65, 0, .35, 1) .05s forwards;
}
@keyframes intro-dibuja { to { stroke-dashoffset: 0; } }
@keyframes intro-aparece { to { opacity: 1; } }
@keyframes intro-palabra { to { opacity: 1; transform: none; } }
@keyframes intro-sube { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ───────── Barra de progreso, grano y cursor ───────── */
.progreso {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px;
  background: var(--acento); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
.grano {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 1s steps(4) infinite;
}
@keyframes grano {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ───────── Botones: imán y barrido ───────── */
.boton {
  translate: var(--mx, 0px) var(--my, 0px);
  transition: translate .5s var(--curva), transform .3s var(--curva), background-color .2s, border-color .2s, color .2s, background-size .45s var(--curva);
}
.boton-linea { background: linear-gradient(var(--papel), var(--papel)) 50% 100% / 100% 0 no-repeat; }
.boton-linea:hover { background-size: 100% 100%; color: var(--tinta); border-color: var(--papel); }
.boton-acento { background-image: linear-gradient(var(--papel), var(--papel)); background-position: 50% 100%; background-size: 100% 0; background-repeat: no-repeat; }
.boton-acento:hover { background-size: 100% 100%; }

/* ───────── Encabezado: indicador de sección ───────── */
.nav { position: relative; }
.nav a.actual { color: var(--texto); }
.nav-indicador {
  position: absolute; bottom: -8px; left: 0; height: 2px; width: 0;
  background: var(--acento); border-radius: 2px; pointer-events: none; opacity: 0;
  transition: left .5s var(--curva), width .5s var(--curva), opacity .3s;
}
.nav-indicador.visible { opacity: 1; }
.marca svg { transition: transform .5s var(--curva); }
.marca:hover svg { transform: rotate(-4deg) scale(1.06); }

/* ───────── Texto que entra palabra por palabra ───────── */
.palabra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.palabra > span { display: inline-block; }
.js .palabra > span {
  transform: translateY(110%) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1s var(--curva); transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.js .visible .palabra > span { transform: none; }
.js [data-dividir].revela { transform: none; }

/* Letras que saltan (¿Hablamos?) */
[data-letras] { white-space: nowrap; }
.contacto-grilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contacto h2 { font-size: clamp(56px, 7vw, 110px); }
@media (max-width: 1020px) {
  .contacto-grilla { grid-template-columns: minmax(0, 1fr); }
  .contacto h2 { font-size: clamp(56px, 16.5vw, 140px); }
}
.letra { display: inline-block; transition: transform .5s cubic-bezier(.3, 1.8, .5, 1), color .3s; }
.letra:hover { transform: translateY(-.12em) rotate(-6deg); color: var(--papel); }

/* Etiquetas que se "escriben" */
.ceja.tipeando { color: var(--acento); }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--lx, 70%) var(--ly, 40%), rgba(255, 91, 46, .13), transparent 65%);
}
.hero > .contenedor { position: relative; }
.toma .navegador { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); transition: translate .9s var(--curva); }
.toma .celu { translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 20px); transition: translate .9s var(--curva); }
.esq { transition: translate .7s var(--curva); }
.escena:hover .esq-1 { translate: -8px -8px; }
.escena:hover .esq-2 { translate: 8px -8px; }
.escena:hover .esq-3 { translate: 8px 8px; }
.escena:hover .esq-4 { translate: -8px 8px; }
.toma.activa .celu { animation: celu-entra 1.1s var(--curva) both; }
@keyframes celu-entra { from { transform: translateY(40px) rotate(4deg); opacity: 0; } }

.hero-reloj { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--texto-3); }
.hero-reloj b { font-family: var(--mono); font-weight: 500; color: var(--texto); font-variant-numeric: tabular-nums; }
.reloj-cara { position: relative; flex: none; width: 26px; height: 26px; border: 1.5px solid var(--texto-3); border-radius: 50%; }
.reloj-cara i {
  position: absolute; left: 50%; bottom: 50%; width: 1.5px; margin-left: -.75px;
  background: var(--texto); border-radius: 2px; transform-origin: 50% 100%;
}
.aguja-h { height: 6px; }
.aguja-m { height: 9px; background: var(--acento) !important; }

/* ───────── Cinta: reacciona al scroll ───────── */
.cinta { transform: skewY(var(--sesgo, 0deg)); transition: transform .5s var(--curva); }

/* ───────── Trabajos ───────── */
.js .proyecto .visor { clip-path: inset(6% 6% 6% 6% round 24px); transition: clip-path 1.4s var(--curva) .15s; }
.js .proyecto.visible .visor { clip-path: inset(-40px round 0); }
.proyecto h3 { transition: letter-spacing .6s var(--curva); }
.proyecto:hover h3 { letter-spacing: -.02em; }
.muestra { transition: transform .5s var(--curva); }
.proyecto:hover .muestra { transform: rotate(45deg) scale(1.3); }
.chips li { transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--curva); }
.chips li:hover { background: var(--marca); border-color: var(--marca); color: var(--tinta); transform: translateY(-2px); }
.tu-turno { position: relative; border: 0; }
/* Borde punteado que camina: un rect de SVG sigue las esquinas redondeadas en los cuatro lados */
.tu-turno-borde { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tu-turno-borde rect {
  fill: none; stroke: rgba(255, 91, 46, .75); stroke-width: 1.5;
  stroke-dasharray: 10 8; animation: hormigas 1.2s linear infinite;
}
@keyframes hormigas { to { stroke-dashoffset: -18; } }
.tu-turno > :not(.tu-turno-borde) { position: relative; }

/* ───────── Qué incluye: foco que sigue al mouse e íconos que se dibujan ───────── */
.item { position: relative; overflow: hidden; }
.item::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 91, 46, .16), transparent 60%);
  transition: opacity .4s;
}
.item:hover::before { opacity: 1; }
.item > * { position: relative; }
.js .item svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1) .35s; }
.js .item.visible svg * { stroke-dashoffset: 0; }
.item svg { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.item:hover svg { transform: rotate(-8deg) scale(1.12); }
.item h3 { transition: transform .4s var(--curva); }
.item:hover h3 { transform: translateX(6px); }

/* ───────── Proceso: la línea avanza con el scroll ───────── */
.paso::before { width: calc(clamp(0, var(--p, 0) * 4 - var(--i, 0), 1) * 100%); transition: none; }
.paso-num {
  display: inline-block; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.04em;
  font-family: var(--fuente); font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px var(--texto-3);
  transition: color .6s, -webkit-text-stroke-color .6s, transform .6s var(--curva);
}
.paso.encendido .paso-num { color: var(--acento); -webkit-text-stroke-color: var(--acento); transform: translateY(-4px); }
.paso h3, .paso p { transition: opacity .6s; }
.js .paso:not(.encendido) h3, .js .paso:not(.encendido) p { opacity: .45; }

/* ───────── Planes: inclinación 3D con brillo ───────── */
.planes { perspective: 1200px; }
.plan { position: relative; overflow: hidden; }
.js .plan.visible { transition: opacity .9s var(--curva), transform .5s var(--curva); transition-delay: 0s !important; }
.plan::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, .09), transparent 55%);
  transition: opacity .4s;
}
.plan:hover::after { opacity: 1; }
.plan li { transition: transform .35s var(--curva), color .25s; }
.plan li:hover { transform: translateX(6px); color: var(--texto); }

/* ───────── Preguntas: se abren deslizando ───────── */
.preguntas details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .5s var(--curva), content-visibility .5s allow-discrete;
}
.preguntas details[open]::details-content { block-size: auto; }
.preguntas summary { transition: color .2s, padding-left .4s var(--curva); }
.preguntas summary:hover { padding-left: 10px; }
.preguntas details[open] summary { color: var(--acento); }

/* ───────── Contacto ───────── */
.contacto { position: relative; overflow: hidden; }
.contacto::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -25vmax; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%);
  animation: flota 12s ease-in-out infinite alternate;
}
@keyframes flota { to { transform: translate(-14vmax, 22vmax) scale(1.2); } }
.contacto > .contenedor { position: relative; }
.formulario { transition: opacity .9s var(--curva), transform .6s var(--curva); }
.formulario:focus-within { transform: translateY(-6px); }
.opciones span { transition: background-color .2s, border-color .2s, color .2s, transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.opciones input:checked + span { transform: scale(1.06); }
.boton.enviado svg { animation: vuela .8s var(--curva); }
@keyframes vuela { 50% { transform: translateX(40px); opacity: 0; } 51% { transform: translateX(-30px); opacity: 0; } }

/* ───────── Pie: logo gigante ───────── */
.pie { overflow: hidden; }
.pie-gigante { display: block; width: 100%; height: auto; margin-bottom: 40px; overflow: visible; }
.pie-gigante text { fill: var(--papel); }
.pie-sombra { fill-opacity: .16; }
.pie-marco {
  fill: none; stroke: var(--acento); stroke-width: 14; stroke-linecap: square;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1);
}
.pie-gigante.visible .pie-marco { stroke-dashoffset: 0; }


/* ───────── Tu panel: demo celu → web ───────── */
.seccion-panel {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--linea);
  background:
    radial-gradient(900px 500px at 15% 70%, rgba(255, 91, 46, .09), transparent 70%),
    var(--tinta);
}
.panel-demo {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(70px, 9vw, 140px) minmax(0, 1.25fr);
  align-items: start;
}
.panel-lado { min-width: 0; }
.panel-demo > .panel-flecha { align-self: center; }
.panel-etiqueta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2);
}
.panel-etiqueta span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--acento); color: var(--tinta); font-size: 12px; letter-spacing: 0;
}
.panel-celu { width: min(300px, 100%); margin: 0 auto; }

/* El panel de mentira */
.mini-panel {
  display: grid; gap: 10px; padding: 16px 14px 14px;
  background: #0a0a0a; border-radius: 19px;
  font-size: 14px; color: var(--papel);
}
.mini-cabeza { padding: 2px 4px 6px; font-size: 13px; color: var(--texto-2); }
.mini-cabeza b { color: var(--acento); }
.mini-bloque { display: grid; gap: 8px; padding: 12px; background: #151515; border: 1px solid var(--linea); border-radius: 14px; }
.mini-titulo { font-size: 12px; font-weight: 600; color: var(--texto-2); }

.mini-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 600; }
.mini-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mini-switch i {
  position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px;
  background: #3a3a3a; transition: background-color .3s;
}
.mini-switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--papel); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.mini-switch input:checked + i { background: #2fbf5b; }
.mini-switch input:checked + i::after { transform: translateX(20px); }
.mini-switch input:focus-visible + i { outline: 2px solid var(--acento); outline-offset: 2px; }

.mini-precio { display: grid; grid-template-columns: minmax(0, 1fr) 32px 64px 32px; align-items: center; gap: 6px; }
.mini-precio span { color: var(--texto-2); }
.mini-precio button {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--linea);
  background: #1f1f1f; color: var(--papel); font: 600 17px/1 var(--fuente); cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.mini-precio button:hover { background: #2a2a2a; }
.mini-precio button:active { transform: scale(.88); }
.mini-precio output { text-align: center; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-precio output.salta { animation: salta .35s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes salta { 40% { transform: scale(1.18); color: var(--acento); } }

.mini-panel input[name="aviso"] {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  background: #0d0d0d; border: 1px solid var(--linea); color: var(--papel); font: 16px/1.3 var(--fuente);
}
.mini-panel input[name="aviso"]:focus { outline: none; border-color: var(--acento); }
.mini-panel input::placeholder { color: var(--texto-3); }
.mini-guardar {
  height: 46px; border: 0; border-radius: 12px; cursor: pointer;
  background: #2a2a2a; color: var(--texto-2); font: 600 15px/1 var(--fuente);
  transition: background-color .3s, color .3s, transform .2s;
}
.mini-guardar.pendiente { background: var(--acento); color: var(--tinta); animation: llama 1.6s ease-in-out infinite; }
.mini-guardar:active { transform: scale(.97); }
@keyframes llama { 50% { box-shadow: 0 0 0 7px rgba(255, 91, 46, .22); } }

/* La flecha por donde "viaja" el cambio */
.panel-flecha { position: relative; height: 2px; margin: 0 14px; background: repeating-linear-gradient(90deg, var(--texto-3) 0 6px, transparent 6px 12px); }
.panel-flecha::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-top: 2px solid var(--texto-3); border-right: 2px solid var(--texto-3); transform: rotate(45deg);
}
.panel-viaje {
  position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--acento); box-shadow: 0 0 18px var(--acento); opacity: 0;
}
.panel-viaje.viajando { animation: viaje .6s cubic-bezier(.65, 0, .35, 1); }
@keyframes viaje { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* La web de mentira */
.panel-web { transition: transform .5s var(--curva), box-shadow .5s; }
.panel-web.recibe { transform: scale(1.02); box-shadow: 0 30px 80px -24px rgba(255, 91, 46, .45); }
.mini-web { position: relative; padding: 0 0 22px; background: var(--papel); color: var(--tinta); min-height: 260px; }
.mini-aviso {
  padding: 9px 16px; background: var(--acento); color: var(--tinta);
  font-size: 14px; font-weight: 600; text-align: center;
  animation: baja .5s var(--curva);
}
@keyframes baja { from { transform: translateY(-100%); opacity: 0; } }
.mini-web-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.mini-web-cabeza b { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; }
.mini-estado {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px;
  background: rgba(47, 191, 91, .14); color: #18833a; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.mini-estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mini-web.cerrada .mini-estado { background: rgba(208, 32, 46, .12); color: #c01f2b; }
.mini-carta { padding: 8px 20px 18px; transition: opacity .4s; }
.mini-web.cerrada .mini-carta { opacity: .4; }
.mini-carta li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed rgba(12, 12, 12, .18); font-size: 16px; }
.mini-carta b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; border-radius: 6px; padding: 0 4px; margin: 0 -4px; }
.mini-carta b.cambio, .mini-estado.cambio { animation: resalta 1.4s ease; }
@keyframes resalta { 0%, 30% { background: #ffd84d; } }
.mini-boton {
  margin: 0 20px; padding: 13px; border-radius: 12px; text-align: center;
  background: var(--tinta); color: var(--papel); font-weight: 600; font-size: 15px; transition: opacity .4s;
}
.mini-web.cerrada .mini-boton { opacity: .4; }
.panel-aviso-listo {
  min-height: 24px; margin-top: 16px; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8fe3a4;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--curva);
}
.panel-aviso-listo.visible { opacity: 1; transform: none; }

/* Puntos y panel real */
.panel-pie {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center;
  margin-top: clamp(64px, 9vw, 120px);
}
.panel-puntos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.panel-puntos li { padding-top: 18px; border-top: 1px solid var(--linea); color: var(--texto-2); font-size: 16px; }
.panel-puntos b { display: block; margin-bottom: 6px; color: var(--texto); font-size: 19px; letter-spacing: -.02em; }
.panel-real { text-align: center; }
.panel-real-fotos { position: relative; display: flex; justify-content: center; padding: 10px 0 0; }
.panel-real .celu { width: min(190px, 44%); transition: transform .7s var(--curva); }
.panel-real .celu img { width: 100%; border-radius: 19px; }
.panel-real .celu:first-child { transform: rotate(-6deg) translateX(5%); z-index: 1; }
.panel-real .celu:last-child { transform: rotate(5deg) translate(-5%, 18px); }
.panel-real:hover .celu:first-child { transform: rotate(-9deg) translateX(-4%); }
.panel-real:hover .celu:last-child { transform: rotate(8deg) translate(4%, 18px); }
.panel-real figcaption { margin-top: 40px; color: var(--texto-2); font-size: 15px; }
.panel-real figcaption b { color: var(--texto); }
.proyecto-link { color: var(--texto); text-decoration-color: var(--acento); text-underline-offset: 3px; transition: color .2s; }
.proyecto-link:hover { color: var(--acento); }

@media (max-width: 860px) {
  .panel-demo { grid-template-columns: minmax(0, 1fr); }
  .panel-flecha { width: 2px; height: 64px; margin: 18px auto; background: repeating-linear-gradient(180deg, var(--texto-3) 0 6px, transparent 6px 12px); }
  .panel-flecha::after { right: auto; top: auto; bottom: -2px; left: 50%; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .panel-viaje { left: 50%; top: 0; margin: -7px 0 0 -7px; }
  .panel-viaje.viajando { animation-name: viaje-abajo; }
  @keyframes viaje-abajo { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .panel-etiqueta { justify-content: center; }
  .panel-pie { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .panel-puntos { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}


/* Tercer plan: el panel como extra */
.planes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-extra { border-style: dashed; border-color: rgba(255, 91, 46, .45); }
.plan-extra .plan-tipo::before { content: '+ '; }
.plan-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.plan-acciones .boton { align-self: auto; }
.plan-probar { font-family: var(--mono); font-size: 13px; color: var(--texto-2); text-decoration: none; transition: color .2s; }
.plan-probar:hover { color: var(--acento); }
@media (max-width: 1020px) { .planes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-extra { grid-column: 1 / -1; } }
@media (max-width: 600px) { .planes { grid-template-columns: minmax(0, 1fr); } .plan-acciones .boton { width: 100%; } .plan-acciones { justify-content: center; } }

/* Marca de "opcional" en la sección del panel */
.etiqueta-opcional {
  margin-left: 4px; padding: 3px 9px; border: 1px dashed rgba(255, 91, 46, .7); border-radius: 99px;
  color: var(--acento); font-size: 11px; letter-spacing: .1em;
}
.seccion-cabeza > p.panel-opcional { margin-top: 12px; }
.panel-opcional b { color: var(--texto); font-weight: 600; }

/* "studio" centrado en la altura de las minúsculas de "frame" (de 56,6 % del alto del logo) */
.marca { --alto-logo: 40px; align-items: flex-start; }
.marca-grande { --alto-logo: 64px; }
.marca small { line-height: 1; margin-top: calc(var(--alto-logo) * .566 - .43em); }

/* ───────── Carteles NFC + QR ───────── */
.seccion-carteles { border-top: 1px solid var(--linea); overflow: hidden; }
.carteles-grilla { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.demo { --tono: 45, 96, 235; min-width: 0; container-type: inline-size; }
.demo[data-tema="instagram"] { --tono: 214, 41, 118; }
.demo[data-tema="menu"] { --tono: 232, 89, 12; }
.demo[data-tema="redes"] { --tono: 13, 148, 136; }
.demo-escena {
  --w: min(38cqw, 248px);
  position: relative; height: min(88cqw, 560px); perspective: 1300px;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.demo-escena:active { cursor: grabbing; }
.demo-escena:hover .esq-1 { translate: -8px -8px; }
.demo-escena:hover .esq-2 { translate: 8px -8px; }
.demo-escena:hover .esq-3 { translate: 8px 8px; }
.demo-escena:hover .esq-4 { translate: -8px 8px; }
.demo-luz {
  position: absolute; inset: 4% 8% 10% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--tono), .42), rgba(var(--tono), 0));
  animation: luz-respira 5s ease-in-out infinite alternate;
}
@keyframes luz-respira { to { transform: scale(1.12); opacity: .75; } }
.demo-sombra {
  position: absolute; left: 4%; bottom: 8%; width: 56%; height: 9%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent);
}

/* La pieza */
.pieza {
  position: absolute; left: calc(32% - var(--w) / 2); bottom: 13%;
  width: var(--w); aspect-ratio: 600 / 951; transform-style: preserve-3d;
  transform: rotateX(-9deg) rotateY(var(--giro, 24deg));
}
.demo[data-formato="cuadrado"] .pieza { aspect-ratio: 1; width: calc(var(--w) * 1.08); left: calc(32% - var(--w) * .54); bottom: 24%; }
.pieza-giro, .pieza-placa { position: absolute; inset: 0; transform-style: preserve-3d; }
.pieza-placa { transform-origin: 50% 100%; }
.demo[data-formato="vertical"] .pieza-placa { transform: rotateX(13deg); }
.demo[data-formato="cuadrado"] .pieza-placa { animation: flota 4.5s ease-in-out infinite alternate; }
@keyframes flota { from { transform: translateY(5px) rotateX(3deg); } to { transform: translateY(-9px) rotateX(-2deg); } }
.pieza { --r: 3px; }
.demo[data-formato="cuadrado"] .pieza { --r: 8%; }
.pieza-placa > span { position: absolute; inset: 0; border-radius: var(--r); }
.pieza-canto { background: #b9c6d6; transform: translateZ(0); }
.pieza-canto:nth-child(2) { transform: translateZ(2px); background: #dfe7f0; }
.pieza-canto:nth-child(3) { transform: translateZ(-2px); background: #8f9cab; }
.pieza-frente { overflow: hidden; transform: translateZ(4px); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pieza-frente img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pieza-brillo {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .34) 49%, rgba(255, 255, 255, .05) 56%, transparent 60%);
  transform: translateX(var(--brillo, -60%));
}
.pieza-atras {
  display: grid; place-content: center; justify-items: center; gap: 10px; color: #1c2430;
  background: linear-gradient(140deg, #f6f9fc, #d5dee8); transform: rotateY(180deg) translateZ(4px);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 15px;
}
.pieza-atras svg { width: calc(var(--w) * .42); fill: none; stroke: #b8722c; stroke-width: 2.2; }
.pieza-atras rect { fill: #1c2430; stroke: none; }
.pieza-base {
  position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--w) * .53); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: linear-gradient(rgba(220, 232, 245, .5), rgba(220, 232, 245, .16)); border: 1px solid rgba(255, 255, 255, .45);
  transition: opacity .3s;
}
.demo[data-formato="cuadrado"] .pieza-base { opacity: 0; }
.ondas { position: absolute; left: 25%; top: 64%; }
.demo[data-formato="cuadrado"] .ondas { top: 70%; }
.ondas > i { position: absolute; width: 64px; height: 64px; margin: -32px; border-radius: 50%; border: 3px solid #fff; opacity: 0; animation: onda 2.6s var(--curva) infinite; }
.ondas > i:nth-child(2) { animation-delay: .25s; }
.ondas > i:nth-child(3) { animation-delay: .5s; }
.demo[data-estado="tocando"] .ondas > i { animation-duration: .8s; border-width: 5px; }
.demo[data-estado="abierto"] .ondas > i { animation: none; }
@keyframes onda { 0% { opacity: .85; transform: scale(.2); } 60%, 100% { opacity: 0; transform: scale(2.3); } }

/* El celu: se arrastra hasta el cartel o va solo con el botón */
.demo-celu {
  position: absolute; z-index: 5; right: 5%; bottom: 10%; width: min(32cqw, 190px);
  touch-action: none; cursor: grab;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--tr, 0deg)) scale(var(--ts, 1));
  transition: transform .75s var(--curva);
}
.demo-celu.en-mano { transition: none; cursor: grabbing; }
.demo[data-estado="reposo"] .demo-celu:not(.en-mano) .celu { animation: celu-flota 3.4s ease-in-out infinite alternate; }
@keyframes celu-flota { from { transform: translateY(4px) rotate(1.5deg); } to { transform: translateY(-8px) rotate(-1.5deg); } }
.demo[data-estado="tocando"] .celu { animation: vibra .32s linear .6s 2; }
@keyframes vibra { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-3px) rotate(-.8deg); } 40%, 80% { transform: translateX(3px) rotate(.8deg); } }
.cartel-pantalla { position: relative; aspect-ratio: 390 / 760; border-radius: 19px; overflow: hidden; background: #16130f; color: #171717; }
.cp {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; text-align: center; font-size: 14px; line-height: 1.3; background: #fff;
  visibility: hidden; clip-path: circle(0 at 50% 12%);
}
.cp small { font-size: 12.5px; color: #555; }
.cp-reposo { visibility: visible; clip-path: none; background: linear-gradient(165deg, rgba(var(--tono), .55), #100e0c 70%); color: var(--papel); }
.cp-reposo b { font-size: 30px; font-weight: 600; line-height: 1; }
.cp-reposo span { font-size: 13px; color: #e0dbd0; }
.demo[data-estado="abierto"][data-tema="resenas"] .cp-resena,
.demo[data-estado="abierto"][data-tema="instagram"] .cp-instagram,
.demo[data-estado="abierto"][data-tema="menu"] .cp-menu,
.demo[data-estado="abierto"][data-tema="redes"] .cp-redes { visibility: visible; clip-path: circle(150% at 50% 12%); transition: clip-path .75s var(--curva); }
.demo[data-estado="abierto"] .cp:not(.cp-reposo) > * { animation: cp-sube .6s var(--curva) both; }
.demo[data-estado="abierto"] .cp > :nth-child(2) { animation-delay: .1s; }
.demo[data-estado="abierto"] .cp > :nth-child(3) { animation-delay: .18s; }
.demo[data-estado="abierto"] .cp > :nth-child(4) { animation-delay: .26s; }
.demo[data-estado="abierto"] .cp > :nth-child(5) { animation-delay: .34s; }
.demo[data-estado="abierto"] .cp > :nth-child(6) { animation-delay: .42s; }
@keyframes cp-sube { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.cp-aviso {
  position: absolute; left: 6px; right: 6px; top: 6px; padding: 8px 10px; border-radius: 14px; background: #fff; font-size: 12px; line-height: 1.25;
  transform: translateY(-140%); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
}
.cp-aviso b { display: block; }
.demo[data-estado="aviso"] .cp-aviso { transform: none; }
.cp-logo { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--tinta); color: var(--papel); font-weight: 600; }
.cp-seguir { padding: 8px 18px; border: 0; border-radius: 8px; background: #0a66d6; color: #fff; font: 600 14px var(--fuente); cursor: pointer; transition: background-color .25s, color .25s; }
.cp-seguir[aria-pressed="true"] { background: #e6e6e6; color: #171717; }
.cp-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 100%; }
.cp-fotos i { aspect-ratio: 1; background: #d8cfc2; }
.cp-fotos i:nth-child(even) { background: #b9a68f; }
.cp-plato { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 7px 0; border-bottom: 1px solid #e4ddd1; text-align: left; font-size: 13px; }
.cp-plato i { flex: none; width: 24px; height: 24px; border-radius: 6px; background: #e8a06c; }
.cp-link { width: 100%; padding: 8px 4px; border-radius: 10px; background: #f0ece4; font-size: 13px; font-weight: 600; }
.chispa { position: absolute; z-index: 9; pointer-events: none; color: #f9ab00; font-size: 20px; line-height: 1; }
.demo-pie { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.demo-pie .boton { min-width: 150px; }

.estrellas { display: flex; justify-content: center; }
.estrellas label { position: relative; cursor: pointer; line-height: 0; padding: 4px 1px; }
.estrellas input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.estrellas svg { width: 25px; height: 25px; fill: #d6d3cc; transition: fill .2s, transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.estrellas label:hover svg { transform: scale(1.2) rotate(-8deg); }
.estrellas label:active svg { transform: scale(.8); }
.estrellas input:focus-visible + svg { outline: 2px solid var(--acento); border-radius: 4px; }

.carteles-texto { min-width: 0; }
.carteles-elegi { margin-bottom: 12px; color: var(--texto-2); }
.segmento + .carteles-elegi { margin-top: 26px; }
.segmento { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; background: var(--tinta-2); border: 1px solid var(--linea); border-radius: 18px; }
.segmento-marca {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n)); border-radius: 13px;
  background: var(--papel); transform: translateX(calc(100% * var(--i, 0))); transition: transform .55s cubic-bezier(.3, 1.25, .5, 1);
}
.segmento-4 { --n: 4; }
.segmento-3 { --n: 3; }
.segmento-2 { --n: 2; }
.segmento button {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 48px; padding: 8px;
  border: 0; border-radius: 13px; background: none; color: var(--texto-2); font: 600 16px/1.25 var(--fuente); cursor: pointer; transition: color .3s;
}
.segmento button:hover { color: var(--texto); }
.segmento button[aria-pressed="true"] { color: var(--tinta); }
.segmento-alto button { min-height: 84px; text-align: left; font-weight: 400; font-size: 14px; }
.segmento-alto b { display: block; font-size: 16px; font-weight: 600; }
.segmento svg { width: 38px; height: 38px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.segmento button[aria-pressed="true"] svg { transform: scale(1.1) rotate(-4deg); }
.carteles-puntos { display: grid; gap: 16px; margin: 32px 0; color: var(--texto-2); }
.carteles-puntos b { color: var(--texto); font-weight: 600; }

/* Al scrollear: la sección clara se abre como un marco, la pieza sube y los planes marcan sus ítems */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .seccion-clara { animation: abre-marco linear both; animation-timeline: view(); animation-range: entry 0% entry 45vh; }
    @keyframes abre-marco { from { clip-path: inset(0 7% 0 7% round 40px 40px 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }
    .proyecto .visor { animation: visor-sube linear both; animation-timeline: view(); animation-range: entry 0% entry 70vh; }
    @keyframes visor-sube { from { translate: 0 70px; scale: .94; } }
    .seccion-cabeza h2 { animation: titulo-corre linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes titulo-corre { to { opacity: .25; } }
  }
}
.js .plan li, .js .panel-puntos li b { transition: transform .6s var(--curva), opacity .6s var(--curva), color .25s; }
.js .plan:not(.visible) li { opacity: 0; transform: translateX(-18px); }
.js .plan.visible li { transition-delay: calc(var(--k, 0) * 80ms + 250ms), calc(var(--k, 0) * 80ms + 250ms), 0s; }
.js .plan.visible.quieto li { transition-delay: 0s; transition-duration: .35s, .35s, .25s; }
.js .chips li { animation: chip-entra .6s cubic-bezier(.3, 1.4, .5, 1) both paused; animation-delay: calc(var(--k, 0) * 70ms + 400ms); }
.js .proyecto.visible .chips li { animation-play-state: running; }
@keyframes chip-entra { from { opacity: 0; scale: .7; } }

/* Preguntas agrupadas */
.preguntas-grupo { padding-bottom: 14px; border-bottom: 1px solid var(--linea); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.preguntas details + .preguntas-grupo { margin-top: 56px; }

/* Aviso arriba de todo y trabajos sumados desde el panel */
.aviso-pagina { position: relative; z-index: 2; margin-top: var(--alto-cabecera); background: var(--acento); color: var(--tinta); font-weight: 600; text-align: center; }
.aviso-pagina > * { display: block; padding: 11px 20px; text-wrap: balance; }
.aviso-pagina a { text-decoration: underline; text-underline-offset: 3px; }
.aviso-pagina:not([hidden]) + .hero { padding-top: clamp(40px, 7vh, 84px); }
.sumado-foto { display: block; text-decoration: none; }
.sumado-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sumado-foto .navegador { transition: transform .6s var(--curva); }
.sumado-foto:hover .navegador { transform: translateY(-6px); }

/* ───────── Reseñas ───────── */
.resenas-lista { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.resenas-lista blockquote { margin: 0 0 48px; break-inside: avoid; }
.resenas-lista blockquote p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; text-wrap: pretty; }
.resenas-lista footer { margin-top: 16px; color: var(--texto-2); font-size: 15px; }
.resenas-lista .puntaje { color: #f9ab00; letter-spacing: .1em; }
.resenas-grilla { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.resena-previa { position: relative; display: grid; align-content: center; gap: 18px; min-height: 340px; padding: clamp(32px, 4vw, 56px) clamp(26px, 4vw, 52px); background: radial-gradient(closest-side, rgba(255, 91, 46, .13), transparent); }
.resena-previa p { min-width: 0; overflow-wrap: anywhere; }
.previa-aviso { color: var(--texto-2); font-size: 15px; }
.previa-estrellas { display: flex; gap: 5px; font-size: 32px; line-height: 1; }
.previa-estrellas i { font-style: normal; color: #3a3a3a; transition: color .25s; }
.previa-estrellas i.llena { color: #f9ab00; }
.festeja .previa-estrellas i.llena { animation: estrella-salta .55s cubic-bezier(.3, 1.6, .5, 1) calc(var(--k) * 70ms) both; }
@keyframes estrella-salta { 0% { transform: scale(.4) rotate(-40deg); } 60% { transform: scale(1.3) rotate(8deg); } 100% { transform: none; } }
.previa-texto { font-size: clamp(24px, 2.6vw, 33px); line-height: 1.25; letter-spacing: -.015em; color: var(--texto-2); text-wrap: pretty; transition: color .3s; }
.previa-texto.larga { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.35; }
.con-texto .previa-texto, .con-nombre .previa-quien { color: var(--texto); }
.previa-quien { color: var(--texto-2); font-size: 16px; transition: color .3s; }
.resena-form { display: grid; gap: 22px; min-width: 0; }
.resena-form label > span { display: block; margin-bottom: 8px; color: var(--texto-2); font-size: 15px; }
.resena-form :is(textarea, input:not([type="radio"])) {
  width: 100%; padding: 14px 16px; border: 1px solid var(--linea); border-radius: 12px;
  background: var(--tinta-2); color: var(--texto); font: 400 17px/1.5 var(--fuente); resize: vertical;
}
.estrellas-grandes { justify-content: flex-start; }
.estrellas-grandes svg { width: 42px; height: 42px; fill: #3a3a3a; }
.estrellas label:has(input:checked) svg, .estrellas label:has(~ label input:checked) svg { fill: #f9ab00; }
.resena-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.resena-form .boton { justify-self: start; }
.resena-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resena-form .boton:disabled { opacity: .6; cursor: progress; }
.resena-gracias { padding: 48px 0; outline: 0; }
.resena-gracias .gracias-titulo { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.resena-gracias em { color: var(--acento); }
.resena-gracias p + p { margin-top: 12px; color: var(--texto-2); }
.resena-nota { color: var(--texto-2); font-size: 15px; }
#resenas [hidden] { display: none; }

@media (max-width: 1100px) and (min-width: 861px) { .nav { gap: 16px; } .nav a { font-size: 14px; } }
@media (max-width: 860px) {
  .carteles-grilla { grid-template-columns: minmax(0, 1fr); }
  .resenas-lista { columns: 1; }
  .resenas-grilla { grid-template-columns: minmax(0, 1fr); }
  .resena-previa { min-height: 260px; }
}
@media (max-width: 600px) {
  .demo-escena { --w: 42cqw; height: 100cqw; }
  .demo-pie { gap: 8px; }
  .demo-pie .boton { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 15px; white-space: nowrap; }
  .pieza { left: calc(27% - var(--w) / 2); }
  .demo[data-formato="cuadrado"] .pieza { left: calc(27% - var(--w) * .54); }
  .demo-celu { right: 2%; width: 40cqw; }
  .cp { gap: 8px; padding: 8px; }
  .segmento-alto button { flex-direction: column; text-align: center; gap: 4px; padding: 12px 6px; }
  .segmento button { font-size: 15px; }
  .estrellas:not(.estrellas-grandes) svg { width: 22px; height: 22px; }
  .resena-fila { grid-template-columns: 1fr; }
  .resena-form .boton, .carteles-texto > .boton { width: 100%; }
}

/* Celu de la demo muy angosto: todo un poco más chico para que entre */
@media (max-width: 400px), (min-width: 861px) and (max-width: 1060px) {
  .cp { gap: 6px; padding: 8px 5px; }
  .cp-logo { width: 34px; height: 34px; font-size: 13px; }
  .cp-link { padding: 5px 2px; }
  .cp-redes, .cp-menu { gap: 4px; }
  .cp-plato { padding: 4px 0; }
  .segmento-4 button { font-size: 14px; padding: 8px 1px; }
  .estrellas:not(.estrellas-grandes) svg { width: 18px; height: 18px; }
}

/* ───────── Tu local: la web se arma al instante, en compu y celular ───────── */
.seccion-tulocal { --m: #ff5b2e; position: relative; overflow: hidden; }
.seccion-tulocal .seccion-cabeza { margin-bottom: clamp(36px, 5vw, 60px); }
.tulocal-grilla { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.tulocal-form { display: grid; gap: 28px; }
.tl-campo { min-width: 0; }
.tl-campo > span { display: block; margin-bottom: 10px; color: var(--texto-2); font-size: 16px; }
.tl-campo input:not([type="color"]) {
  width: 100%; padding: 6px 0 10px; border: 0; border-bottom: 2px solid var(--linea); border-radius: 0; background: none;
  color: var(--texto); font: 600 clamp(26px, 2.7vw, 34px)/1.2 var(--fuente); letter-spacing: -.02em; outline: 0; transition: border-color .3s;
}
.tl-campo input:focus { border-color: var(--acento); }
.tl-campo input::placeholder { color: #8b867c; opacity: 1; }
.tl-rubros { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-rubros button {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--linea); border-radius: 999px; background: none;
  color: var(--texto); font: 500 15px var(--fuente); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--curva);
}
.tl-rubros button:hover { border-color: var(--texto-2); }
.tl-rubros button:active { transform: scale(.95); }
.tl-rubros button[aria-pressed="true"] { background: var(--papel); border-color: var(--papel); color: var(--tinta); }
.tl-colores { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-colores button, .tl-colores label { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.tl-colores :is(button, label):hover { transform: scale(1.1); }
.tl-colores button { box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .28); }
.tl-colores label { background: conic-gradient(#ff3b30, #ffcc00, #34c759, #00c7be, #007aff, #af52de, #ff3b30); }
.tl-colores button[aria-pressed="true"], .tl-colores label.elegido { box-shadow: 0 0 0 3px var(--tinta), 0 0 0 5px var(--papel); }
.tl-colores label input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tl-colores label:focus-within { outline: 2px solid var(--acento); outline-offset: 4px; }

.tulocal-vista { display: grid; gap: 30px; min-width: 0; }
.tl-escena { position: relative; padding: 34px 26px 46px 34px; container-type: inline-size; }
.tl-escena::before {
  content: ""; position: absolute; inset: -6% -10%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--m) 34%, transparent), transparent); transition: background .5s;
}
.tl-compu { position: relative; width: 91cqw; max-width: 100%; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.tl-compu .w { height: 62cqw; overflow: hidden; }
.tl-celu { position: absolute; z-index: 2; right: 10px; bottom: 8px; width: max(196px, 33cqw); max-width: 236px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.tl-celu .w { height: 60cqw; max-height: 450px; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; border-radius: 19px; }
.tl-celu .w::-webkit-scrollbar { display: none; }
.tl-escena.late .tl-compu { animation: tl-late .6s var(--curva); }
.tl-escena.late .tl-celu { animation: tl-late .6s var(--curva) .06s; }
@keyframes tl-late { 30% { transform: translateY(8px) scale(.985); } }
.tulocal-pie { display: flex; align-items: center; justify-content: center; gap: 14px 24px; flex-wrap: wrap; }
.tulocal-pie .boton { min-width: 180px; }
.tulocal-nota { max-width: 24em; color: var(--texto-2); font-size: 15px; }

/* La web de adentro. Se adapta al ancho de su marco: la misma sirve para compu y celular */
.w[data-estilo="moderno"] { --bh: var(--mo); --bht: var(--mot); --bl: var(--mb); --blt: var(--mbt); }
.w { container-type: inline-size; position: relative; background: var(--f); color: var(--t); --f: #fff; --t: #171412; --t2: #5d564e; transition: background-color .4s; }
.w > div { font-size: 15px; line-height: 1.35; }
.w-nav { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; color: #fff; }
.w-nav b { min-width: 0; font-size: 15px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-nav i { flex: none; width: 20px; height: 8px; border: solid currentColor; border-width: 2px 0; }
.w-nav span { display: none; }
.w-nav em { font: inherit; letter-spacing: 0; }
.w-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 310px; padding: 64px 18px 20px; overflow: hidden; color: #fff; }
.w-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-hero img.nueva { animation: w-foto 1s var(--curva); }
@keyframes w-foto { from { opacity: 0; transform: scale(1.14); } }
.w-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .68), rgba(0, 0, 0, .3) 26%, rgba(0, 0, 0, .62) 46%, rgba(0, 0, 0, .94)); }
.w-txt { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; width: 100%; }
.w-nombre { display: block; max-width: 100%; font-weight: 700; font-size: 37px; line-height: .98; letter-spacing: -.035em; text-wrap: balance; width: 100%; }
.w-nombre.parte { overflow-wrap: anywhere; }
.w-frase { max-width: 100%; overflow-wrap: anywhere; }
.w-boton { display: inline-flex; align-items: center; min-height: 40px; margin-top: 4px; padding: 0 18px; border-radius: 99px; background: var(--bh, var(--m)); color: var(--bht, var(--sobre)); font-weight: 600; font-size: 14px; transition: background-color .4s; }
.w-cuerpo { padding: 22px 16px 14px; }
.w-sub { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.w-dest { display: grid; margin-top: 14px; border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--m) 13%, var(--f)); }
.w-dest img { width: 100%; height: 132px; object-fit: cover; }
.w-dest p { padding: 12px 14px 14px; color: var(--t2); font-size: 14px; }
.w-dest b { display: block; color: var(--t); font-size: 16px; }
.w-lista { margin-top: 8px; }
.w-lista li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--t) 14%, transparent); }
.w-lista small { display: block; color: var(--t2); font-size: 13px; }
.w-lista button { flex: none; min-width: 40px; height: 40px; padding: 0 8px; border: 0; border-radius: 99px; background: var(--bl, var(--m)); color: var(--blt, var(--sobre)); font: 600 16px var(--fuente); cursor: pointer; transition: transform .35s cubic-bezier(.3, 1.8, .5, 1), background-color .4s; }
.w-lista button:active { transform: scale(.84); }
.w-ej { margin-top: 12px; color: var(--t2); font-size: 13px; }
.w-pedir { position: sticky; z-index: 3; bottom: 10px; display: block; width: calc(100% - 20px); min-height: 46px; margin: 0 10px 10px; padding: 6px 10px; border: 0; border-radius: 13px; background: #1faa53; color: #04200d; font: 600 14px/1.2 var(--fuente); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.w-pedir.salta { animation: tl-salta .45s var(--curva); }
@keyframes tl-salta { 40% { transform: scale(1.06); } }

/* Cálido: papel crema, foto en arco y letra de imprenta */
.w[data-estilo="calido"] { --bh: var(--mc); --bht: var(--mct); --bl: var(--mc); --blt: var(--mct); --f: #fbf3e6; --t: #35241a; --t2: #6d5848; }
[data-estilo="calido"] .w-nav { position: static; color: var(--t); justify-content: center; padding-bottom: 0; }
[data-estilo="calido"] .w-nav b { display: none; }
[data-estilo="calido"] .w-nav i { margin-left: auto; }
[data-estilo="calido"] .w-hero { flex-direction: column; justify-content: flex-start; min-height: 0; padding: 4px 18px 0; color: var(--t); }
[data-estilo="calido"] .w-hero::after { display: none; }
[data-estilo="calido"] .w-txt { justify-items: center; text-align: center; width: 100%; }
[data-estilo="calido"] .w-nombre { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 43px; letter-spacing: -.015em; color: var(--ml); }
[data-estilo="calido"][data-estilo="calido"] .w-hero img { position: static; order: 2; height: 190px; margin-top: 18px; border-radius: 999px 999px 0 0; }
[data-estilo="calido"] .w-cuerpo { text-align: center; }
[data-estilo="calido"] .w-sub { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; }
[data-estilo="calido"] .w-lista li { text-align: left; }

/* Fuerte: color pleno, letra enorme y foto cortada en diagonal */
.w[data-estilo="fuerte"] { --bl: var(--mo); --blt: var(--mot); --f: #101010; --t: #fff; --t2: #bfbab1; }
[data-estilo="fuerte"] .w-hero { justify-content: flex-end; min-height: 350px; padding-top: 204px; background: var(--m); color: var(--sobre); transition: background-color .4s; }
[data-estilo="fuerte"] .w-hero::after { inset: 0 0 auto; height: 70px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
[data-estilo="fuerte"] .w-hero img { height: 188px; inset: 0 0 auto; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
[data-estilo="fuerte"] .w-nombre { font-size: 45px; line-height: 1; letter-spacing: -.05em; text-transform: uppercase; }
[data-estilo="fuerte"][data-estilo="fuerte"] .w-boton { background: var(--sobre); color: var(--m); border-radius: 4px; }
[data-estilo="fuerte"] .w-sub { text-transform: uppercase; letter-spacing: -.03em; }
[data-estilo="fuerte"] .w-dest, [data-estilo="fuerte"] .w-lista button { border-radius: 4px; }

/* Versión compu */
@container (min-width: 420px) {
  .w-nav { padding: 3cqw 4.4cqw; }
  .w-nav b { font-size: max(13px, 2.9cqw); }
  .w-nav i { display: none; }
  .w-nav span { display: flex; gap: 3.4cqw; font-size: max(11.5px, 2.1cqw); font-weight: 500; }
  .w-hero, [data-estilo="fuerte"] .w-hero { min-height: 53cqw; padding: 12cqw 4.4cqw 5cqw; }
  .w-nombre { font-size: 9.6cqw; }
  .w-txt { gap: 1.6cqw; font-size: max(13px, 2.6cqw); width: 60cqw; }
  .w-boton { min-height: 6.4cqw; padding: 0 3.6cqw; font-size: max(12px, 2.3cqw); }
  .w-cuerpo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5cqw; padding: 4.4cqw; }
  .w-sub { grid-column: 1 / -1; font-size: 4.4cqw; }
  .w-dest { align-self: start; }
  [data-estilo="calido"] .w-nav { position: absolute; padding: 2.6cqw 4.4cqw; }
  [data-estilo="calido"] .w-nav b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; margin-right: auto; font-size: 3.4cqw; }
  [data-estilo="calido"] .w-hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 4cqw; min-height: 56cqw; padding: 10cqw 5cqw 0; }
  [data-estilo="calido"] .w-txt { align-self: center; justify-items: start; text-align: left; padding-bottom: 6cqw; width: 100%; min-width: 0; }
  [data-estilo="calido"] .w-nombre { font-size: 10.6cqw; }
  [data-estilo="calido"] .w-hero img { height: 45cqw; margin: 0; }
  [data-estilo="fuerte"] .w-hero { padding-top: 13cqw; justify-content: center; }
  [data-estilo="fuerte"] .w-nav { color: var(--sobre); }
  [data-estilo="fuerte"] .w-nav span { color: #fff; }
  [data-estilo="fuerte"] .w-hero::after { inset: 0 0 0 auto; width: 50%; height: 100%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(rgba(0, 0, 0, .72), transparent 36%); }
  [data-estilo="fuerte"] .w-hero img { inset: 0 0 0 auto; width: 50%; height: 100%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  [data-estilo="fuerte"] .w-nombre { font-size: 12cqw; }
  [data-estilo="fuerte"] .w-txt { width: 43cqw; max-width: none; }
  [data-estilo="fuerte"] .w-nav b { max-width: 44cqw; }
}

/* ───────── Armá tu combo ───────── */
.combo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 110px); }
.combo h3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.combo-texto > p { margin-top: 10px; color: var(--texto-2); }
.combo-opciones { margin: 22px 0 18px; }
.combo-opciones label { position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--linea); cursor: pointer; transition: padding-left .4s var(--curva); }
@media (hover: hover) { .combo-opciones label:hover { padding-left: 8px; } }
.combo-opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.combo-opciones i { position: relative; flex: none; width: 28px; height: 28px; border: 2px solid var(--texto-3); border-radius: 7px; transition: background-color .25s, border-color .25s, transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.combo-opciones i::after { content: ""; position: absolute; left: 8px; top: 2px; width: 8px; height: 14px; border: solid var(--tinta); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.combo-opciones input:checked + i { background: var(--acento); border-color: var(--acento); transform: rotate(-4deg) scale(1.06); }
.combo-opciones input:checked + i::after { transform: rotate(45deg) scale(1); }
.combo-opciones input:focus-visible + i { outline: 2px solid var(--acento); outline-offset: 3px; }
.combo-opciones span { color: var(--texto-2); font-size: 15px; line-height: 1.35; }
.combo-opciones b { display: block; color: var(--texto); font-size: 18px; font-weight: 600; }
.combo-cantidad { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; }
.combo-cantidad[hidden] { display: none; }
.combo-cantidad div { display: flex; align-items: center; gap: 6px; }
.combo-cantidad button { width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: 50%; background: none; color: var(--texto); font: 500 20px var(--fuente); cursor: pointer; }
.combo-cantidad output { min-width: 34px; text-align: center; font-size: 20px; font-weight: 600; }
.combo-texto > .combo-aviso { min-height: 1.5em; margin: 0 0 14px; font-size: 15px; }
.combo-escena { position: relative; height: 460px; overflow: hidden; background: radial-gradient(closest-side, rgba(255, 91, 46, .2), transparent); }
.combo-pieza { position: absolute; opacity: 0; transform: translateY(-120px) rotate(14deg) scale(.7); transition: transform .5s cubic-bezier(.6, 0, .9, .4), opacity .35s; }
.combo-pieza.puesta { opacity: 1; transform: none; transition: transform .8s cubic-bezier(.3, 1.35, .5, 1), opacity .25s; }
.cz-web { left: 9%; top: 15%; width: 66%; }
.cz-pagina { display: grid; gap: 10px; padding: 20px; height: 200px; align-content: center; background: var(--papel); }
.cz-pagina b { height: 26px; width: 62%; background: var(--tinta); border-radius: 4px; }
.cz-pagina i { height: 9px; width: 84%; background: #cfc9bd; border-radius: 4px; }
.cz-pagina i + i { width: 58%; }
.cz-pagina em { height: 30px; width: 34%; margin-top: 6px; border-radius: 99px; background: var(--acento); }
.cz-panel { right: 8%; top: 25%; width: 124px; }
.cz-pantalla { display: grid; align-content: start; gap: 9px; height: 224px; padding: 20px 12px; border-radius: 19px; background: #151515; }
.cz-pantalla b { color: var(--acento); font-size: 14px; }
.cz-pantalla i { height: 40px; border-radius: 9px; background: #2a2a2a; }
.cz-carteles { left: 15%; bottom: 8%; width: 118px; }
.pila { position: relative; aspect-ratio: 600 / 951; perspective: 700px; transform-style: preserve-3d; }
.pila img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 16px 34px rgba(0, 0, 0, .55);
  transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.3, 1.5, .5, 1), opacity .3s;
}
.pila img:nth-child(1), .pila img:nth-child(2) { opacity: 0; transform: translateY(10px) scale(.92); }
.pila[data-n="2"] img:nth-child(2), .pila[data-n="3"] img:nth-child(2) { opacity: 1; transform: translate(20px, -9px) rotate(8deg) scale(.96); }
.pila[data-n="3"] img:nth-child(1) { opacity: 1; transform: translate(40px, -12px) rotate(17deg) scale(.92); }
.pila[data-n="2"] img:nth-child(3) { transform: rotate(-3deg); }
.pila[data-n="3"] img:nth-child(3) { transform: rotate(-5deg); }
.pila.salta { animation: pila-salta .5s var(--curva); }
@keyframes pila-salta { 35% { transform: translateY(-12px) rotate(-2deg); } }
.combo-x {
  position: absolute; z-index: 2; left: -20px; top: -20px; display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 10px; border-radius: 99px;
  background: radial-gradient(circle at 35% 25%, #ffa17f, var(--acento) 46%, #c93a10); color: var(--tinta); font-size: 19px; font-weight: 700; letter-spacing: -.02em;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .5), inset 0 -4px 7px rgba(90, 20, 0, .4), 0 8px 18px rgba(0, 0, 0, .55);
  opacity: 0; transform: scale(0) rotate(-40deg); transition: transform .5s cubic-bezier(.3, 1.8, .5, 1), opacity .2s;
}
.combo-x.visible { opacity: 1; transform: rotate(-7deg); }
.combo-x.cambia { animation: x-cambia .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes x-cambia { 0% { transform: rotate(-7deg); } 35% { transform: rotate(9deg) scale(1.32, 1.2); } 65% { transform: rotate(-11deg) scale(.92); } 100% { transform: rotate(-7deg); } }
.combo-x b { display: block; font-weight: 700; }
.combo-x.sube b { animation: x-sube .35s var(--curva); }
.combo-x.baja b { animation: x-baja .35s var(--curva); }
@keyframes x-sube { from { transform: translateY(70%); opacity: 0; } }
@keyframes x-baja { from { transform: translateY(-70%); opacity: 0; } }
.cz-mantenimiento { left: 54%; bottom: 9%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--papel); color: var(--tinta); }
.cz-mantenimiento svg { width: 50px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.combo-vacio { position: absolute; inset: 0; display: grid; place-items: center; color: var(--texto-2); opacity: 0; transition: opacity .3s; }
.combo-escena.vacia .combo-vacio { opacity: 1; }

/* ───────── WhatsApp a mano (solo celular) ───────── */
.wa-flota { display: none; }
@media (max-width: 860px) {
  .wa-flota {
    position: fixed; z-index: 40; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom));
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #062312;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45); visibility: hidden; opacity: 0; transform: translateY(24px) scale(.7);
    transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .3s, visibility .3s;
  }
  .wa-flota.visible { visibility: visible; opacity: 1; transform: none; }
  .wa-flota:active { transform: scale(.9); }
  .wa-flota svg { width: 32px; height: 32px; fill: currentColor; }
  .tulocal-grilla, .combo { grid-template-columns: minmax(0, 1fr); }
  .combo-escena { height: 400px; }
  /* Nombre y rubro, después la web, y abajo color y estilo: así se ve el cambio */
  .tulocal-grilla { gap: 26px; }
  .tulocal-form, .tulocal-vista { display: contents; }
  .seccion-tulocal .seccion-cabeza { margin-bottom: 34px; }
  .tl-escena { order: 1; width: 100%; max-width: 640px; justify-self: center; }
  .tl-campo:nth-child(n + 3) { order: 2; }
  .tulocal-pie { order: 3; text-align: center; }
}
@media (max-width: 600px) {
  .cz-web { left: 5%; width: 74%; }
  .cz-pagina { height: 160px; }
  .cz-panel { right: 4%; width: 108px; }
  .cz-carteles { left: 10%; width: 100px; }
  .combo .boton, .tulocal-pie .boton { width: 100%; }
  .tl-escena { padding: 22px 0 24px; }
  .tl-compu { display: none; }
  .tl-celu { position: relative; inset: auto; width: min(270px, 82%); max-width: none; margin: 0 auto; }
  .tl-celu .w { height: 420px; max-height: 60svh; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .hero-grilla { grid-template-columns: 1fr; }
  .escena { max-width: 680px; }
  .proyecto, .proyecto-invertido { grid-template-columns: 1fr; }
  .proyecto-invertido .visor { order: 0; }
  .incluye-grilla { grid-template-columns: 1fr 1fr; }
  .pasos { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .preguntas-grilla, .contacto-grilla { grid-template-columns: 1fr; }
  .preguntas-grilla .seccion-cabeza { position: static; margin-bottom: 8px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--alto-cabecera) 0 auto; flex-direction: column; gap: 0;
    padding: 8px clamp(16px, 4vw, 40px) 24px;
    background: rgba(12, 12, 12, .97); border-bottom: 1px solid var(--linea);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--curva), transform .3s var(--curva), visibility .3s;
  }
  .nav.abierta { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-size: 20px; color: var(--texto); border-bottom: 1px solid var(--linea); }
  .cabecera .boton-chico { margin-left: auto; }
  .menu-boton {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 13px; flex: none;
    background: none; border: 1px solid var(--linea); border-radius: 50%; cursor: pointer;
  }
  .menu-boton span { height: 1.5px; background: var(--texto); transition: transform .3s var(--curva); }
  .menu-boton[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-boton[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cabecera-fila { gap: 12px; }
  .marca small { display: none; }
  .hero-acciones .boton { flex: 1 1 auto; }
  .escena-indice { gap: 10px; }
  .escena-indice button { font-size: 10px; }
  .incluye-grilla, .pasos, .planes { grid-template-columns: 1fr; }
  .visor-abrir { font-size: 11px; }
  .modos button { padding: 9px 13px; }
  .plan .boton, .tu-turno .boton { width: 100%; }
}

/* Repaso: lectura, dedos y menú acostado */
.navegador-barra span { color: #9a958b; }
.seccion-clara h2 em { color: #d23f12; }
.mini-estado { color: #146c38; }
.resenas-lista:not([hidden]) { margin-bottom: 56px; }
@media (max-width: 1180px) and (min-width: 861px) {
  .nav { gap: 13px; }
  .nav a { font-size: 14px; }
  .cabecera .marca small { display: none; }
}
@media (max-width: 860px) {
  .nav { max-height: calc(100dvh - var(--alto-cabecera)); overflow-y: auto; overscroll-behavior: contain; }
  .modos button { min-height: 44px; }
  .visor-abrir, .plan-probar { display: inline-flex; align-items: center; min-height: 44px; }
  .mini-precio { grid-template-columns: minmax(0, 1fr) 44px 58px 44px; gap: 4px; }
  .mini-precio button { width: 44px; height: 44px; }
  .escena-indice button { min-height: 44px; }
  .contacto-links a { display: inline-block; padding: 9px 0; }
}
@media (max-width: 860px) and (max-height: 480px) { .nav a { padding: 10px 0; font-size: 17px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revela { opacity: 1; transform: none; }
  .paso::before { width: 100%; }
  .js .palabra > span { transform: none; }
  .js .proyecto .visor { clip-path: none; }
  .js .item svg * { stroke-dashoffset: 0; }
  .pie-marco { stroke-dashoffset: 0; }
  .js .paso:not(.encendido) h3, .js .paso:not(.encendido) p { opacity: 1; }
  .grano, .intro { display: none !important; }
}
