/* =======================================================================
   El Colmenero Real, styles.css
   Sistema visual: Editorial Magazine Premium
   Inspiración: Apartamento · Cereal · Kinfolk · The New Yorker web
   Tipografía: Playfair Display (display editorial) + DM Sans (body con carácter)
   ======================================================================= */

/* ---------- Variables ---------- */
:root {
  /* Colores: paleta comprometida (no AI-slop) */
  --bg-paper: #f4ede0;           /* Hueso más cálido, papel envejecido */
  --bg-soft: #ede4d3;            /* Variante para alternar secciones */
  --bg-cream: #f7f4ee;           /* Crema neutro */
  --bg-white: #ffffff;
  --bg-dark: #1a1612;            /* Café tinta editorial */
  --bg-dark-soft: #2a221c;

  --ink: #1a1612;                /* Negro tinta */
  --text-main: #2a221c;          /* Marrón café elegante */
  --text-muted: #6e655f;
  --text-faint: #a89e95;
  --text-on-dark: #e9e0d4;
  --text-on-dark-muted: #a89e95;

  --gold: #bfa15f;               /* Dorado miel desaturado */
  --gold-soft: #d9c08a;
  --gold-deep: #8c7440;
  --olive: #5c6753;              /* Verde oliva mastranto */
  --olive-soft: #8a9580;
  --clay: #b56e4d;               /* Terracota farallones */
  --clay-soft: #d99878;

  --rule-soft: rgba(42, 34, 28, 0.10);
  --rule-medium: rgba(42, 34, 28, 0.20);
  --rule-dark: rgba(255, 255, 255, 0.10);

  /* Tipografía */
  --font-display: 'Playfair Display', 'Iowan Old Style', 'Palatino', Georgia, serif;
  --font-body: 'DM Sans', 'Söhne', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Spacing escala magazine (más generoso) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;
  --space-section: 160px;
  --space-section-lg: 200px;

  /* Containers */
  --container-max: 1320px;
  --container-content: 1140px;
  --container-narrow: 800px;
  --container-text: 640px;
  --container-prose: 580px;

  /* Otros */
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-soft: 0 4px 16px rgba(26, 22, 18, 0.04);
  --shadow-medium: 0 16px 40px rgba(26, 22, 18, 0.06);
  --shadow-strong: 0 30px 70px rgba(26, 22, 18, 0.12);
  --shadow-image: 0 40px 80px -20px rgba(26, 22, 18, 0.25);

  --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slower: 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'calt';
}

body {
  background-color: var(--bg-paper);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Grano de papel sutil sobre fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base);
}

img, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ---------- Tipografía editorial ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.18;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--text-main);
}

/* Italic dorado en h1/h2, firma editorial */
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

h3 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-main);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 65ch;
  position: relative;
  z-index: 2;
}

p.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: var(--text-main);
  font-weight: 400;
  max-width: 38ch;
  letter-spacing: -0.005em;
}

p.muted.muted { color: var(--text-muted); }

p.dek {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.55;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-lg);
}

strong, b { font-weight: 600; color: var(--ink); }
em, i { font-style: italic; }

/* Drop cap editorial */
.dropcap::first-letter, .has-dropcap > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 5.4em;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.12em -0.05em -0.02em;
  color: var(--gold-deep);
  font-weight: 400;
  font-style: italic;
}

/* Blockquote editorial */
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.32;
  color: var(--ink);
  max-width: 24ch;
  margin: var(--space-xl) auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

blockquote::before,
blockquote::after {
  content: "* * *";
  display: block;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.8em;
  font-style: normal;
  margin: var(--space-md) 0;
  font-family: var(--font-body);
}

blockquote cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Pull quote (más grande para hero/sections) */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 18ch;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.pull-quote em { color: var(--gold-deep); }

/* Dinkus separador */
.dinkus {
  text-align: center;
  margin: var(--space-xl) auto;
  font-family: var(--font-body);
  color: var(--gold);
  letter-spacing: 0.8em;
  font-size: 0.85rem;
  display: block;
}

