/* Merch para Cafeterías · sistema visual
   Tinta de serigrafía (cobalto) sobre lienzo crudo, con el sol amarillo de las
   ilustraciones de Cuñá. Ver DESIGN.md en esta carpeta. */

:root {
  --crudo: oklch(0.958 0.021 84);
  --crudo-hondo: oklch(0.918 0.032 82);
  --papel: oklch(0.987 0.008 85);
  --tinta: oklch(0.25 0.07 266);
  --cobalto: oklch(0.44 0.19 265);
  --cobalto-hondo: oklch(0.31 0.13 266);
  --sol: oklch(0.86 0.155 86);
  --sol-hondo: oklch(0.79 0.16 76);
  --cunia: oklch(0.68 0.21 42);
  --gris: oklch(0.46 0.035 266);
  --linea: oklch(0.25 0.07 266 / 0.18);

  --display: Caprasimo, Georgia, serif;
  --texto: "Schibsted Grotesk", system-ui, sans-serif;
  --mano: "Gochi Hand", "Comic Sans MS", cursive;

  --ancho: 1240px;
  --margen: clamp(16px, 4vw, 48px);
  --sale: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--crudo);
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--texto);
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  font-synthesis: none; /* Caprasimo no tiene negrita: que no la invente el navegador */
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--cobalto); }
:focus-visible { outline: 3px solid var(--cobalto); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sol); color: var(--tinta); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; color: var(--cobalto); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); }
h2 { font-size: clamp(2.05rem, 1.3rem + 2.9vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.saltear { position: absolute; left: -999px; top: 8px; background: var(--sol); padding: 10px 16px; z-index: 50; }
.saltear:focus { left: 8px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.contenedor { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }
.mano { font-family: var(--mano); font-size: 1.4rem; line-height: 1.15; color: var(--cobalto); }
.bajada { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; }
.nota { color: var(--gris); font-size: 0.95rem; }

/* ---------- botones ---------- */
.boton {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: 700 1rem/1 var(--texto);
  padding: 1.05em 1.6em;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  background: var(--sol);
  color: var(--tinta);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--tinta);
  transition: transform 0.18s var(--sale), box-shadow 0.18s var(--sale), background-color 0.18s;
  cursor: pointer;
}
.boton:hover { color: var(--tinta); background: var(--sol-hondo); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--tinta); }
.boton:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta); }
.boton--tinta { background: var(--tinta); color: var(--crudo); box-shadow: 3px 3px 0 var(--sol-hondo); }
.boton--tinta:hover { background: var(--cobalto-hondo); color: var(--crudo); box-shadow: 4px 4px 0 var(--sol-hondo); }
.boton--hueco { background: transparent; box-shadow: none; }
.boton--hueco:hover { background: var(--papel); box-shadow: none; }
.boton[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.flecha { font-family: var(--mano); font-size: 1.25em; line-height: 0; }

/* ---------- encabezado ---------- */
.encabezado {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--crudo) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--linea);
}
.encabezado .contenedor { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.marca { white-space: nowrap; display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--cobalto); margin-right: auto; }
.marca__nombre { font-family: var(--display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1; }
.marca__por { font-family: var(--mano); font-size: 1.05rem; color: var(--tinta); transform: rotate(-4deg); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { white-space: nowrap; font-weight: 600; font-size: 0.98rem; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sol-hondo); text-decoration-thickness: 4px; }
.nav .boton { padding: 0.75em 1.2em; font-size: 0.95rem; }
.menu-boton { display: none; }

@media (max-width: 1100px) {
  .js .menu-boton {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 0.95rem var(--texto); color: var(--tinta);
    background: none; border: 2px solid var(--tinta); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  }
  .js .nav { display: none; }
  .js .nav.abierta {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--crudo); border-bottom: 2px solid var(--tinta); padding: 8px var(--margen) 20px;
  }
  .js .nav.abierta a:not(.boton) { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 1.1rem; }
  .js .nav.abierta .boton { margin-top: 16px; justify-content: center; }
  .nav { flex-wrap: wrap; }
}

