/*
  ZAMLOX — home "Pliego y sello" (desde el boceto bocetos/home-pliego-y-sello).
  Principios: papel, no pantalla · el sello como firma (3 lugares máximo) ·
  composición de revista con margen para notas a mano · el producto es la imagen ·
  ritmo de imprenta (silencios largos, pares apretados).
  Tipografía y paleta salen de marca.css; aquí solo se agregan respaldos con
  métricas parecidas para que la portada no "brinque" al cargar las fuentes.
*/

@font-face { font-family: "GV respaldo"; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Noto Serif Italic"), local("NotoSerif-Italic"); size-adjust: 72%; }
@font-face { font-family: "Outfit respaldo"; src: local("Arial"), local("Roboto"); size-adjust: 98%; }
@font-face { font-family: "Cormorant respaldo"; src: local("Georgia"), local("Times New Roman"); size-adjust: 88%; }

:root {
  --zx-font-script: "Great Vibes", "GV respaldo", "Segoe Script", cursive;
  --zx-font-texto: "Outfit", "Outfit respaldo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zx-font-titulo: "Cormorant Garamond", "Cormorant respaldo", Georgia, serif;

  /* espacios con saltos, no uniformes */
  --e-1: .5rem; --e-2: 1rem; --e-3: 1.5rem; --e-4: 2.5rem; --e-5: 4rem; --e-6: 6.5rem; --e-7: 9rem;
  --r-papel: 2px; --r-boton: 6px;
  --sombra-papel: 0 1px 0 rgba(62, 15, 34, .06), 0 18px 30px -22px rgba(62, 15, 34, .42);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --d-ui: 200ms;
  --ancho: 1240px;
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .06 0 0 0 0 .13 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --deckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='12' preserveAspectRatio='none'%3E%3Cpath d='M0 0H240V5L236 7 231 5 226 8 220 6 214 9 209 6 203 8 197 5 191 8 186 6 180 9 174 6 169 8 163 5 157 7 152 6 146 9 140 6 134 8 129 5 123 8 117 6 112 9 106 6 100 8 95 5 89 7 83 6 78 9 72 6 66 8 61 5 55 8 49 6 43 9 38 6 32 8 26 5 21 7 15 6 9 9 4 6 0 8Z'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--zx-tinta); font-family: var(--zx-font-texto); font-size: 17px; line-height: 1.6;
  background: var(--grano), var(--zx-marfil); text-rendering: auto; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--zx-vino); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 1rem; top: -60px; z-index: 50; padding: .7rem 1rem; background: var(--zx-vino); color: #fff; border-radius: var(--r-boton); }
.saltar:focus { top: 1rem; }

/* ---------- Piezas de texto ---------- */
.antetitulo { margin: 0 0 var(--e-2); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--zx-dorado-texto); }
.antetitulo--claro { color: var(--zx-dorado); }
.titulo { margin: 0; font-family: var(--zx-font-titulo); font-weight: 600; font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.01em; color: var(--zx-vino); text-wrap: balance; }
.titulo--claro { color: var(--zx-marfil); }
.sub { margin: var(--e-2) 0 0; max-width: 34em; color: var(--zx-tinta-suave); text-wrap: pretty; }
.sub--claro { color: #d9c7b8; }
.nota { font-family: var(--zx-font-script); font-weight: 400; color: var(--zx-dorado-texto); line-height: 1.1; }
.seccion__cabeza { position: relative; max-width: var(--ancho); margin: 0 auto var(--e-5); padding-inline: clamp(1.25rem, 5vw, 3rem); }
.nota--margen { position: absolute; left: clamp(1.25rem, 5vw, 3rem); top: -2.2rem; margin: 0; font-size: 1.9rem; transform: rotate(-4deg); transform-origin: left; }
@media (min-width: 1180px) { .nota--margen { left: auto; right: calc(100% - 2rem); top: .4rem; text-align: right; width: 11rem; } }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.5rem;
  border-radius: var(--r-boton); background: var(--zx-vino); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 15px; letter-spacing: .04em; transition: background var(--d-ui) var(--ease), transform 120ms var(--ease);
}
.boton:active { transform: scale(.97); }
.enlace { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; color: var(--zx-vino); font-family: var(--zx-font-titulo); font-style: italic; font-size: 1.2rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--zx-dorado); }
@media (hover: hover) and (pointer: fine) {
  .boton:hover { background: var(--zx-vino-hondo); }
  .enlace:hover { text-decoration-color: var(--zx-vino); }
}

