/* PCNS Montajes · estilos. Los textos y precios NO están aquí: van en contenido.toml */
:root {
  --bg: #0a1122;
  --surface: #121c34;
  --surface-2: #1b2846;
  --ink: #ffffff;
  --muted: #aeb8d0;
  --accent: #ffd60a;
  --accent-hover: #ffe24d;
  --accent-ink: #0a1122;
  --field-1: #1a3cff;
  --field-1-ink: #ffffff;
  --field-1-soft: #dfe5ff;
  --field-2: #ffffff;
  --field-2-ink: #0a1122;

  --s-mega: clamp(4.5rem, 15.5vw, 16rem);
  --s-display: clamp(2.75rem, 9.6vw, 10rem);
  --s-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.25rem);
  --s-small: 0.9375rem;

  --m: clamp(16px, 3.2vw, 44px);
  --gap: clamp(120px, 14vw, 220px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Newsreader", Georgia, serif; font-size: var(--s-body); line-height: 1.55;
  font-optical-sizing: auto; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: var(--m); top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 50; }
.saltar:focus { top: 10px; }

/* Botones: un solo tipo, esquinas rectas */
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; background: var(--accent); color: var(--accent-ink); font-weight: 600;
  font-size: var(--s-body); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s;
}
.boton:hover { background: var(--accent-hover); transform: translateY(-2px); }
.boton:active { transform: translateY(0) scale(.98); }
.boton-sec { background: var(--surface-2); color: var(--ink); min-height: 44px; padding: 0 18px; }
.boton-sec:hover { background: var(--field-1); }

/* Barra */
.barra {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m); background: var(--bg);
}
.marca { font-weight: 600; font-size: var(--s-body); text-decoration: none; margin-right: auto; letter-spacing: -0.01em; }
.barra nav { display: flex; gap: 26px; font-size: var(--s-body); }
.barra nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.barra nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .barra nav { display: none; } }

/* Portada: la frase con la ventana */
.portada { padding: clamp(32px, 6vh, 88px) var(--m) clamp(32px, 5vh, 56px); }
.frase-grande {
  font-size: var(--s-display); font-weight: 500; line-height: .92; letter-spacing: -0.045em;
  max-width: 13em;
}
.frase-grande span { display: inline; }
.ventana {
  display: inline-block !important; width: 2.3em; height: .74em; vertical-align: -0.02em;
  overflow: hidden; margin: 0 .06em; background: var(--surface);
}
.ventana img { width: 100%; height: 100%; object-fit: cover; }
.portada-pie {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 6vw;
  align-items: end; margin-top: clamp(36px, 5vw, 64px);
}
.entradilla { font-size: var(--s-lead); line-height: 1.4; max-width: 34ch; }
.portada-accion { display: grid; gap: 18px; justify-items: start; }
.datos { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: var(--s-small); }
@media (max-width: 760px) {
  .frase-grande { font-size: 12.2vw; }
  .ventana { width: 1.55em; }
  .portada-pie { grid-template-columns: 1fr; }
  .portada-accion .boton { width: 100%; }
}

/* Banda de foto a todo el ancho (la ventana abierta) */
.banda { height: clamp(360px, 62svh, 760px); overflow: hidden; }
.banda img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* Galería: copias sobre el título */
.galeria { margin-top: var(--gap); }
.mesa {
  position: relative; min-height: 100svh; background: var(--field-1); color: var(--field-1-ink);
  display: grid; place-items: center; overflow: hidden; padding: 64px var(--m);
}
.mesa-titulo {
  position: relative; z-index: 3; font-size: var(--s-mega); font-weight: 500; line-height: .85; letter-spacing: -0.05em;
  text-align: center; max-width: 6em;
}
.copia {
  position: absolute; width: clamp(200px, 26vw, 420px); padding: 8px; background: #fff; border: 0; cursor: zoom-in;
  transform: rotate(var(--giro)); transition: transform .2s var(--ease); z-index: 2;
}
.copia img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.copia:hover, .copia:focus-visible { transform: rotate(0deg) scale(1.03); z-index: 5; }
.copia-1 { left: 3%; top: 9%; }
.copia-2 { right: 4%; top: 30%; }
.copia-3 { left: 30%; bottom: -14%; width: clamp(140px, 15vw, 240px); }
.mesa-nota { position: absolute; left: var(--m); bottom: 24px; font-size: var(--s-small); max-width: 40ch; }
@media (max-width: 760px) {
  .mesa { min-height: 86svh; }
  .mesa { min-height: 100svh; align-content: center; }
  .mesa-titulo { font-size: 22vw; }
  .copia { width: 40vw; }
  .copia-1 { left: 4%; top: 6%; }
  .copia-2 { right: 4%; left: auto; top: auto; bottom: 12%; }
  .copia-3 { display: none; }
  .mesa-nota { right: var(--m); }
}