/* ---------- portada ---------- */
.portada { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.portada .contenedor { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.portada h1 em { font-style: normal; color: var(--tinta); }
.portada .mano { margin-bottom: 14px; display: inline-block; transform: rotate(-2deg); }
.portada .bajada { margin: 24px 0 32px; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.acciones a:not(.boton) { font-weight: 700; }
.datos {
  display: flex; flex-wrap: wrap; gap: 8px 0; margin: 40px 0 0; padding: 0; list-style: none;
  font-weight: 600; font-size: 0.95rem;
}
.datos li { padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--linea); }
.datos li:last-child { border: 0; }

.escena { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 560px; justify-self: center; }
.escena__sol { position: absolute; inset: -4% -8% 2%; color: var(--sol); --fondo-diseno: var(--crudo); }
.escena .escena__tote { position: absolute; left: 25%; top: -3%; width: 60%; }
.escena__polaroid {
  position: absolute; left: -4%; bottom: -10%; width: 33%;
  background: var(--papel); padding: 8px 8px 30px; box-shadow: 0 10px 30px oklch(0.25 0.07 266 / 0.18);
  transform: rotate(-6deg);
}
.escena__polaroid figcaption { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-family: var(--mano); font-size: 1.05rem; }
.escena__nota { position: absolute; right: -6%; bottom: -8%; width: 40%; transform: rotate(-5deg); text-align: center; }
.escena__nota svg { width: 64px; margin: 0 auto 4px; color: var(--cobalto); transform: scale(-1, -1) rotate(-20deg); }
@keyframes girar { to { transform: rotate(1turn); } }

/* ---------- producto con diseño encima (tote del hero y probador) ---------- */
.mockup { position: relative; }
.mockup > img { width: 100%; }
.mockup--multiplica > img { mix-blend-mode: multiply; }
.mockup__estampa {
  position: absolute;
  color: var(--tinta-estampa, var(--cobalto));
  mix-blend-mode: multiply;
  opacity: 0.94;
  transition: opacity 0.35s var(--sale);
}
.mockup__estampa svg { width: 100%; height: auto; }
.mockup__estampa.cambiando { opacity: 0; }
.mockup__logo { position: absolute; color: var(--tinta-estampa, var(--cobalto)); mix-blend-mode: multiply; opacity: 0.94; }
.mockup__logo svg { width: 100%; height: auto; overflow: visible; }

/* diseño de la colección: máscara de una tinta pintada con currentColor */
.diseno-img {
  display: block; width: 100%; aspect-ratio: 1; background: currentColor;
  -webkit-mask: var(--img) center / contain no-repeat;
          mask: var(--img) center / contain no-repeat;
}

/* diseño con el nombre del café escrito encima (probador) */
.diseno-con-nombre { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.diseno-con-nombre > .diseno-img { position: absolute; inset: 0; height: 100%; }
.diseno-con-nombre > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* ---------- la carta ---------- */
.carta { background: var(--cobalto); color: var(--crudo); padding: clamp(64px, 9vw, 120px) 0; }
.carta h2, .carta .mano { color: var(--crudo); }
.carta__cabeza { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.carta__cabeza p { margin: 0; max-width: 46ch; }
.carta__grupo + .carta__grupo { margin-top: clamp(40px, 6vw, 64px); }
.carta__grupo h3 { color: var(--sol); font-size: 1.5rem; margin-bottom: 8px; }
.tabla-precios { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tabla-precios th, .tabla-precios td { text-align: right; padding: 16px 0 16px 18px; vertical-align: baseline; white-space: nowrap; }
.tabla-precios th:first-child, .tabla-precios td:first-child { text-align: left; padding-left: 0; white-space: normal; width: 100%; }
.tabla-precios thead th { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0; opacity: 0.85; }
.tabla-precios tbody tr { border-top: 2px dotted currentColor; }
.tabla-precios tbody tr:first-child { border-top-style: solid; border-top-width: 2px; }
.tabla-precios .producto { font-weight: 400; font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.tabla-precios .producto a { text-decoration: none; }
.tabla-precios .producto a:hover { text-decoration: underline; color: inherit; }
.tabla-precios .detalle { display: block; font: 400 0.92rem/1.4 var(--texto); opacity: 0.85; margin-top: 4px; }
.tabla-precios td { font-weight: 600; font-size: 1.05rem; }
.tabla-precios .consultar { font-family: var(--mano); font-weight: 400; font-size: 1.2rem; }
.carta .tabla-precios a:hover { color: var(--sol); }
/* fotito del producto en la carta, como polaroid chiquita */
.producto-fila { display: flex; align-items: center; gap: 18px; }
.fotito { flex: 0 0 auto; width: 78px; padding: 5px 5px 14px; background: var(--papel); box-shadow: 0 6px 14px oklch(0.15 0.05 266 / 0.3); transform: rotate(-3deg); }
tr:nth-child(even) .fotito { transform: rotate(2.5deg); }
.fotito .ejemplo__escenario { pointer-events: none; }
.fotito .ejemplo__escenario .mockup { width: 88%; }
.fotito .ejemplo__escenario .mockup[data-producto="tote"] { width: 66%; }
.fotito .ejemplo__escenario .mockup[data-producto="bolso"] { width: 76%; }
.fotito .ejemplo__escenario .mockup[data-producto="remera"] { width: 100%; }
@media (max-width: 560px) { .fotito { width: 58px; padding: 4px 4px 10px; } .producto-fila { gap: 12px; } }
.adicionales { margin-top: clamp(40px, 6vw, 64px); max-width: 640px; }
.adicionales h3 { color: var(--sol); font-size: 1.5rem; margin-bottom: 8px; }
.adicionales ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.adicionales li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 2px dotted currentColor; }
.adicionales li span { font-family: var(--display); font-size: 1.2rem; }
.adicionales strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adicionales small { font-weight: 400; font-size: 0.85rem; opacity: 0.85; }
.adicionales--clara h3, .adicionales--clara li span { color: var(--cobalto); }
.adicionales--clara ul { border-top-color: var(--tinta); }
.adicionales--clara li { border-bottom-color: var(--linea); }
.carta__pie { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.carta__pie p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

/* versión clara (fichas de producto) */
.tabla-precios--clara tbody tr { border-top-color: var(--linea); }
.tabla-precios--clara tbody tr:first-child { border-top-color: var(--tinta); }
.tabla-precios--clara .producto { color: var(--cobalto); }

@media (max-width: 720px) {
  .tabla-precios thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabla-precios, .tabla-precios tbody, .tabla-precios tr, .tabla-precios td, .tabla-precios th { display: block; width: 100%; }
  .tabla-precios tr { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 4px 8px; padding: 16px 0; }
  .tabla-precios th[scope="row"] { grid-column: 1 / -1; padding: 0 0 8px; }
  .tabla-precios td { padding: 0; text-align: left; font-size: 0.98rem; }
  .tabla-precios td::before { content: attr(data-tramo); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
}

/* ---------- secciones genéricas ---------- */
.seccion { padding: clamp(64px, 9vw, 128px) 0; }
.seccion--papel { background: var(--papel); }
.seccion--hondo { background: var(--crudo-hondo); }
.seccion__titulo { margin-bottom: clamp(28px, 4vw, 48px); max-width: 22ch; }
.seccion__titulo + .bajada { margin-top: -16px; margin-bottom: 40px; }

/* precios sugeridos: etiquetas colgantes de cartón */
.etiquetas { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 20px; }
.etiqueta a {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--tinta);
  background: var(--papel); border: 2px solid var(--tinta); border-radius: 18px 18px 14px 14px;
  padding: 44px 22px 22px; transform: rotate(-1.5deg); transition: transform 0.3s var(--sale);
}
.etiqueta:nth-child(even) a { transform: rotate(1.5deg); }
.etiqueta a:hover { transform: rotate(0) translateY(-3px); color: var(--tinta); }
.etiqueta a::before {
  content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; border: 2px solid var(--tinta); background: var(--crudo);
}
.etiqueta__producto { font-weight: 700; font-size: 1rem; }
.etiqueta__precio { font-family: var(--display); font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem); line-height: 1; color: var(--cobalto); }
.etiqueta__compra { color: var(--gris); font-size: 0.92rem; }
.etiqueta__gana { align-self: flex-start; margin-top: 8px; background: var(--sol); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 0.92rem; }
.sugerido { margin: -12px 0 24px; padding: 12px 16px; background: var(--sol); border-radius: 12px; font-size: 0.98rem; }
.sugerido a { font-weight: 700; }

/* por qué sumar merch */
.porque { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.porque__cabeza { position: sticky; top: 104px; }
.porque__cabeza h2 { margin: 6px 0 20px; }
.porque__cabeza .bajada { margin-bottom: 28px; }
.porque > .frase { grid-column: 2; font-family: var(--mano); color: var(--cobalto); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.15; transform: rotate(-1.5deg); margin: 32px 0 0; text-wrap: balance; }
@media (max-width: 960px) { .porque > .frase { grid-column: 1; } }
.porque__lista { list-style: none; margin: 0; padding: 0; counter-reset: razon; }
.porque__lista li { counter-increment: razon; display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; padding: 24px 0; border-top: 2px solid var(--tinta); }
.porque__lista li:last-child { border-bottom: 2px solid var(--tinta); }
.porque__lista li::before { content: counter(razon); grid-row: span 2; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--cobalto); }
.porque__lista h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); }
.porque__lista p { margin: 0; }
@media (max-width: 960px) { .porque { grid-template-columns: 1fr; } .porque__cabeza { position: static; } }

/* dos caminos */
.caminos { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.camino h3 { margin: 18px 0 12px; }
.camino__foto { border-radius: 18px; overflow: hidden; }
.camino__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.camino ul { padding-left: 1.1em; margin: 0 0 24px; }
.camino li { margin-bottom: 6px; }
.camino li::marker { color: var(--cobalto); }
.requisitos { background: var(--papel); border: 2px solid var(--tinta); border-radius: 16px; padding: 18px 22px; margin: 20px 0 24px; }
.requisitos p { margin: 0 0 8px; }
.requisitos ul { margin: 0; padding-left: 1.1em; }
.requisitos li { margin-bottom: 4px; }
.requisitos li::marker { color: var(--cobalto); }
.muestrario { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 24px; padding: 0; list-style: none; }
.muestrario a { --fondo-diseno: var(--papel); display: block; background: var(--papel); border-radius: 12px; padding: 6px; color: var(--cobalto); transition: transform 0.25s var(--sale), background-color 0.2s; }
.muestrario a:hover { --fondo-diseno: var(--sol); background: var(--sol); transform: rotate(-3deg) scale(1.04); }
.camino--disenos { padding-top: clamp(0px, 6vw, 72px); }

/* probador */
.probador { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.probador__escenario {
  position: sticky; top: 96px;
  background: var(--papel); border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
}
.probador__escenario .mockup { width: 74%; }
.probador__escenario .mockup[data-producto="gorra"] { width: 86%; }
.probador__escenario .mockup[data-producto="remera"] { width: 98%; }
.probador__escenario .mockup[data-producto="tote"] { width: 52%; }

/* galería de ejemplos: cinta de polaroids */
.cinta { position: relative; }
.cinta__pista { overflow-x: auto; scrollbar-width: none; padding: 24px 4px 32px; margin: 0 -4px; }
.cinta__pista::-webkit-scrollbar { display: none; }
.cinta__lista { list-style: none; margin: 0; padding: 0 56px; display: flex; gap: 24px; width: max-content; }
.polaroid { flex: 0 0 auto; width: 210px; }
.polaroid:nth-child(odd) .polaroid__boton { transform: rotate(-2.5deg); }
.polaroid:nth-child(even) .polaroid__boton { transform: rotate(2deg); }
.polaroid__boton {
  display: block; width: 100%; padding: 10px 10px 0; border: 0; cursor: zoom-in; text-align: center;
  background: var(--papel); box-shadow: 0 10px 26px oklch(0.25 0.07 266 / 0.16);
  transition: transform 0.3s var(--sale), box-shadow 0.3s var(--sale);
}
.polaroid__boton:hover, .polaroid__boton:focus-visible { transform: rotate(0) translateY(-6px) scale(1.03); box-shadow: 0 16px 34px oklch(0.25 0.07 266 / 0.22); }
.polaroid__pie { display: block; font-family: var(--mano); font-size: 1.15rem; color: var(--tinta); padding: 8px 0 12px; }
.cinta__flecha {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--sol); color: var(--tinta);
  font: 700 1.3rem var(--texto); cursor: pointer; box-shadow: 2px 2px 0 var(--tinta);
}
.cinta__flecha:hover { background: var(--sol-hondo); }
.cinta__flecha--izq { left: 0; }
.cinta__flecha--der { right: 0; }
.ampliar { border: 0; padding: 0; background: transparent; max-width: min(92vw, 560px); width: 100%; overflow: visible; }
.ampliar::backdrop { background: oklch(0.25 0.07 266 / 0.6); }
.ampliar__polaroid { background: var(--papel); padding: 16px 16px 4px; box-shadow: 0 24px 60px oklch(0.15 0.05 266 / 0.35); transform: rotate(-1deg); }
.ampliar__flecha--izq { left: -23px; }
.ampliar__flecha--der { right: -23px; }
@media (max-width: 560px) { .ampliar__flecha--izq { left: 6px; } .ampliar__flecha--der { right: 6px; } }
.ampliar__pie { font-family: var(--mano); font-size: 1.35rem; text-align: center; margin: 10px auto 12px; color: var(--tinta); }
.ampliar__cerrar {
  position: absolute; top: -18px; right: -18px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--tinta); background: var(--sol); color: var(--tinta); font: 700 1.5rem/1 var(--texto); cursor: pointer;
}
.ejemplo__escenario { background: var(--crudo); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.ejemplo__escenario > .mockup { display: block; }
/* fotos con fondo blanco (jarrito, abanico): fondo blanco para no teñir el producto */
.ejemplo__escenario:has(.mockup--multiplica) { background: #fff; }
.mockup__estampa, .mockup__logo { display: block; }
.ejemplo__escenario .mockup { width: 74%; }
.ejemplo__escenario .mockup[data-producto="tote"] { width: 52%; }
.ejemplo__escenario .mockup[data-producto="bolso"] { width: 62%; }
.ejemplo__escenario .mockup[data-producto="remera"] { width: 98%; }
.ejemplo__escenario .mockup[data-producto="gorra"] { width: 88%; }
.ejemplo__escenario .mockup[data-producto="abanico"] { width: 90%; }

.mockup__estampa--claro { mix-blend-mode: normal; }
.probador__aviso { position: absolute; left: 20px; bottom: 16px; right: 20px; font-family: var(--mano); font-size: 1.1rem; color: var(--gris); }
.control { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.control legend, .control > label { display: block; font-weight: 700; margin-bottom: 10px; }
.control legend span, .control > label span { font-family: var(--display); color: var(--cobalto); margin-right: 6px; }
.pastillas { display: flex; flex-wrap: wrap; gap: 8px; }
.pastilla input { position: absolute; opacity: 0; pointer-events: none; }
.pastilla span {
  display: inline-block; padding: 10px 16px; border: 2px solid var(--tinta); border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; background: transparent; transition: background-color 0.15s;
}
.pastilla input:checked + span { background: var(--tinta); color: var(--crudo); }
.pastilla input:focus-visible + span { outline: 3px solid var(--cobalto); outline-offset: 3px; }
.pastilla span:hover { background: var(--papel); }
.pastilla input:checked + span:hover { background: var(--tinta); }
.diseno-opciones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.diseno-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.diseno-opcion input + span { display: block; padding: 5px; border-radius: 12px; border: 2px solid transparent; background: var(--papel); color: var(--cobalto); cursor: pointer; }
.diseno-opcion input:checked + span { border-color: var(--tinta); background: var(--sol); }
.diseno-opcion input:focus-visible + span { outline: 3px solid var(--cobalto); outline-offset: 2px; }
.campo {
  width: 100%; font: 500 1.05rem var(--texto); color: var(--tinta);
  padding: 13px 16px; border: 2px solid var(--tinta); border-radius: 12px; background: var(--papel);
}
.campo:focus { outline: 3px solid var(--sol-hondo); outline-offset: 1px; }
textarea.campo { min-height: 110px; resize: vertical; }
.tintas { display: flex; flex-wrap: wrap; gap: 10px; max-width: 470px; }
.tinta-nombre { font-style: normal; font-weight: 400; color: var(--gris); }
.tinta-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.tinta-opcion span { display: block; width: 42px; height: 42px; border-radius: 50%; background: var(--muestra); border: 3px solid var(--papel); box-shadow: 0 0 0 2px var(--linea); cursor: pointer; }
.tinta-opcion input:checked + span { box-shadow: 0 0 0 3px var(--tinta); }
.tinta-opcion input:focus-visible + span { outline: 3px solid var(--cobalto); outline-offset: 4px; }

/* cómo funciona */
.funciona { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.comanda {
  background: var(--papel); padding: 40px 32px 44px; transform: rotate(-1.5deg);
  box-shadow: 0 18px 40px oklch(0.25 0.07 266 / 0.14);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 6px, #000 6.5px) top / 16px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 16px 51% repeat-x;
          mask: radial-gradient(circle at 50% 0, transparent 6px, #000 6.5px) top / 16px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 16px 51% repeat-x;
}
.comanda__titulo { display: flex; justify-content: space-between; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; border-bottom: 2px dashed var(--linea); padding-bottom: 14px; margin-bottom: 8px; }
.comanda ol { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.comanda li { counter-increment: paso; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 2px dashed var(--linea); }
.comanda li:last-child { border-bottom: 0; }
.comanda li::before { content: counter(paso); font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--cobalto); grid-row: span 2; }
.comanda strong { font-size: 1.1rem; }
.comanda li p { margin: 0; color: var(--gris); font-size: 0.98rem; }
.condiciones { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 28px; }
.condiciones dt { font-family: var(--display); color: var(--cobalto); font-size: 1.2rem; padding: 18px 0; border-top: 1px solid var(--linea); }
.condiciones dd { margin: 0; padding: 18px 0; border-top: 1px solid var(--linea); }

/* hecho por cuñá */
.cunia { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cunia__fotos { position: relative; padding-bottom: 18%; }
.cunia__fotos img { border-radius: 18px; }
.cunia__fotos img:first-child { width: 78%; }
.cunia__fotos img:last-child { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid var(--papel); transform: rotate(3deg); }
.sello-cunia { display: inline-block; background: var(--sol); color: var(--tinta); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; margin-bottom: 18px; }
.clientes { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linea); color: var(--gris); font-size: 0.98rem; }
.clientes strong { color: var(--tinta); }

/* preguntas */
.preguntas { max-width: 860px; }
.pregunta { border-top: 2px solid var(--tinta); }
.pregunta:last-child { border-bottom: 2px solid var(--tinta); }
.pregunta summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: "+"; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--cobalto); transition: transform 0.3s var(--sale); flex-shrink: 0; }
.pregunta[open] summary::after { transform: rotate(45deg); }
.pregunta__respuesta { padding: 0 0 24px; max-width: 66ch; }
.pregunta__respuesta p:last-child { margin-bottom: 0; }

/* llamado final */
.llamado { --fondo-diseno: var(--sol); background: var(--sol); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.llamado h2 { color: var(--tinta); max-width: 16ch; }
.llamado .contenedor { position: relative; }
.llamado p { margin: 20px 0 32px; font-size: 1.15rem; max-width: 34ch; }
.llamado__dibujo { position: absolute; right: 0; top: 50%; width: min(30vw, 360px); transform: translateY(-50%) rotate(8deg); color: var(--tinta); opacity: 0.9; }

/* pie */
.pie { background: var(--cobalto-hondo); color: var(--crudo); padding: 64px 0 40px; font-size: 0.98rem; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--sol); text-decoration: underline; }
.pie__grilla { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.pie h2 { color: var(--crudo); font-size: 1.6rem; }
.pie h3 { font-family: var(--texto); font-weight: 700; color: var(--sol); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: 8px; }
.pie__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid oklch(0.958 0.021 84 / 0.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; opacity: 0.85; font-size: 0.9rem; }

/* ---------- ficha de producto ---------- */
.migas { font-size: 0.92rem; padding: 20px 0 0; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.migas li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gris); }
.migas a { color: var(--gris); }
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); align-items: start; }
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.galeria figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--papel); }
.galeria figure:first-child { grid-column: 1 / -1; }
.galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.galeria figure:first-child img { aspect-ratio: 4 / 3.4; }
.galeria img.contener { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.ficha h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); margin: 10px 0 20px; }
.ficha__datos { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 28px 0; padding: 18px 0; border-block: 1px solid var(--linea); }
.ficha__datos dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris); }
.ficha__datos dd { margin: 0; font-weight: 700; grid-row: 2; }
.ideas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; margin-top: 8px; }
.ideas h3 { font-size: 1.35rem; margin-bottom: 8px; }
.ideas p { margin: 0; }
.otros { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.otros a { display: block; text-decoration: none; }
.otros img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--papel); margin-bottom: 10px; transition: transform 0.3s var(--sale); }
.otros a:hover img { transform: rotate(-2deg) scale(1.02); }
.otros span { font-family: var(--display); font-size: 1.3rem; color: var(--cobalto); }

