/* =============================================================
   KOTA — Forma y origen · styles.css
   Sistema: tokens de marca KOTA (Tierra y Ceniza).
   Sin sombras, sin degradados, esquinas rectas.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --basalto-900: #1e1e22;
  --basalto-800: #292825;
  --basalto-700: #3d3e38;
  --basalto-600: #4d4c4e;
  --arcilla-900: #6b3b2d;
  --terracota-600: #9f5a40;
  --terracota-500: #a9674c;
  --arcilla-300: #bf8e74;
  --ocre: #ca9245;
  --arena-100: #f6f5f3;
  --arena-200: #daccbf;
  --arena-300: #cdc2b0;
  --cemento-400: #bfb1a3;
  --ceniza-400: #b8b3ad;
  --agave: #747970;
  --olivo: #686a52;
  --liquen: #939067;
  --aloe: #8b9e9d;

  --surface: #f6f5f3;
  --surface-raised: #fbfaf8;
  --surface-sunken: #eeeae5;
  --ink: #1e1e22;
  --ink-muted: #4d4c4e;
  --line: #cdc2b0;
  --line-strong: #8a8276;
  --accent: #9f5a40;
  --accent-strong: #6b3b2d;
  --on-accent: #f6f5f3;
  --focus: #6b3b2d;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 48px;
  --space-6: 96px;
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-full: 9999px;

  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1360px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --print-steps: 28;
}

[data-theme="dark"] {
  --surface: #1e1e22;
  --surface-raised: #292825;
  --surface-sunken: #161619;
  --ink: #f3efe9;
  --ink-muted: #bfb1a3;
  --line: #3d3e38;
  --line-strong: #77736c;
  --accent: #bf8e74;
  --accent-strong: #daccbf;
  --on-accent: #1e1e22;
  --focus: #daccbf;
  background: var(--surface);
  color: var(--ink);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: fixed; top: -100px; left: var(--space-3); z-index: 9999;
  padding: var(--space-2) var(--space-3);
  background: var(--ink); color: var(--surface);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-3); }

/* =============================================================
   3. Utilidades y tipografía
   ============================================================= */
.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--space-6) var(--gutter);
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.display--md { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.02; }

.headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.headline--sm { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.375rem);
  line-height: 1.4;
  color: var(--ink-muted);
}