.dinkus::before { content: "* * *"; }

/* Rule editorial fina */
hr.rule {
  border: none;
  height: 1px;
  background: var(--rule-medium);
  margin: var(--space-xl) auto;
  max-width: 60px;
}

.rule--gold { background: var(--gold); }
.rule--wide { max-width: 100%; }

code {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--clay);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 2;
}

.container--magazine { max-width: var(--container-max); }
.container--narrow { max-width: var(--container-narrow); }
.container--text { max-width: var(--container-text); }
.container--prose { max-width: var(--container-prose); }

section {
  padding: var(--space-section) 0;
  position: relative;
  z-index: 2;
}

.section--soft { background-color: var(--bg-soft); }
.section--cream { background-color: var(--bg-cream); }
.section--white { background-color: var(--bg-white); }
.section--dark { background-color: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark h2 em, .section--dark h1 em { color: var(--gold-soft); }
.section--dark p { color: var(--text-on-dark); opacity: 0.92; }

/* Section label premium */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--olive);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  position: relative;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.eyebrow--gold { color: var(--gold-deep); }
.eyebrow--center { padding-left: 0; }
.eyebrow--center::before { display: none; }

/* Compat clase legacy */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--olive);
  margin-bottom: var(--space-md);
}

.section-label--gold { color: var(--gold-deep); }

/* ---------- Header / nav ---------- */
.site-header {
  padding: var(--space-md) 0;
  background-color: rgba(244, 237, 224, 0.96);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--rule-soft);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-top: 4px;
  font-weight: 500;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}

.nav-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--gold-deep);
  margin-right: 0;
  transition: width var(--t-base), margin-right var(--t-base);
  display: inline-block;
}

.nav-links a:hover, .nav-links a.is-active {
  color: var(--gold-deep);
}

.nav-links a:hover::before, .nav-links a.is-active::before {
  width: 14px;
  margin-right: 8px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg-paper);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  border-radius: 2px;
  justify-self: end;
  transition: background-color var(--t-base), color var(--t-base);
}

.nav-cta:hover {
  background-color: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--bg-paper);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--rule-medium);
  border-radius: 2px;
  justify-self: end;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 2px;
  transition: all var(--t-base);
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  background-color: var(--ink);
  color: var(--bg-paper);
}

.btn--primary {
  background-color: var(--ink);
  color: var(--bg-paper);
}

.btn--primary:hover {
  background-color: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn--gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background-color: transparent;
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn--wsp {
  width: 100%;
  background-color: var(--ink);
  color: var(--bg-paper);
  border-color: var(--ink);
}

.btn--wsp:hover {
  background-color: var(--olive);
  border-color: var(--olive);
}

.btn--ghost {
  border-color: var(--rule-medium);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn--link {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--gold-deep);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--rule-medium);
}

.btn--link:hover {
  color: var(--ink);
  background: transparent;
  text-decoration-color: var(--gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  align-items: center;
}

.btn-row--center { justify-content: center; }

/* ---------- Hero variants ---------- */
.hero {
  padding: clamp(var(--space-xl), 10vw, var(--space-xxl)) 0 var(--space-xl);
  text-align: center;
  position: relative;
}

.hero h1 { max-width: 920px; margin: 0 auto var(--space-md) auto; }
.hero p.lead { margin: 0 auto var(--space-lg) auto; }

.hero-tagline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

/* Hero bleed editorial, full-width imagen + texto encima */
.hero-bleed {
  position: relative;
  width: 100%;
  height: clamp(620px, 95vh, 880px);
  display: flex;
  align-items: end;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-bleed-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bleed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(98%) saturate(95%) brightness(96%);
}

.hero-bleed-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 22, 18, 0.2) 0%,
    rgba(26, 22, 18, 0.05) 40%,
    rgba(26, 22, 18, 0.6) 100%
  );
}