/* ---------- página de diseños ---------- */
.coleccion { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; list-style: none; padding: 0; margin: 0; }
.coleccion li > div:first-child { background: var(--papel); border-radius: 20px; padding: 18px; color: var(--cobalto); margin-bottom: 16px; }
.coleccion h3 { font-size: 1.4rem; margin-bottom: 6px; }
.coleccion .estilo { font-family: var(--mano); color: var(--cobalto); font-size: 1.1rem; margin: 0 0 2px; }
.coleccion p { font-size: 0.98rem; margin-bottom: 10px; }
.coleccion button { font: 700 0.95rem var(--texto); background: none; border: 0; padding: 0; color: var(--cobalto); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; cursor: pointer; }

/* ---------- cotizar ---------- */
.cotizar { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
.cotizar h2 { font-size: 1.7rem; margin: 0 0 16px; }
.cotizar fieldset { border: 0; padding: 0; margin: 0 0 48px; min-width: 0; }
.cotizar legend { padding: 0; }
.renglon { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linea); }
.renglon label { font-weight: 700; }
.renglon small { display: block; font-weight: 400; color: var(--gris); font-size: 0.9rem; }
.renglon .aviso { grid-column: 1 / -1; color: oklch(0.5 0.17 35); font-weight: 600; font-size: 0.92rem; }
.cantidad { display: inline-flex; align-items: center; border: 2px solid var(--tinta); border-radius: 999px; background: var(--papel); }
.cantidad button { width: 40px; height: 40px; border: 0; background: none; font: 700 1.3rem var(--texto); color: var(--tinta); cursor: pointer; border-radius: 50%; }
.cantidad button:hover { background: var(--sol); }
.cantidad input { width: 64px; text-align: center; border: 0; background: none; font: 700 1.05rem var(--texto); color: var(--tinta); -moz-appearance: textfield; }
.cantidad input::-webkit-inner-spin-button, .cantidad input::-webkit-outer-spin-button { -webkit-appearance: none; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campos .ancho { grid-column: 1 / -1; }
.campos label { display: block; font-weight: 700; margin-bottom: 6px; }
.resumen { position: sticky; top: 96px; background: var(--cobalto); color: var(--crudo); border-radius: 24px; padding: 28px; }
.resumen h2 { color: var(--crudo); }
.resumen ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.95rem; }
.resumen li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dotted oklch(0.958 0.021 84 / 0.5); }
.resumen li small { display: block; opacity: 0.8; }
.resumen .total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 1.8rem; margin: 8px 0 4px; }
.resumen .vacio { font-family: var(--mano); font-size: 1.25rem; opacity: 0.9; }
.resumen .nota { color: var(--crudo); opacity: 0.85; font-size: 0.88rem; }
.resumen .boton { width: 100%; justify-content: center; margin-top: 12px; }
.resumen .boton--hueco { color: var(--crudo); border-color: var(--crudo); }
.resumen .boton--hueco:hover { background: oklch(0.958 0.021 84 / 0.12); color: var(--crudo); }