.overline {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.overline i, .product-meta i {
  font-style: normal;
  font-weight: 400;
  color: var(--line-strong);
  margin-inline: .5em;
}

.caption {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* =============================================================
   4. Componentes de marca (kota.css)
   ============================================================= */
.kota-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
  white-space: nowrap;
}
.kota-btn--primary { background: var(--accent); color: var(--on-accent); }
.kota-btn--primary:hover { background: var(--accent-strong); }
.kota-btn--primary:active { transform: translateY(1px); }
.kota-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.kota-btn--secondary:hover { background: var(--surface-sunken); }
.kota-btn--quiet {
  background: transparent;
  color: var(--accent-strong);
  padding: 13px 0 6px;
  border-radius: 0;
  position: relative;
}
.kota-btn--quiet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.kota-btn--quiet:hover::after { transform: scaleX(.35); }
.kota-btn.is-added { background: var(--basalto-900); color: var(--arena-100); }

.kota-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.kota-tag--ocre { background: var(--ocre); border-color: var(--ocre); color: var(--basalto-900); }

.kota-section__title {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.kota-section__note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05em;
  color: var(--ink-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 6px;
}
.kota-section__rule {
  height: 1px; border: 0;
  background: var(--line);
  margin: var(--space-2) 0 0;
  transform-origin: left;
}

.section-head { margin-bottom: var(--space-5); }
.section-head-row {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; align-items: end;
  margin-top: var(--space-4);
}
.section-intro { max-width: 52ch; color: var(--ink-muted); }

/* =============================================================
   5. Firma visual: impresión capa a capa
   Solo se oculta cuando main.js ha arrancado (html.print-ready).
   ============================================================= */
.print { position: relative; }
.print-media { overflow: hidden; background: var(--surface-sunken); }
.print-media img { width: 100%; height: 100%; object-fit: cover; }
.print-head { display: none; }

.print-ready .print-media {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s steps(28, end);
}
/* La "boquilla": una línea terracota que sube con cada capa */
.print-ready .print-head {
  display: block;
  position: absolute; left: -6px; right: -6px; bottom: 0;
  height: 2px;
  background: var(--accent);
  pointer-events: none;
  z-index: 2;
}
.print-ready .print.is-printed .print-media { clip-path: inset(0 0 0 0); }
.print-ready .print.is-printed .print-head {
  bottom: calc(100% - 2px);
  opacity: 0;
  transition: bottom 1.5s steps(28, end), opacity .4s 1.5s;
}
/* Bloques de texto que entran al hacer scroll */
.print-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.print-ready .reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: un elemento partido nunca se queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--surface);
  transition: transform .9s var(--ease-out), visibility 0s .9s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { transform: translateY(-100%); visibility: hidden; }
@keyframes splashSafety { to { transform: translateY(-100%); visibility: hidden; pointer-events: none; } }
.splash-logo { position: relative; width: min(240px, 60vw); }
.splash-logo img {
  width: 100%; height: auto;
  clip-path: inset(100% 0 0 0);
  animation: splashPrint 1.1s steps(18, end) .15s forwards;
}
.splash-head {
  position: absolute; left: -10px; right: -10px; bottom: 0; height: 2px;
  background: var(--accent);
  animation: splashHead 1.1s steps(18, end) .15s forwards;
}
@keyframes splashPrint { to { clip-path: inset(0 0 0 0); } }
@keyframes splashHead { to { bottom: 100%; opacity: 0; } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max); margin-inline: auto;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.nav-logo img { width: 124px; height: auto; }
.nav-links { display: none; gap: 32px; }
.nav-links a, .menu-movil a, .footer-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding-block: 6px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-cart {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: background-color .3s var(--ease-out);
}
.nav-cart:hover { background: var(--surface-sunken); }
.nav-cart-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding-inline: 6px;
  border-radius: var(--radius-full);
  background: var(--ink); color: var(--surface);
  font-size: 11px; letter-spacing: 0;
}
.nav-cart-count.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); background: var(--accent); } }

.nav-burger {
  width: 44px; height: 44px;
  display: grid; place-content: center; gap: 7px;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.menu-movil {
  border-top: 1px solid var(--line);
  padding: var(--space-4) var(--gutter) var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--surface);
}
.menu-movil[hidden] { display: none; }
.menu-movil a { font-family: var(--font-serif); font-size: 2rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.menu-movil .overline { margin-top: var(--space-4); }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  max-width: var(--max); margin-inline: auto;
  padding: var(--space-5) var(--gutter) var(--space-5);
  display: grid; gap: var(--space-5);
}
.hero-sign { margin-bottom: var(--space-4); }
.hero-title {
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  margin-bottom: var(--space-4);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: italic; color: var(--accent); }
.print-ready .hero-title .line > span {
  transform: translateY(105%);
  transition: transform 1.2s var(--ease-out);
}
.print-ready .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero-title .line > span { transform: none; }

.hero-lede { margin-bottom: var(--space-3); }
.hero-text { max-width: 44ch; color: var(--ink-muted); margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }

.hero-figure { position: relative; }
.hero-print .print-media { aspect-ratio: 4 / 5; }
.hero-print .print-media img { object-position: 74% 50%; transform: scale(1.08); }
.hero-caption {
  display: flex; justify-content: space-between; gap: var(--space-3);
  margin-top: var(--space-2);
}
.hero-caption-layer { font-variant-numeric: tabular-nums; }
.hero-caption-layer b { font-weight: 500; color: var(--accent-strong); }