.hero-bleed-content {
  position: relative;
  z-index: 2;
  color: var(--bg-paper);
  padding: 0 var(--space-md) var(--space-xl);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: end;
}

.hero-bleed-content .hero-tagline { color: var(--gold-soft); }

.hero-bleed-content h1 {
  color: var(--bg-paper);
  text-align: left;
  max-width: 18ch;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  margin: 0;
}

.hero-bleed-content h1 em { color: var(--gold-soft); }

.hero-bleed-meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  text-align: right;
  color: var(--gold-soft);
  max-width: 24ch;
  line-height: 1.4;
  padding-bottom: 8px;
}

.hero-bleed-meta strong {
  font-style: normal;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--bg-paper);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  display: block;
  margin-bottom: var(--space-xs);
}

/* Hero classic con foto debajo */
.hero-image-wrapper {
  margin-top: var(--space-xl);
  overflow: hidden;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-image);
}

.hero-image {
  width: 100%;
  height: clamp(380px, 55vw, 620px);
  object-fit: cover;
  filter: contrast(98%) saturate(94%);
}

/* ---------- Spread: dos columnas editoriales ---------- */
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.spread--asymmetric { grid-template-columns: 1.2fr 1fr; }
.spread--asymmetric-reverse { grid-template-columns: 1fr 1.2fr; }

.spread--reverse > *:nth-child(1) { order: 2; }
.spread--reverse > *:nth-child(2) { order: 1; }

.spread-image {
  position: relative;
  height: clamp(420px, 60vw, 620px);
  overflow: hidden;
}

.spread-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-image);
}

.spread-image--portrait {
  height: clamp(520px, 75vw, 720px);
}

.spread-content {
  padding: var(--space-md) 0;
}

.spread-content .eyebrow, .spread-content > * + * {
  display: block;
}

/* Compat con story-grid existente */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.story-grid--reverse { grid-template-columns: 1fr 1.15fr; }
.story-grid--reverse .story-content { order: 2; }
.story-grid--reverse .story-images { order: 1; }

.story-content { padding: var(--space-md) 0; }
.story-images { position: relative; }

.story-img-main {
  width: 100%;
  height: clamp(420px, 60vw, 560px);
  object-fit: cover;
  box-shadow: var(--shadow-image);
}

.story-img-secondary {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 220px;
  height: 280px;
  object-fit: cover;
  border: 14px solid var(--bg-paper);
  box-shadow: var(--shadow-medium);
}

/* ---------- Steps con números gigantes ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.step {
  text-align: left;
  position: relative;
  padding-top: var(--space-lg);
}

.step-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.85;
  color: var(--gold-soft);
  position: absolute;
  top: -20px;
  left: -8px;
  z-index: 0;
  opacity: 0.85;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.step-content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-md);
}

.step h3 {
  margin-bottom: var(--space-sm);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
  max-width: 32ch;
}

/* Steps editorial: 2 columnas */
.steps--two { grid-template-columns: 1fr 1fr; }

/* ---------- Product cards ---------- */
.products-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
  max-width: var(--container-text);
  margin-left: auto;
  margin-right: auto;
}

.products-header h2 { margin-bottom: var(--space-sm); }

.products-header p {
  margin: 0 auto;
  color: var(--text-muted);
  max-width: 50ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--bg-cream);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  border-radius: 0;
  border: 1px solid var(--rule-soft);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slower);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-medium);
}

.product-card:hover::before { transform: scaleX(1); }

.product-image-container {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-cream) 100%);
  overflow: hidden;
  padding: var(--space-md);
}

.product-image-container img, .product-image-container svg {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.product-image-container.placeholder {
  background: var(--bg-soft);
  color: var(--text-faint);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: var(--space-xxs);
  font-weight: 400;
  color: var(--ink);
}

.product-format {
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: var(--space-sm);
  display: block;
}

.product-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: 1.6;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-md);
  font-feature-settings: 'tnum';
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.product-price small {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--text-faint);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Detalle de producto */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.product-detail-image {
  position: sticky;
  top: 110px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-cream) 100%);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  border: 1px solid var(--rule-soft);
}