.rejilla {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px);
  padding: clamp(48px, 6vw, 96px) var(--m) 0;
}
.rejilla li { grid-column: span 4; }
.rejilla li:nth-child(5n + 1) { grid-column: span 7; }
.rejilla li:nth-child(5n + 2) { grid-column: span 5; }
.foto { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.foto:hover img, .foto:focus-visible img { transform: scale(1.04); }
@media (max-width: 760px) {
  .rejilla li, .rejilla li:nth-child(5n + 1), .rejilla li:nth-child(5n + 2) { grid-column: span 12; }
  .rejilla li:nth-child(3n + 2), .rejilla li:nth-child(3n) { grid-column: span 6; }
}

/* Cómo trabajo: un verbo por pantalla */
.pasos { margin-top: var(--gap); }
.paso { position: relative; height: 100svh; overflow: clip; background: var(--field-1); }
.paso-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.paso-verbo {
  position: sticky; top: 0; height: 100svh; display: grid; place-items: center; z-index: 1; text-align: center;
  font-size: var(--s-mega); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: #fff;
}
.paso-texto {
  position: absolute; left: var(--m); bottom: var(--m); z-index: 1; max-width: 40ch;
  font-size: var(--s-lead); line-height: 1.4; padding: 18px 22px 18px 0; color: #fff;
}
.paso::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(760px, 100%); height: 46%;
  background: linear-gradient(to top right, rgba(10, 17, 34, .88), rgba(10, 17, 34, 0) 70%); /* taste-skill-ignore: velo neutro bajo el texto sobre foto */
}
@media (max-width: 760px) {
  .paso-verbo { font-size: 22vw; }
  .paso-texto { right: var(--m); font-size: var(--s-body); }
  .paso::after { width: 100%; }
}

/* Precios: la oferta como frase + hoja de encargo */
.precios { padding: var(--gap) var(--m) 0; }
.frase-precio { font-size: var(--s-display); font-weight: 500; line-height: .95; letter-spacing: -0.045em; max-width: 11em; }
.cifra { background: var(--accent); color: var(--accent-ink); padding: 0 .15em; white-space: nowrap; }
.precios-pie {
  display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: end; gap: 28px 48px;
  margin-top: 56px;
}

.hoja {
  margin-top: clamp(72px, 9vw, 140px); background: var(--field-2); color: var(--field-2-ink);
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 0 clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 56px);
}
.hoja-titulo { grid-column: 1 / -1; font-size: var(--s-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 28px; }
.hoja fieldset { grid-column: 1; border: 0; margin: 0 0 28px; padding: 0; }
.hoja legend { font-size: var(--s-lead); font-weight: 600; padding: 0; margin-bottom: 8px; }
.linea {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start;
  padding: 14px 16px; margin: 0 -16px; transition: background-color .15s;
}
.linea:hover { background: #f1f4fb; }
.linea:has(input:checked) { background: #fff3b8; }
.linea input[type="checkbox"] { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--field-1); cursor: pointer; }
.linea label { cursor: pointer; }
.linea label b { display: block; font-weight: 600; }
.linea label span { display: block; font-size: var(--s-small); color: #46506a; line-height: 1.4; }
.linea-precio { font-weight: 600; white-space: nowrap; }
.cant { grid-column: 2 / -1; font-size: var(--s-small); display: flex; align-items: center; gap: 10px; }
.cant input { width: 72px; min-height: 40px; font: inherit; padding: 4px 8px; border: 1px solid #b9b3bb; background: #fff; color: var(--field-2-ink); }
.total {
  grid-column: 2; grid-row: 2 / span 3; align-self: start; position: sticky; top: 88px;
  background: var(--field-1); color: #fff; padding: 28px; display: grid; gap: 14px;
}
.total p:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--s-lead); }
.total strong { font-size: var(--s-head); font-weight: 500; letter-spacing: -0.03em; }
.total-nota { font-size: var(--s-small); color: var(--field-1-soft); }
.total .boton { width: 100%; text-align: center; }
@media (max-width: 860px) {
  .hoja { grid-template-columns: 1fr; }
  .total { grid-column: 1; grid-row: auto; position: sticky; bottom: 0; top: auto; margin: 0 calc(-1 * clamp(24px, 4vw, 56px)) calc(-1 * clamp(24px, 4vw, 56px)); }
}

/* Restauración: un marco, tres distancias */
.restaura { position: relative; margin-top: var(--gap); height: 300vh; }
.restaura-escena {
  position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px var(--m); text-align: center;
}
.restaura-titulo { font-size: var(--s-display); font-weight: 500; letter-spacing: -0.045em; line-height: .92; }
.marco {
  position: relative; width: clamp(220px, 26vw, 400px); aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--surface); margin: 18px auto 0;
}
.marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .6s; }
.marco .despues { opacity: 0; }
.marco[data-paso="2"] .antes { transform: scale(1.8); transform-origin: 38% 70%; }
.marco[data-paso="3"] .antes { opacity: 0; }
.marco[data-paso="3"] .despues { opacity: 1; }
.etiqueta { position: absolute; left: 12px; top: 12px; background: var(--bg); color: var(--ink); font-size: var(--s-small); padding: 4px 10px; }
.marco[data-paso="3"] .etiqueta { background: var(--accent); color: var(--accent-ink); }
.restaura-texto { max-width: 46ch; margin: 24px auto 0; font-size: var(--s-body); }
.marcas { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }
@media (max-width: 760px) {
  .marco { width: 70vw; }
  .restaura-titulo { font-size: 11vw; }
}
@media (prefers-reduced-motion: reduce) {
  .restaura { height: auto; }
  .restaura-escena { position: static; height: auto; }
  .marco .despues { opacity: 1; clip-path: inset(0 0 0 50%); }
  .marco img { transition: none; }
}