/* =============================================================
   9. Ticker de valores
   ============================================================= */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--surface-sunken);
  overflow: hidden;
  padding-block: 18px;
}
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex-shrink: 0; }
.ticker-list li {
  display: flex; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker-list li::after {
  content: ""; width: 9px; height: 9px; margin-inline: 36px;
  border: 1.5px solid var(--accent); border-radius: var(--radius-full);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* =============================================================
   10. Manifiesto
   ============================================================= */
.manifesto { display: grid; gap: var(--space-5); align-items: center; }
.manifesto-draw { max-width: 460px; width: 100%; margin-inline: auto; }
.ganigo { width: 100%; height: auto; overflow: visible; }
.ganigo path { fill: none; vector-effect: non-scaling-stroke; }
.g-outline { stroke: var(--ink); stroke-width: 1.4; }
.g-rim { stroke: var(--ink); stroke-width: 1.2; }
.g-mesh { stroke: var(--accent); stroke-width: .9; }
.g-axis { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 6; }
.g-label {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-muted);
}
.manifesto-copy .overline { margin-bottom: var(--space-3); }
.manifesto-copy .headline { margin-bottom: var(--space-2); }
.manifesto-copy .lede { margin-bottom: var(--space-4); }
.manifesto-copy > p:not(.overline):not(.lede) { max-width: 56ch; margin-bottom: var(--space-3); }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.facts > div { padding: var(--space-3) var(--space-3) 0 0; }
.facts > div + div { padding-left: var(--space-3); border-left: 1px solid var(--line); }
.facts dt { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; }
.facts dd { font-size: 13px; line-height: 1.4; color: var(--ink-muted); margin-top: var(--space-1); }

/* =============================================================
   11. Colección
   ============================================================= */
.collection { padding-top: var(--space-5); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter {
  cursor: pointer;
  padding: 7px 12px;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
}
.filter:hover { background: var(--surface-sunken); }
.filter.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.product {
  background: var(--surface-raised);
  display: flex; flex-direction: column;
  transition: opacity .4s var(--ease-out);
}
.product.is-hidden { display: none; }
.product-media .print-media { aspect-ratio: 4 / 5; }
.product-media img { transition: transform 1.1s var(--ease-out); }
.product:hover .product-media img { transform: scale(1.045); }
.product-flag { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 3; }
.product-body {
  padding: var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-2);
  flex: 1;
}
.product-meta {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.product-meta i { margin-inline: .35em; }
.product-name { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.1; }
.product-desc { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-1); }
.size {
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.size small { font-size: 11px; font-weight: 400; color: var(--ink-muted); margin-left: 4px; letter-spacing: 0; }
.size:hover { background: var(--surface-sunken); }
.size.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.size.is-active small { color: var(--arena-200); }
.product-row {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
  margin-top: auto;
}
.product-price { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-from { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--ink-muted); }
.btn-add { padding: 11px 18px; }
.collection-note { margin-top: var(--space-4); }

/* =============================================================
   12. Proceso
   ============================================================= */
.steps { display: grid; gap: var(--space-5) var(--space-3); counter-reset: step; }
.step-media .print-media { aspect-ratio: 1 / 1; }
.step-num {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  color: var(--accent-strong);
  margin: var(--space-3) 0 var(--space-1);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
}
.step-title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: var(--space-2); }
.step p:last-child { font-size: 15px; color: var(--ink-muted); max-width: 36ch; }

/* =============================================================
   13. Materiales
   ============================================================= */
.contrast { display: grid; gap: var(--space-5); }
.contrast-title { font-size: 1.05rem; font-weight: 400; margin-bottom: var(--space-3); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.mosaic .print-media { aspect-ratio: 1 / 1.08; }
.mosaic figcaption { margin-top: var(--space-2); }

.matlist {
  display: grid; gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.matlist-intro .headline { margin-bottom: var(--space-3); }
.matlist-intro p { color: var(--ink-muted); max-width: 40ch; }
.matlist-table { border-top: 1px solid var(--line); }
.mat {
  display: grid; gap: var(--space-2);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.mat dt { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.2; }
.mat-code {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--accent); color: var(--accent-strong);
  border-radius: var(--radius-sm);
  min-width: 56px; text-align: center;
}
.mat dd { color: var(--ink-muted); font-size: 15px; max-width: 60ch; }

/* =============================================================
   14. Raíz aborigen
   ============================================================= */
.origin { position: relative; background: var(--surface-sunken); }
.origin-media { position: relative; overflow: hidden; height: 62svh; min-height: 360px; }
.origin-media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; filter: saturate(.75) sepia(.12); }
.origin-panel {
  position: relative;
  background: var(--surface-raised);
  padding: var(--space-5) var(--gutter);
}
.origin-panel .overline { margin-bottom: var(--space-3); }
.origin-panel .headline { margin-bottom: var(--space-2); }
.origin-panel .lede { margin-bottom: var(--space-4); }
.origin-panel > p:not(.overline):not(.lede):not(.origin-credit) { max-width: 52ch; }
.origin-credit { margin-top: var(--space-4); }

/* =============================================================
   15. Botánica
   ============================================================= */
.botanic-grid { display: grid; gap: var(--space-5); align-items: start; }
.botanic-copy .headline { margin-bottom: var(--space-3); }
.botanic-copy p { color: var(--ink-muted); max-width: 46ch; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
.swatches li { font-size: 13px; color: var(--ink-muted); }
.swatches span { display: block; aspect-ratio: 1 / 1.2; margin-bottom: var(--space-2); }
.botanic-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.botanic-mosaic .print-media { aspect-ratio: 1 / 1; }

/* =============================================================
   16. Profesionales (tema Basalto)
   ============================================================= */
.pro { border-top: 1px solid var(--line); }
.pro-lead { display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
.pro-lead p { color: var(--ink-muted); max-width: 52ch; font-size: 17px; }
.pro-cols { display: grid; gap: var(--space-4); }
.pro-col { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.pro-col .overline { color: var(--accent); margin-bottom: var(--space-2); }
.pro-title { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: var(--space-2); }
.pro-col p:last-child { color: var(--ink-muted); font-size: 15px; max-width: 38ch; }
.pro-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin: var(--space-5) 0; }
.pro-image .print-media { aspect-ratio: 16 / 9; }
.pro-image img { object-position: 50% 60%; }

/* =============================================================
   17. Contacto
   ============================================================= */
.contact-grid { display: grid; gap: var(--space-5); }
.form { display: grid; gap: var(--space-4) var(--space-3); grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px;
  transition: border-color .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.form-status { min-height: 1.4em; }
.contact-info .headline { margin-bottom: var(--space-3); }
.contact-info > p { color: var(--ink-muted); max-width: 40ch; }
.contact-list { margin-top: var(--space-4); border-top: 1px solid var(--line); }
.contact-list > div {
  display: grid; grid-template-columns: 110px 1fr; gap: var(--space-3);
  padding-block: 14px; border-bottom: 1px solid var(--line);
}
.contact-list dt { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.contact-list a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.contact-list a:hover { color: var(--accent-strong); border-color: var(--accent); }

/* =============================================================
   18. Footer (tema Basalto)
   ============================================================= */
.footer-inner {
  max-width: var(--max); margin-inline: auto;
  padding: var(--space-6) var(--gutter) var(--space-5);
  display: grid; gap: var(--space-5);
}
.footer-brand img { width: 200px; height: auto; margin-bottom: var(--space-4); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.footer-nav a { color: var(--ink); }
.footer-nav a:hover { color: var(--accent); }
.footer-legal { display: grid; gap: var(--space-1); border-top: 1px solid var(--line); padding-top: var(--space-4); }

/* =============================================================
   19. Cesta (dialog)
   ============================================================= */
.cart {
  position: fixed; inset: 0 0 0 auto;
  width: min(460px, 100%); height: 100%; max-height: 100%; max-width: 100%;
  margin: 0 0 0 auto;
  border: 0; border-left: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
}
.cart[open] { animation: cartIn .55s var(--ease-out); }
.cart::backdrop { background: rgba(30, 30, 34, .45); }
@keyframes cartIn { from { transform: translateX(100%); } }
.cart-inner { display: flex; flex-direction: column; height: 100%; padding: var(--space-4); gap: var(--space-4); }
.cart-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); }
.cart-close { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding: 4px 0; }
.cart-empty { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--ink-muted); }
.cart-empty[hidden] { display: none; }
.cart-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-3); align-items: center;
  padding-block: var(--space-3); border-bottom: 1px solid var(--line);
}
.cart-item img { width: 72px; height: 88px; object-fit: cover; background: var(--surface-sunken); }
.cart-item-name { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.15; }
.cart-item-meta { font-size: 13px; color: var(--ink-muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); margin-top: 6px; }
.qty button { width: 30px; height: 30px; font-size: 16px; line-height: 1; }
.qty button:hover { background: var(--surface-sunken); }
.qty span { min-width: 26px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-item-price { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.cart-item-remove { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-muted); border-bottom: 1px solid var(--line-strong); }
.cart-foot[hidden] { display: none; }
.cart-foot { border-top: 1px solid var(--line); padding-top: var(--space-3); display: grid; gap: var(--space-3); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.cart-total strong { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; font-variant-numeric: tabular-nums; }
.cart-actions { display: grid; gap: var(--space-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0; visibility: hidden;
  background: var(--basalto-900); color: var(--arena-100);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 20px; border-radius: var(--radius-sm);
  transition: transform .5s var(--ease-out), opacity .3s, visibility 0s .5s;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .3s; }

/* =============================================================
   19b. Multipágina: cabeceras, Nosotros, tarifa profesional
   ============================================================= */
[hidden] { display: none !important; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-out); }

.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-movil a[aria-current="page"] { color: var(--accent); }

/* Cabecera de página interior */
.page-head {
  max-width: var(--max); margin-inline: auto;
  padding: var(--space-6) var(--gutter) var(--space-5);
  border-bottom: 1px solid var(--line);
}
.page-over { margin-bottom: var(--space-4); }
.page-title { font-size: clamp(3rem, 8vw, 7rem); margin-bottom: var(--space-3); max-width: 14ch; }
.page-lede { margin-bottom: var(--space-4); }
.page-intro { max-width: 58ch; color: var(--ink-muted); font-size: 17px; }
.page-head + .section { padding-top: var(--space-5); }

.pro-banner, .pro-hint { margin-top: var(--space-4); }
.pro-banner {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
  padding: 10px 16px;
  border: 1px solid var(--accent); border-radius: var(--radius-sm);
  font-size: 14px;
}
.pro-banner .overline { color: var(--accent-strong); }
.pro-hint a, .page-intro a, .cart-empty a, .coupon-msg a { color: var(--accent-strong); border-bottom: 1px solid currentColor; }

/* Precios con tarifa profesional */
.price-old { font-weight: 400; font-size: 14px; color: var(--ink-muted); margin-right: 4px; }
.has-pro .product-price [data-price] { color: var(--accent-strong); }

/* Nosotros */
.about { display: grid; gap: var(--space-5); align-items: center; }
.about-copy .overline { margin-bottom: var(--space-3); }
.about-copy .headline { margin-bottom: var(--space-2); }
.about-copy .lede { margin-bottom: var(--space-4); }
.about-copy > p:not(.overline):not(.lede) { max-width: 56ch; margin-bottom: var(--space-3); }
.about-figure .print-media { aspect-ratio: 4 / 5; }
.about-figure figcaption { margin-top: var(--space-2); }

.values-grid, .how { display: grid; gap: var(--space-4) var(--space-3); }
.value, .how > li { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.value-num { font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--accent-strong); margin-bottom: var(--space-2); }
.value-title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: var(--space-2); }
.value p:last-child, .how > li p:last-child { color: var(--ink-muted); font-size: 15px; max-width: 36ch; }
/* Profesionales: valores para negocio */
/* Bloques tipo sillería: fondo arena, cifra grande, sin numeración */
.pro-values-grid { display: grid; gap: var(--space-3); }
.pro-value {
  background: var(--surface-sunken);
  padding: var(--space-5) var(--space-4) var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2) var(--space-4);
  align-content: start;
  position: relative;
}
.pro-value::before {
  content: ""; position: absolute; top: var(--space-4); right: var(--space-4);
  width: 10px; height: 10px; border-radius: var(--radius-full);
  border: 1.5px solid var(--accent);
}
.pro-value-fig {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--accent-strong);
  margin-bottom: var(--space-3);
}
.pro-value-title {
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1.35;
}
.pro-value p:last-child { color: var(--ink-muted); font-size: 15px; max-width: 46ch; }
.pro-values + .pro-how { padding-top: 0; }

.how-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.teaser-card { display: flex; flex-direction: column; gap: var(--space-1); }
.teaser-card .print-media { aspect-ratio: 4 / 5; margin-bottom: var(--space-2); }
.teaser-card img { transition: transform 1.1s var(--ease-out); }
.teaser-card:hover img { transform: scale(1.045); }
.teaser-card .product-name { font-size: 1.4rem; }
.teaser-price { font-size: 15px; font-weight: 500; }
.teaser-more { margin-top: var(--space-4); }

.pro-band-inner { display: grid; gap: var(--space-4); align-items: end; }
.pro-band-inner .overline { color: var(--accent); margin-bottom: var(--space-3); }
.pro-band-inner p:not(.overline) { color: var(--ink-muted); max-width: 46ch; margin-bottom: var(--space-4); }

.cta-band {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-4);
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}
.cta-band .headline { margin-bottom: var(--space-2); }
.cta-band p { color: var(--ink-muted); max-width: 48ch; }
.facts-band { padding-top: 0; }
.facts-band .facts { margin-top: 0; }