.product-detail-image img, .product-detail-image svg {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.product-detail-info > * + * { margin-top: var(--space-md); }
.product-detail-info h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-xl);
}

.value-item {
  text-align: left;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--rule-medium);
}

.value-item .icon-wrap {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-md);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.value-item h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.4rem;
}

.value-item p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 28ch;
}

/* ---------- Tables ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
  font-size: 1rem;
}

.table th, .table td {
  text-align: left;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}

.table th {
  width: 32%;
  color: var(--olive);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-family: var(--font-body);
}

.table td { color: var(--text-main); }

/* ---------- Accordion ---------- */
details {
  border-bottom: 1px solid var(--rule-soft);
  padding: var(--space-md) 0;
}

details[open] summary {
  color: var(--gold-deep);
  margin-bottom: var(--space-sm);
}

summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 36px;
  transition: color var(--t-base);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-deep);
  transition: transform var(--t-base);
  line-height: 1;
}

details[open] summary::after { content: "−"; }

details p, details ul, details ol {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

details ul li {
  padding: 4px 0 4px 18px;
  position: relative;
}

details ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Points of sale ---------- */
.zone-block { margin-bottom: var(--space-xl); }

.zone-block h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--rule-medium);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.zone-block h3 small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  font-weight: 500;
}

.pos-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.pos-item {
  padding: var(--space-md);
  background: var(--bg-white);
  border-left: 2px solid var(--gold);
  transition: border-color var(--t-base), transform var(--t-base);
}

.pos-item:hover {
  border-color: var(--gold-deep);
  transform: translateX(4px);
}

.pos-item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.pos-item .pos-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-xxl) 0 var(--space-lg) 0;
  font-size: 0.96rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--bg-paper);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.65;
  color: var(--text-on-dark);
  opacity: 0.8;
  font-size: 0.96rem;
}

.footer-brand .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-soft);
  margin-top: var(--space-md);
}

.footer-links h5 {
  color: var(--bg-paper);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-on-dark);
  opacity: 0.78;
  font-size: 0.94rem;
}

.footer-links ul li a:hover {
  color: var(--gold-soft);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.84rem;
  color: var(--text-on-dark);
  opacity: 0.55;
}

.footer-bottom a:hover { color: var(--gold-soft); opacity: 1; }

/* ---------- WhatsApp floating ---------- */
.wsp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wsp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--bg-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong);
  transition: transform var(--t-base), background-color var(--t-base);
  border: 1px solid var(--ink);
}

.wsp-float-btn:hover {
  transform: scale(1.08);
  background-color: var(--olive);
  border-color: var(--olive);
}

.wsp-float-btn svg { width: 26px; height: 26px; }

.wsp-float-panel {
  background: var(--bg-paper);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  width: 290px;
  display: none;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--rule-soft);
}

.wsp-float-panel.is-open { display: flex; }

.wsp-float-panel h6 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
}

.wsp-float-panel a {
  padding: 12px 14px;
  border: 1px solid var(--rule-soft);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: all var(--t-base);
}

.wsp-float-panel a:hover {
  background: var(--bg-cream);
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(var(--space-xxl), 18vw, var(--space-section)) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}

.cta-banner::before { top: 0; left: 50%; transform: translateX(-50%); }
.cta-banner::after { bottom: 0; left: 50%; transform: translateX(-50%); }

.cta-banner h2 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
}

.cta-banner h2 em { color: var(--gold-soft); }

.cta-banner p {
  color: var(--text-on-dark);
  opacity: 0.85;
  max-width: 50ch;
  margin: 0 auto var(--space-lg) auto;
}

/* ---------- Manifesto full-page ---------- */
.manifesto {
  padding: var(--space-section) 0;
  background-color: var(--bg-cream);
  position: relative;
}

.manifesto-content {
  max-width: var(--container-text);
  margin: 0 auto;
  text-align: left;
}