/* ---------- Cabecera ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: var(--zx-marfil); border-bottom: 1px solid var(--zx-linea); }
.hd__barra { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--e-3); max-width: var(--ancho); margin: 0 auto; padding: .45rem clamp(1rem, 4vw, 3rem); }
.hd__marca { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; }
.hd__marca img:first-child { width: 40px; height: 40px; }
.hd__palabra { width: 118px; height: auto; }
.hd__nav { display: flex; justify-content: center; gap: clamp(.4rem, 2vw, 1.6rem); }
.hd__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .35rem; color: var(--zx-tinta); text-decoration: none; font-size: 15px; background: linear-gradient(var(--zx-dorado), var(--zx-dorado)) 50% 78% / 0 1px no-repeat; transition: background-size var(--d-ui) var(--ease); }
@media (hover: hover) and (pointer: fine) { .hd__nav a:hover { background-size: 70% 1px; } }
.hd__wa { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border-radius: var(--r-boton); background: var(--zx-whatsapp); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; transition: transform 120ms var(--ease); }
.hd__wa svg { width: 18px; height: 18px; fill: currentColor; }
.hd__wa:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .hd__wa:hover { background: var(--zx-whatsapp-hondo); } }
@media (max-width: 760px) {
  .hd__barra { grid-template-columns: 1fr auto; row-gap: 0; padding-bottom: 0; }
  .hd__nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; margin-inline: -.35rem; }
  .hd__nav a { font-size: 14px; }
  .hd__palabra { width: 100px; }
}

/* ---------- Portada ---------- */
.portada {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-4); align-items: center;
  max-width: var(--ancho); margin: 0 auto; padding: var(--e-4) clamp(1.25rem, 5vw, 3rem) var(--e-5);
}
@media (min-width: 980px) {
  .portada { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: calc(100svh - 62px); padding-top: var(--e-3); }
}
.portada__titulo { margin: 0; font-family: var(--zx-font-script); font-weight: 400; font-size: clamp(3rem, 7vw, 6.1rem); line-height: 1.04; color: var(--zx-vino); max-width: 9.5em; min-height: 2.08em; }
@media (max-width: 350px) { .portada__titulo { min-height: 3.12em; } }
.portada__lead { margin: var(--e-3) 0 0; max-width: 31em; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--zx-tinta-suave); text-wrap: pretty; }
.recibo { display: flex; flex-wrap: wrap; gap: .2rem 0; margin: var(--e-3) 0 0; padding: .7rem 0; border-block: 1px dashed var(--zx-linea); font-family: var(--zx-font-titulo); font-style: italic; font-size: 1.22rem; line-height: 1.35; color: var(--zx-tinta); }
.recibo span { white-space: nowrap; }
.recibo span + span::before { content: "·"; margin: 0 .55rem; color: var(--zx-dorado); font-style: normal; }
.recibo b { font-style: normal; font-weight: 600; color: var(--zx-vino); font-variant-numeric: oldstyle-nums; }
@media (max-width: 560px) {
  .recibo { display: grid; gap: .15rem; }
  .recibo span { white-space: normal; padding-left: 1rem; position: relative; }
  .recibo span + span::before { content: none; }
  .recibo span::after { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--zx-dorado); transform: rotate(45deg); }
}
.portada__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: var(--e-3); }