/* Switch: frase a la izquierda, pruebas a la derecha */
.switch {
  margin-top: var(--gap); padding: 0 var(--m);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 32px); align-items: start;
}
.switch-texto { grid-column: 1 / span 5; display: grid; gap: 28px; justify-items: start; position: sticky; top: 100px; }
.titulo-seccion { font-size: var(--s-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.switch-precios { width: 100%; display: grid; gap: 4px; }
.switch-precios li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--surface); }
.switch-precios b { font-weight: 600; white-space: nowrap; }
.switch-fotos { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.switch-fotos .foto:first-child { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .switch-texto, .switch-fotos { grid-column: 1 / -1; position: static; }
}

/* Ventajas: frases sobre campos de color */
.ventajas { margin-top: var(--gap); }
.campo { position: relative; min-height: 74svh; padding: 28px var(--m); display: grid; }
.campo-1 { background: var(--field-1); color: var(--field-1-ink); }
.campo-2 { background: var(--surface); color: var(--ink); }
.campo-3 { background: var(--field-2); color: var(--field-2-ink); }
.campo-texto { justify-self: end; align-self: start; max-width: 32ch; margin-top: 8vh; margin-right: 8vw; font-size: var(--s-body); }
.campo-frase { align-self: end; font-size: var(--s-display); font-weight: 500; line-height: .92; letter-spacing: -0.045em; max-width: 9em; }
.campo-2 .campo-texto { justify-self: start; margin-left: 8vw; margin-right: 0; }
.campo-2 .campo-frase { justify-self: end; text-align: right; }
@media (max-width: 760px) {
  .campo { min-height: 64svh; }
  .campo-texto, .campo-2 .campo-texto { justify-self: start; margin: 0; max-width: 90%; }
  .campo-frase, .campo-2 .campo-frase { justify-self: start; text-align: left; font-size: 11vw; }
}

/* Preguntas */
.preguntas { padding: var(--gap) var(--m); }
.titulo-ancho { font-size: var(--s-head); font-weight: 500; letter-spacing: -0.04em; line-height: .95; max-width: 12em; }
.lista { margin: 80px 0 0 33%; display: grid; gap: 12px; }
.lista details { padding: 14px 24px; margin: 0 -24px; transition: background-color .2s; }
.lista details[open] { background: var(--surface); }
.lista summary { font-size: var(--s-lead); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.lista summary::-webkit-details-marker { display: none; }
.lista summary::after { content: "+"; font-size: var(--s-lead); transition: transform .2s var(--ease); }
.lista details[open] summary::after { transform: rotate(45deg); }
.lista summary:hover { color: var(--accent); }
.lista details p { margin-top: 12px; max-width: 52ch; }
@media (max-width: 760px) { .lista { margin-left: 0; } }

/* Cierre: el teléfono como titular */
.cierre {
  background: var(--field-1); color: #fff; min-height: 90svh; padding: 40px var(--m) 28px;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px;
}
.cierre-notas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; font-size: var(--s-body); }
.cierre-notas p { max-width: 46ch; }
.telefono {
  grid-row: 3; font-size: var(--s-mega); font-weight: 500; letter-spacing: -0.05em; line-height: .9;
  text-decoration: none; white-space: nowrap; transition: color .2s;
}
.telefono:hover { color: var(--accent); }
.cierre-meta { grid-row: 4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--s-small); color: var(--field-1-soft); }
@media (max-width: 760px) { .telefono { font-size: 17vw; } .cierre-meta { flex-direction: column; } }

/* Visor de fotos */
.visor { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1400px); color: #fff; }
.visor::backdrop { background: rgba(10, 17, 34, .94); }
.visor img { max-height: 82svh; width: auto; margin: 0 auto; }
.visor button { display: block; margin: 12px auto 0; background: var(--surface-2); border: 0; padding: 10px 20px; cursor: pointer; }

/* Movimiento */
.obturador img { animation: escala 1.4s var(--ease) both; }
.obturador { animation: obturador 1.1s var(--ease) both .2s; }
@keyframes obturador { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes escala { from { transform: scale(1.12); } to { transform: scale(1); } }
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--retraso, 0ms); }
.aparece.visto { opacity: 1; transform: none; }
.ventana img { animation: deriva 9s ease-in-out infinite alternate; }
@keyframes deriva { from { transform: scale(1.05) translateX(-3%); } to { transform: scale(1.15) translateX(3%); } }
@media (prefers-reduced-motion: reduce) {
  *, .aparece { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
}