.manifesto-content p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: var(--space-md);
  font-weight: 400;
  max-width: none;
}

.manifesto-content p:first-of-type::first-letter {
  font-size: 5em;
  float: left;
  line-height: 0.82;
  margin: 0.08em 0.14em -0.05em 0;
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400;
}

.manifesto-content p strong {
  font-weight: 500;
  font-style: italic;
  color: var(--gold-deep);
}

/* ---------- Glossary ---------- */
.glossary {
  background: var(--bg-soft);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  border-left: 2px solid var(--gold);
}

.glossary h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-weight: 500;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.breadcrumbs a:hover { color: var(--gold-deep); }

.breadcrumbs span:not(:last-child)::after {
  content: "·";
  color: var(--text-faint);
  padding: 0 10px;
}

/* ---------- Lot badge ---------- */
.lot-badge {
  display: inline-flex;
  flex-direction: column;
  padding: var(--space-md);
  border: 1px solid var(--rule-medium);
  font-size: 0.85rem;
  background: var(--bg-cream);
  margin-top: var(--space-md);
}

.lot-badge strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.lot-badge span {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.error-page h1 { margin-bottom: var(--space-md); }

.error-page p {
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: var(--space-lg);
}

/* ---------- Animaciones entrada ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  animation: fadeUp var(--t-slower) both;
}

.fade-in {
  animation: fadeIn var(--t-slower) both;
}

.stagger > * { animation: fadeUp var(--t-slower) both; }
.stagger > *:nth-child(1) { animation-delay: 0.0s; }
.stagger > *:nth-child(2) { animation-delay: 0.12s; }
.stagger > *:nth-child(3) { animation-delay: 0.24s; }
.stagger > *:nth-child(4) { animation-delay: 0.36s; }
.stagger > *:nth-child(5) { animation-delay: 0.48s; }
.stagger > *:nth-child(6) { animation-delay: 0.60s; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mx-auto { margin-left: auto; margin-right: auto; }

.divider { height: 1px; background: var(--rule-soft); border: none; margin: var(--space-xl) 0; }
.divider--gold { background: var(--gold); width: 60px; margin-left: 0; }

/* ---------- Responsive ---------- */
/* Nav: hamburguesa hasta 1140px, debajo de eso el nav horizontal no cabe (~1139px) */
@media (max-width: 1140px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-paper);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 44px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

@media (max-width: 1024px) {
  .spread, .spread--asymmetric, .spread--asymmetric-reverse, .story-grid, .story-grid--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .spread--reverse > *:nth-child(1) { order: initial; }
  .spread--reverse > *:nth-child(2) { order: initial; }
  .story-grid--reverse .story-content, .story-grid--reverse .story-images { order: initial; }
  .story-content { padding-right: 0; }
  .story-img-secondary { display: none; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-image { position: static; min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-bleed-content { grid-template-columns: 1fr; }
  .hero-bleed-meta { text-align: left; }
}

@media (max-width: 720px) {
  section { padding: var(--space-xxl) 0; }
  .hero { padding: var(--space-xl) 0; }
  .hero-bleed { height: clamp(560px, 80vh, 720px); }
  .hero-bleed-image::after {
    background: linear-gradient(180deg, rgba(26, 22, 18, 0.32) 0%, rgba(26, 22, 18, 0.28) 32%, rgba(26, 22, 18, 0.78) 100%);
  }

  .steps, .steps--two, .product-grid, .values-grid, .pos-list { grid-template-columns: 1fr; gap: var(--space-lg); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }

  blockquote { padding: 0 var(--space-sm); font-size: 1.4rem; }
  .pull-quote { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .wsp-float-panel { width: calc(100vw - 48px); max-width: 290px; }

  .manifesto-content p:first-of-type::first-letter {
    font-size: 4em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  body::before { display: none; }
}

@media print {
  .site-header, .site-footer, .wsp-float { display: none; }
  body { background: white; color: black; }
  body::before { display: none; }
}