/* Cesta: código profesional y desglose */
.coupon { display: grid; gap: var(--space-2); }
.coupon-label { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.coupon-row { display: flex; gap: var(--space-2); }
.coupon-row input {
  flex: 1; min-width: 0;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.coupon-row input::placeholder { text-transform: none; letter-spacing: 0; }
.coupon-row .kota-btn { padding: 10px 16px; }
.coupon-msg { min-height: 1.4em; }
.coupon-active {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding: 10px 12px; border: 1px solid var(--accent); border-radius: var(--radius-sm);
}
.coupon-active .overline { color: var(--accent-strong); margin-right: 6px; }
.coupon-active b { font-weight: 500; font-size: 14px; }
.coupon-active .cart-item-remove { margin-top: 0; }
.ship { display: grid; gap: var(--space-2); }
.ship select {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 15px;
}
.cart-sum > div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-muted); padding-block: 2px; }
.cart-sum dd { font-variant-numeric: tabular-nums; }
.cart-item-meta s { margin-right: 2px; }

/* =============================================================
   19c. Tienda → ficha de producto
   ============================================================= */
.product-media { position: relative; }
.product-media-link { position: absolute; inset: 0; z-index: 2; }
.product-name a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .4s var(--ease-out); }
.product-name a:hover { text-decoration-color: currentColor; }
.product-more {
  align-self: flex-start;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-strong); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.product-more:hover { color: var(--accent); }