/* ---------- páginas de texto ---------- */
.cabecera { padding: clamp(32px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.cabecera h1 { max-width: 18ch; margin: 10px 0 20px; }
.texto-largo { max-width: 70ch; }
.texto-largo h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin: 56px 0 16px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .portada .contenedor, .caminos, .probador, .funciona, .cunia, .ficha, .cotizar { grid-template-columns: 1fr; }
  .escena { max-width: 440px; margin-top: 16px; }
  .probador__escenario { position: relative; top: 0; }
  .resumen { position: relative; top: 0; }
  .pie__grilla { grid-template-columns: 1fr 1fr; }
  .llamado__dibujo { display: none; }
  .camino--disenos { padding-top: 0; }
}
@media (max-width: 560px) {
  .marca { flex-direction: column; align-items: flex-start; gap: 0; }
  .marca__por { margin-left: 2px; }
  .escena__nota { right: 0; bottom: -8%; }
  .datos li { border: 0; padding-right: 0; margin-right: 0; width: 50%; }
  .campos { grid-template-columns: 1fr; }
  .pie__grilla { grid-template-columns: 1fr; }
  .condiciones { grid-template-columns: 1fr; }
  .condiciones dd { border-top: 0; padding-top: 0; }
  .ficha__datos { grid-template-columns: repeat(2, auto); }
  .ficha__datos dd { grid-row: auto; }
  .diseno-opciones { grid-template-columns: repeat(4, 1fr); }
  .comanda { padding: 32px 20px 36px; }
}

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