/* El título que se escribe solo (mismo comportamiento que la home actual) */
.teclea .p { display: inline-block; white-space: nowrap; }
.teclea .l { position: relative; opacity: 0; transition: opacity .18s ease-out; }
.teclea .l.on { opacity: 1; }
.teclea .l.ult::after { content: ""; position: absolute; right: -.08em; top: .2em; bottom: .12em; width: 2px; background: var(--zx-dorado); animation: cursor 1s steps(1) infinite; }
.teclea.fin .l.ult::after { animation: cursor 1s steps(1) 3, apagar .6s ease 3s forwards; }
@keyframes cursor { 50% { opacity: 0; } }
@keyframes apagar { to { opacity: 0; } }

/* La mesa: un sobre de papel y dos celulares encima */
.mesa { position: relative; height: clamp(470px, 64vw, 640px); max-width: 600px; width: 100%; margin-inline: auto; }
.sobre { position: absolute; left: -4%; top: 10%; width: 64%; aspect-ratio: 1.45; background: linear-gradient(160deg, var(--zx-blanco), #efe5d6); border-radius: var(--r-papel); box-shadow: var(--sombra-papel); transform: rotate(-7deg); overflow: hidden; }
.sobre::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent 49.6%, rgba(122, 91, 34, .16) 50%, transparent 50.6%) left / 50% 100% no-repeat, linear-gradient(to top left, transparent 49.6%, rgba(122, 91, 34, .16) 50%, transparent 50.6%) right / 50% 100% no-repeat; }
.sobre__solapa { position: absolute; inset: 0 0 auto; height: 58%; background: linear-gradient(180deg, #fbf6ee, #ece0cf); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 2px rgba(62, 15, 34, .12)); }
.sobre__sello { position: absolute; left: 34%; top: 60%; width: 22%; height: auto; transform: translate(-50%, -50%) rotate(-12deg); filter: drop-shadow(0 3px 4px rgba(62, 15, 34, .35)); }

.tel { --w: 200px; position: relative; width: var(--w); aspect-ratio: 9 / 19.5; padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .16); background: linear-gradient(150deg, #4a353b, #1c1013 45%, #2c1c20); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 40px -28px rgba(62, 15, 34, .7), 0 4px 10px -4px rgba(62, 15, 34, .35); }
.tel__pantalla { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .13); background: var(--zx-marfil-2); isolation: isolate; }
.tel__pantalla::after { content: ""; position: absolute; top: 2.4%; left: 50%; width: 26%; height: 3.1%; border-radius: 999px; background: #140b0e; transform: translateX(-50%); }
.tel video { width: 100%; height: 100%; object-fit: cover; }
.tel--principal { --w: clamp(190px, 25vw, 270px); position: absolute; right: 8%; top: 2%; transform: rotate(3deg); z-index: 2; animation: asentar 1.1s var(--ease) both; }
.tel--segundo { --w: clamp(140px, 18vw, 196px); position: absolute; left: 14%; bottom: 0; transform: rotate(-6deg); z-index: 3; animation: asentar 1.1s .18s var(--ease) both; }
@keyframes asentar { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
.nota--mesa { position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: flex-end; gap: .2rem; margin: 0; font-size: 1.7rem; transform: rotate(-6deg); }
.nota--mesa svg { width: 70px; height: auto; margin-bottom: -1.6rem; stroke: var(--zx-dorado-texto); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pausa { position: absolute; right: 0; bottom: 0; z-index: 5; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--zx-linea); border-radius: var(--r-boton); background: rgba(247, 241, 232, .9); color: var(--zx-tinta-suave); font: 500 13px var(--zx-font-texto); cursor: pointer; }
.pausa svg { width: 16px; height: 16px; fill: currentColor; }
.pausa[aria-pressed="true"] svg rect:last-child { display: none; }
.pausa[aria-pressed="true"] svg rect:first-child { x: 7; width: 7px; height: 12px; }
@media (max-width: 560px) {
  .mesa { height: 500px; }
  .sobre { width: 78%; left: 0; top: 18%; }
  .tel--principal { --w: 196px; right: 2%; }
  .tel--segundo { --w: 146px; left: 6%; }
  .nota--mesa { font-size: 1.45rem; top: 4%; }
  .pausa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pausa { padding: 0; width: 44px; justify-content: center; }
}

/* ---------- Tira de garantías (papel perforado) ---------- */
.tira { position: relative; background: var(--zx-marfil-2); padding: var(--e-3) clamp(1.25rem, 5vw, 3rem); }
.tira::before, .tira::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: radial-gradient(circle at 7px 4px, var(--zx-marfil) 3px, transparent 3.5px) 0 0 / 14px 8px repeat-x; }
.tira::before { top: -4px; } .tira::after { bottom: -4px; }
.tira p { max-width: var(--ancho); margin: 0 auto; text-align: center; font-family: var(--zx-font-titulo); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--zx-tinta); text-wrap: balance; }
.tira span { white-space: nowrap; }
.tira span + span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin: 0 .7rem; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23C9A25E' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M3 16C7 13 12 9 17 3'/%3E%3Cpath d='M7 12.6c-2-.4-3.2-1.6-3.6-3.4 1.9 0 3.2 1 3.6 3.4zM10.4 9.4C8.6 8.8 7.6 7.4 7.5 5.6c1.8.3 2.8 1.6 2.9 3.8zM7 12.6c.3-2 1.6-3.1 3.4-3.3-.1 1.9-1.2 3-3.4 3.3zM10.4 9.4c.6-1.9 2-2.8 3.8-2.8-.4 1.8-1.6 2.7-3.8 2.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 760px) { .tira span { white-space: normal; display: block; } .tira span + span::before { display: block; margin: .35rem auto; } }

/* ---------- Precios: un pliego con filetes ---------- */
.precios { padding: var(--e-7) 0 var(--e-6); }
.pliego {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: calc(var(--ancho) - 6rem); margin: 0 auto;
  background: var(--grano), var(--zx-blanco); box-shadow: var(--sombra-papel); border-radius: var(--r-papel);
  -webkit-mask: var(--deckle) bottom / 240px 12px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 11px) no-repeat;
          mask: var(--deckle) bottom / 240px 12px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 11px) no-repeat;
}
.paquete { position: relative; padding: var(--e-5) clamp(1.25rem, 2.6vw, 2.4rem) var(--e-5); }
.paquete + .paquete { border-left: 3px double var(--zx-linea); }
.paquete h3 { margin: 0; font-family: var(--zx-font-titulo); font-weight: 600; font-size: 2rem; letter-spacing: .02em; color: var(--zx-vino); }
.paquete__quien { margin: .35rem 0 0; min-height: 3.2em; font-size: 15px; line-height: 1.55; color: var(--zx-tinta-suave); }
.precio { display: flex; align-items: baseline; gap: .7rem; margin: var(--e-3) 0 var(--e-3); font-family: var(--zx-font-titulo); line-height: 1; font-variant-numeric: oldstyle-nums; }
.precio b { font-weight: 500; font-size: clamp(3rem, 5vw, 4.4rem); color: var(--zx-tinta); text-shadow: 0 1px 0 rgba(255, 253, 249, .8), 0 -1px 0 rgba(62, 15, 34, .12); }
.precio s { font-size: 1.25rem; color: var(--zx-tinta-suave); text-decoration-thickness: 1px; }
.paquete__lista-titulo { margin: 0 0 .5rem; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--zx-dorado-texto); }
.paquete ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
.paquete li { position: relative; padding: .38rem 0 .38rem 1.1rem; border-bottom: 1px dotted var(--zx-linea); }
.paquete li::before { content: ""; position: absolute; left: 0; top: .9em; width: 5px; height: 5px; background: var(--zx-dorado); transform: rotate(45deg); }
.paquete li strong { font-weight: 600; color: var(--zx-vino); }
.paquete__meta { margin: var(--e-3) 0 0; font-family: var(--zx-font-titulo); font-style: italic; font-size: 1.1rem; color: var(--zx-tinta-suave); }
.estampa { position: absolute; right: clamp(.6rem, 1.6vw, 1.4rem); top: 1.2rem; display: grid; justify-items: end; pointer-events: none; }
.estampa img { width: 84px; height: 84px; transform: rotate(-8deg); filter: drop-shadow(0 3px 3px rgba(62, 15, 34, .3)); }
.estampa .nota { margin-top: -.3rem; font-size: 1.45rem; transform: rotate(-5deg); white-space: nowrap; }
.js .estampa img { opacity: 0; }
.js .estampa.puesta img { animation: estampar 420ms var(--ease) forwards; }
@keyframes estampar { 0% { opacity: 0; transform: scale(1.35) rotate(-16deg); } 70% { opacity: 1; transform: scale(.96) rotate(-7deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
@media (max-width: 860px) {
  .pliego { grid-template-columns: minmax(0, 1fr); gap: 0; margin-inline: clamp(1rem, 4vw, 2rem); background: none; box-shadow: none; -webkit-mask: none; mask: none; }
  .paquete { background: var(--grano), var(--zx-blanco); box-shadow: var(--sombra-papel), 5px 6px 0 -1px var(--zx-marfil-2), 5px 6px 0 0 var(--zx-linea); margin-bottom: var(--e-3); padding-block: var(--e-4); }
  .paquete + .paquete { border-left: 0; }
  .paquete__quien { min-height: 0; padding-right: 5.5rem; }
  .paquete--fiesta .paquete__quien { padding-right: 6.5rem; }
}

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3) var(--e-4); max-width: calc(var(--ancho) - 6rem); margin: var(--e-4) auto 0; padding-inline: clamp(1.25rem, 3vw, 2.4rem); }
.extras p { margin: 0; padding-top: var(--e-2); border-top: 1px dashed var(--zx-dorado); font-size: 16px; color: var(--zx-tinta-suave); }
.extras b { color: var(--zx-vino); font-weight: 600; }
@media (max-width: 760px) { .extras { grid-template-columns: minmax(0, 1fr); } }

.compara { max-width: calc(var(--ancho) - 6rem); margin: var(--e-4) auto 0; padding-inline: clamp(1.25rem, 3vw, 2.4rem); }
.compara summary { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; list-style: none; font-family: var(--zx-font-titulo); font-style: italic; font-size: 1.25rem; color: var(--zx-vino); text-decoration: underline; text-decoration-color: var(--zx-dorado); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.compara summary::-webkit-details-marker { display: none; }
.compara summary::after { content: "+"; font-style: normal; font-family: var(--zx-font-texto); font-weight: 300; font-size: 1.4rem; color: var(--zx-dorado-texto); transition: transform var(--d-ui) var(--ease); }
.compara[open] summary::after { transform: rotate(45deg); }
.compara__tabla { overflow-x: auto; margin-top: var(--e-2); }
.compara table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compara th, .compara td { padding: .6rem .5rem; border-bottom: 1px dotted var(--zx-linea); text-align: center; }
.compara thead th { font-family: var(--zx-font-titulo); font-size: 1.15rem; color: var(--zx-vino); border-bottom: 1px solid var(--zx-dorado); }
.compara tbody th { text-align: left; font-weight: 400; color: var(--zx-tinta); }
.compara td { color: var(--zx-vino); }
.compara td.no { color: var(--zx-tinta-suave); }
.compara__precio td { font-family: var(--zx-font-titulo); font-size: 1.3rem; font-weight: 600; }
.nota--cierre { max-width: calc(var(--ancho) - 6rem); margin: var(--e-4) auto 0; padding-inline: clamp(1.25rem, 3vw, 2.4rem); font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: right; }

/* ---------- Así funciona ---------- */
.pasos { padding: var(--e-5) 0 var(--e-7); }
.pasos__cuerpo { position: relative; max-width: 980px; margin: 0 auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.pasos__trazo { position: absolute; left: calc(clamp(1.25rem, 5vw, 3rem) + 1.2rem); top: 2.2rem; bottom: 2.4rem; width: 40px; height: calc(100% - 4.6rem); overflow: visible; }
.pasos__trazo path { fill: none; stroke: var(--zx-dorado); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--trazo, 0); vector-effect: non-scaling-stroke; }
.pasos ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-4); }
.pasos li { position: relative; display: grid; grid-template-columns: 5.2rem minmax(0, 1fr) 11rem; align-items: start; gap: var(--e-3); }
.paso__num { position: relative; z-index: 1; font-family: var(--zx-font-titulo); font-style: italic; font-weight: 500; font-size: 4.6rem; line-height: .8; color: var(--zx-dorado-texto); text-align: center; background: var(--zx-marfil); padding-bottom: .3rem; font-variant-numeric: oldstyle-nums; }
.pasos h3 { margin: .4rem 0 .3rem; font-family: var(--zx-font-titulo); font-weight: 600; font-size: 1.65rem; color: var(--zx-vino); }
.pasos li p { margin: 0; color: var(--zx-tinta-suave); text-wrap: pretty; }
.paso__paga { margin-top: .6rem; font-size: 1.6rem; transform: rotate(-4deg); }
@media (max-width: 760px) {
  .pasos li { grid-template-columns: 3.4rem minmax(0, 1fr); gap: var(--e-2); }
  .paso__num { font-size: 3.4rem; }
  .paso__paga { grid-column: 2; margin-top: -.6rem; font-size: 1.45rem; }
  .pasos__trazo { left: calc(clamp(1.25rem, 5vw, 3rem) + .6rem); }
}