.cart-item-opts { font-size: 12px; }

/* Migas */
.crumbs {
  max-width: var(--max); margin-inline: auto;
  padding: var(--space-4) var(--gutter) 0;
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
}
.crumbs a { border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--accent-strong); border-color: var(--accent); }
.crumbs i { font-style: normal; color: var(--line-strong); }
.crumbs span { color: var(--ink); }

/* Ficha */
.pp { max-width: var(--max); margin-inline: auto; padding: var(--space-4) var(--gutter) var(--space-6); }
.pp-noscript, .pp-missing { padding-block: var(--space-6); }
.pp-missing p { margin-top: var(--space-3); color: var(--ink-muted); }
.pp-missing a, .pp-noscript a, .pp-assure a { color: var(--accent-strong); border-bottom: 1px solid currentColor; }

.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.pp-panel, .pp-gallery { min-width: 0; }

/* Galería: foto grande + miniaturas debajo */
.pp-gallery { display: grid; gap: var(--space-3); }
.pp-main { position: relative; }
.pp-main .print-media { aspect-ratio: 1 / 1; }
.pp-main img { transition: opacity .25s var(--ease-soft); }
.pp-main img.is-swapping { opacity: 0; }
.pp-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 44px; height: 44px; margin-top: -22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease-out), border-color .3s;
}
.pp-arrow::before {
  content: ""; width: 9px; height: 9px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
}
.pp-prev { left: var(--space-3); }
.pp-prev::before { transform: translateX(2px) rotate(-135deg); }
.pp-next { right: var(--space-3); }
.pp-next::before { transform: translateX(-2px) rotate(45deg); }
.pp-arrow:hover { background: var(--surface-raised); border-color: var(--line-strong); }
.pp-count {
  position: absolute; right: var(--space-3); bottom: var(--space-3); z-index: 3;
  background: var(--surface); padding: 4px 10px; border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
}
.pp-count b { font-weight: 500; color: var(--ink); }
.pp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: var(--space-2); }
.pp-thumb {
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--surface-sunken);
  outline: 1px solid var(--line); outline-offset: -1px;
  opacity: .72;
  transition: opacity .3s var(--ease-out), outline-color .3s;
}
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb:hover { opacity: 1; }
.pp-thumb.is-active { opacity: 1; outline: 2px solid var(--accent); outline-offset: -2px; }

/* Panel lateral */
.pp-panel { display: flex; flex-direction: column; gap: var(--space-3); }
.pp-title { font-size: clamp(2.8rem, 5.4vw, 4.6rem); line-height: .95; }
.pp-lede { margin-top: -4px; }
.pp-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  padding-block: var(--space-3);
  border-block: 1px solid var(--line);
}
.pp-price [data-pp-price] { font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.has-pro .pp-price [data-pp-price] { color: var(--accent-strong); }
.pp-price .price-old { font-size: 16px; }
.pp-pro { color: var(--accent-strong); margin-top: -8px; }

.pp-label, .pp-section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: var(--space-2);
}
.pp-label-value { color: var(--ink); margin-left: 6px; }
.pp-section-label { color: var(--ink); padding-top: var(--space-3); border-top: 1px solid var(--line); margin-bottom: var(--space-3); }
.pp-opt + .pp-opt { margin-top: var(--space-3); }

/* Tamaños en tarjetas */
.pp-sizes { display: grid; gap: var(--space-2); }
.pp-size {
  display: grid; grid-template-columns: 52px 1fr auto; gap: var(--space-3); align-items: center;
  text-align: left;
  padding: 8px 14px 8px 8px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease-out), background-color .3s;
}
.pp-size:hover { border-color: var(--line-strong); }
.pp-size.is-active { border-color: var(--accent); outline: 1px solid var(--accent); outline-offset: -2px; }
.pp-size-thumb { width: 52px; height: 52px; overflow: hidden; background: var(--surface-sunken); }
.pp-size-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-size-text { display: flex; flex-direction: column; line-height: 1.25; }
.pp-size-text b { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; }
.pp-size-text small { font-size: 13px; color: var(--ink-muted); }
.pp-size-price { font-weight: 500; font-variant-numeric: tabular-nums; }