/* ---------- Aperturas (papel vino oscuro) ---------- */
.aperturas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--e-5); align-items: center; padding: var(--e-6) max(clamp(1.25rem, 5vw, 3rem), calc((100% - var(--ancho)) / 2 + 3rem)); background: var(--zx-vino-oscuro); color: var(--zx-marfil); }
.aperturas__actual { margin-top: var(--e-4); padding-top: var(--e-3); border-top: 1px solid rgba(201, 162, 94, .35); min-height: 9rem; }
.aperturas__nombre { margin: 0; font-family: var(--zx-font-titulo); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--zx-dorado); transition: opacity 260ms var(--ease); }
.aperturas__desc { margin: .7rem 0 0; color: #d9c7b8; max-width: 26em; transition: opacity 260ms var(--ease); }
.aperturas.cambia .aperturas__nombre, .aperturas.cambia .aperturas__desc { opacity: 0; }
.aperturas__escenario { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-4); align-items: center; }
.tel--escenario { --w: clamp(220px, 22vw, 290px); transform: rotate(-2deg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 60px -30px rgba(0, 0, 0, .8); }
.tel--escenario video { transition: opacity 260ms var(--ease), filter 260ms var(--ease); }
.aperturas.cambia .tel--escenario video { opacity: 0; filter: blur(2px); }
.aperturas__tira { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 120px)); gap: var(--e-3) var(--e-2); }
.aperturas__tira button { display: grid; gap: .5rem; width: 100%; padding: 0; border: 0; background: none; color: #d9c7b8; cursor: pointer; text-align: left; font: 500 14px var(--zx-font-texto); letter-spacing: .06em; }
.aperturas__tira img { width: 100%; height: auto; aspect-ratio: 9 / 13; object-fit: cover; object-position: top; border-radius: var(--r-papel); outline: 1px solid rgba(201, 162, 94, .3); outline-offset: 3px; opacity: .6; transition: opacity var(--d-ui) var(--ease), outline-color var(--d-ui) var(--ease); }
.aperturas__tira button[aria-pressed="true"] { color: var(--zx-marfil); }
.aperturas__tira button[aria-pressed="true"] img { opacity: 1; outline-color: var(--zx-dorado); }
.aperturas__tira button:focus-visible { outline: 2px solid var(--zx-dorado); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .aperturas__tira button:hover img { opacity: .9; } }
@media (max-width: 980px) {
  .aperturas { grid-template-columns: minmax(0, 1fr); gap: var(--e-4); padding-block: var(--e-5); }
  .aperturas__actual { min-height: 0; }
  .aperturas__escenario { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .aperturas__tira { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 460px; }
}

/* ---------- Muestrario: pliegos de muestra ---------- */
.muestrario { padding: var(--e-7) 0 var(--e-6); }
.muestras { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e-5) var(--e-4); max-width: var(--ancho); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.muestras li { --r: 0deg; --y: 0px; transform: translateY(var(--y)) rotate(var(--r)); }
.muestras li:nth-child(4n+1) { --r: -2deg; }
.muestras li:nth-child(4n+2) { --r: 1.5deg; --y: 2.4rem; }
.muestras li:nth-child(4n+3) { --r: -1deg; --y: .8rem; }
.muestras li:nth-child(4n) { --r: 2deg; --y: 3.2rem; }
.muestras a { display: block; text-decoration: none; transition: transform 300ms var(--ease); }
.muestras img { width: 100%; height: auto; aspect-ratio: 600 / 840; object-fit: cover; padding: 9px; background: var(--zx-blanco); box-shadow: var(--sombra-papel); border-radius: var(--r-papel); }
.muestra__evento { display: block; margin-top: .7rem; font-family: var(--zx-font-script); font-size: 1.75rem; line-height: 1.1; color: var(--zx-vino); }
.muestrario__todas { display: flex; flex-direction: column; align-items: center; gap: .6rem; max-width: var(--ancho); margin: var(--e-6) auto 0; padding: 0 clamp(1.25rem, 5vw, 3rem); text-align: center; }
.muestrario__todas .boton { gap: .6rem; }
.muestrario__todas .boton span { transition: transform var(--d-ui) var(--ease); }
.muestrario__todas small { font-size: 14px; color: var(--zx-tinta-suave); }
@media (hover: hover) and (pointer: fine) { .muestrario__todas .boton:hover span { transform: translateX(4px); } }
@media (max-width: 860px) { .muestrario__todas { margin-top: var(--e-3); } }
.muestra__dato { display: block; font-size: 13px; letter-spacing: .08em; color: var(--zx-tinta-suave); }
@media (hover: hover) and (pointer: fine) { .muestras a:hover { transform: translateY(-4px) rotate(calc(var(--r) * -1)); } }
.js .muestras li { opacity: 0; translate: 0 24px; transition: opacity 650ms var(--ease), translate 650ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .muestras.salen li { opacity: 1; translate: 0 0; }
@media (max-width: 860px) {
  .muestras { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: var(--e-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 1rem 2rem; scroll-padding-inline: clamp(1.25rem, 5vw, 3rem); }
  .muestras li { scroll-snap-align: start; --y: 0px !important; }
}

/* ---------- Preguntas ---------- */
.preguntas { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--e-5); max-width: var(--ancho); margin: 0 auto; padding: var(--e-5) clamp(1.25rem, 5vw, 3rem) var(--e-6); }
.preguntas__cabeza { position: sticky; top: 140px; align-self: start; }
.preguntas__cabeza .nota { margin: var(--e-2) 0 0; font-size: 1.8rem; transform: rotate(-3deg); transform-origin: left; }
.preguntas__lista { border-top: 1px solid var(--zx-linea); }
.preguntas details { border-bottom: 1px solid var(--zx-linea); }
.preguntas summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .6rem 0; cursor: pointer; list-style: none; font-family: var(--zx-font-titulo); font-weight: 600; font-size: 1.3rem; color: var(--zx-vino); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; flex: none; font: 300 1.6rem/1 var(--zx-font-texto); color: var(--zx-dorado-texto); transition: transform var(--d-ui) var(--ease); }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { margin: 0 0 1.1rem; max-width: 40em; color: var(--zx-tinta-suave); }
@media (max-width: 860px) { .preguntas { grid-template-columns: minmax(0, 1fr); gap: var(--e-3); } .preguntas__cabeza { position: static; } }

/* ---------- Tarjetas digitales (banda baja) ---------- */
.tarjetas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--e-5); align-items: center; max-width: var(--ancho); margin: 0 auto; padding: var(--e-5) clamp(1.25rem, 5vw, 3rem) var(--e-7); }
.tarjetas .titulo { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.tarjetas__abanico { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarjeta { aspect-ratio: 1.75; padding: 1rem 1.1rem; background: var(--grano), var(--zx-blanco); box-shadow: var(--sombra-papel); border-radius: var(--r-papel); display: grid; align-content: space-between; }
.tarjeta:nth-child(1) { transform: rotate(-4deg) translateX(10%); }
.tarjeta:nth-child(2) { transform: rotate(1deg) translateY(-12%); z-index: 1; position: relative; }
.tarjeta:nth-child(3) { transform: rotate(5deg) translateX(-10%); }
.tarjeta h3 { margin: 0; font-family: var(--zx-font-titulo); font-weight: 600; font-size: 1.25rem; color: var(--zx-vino); }
.tarjeta__precio { margin: 0; font-family: var(--zx-font-titulo); font-size: 2rem; line-height: 1; font-variant-numeric: oldstyle-nums; }
.tarjeta__precio s { font-size: .95rem; color: var(--zx-tinta-suave); margin-right: .3rem; }
.tarjeta p:last-child { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--zx-tinta-suave); }
@media (max-width: 980px) {
  .tarjetas { grid-template-columns: minmax(0, 1fr); gap: var(--e-4); }
  .tarjetas__abanico { grid-template-columns: minmax(0, 1fr); gap: var(--e-2); max-width: 360px; }
  .tarjeta:nth-child(1) { transform: rotate(-2deg); } .tarjeta:nth-child(2) { transform: rotate(1.5deg); } .tarjeta:nth-child(3) { transform: rotate(-1deg); }
  .tarjeta { aspect-ratio: auto; min-height: 150px; gap: .4rem; }
}

/* ---------- Pie: solapa del sobre ---------- */
.pie { position: relative; display: grid; justify-items: center; gap: var(--e-2); padding: calc(var(--e-6) + 3rem) clamp(1.25rem, 5vw, 3rem) var(--e-4); background: var(--zx-vino-oscuro); color: #d9c7b8; text-align: center; }
.pie::before { content: ""; position: absolute; inset: 0 0 auto; height: clamp(70px, 9vw, 120px); background: var(--grano), var(--zx-marfil); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.pie__sello { position: absolute; top: clamp(70px, 9vw, 120px); left: 50%; width: 96px; height: 96px; transform: translate(-50%, -55%) rotate(-8deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.pie__firma { margin: 0; font-family: var(--zx-font-script); font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1.1; color: var(--zx-marfil); }
.pie__palabra { width: 150px; height: auto; opacity: .9; }
.pie__linea { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem 1.2rem; margin: var(--e-2) 0 0; font-size: 15px; }
.pie__linea a { display: inline-flex; align-items: center; min-height: 44px; color: var(--zx-marfil); text-decoration: underline; text-decoration-color: var(--zx-dorado); text-underline-offset: 5px; }
.pie :focus-visible { outline-color: var(--zx-dorado); }
.pie__copy { margin: 0; font-size: 13px; color: #b9a596; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .muestras li, .js .estampa img { opacity: 1; translate: none; }
  .teclea .l { opacity: 1; }
}