/* Personalización */
.pp-pers { margin-top: var(--space-2); }
.pp-swatches { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pp-swatch {
  width: 40px; height: 40px; padding: 4px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s;
}
.pp-swatch span { display: block; width: 100%; height: 100%; }
.pp-swatch:hover { border-color: var(--line-strong); }
.pp-swatch.is-active { border: 2px solid var(--accent); padding: 3px; }
.pp-radios { display: grid; gap: var(--space-2); }
.pp-radio, .pp-check {
  display: grid; grid-template-columns: 18px 1fr auto; gap: var(--space-3); align-items: center;
  text-align: left; padding: 12px 14px;
  background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .3s;
}
.pp-radio:hover, .pp-check:hover { border-color: var(--line-strong); }
.pp-radio.is-active { border-color: var(--accent); }
.pp-radio > span:nth-child(2), .pp-check > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; }
.pp-radio b, .pp-check b { font-weight: 500; font-size: 15px; }
.pp-radio small { font-size: 13px; color: var(--ink-muted); }
.pp-radio-dot { width: 16px; height: 16px; border-radius: var(--radius-full); border: 1.5px solid var(--line-strong); position: relative; }
.pp-radio.is-active .pp-radio-dot { border-color: var(--accent); }
.pp-radio.is-active .pp-radio-dot::after { content: ""; position: absolute; inset: 3px; border-radius: var(--radius-full); background: var(--accent); }
.pp-radio-extra { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.pp-check input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.pp-text {
  width: 100%; margin-top: var(--space-2);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 16px;
}

/* Comprar */
.pp-buy { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); margin-top: var(--space-3); }
.pp-qty { margin-top: 0; height: 100%; }
.pp-qty button { width: 40px; height: 100%; min-height: 46px; }
.pp-add { display: block; width: 100%; min-width: 0; padding: 16px; white-space: normal; text-align: center; line-height: 1.3; }
.pp-add.is-added { background: var(--basalto-900); color: var(--arena-100); }
.pp-ship b { font-weight: 500; color: var(--ink); }
.pp-ship-note { display: block; margin-top: 2px; }
.pp-assure { display: grid; gap: 6px; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.pp-assure li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.pp-assure li::before { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: var(--radius-full); flex-shrink: 0; }

/* Descripción y características */
.pp-details { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.pp-desc p:not(.pp-section-label) { max-width: 60ch; margin-bottom: var(--space-3); color: var(--ink-muted); font-size: 17px; }
.pp-feats dl > div {
  display: grid; grid-template-columns: 130px 1fr; gap: var(--space-3);
  padding-block: 12px; border-bottom: 1px solid var(--line);
}
.pp-feats dt { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.pp-feats dd { font-size: 15px; }
.pp-dim-size { display: inline-block; min-width: 2.2em; font-weight: 500; }
.pp-more { padding-top: 0; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 540px) {
  :root { --gutter: 28px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr 1fr; }
  .field--full, .form-foot { grid-column: 1 / -1; }
  .field:nth-child(3) { grid-column: 1 / -1; }
}

@media (min-width: 720px) {
  .pro-cols { grid-template-columns: repeat(3, 1fr); }
  .values-grid, .how { grid-template-columns: repeat(3, 1fr); }
  .pro-values-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .footer-legal { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; }
  .mat { grid-template-columns: 260px 1fr; align-items: baseline; }
}

@media (min-width: 960px) {
  :root { --gutter: 48px; --nav-h: 80px; }
  .nav-logo img { width: 134px; }
  .about { grid-template-columns: 6fr 5fr; gap: var(--space-6); }
  .pp-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); }
  .pp-gallery { position: sticky; top: calc(var(--nav-h) + var(--space-4)); }
  .pp-details { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); }
  .pro-value { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; min-height: 260px; }
  .pro-value-fig { grid-row: span 2; margin-bottom: 0; align-self: end; }
  .pro-band-inner { grid-template-columns: 6fr 5fr; gap: var(--space-6); }

  /* Menú de páginas en el encabezado, entre el logo y la cesta */
  .nav-inner { gap: var(--space-3); }
  .nav-logo { flex-shrink: 0; }
  .nav-logo img { width: 120px; }
  .nav-links { display: flex; flex: 1; justify-content: center; gap: 16px; }
  .nav-links a { font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
  .nav-burger { display: none; }
  .menu-movil { display: none !important; }

  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: end;
    padding-top: var(--space-5);
    min-height: calc(100svh - var(--nav-h));
  }
  .hero-copy { padding-bottom: var(--space-5); }
  .hero-title { font-size: clamp(4rem, 7.4vw, 9rem); }
  .hero-print .print-media { aspect-ratio: auto; height: min(78svh, 820px); }

  .manifesto { grid-template-columns: 5fr 6fr; gap: var(--space-6); }
  .products { grid-template-columns: repeat(3, 1fr); }
  /* Con 3 columnas, el conjunto ocupa dos para cerrar la rejilla */
  .product--wide { grid-column: span 2; }
  .product--wide .print-media { aspect-ratio: auto; height: 100%; min-height: 0; }
  .product--wide .product-media { flex: 1; display: flex; flex-direction: column; }
  .product--wide .product-media .print-media { flex: 1; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pro-image { max-width: 820px; margin-left: auto; }
  .contrast { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .matlist { grid-template-columns: 4fr 7fr; }
  .mat { grid-template-columns: 1fr; }

  .origin-media { height: 92svh; }
  .origin-panel {
    position: absolute; left: var(--gutter); bottom: var(--space-5);
    max-width: 540px;
    padding: var(--space-5);
  }
  .botanic-grid { grid-template-columns: 5fr 7fr; gap: var(--space-6); }
  .pro-lead { grid-template-columns: 7fr 5fr; align-items: end; gap: var(--space-6); }
  .contact-grid { grid-template-columns: 7fr 5fr; gap: var(--space-6); }
}

@media (min-width: 1280px) {
  .nav-logo img { width: 134px; }
  .nav-links { gap: 30px; }
  .nav-links a { font-size: 13px; letter-spacing: .12em; }
  .products { grid-template-columns: repeat(4, 1fr); }
  .product--wide { grid-column: auto; }
  .product--wide .print-media { aspect-ratio: 4 / 5; height: auto; }
  .mat { grid-template-columns: 240px 1fr; }
}

@media (max-width: 539px) {
  .product-media .print-media { aspect-ratio: 1 / 1; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: var(--space-3); }
  .facts > div { padding-right: 0; }
  .mosaic { gap: var(--space-2); }
  .botanic-mosaic { gap: var(--space-2); }
  .nav-cart { padding: 8px 10px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* =============================================================
   21. Movimiento reducido: solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .origin-media img { height: 100%; }
}
