/* ═══════════════════════════════════════════════════════════
   CHARCUTERÍA LA VIKINGA — Sistema de Diseño v3
   Paleta: negro cálido #0D0905 · borgoña #8C1C1C · oro #B8922A
   Display: Barlow Condensed 700/800 · Body: Barlow Semi Condensed 500
   Dirección visual: bold condensed uppercase + bloques alternados
═══════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ─────────────────────────────────────────────────── */
:root {
  --accent:        #8C1C1C;
  --accent-bright: #C44030;
  --accent-glow:   rgba(140, 28, 28, 0.28);
  --gold:          #B8922A;
  --gold-light:    #D4AE5A;
  --gold-glow:     rgba(184, 146, 42, 0.18);

  --bg:        #FAFAF7;
  --surface:   #F2EDE6;
  --surface-2: #E8E0D5;
  --surface-3: #DDD4C7;

  --border:        rgba(13,9,5,.10);
  --border-strong: rgba(13,9,5,.18);
  --border-gold:   rgba(184,146,42,.28);

  --text:   rgba(13,9,5,.90);
  --text-2: rgba(13,9,5,.65);
  --text-3: rgba(13,9,5,.44);
  --text-4: rgba(13,9,5,.28);

  --font-d: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
  --font-b: 'Barlow Semi Condensed', system-ui, -apple-system, sans-serif;

  --max-w: 1200px;
  --py-section: clamp(72px, 9vw, 128px);
  --gap: clamp(24px, 3vw, 40px);

  --r-pill: 999px;
  --r-lg:   20px;
  --r-md:   12px;
  --r-sm:    6px;

  --sh-sm:  0 2px 10px  rgba(0,0,0,.08);
  --sh-md:  0 8px 28px  rgba(0,0,0,.12);
  --sh-lg:  0 20px 64px rgba(0,0,0,.16);
  --sh-acc: 0 4px 22px  rgba(140,28,28,.30);
  --sh-gold:0 4px 22px  rgba(184,146,42,.22);
}

/* ── 2. RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
address { font-style: normal; }
em, i { font-style: normal; }
button { cursor: pointer; font-family: var(--font-b); }
input, textarea, select { font-family: var(--font-b); }

.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── 3. TIPOGRAFÍA ──────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-lg {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-md {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.body-lg { font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.65; }
.body-sm { font-size: .875rem; line-height: 1.6; }
.text-muted { color: var(--text-2); }
.text-dim   { color: var(--text-3); }

/* Texto con gradiente dorado */
.text-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. BOTONES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  border: none;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-acc);
}
.btn-accent:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(140,28,28,.55);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  transition: all .2s ease;
}
.btn-outline-sm:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding-inline: 0;
  gap: 10px;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: all .22s ease;
}
.btn-ghost:hover .arrow {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateX(4px);
}

/* ── 5. NAVEGACIÓN ──────────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 20px;
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
  /* Siempre texto blanco: el nav flota sobre foto (hero) y sobre contenido claro */
  --text:          rgba(255,255,255,.92);
  --text-2:        rgba(255,255,255,.70);
  --text-3:        rgba(255,255,255,.52);
  --text-4:        rgba(255,255,255,.32);
  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --gold-glow:     rgba(184,146,42,.18);
  color: rgba(255,255,255,.92);
}
.nav-wrap.scrolled {
  padding-block: 12px;
  background: rgba(13,9,5,.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo img {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: .85; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { font-size: .82rem; padding: 10px 22px; }

/* ── Dropdown nav ───────────────────────────────────── */
.nav-item { position: relative; }
.has-dropdown > .nav-link { padding-right: 4px; }
.has-dropdown > .nav-link::before {
  content: '▾';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .55em;
  opacity: .7;
  transition: transform .2s;
}
.nav-item:hover > .nav-link::before,
.nav-item:focus-within > .nav-link::before { transform: translateY(-50%) rotate(180deg); }

/* Bridge transparente que cubre el gap entre el nav-link y el dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 18px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(13,9,5,.97);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 0;
  min-width: 270px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 500;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-dropdown li + li { border-top: 1px solid rgba(255,255,255,.04); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: all .25s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── 6. BLOQUES ALTERNADOS: SECCIÓN CREMA ───────────────────────── */
/*
   Secciones oscuras: fondo --bg (#0D0905) — por defecto
   Secciones crema:   .section-light — redefinición de tokens vía cascade
   Los tokens CSS heredados hacen que TODOS los componentes dentro
   se adapten automáticamente (textos, bordes, superficies).
*/
.section-light {
  background: #EDE6DA;
  --bg:            #EDE6DA;
  --surface:       #E3D9CC;
  --surface-2:     #D8CEBD;
  --surface-3:     #CEC3AF;
  --text:          rgba(13,9,5,.90);
  --text-2:        rgba(13,9,5,.65);
  --text-3:        rgba(13,9,5,.44);
  --text-4:        rgba(13,9,5,.28);
  --border:        rgba(13,9,5,.12);
  --border-strong: rgba(13,9,5,.20);
  color: rgba(13,9,5,.90);
}
.section-cream-dark {
  background: #D8CEBD;
  --bg: #D8CEBD;
  --surface: #CEC3AF;
}

/* ── 7. HERO ────────────────────────────────────────────────────── */
/* Heros con foto + .pilares (foto + overlay oscuro) → siempre texto blanco */
.hero, .ficha-hero, .page-hero, .pilares {
  --text:          rgba(255,255,255,.92);
  --text-2:        rgba(255,255,255,.70);
  --text-3:        rgba(255,255,255,.50);
  --text-4:        rgba(255,255,255,.32);
  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg img { transform: scale(1); }

/* Overlay: escuro pero deja ver el producto */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(13,9,5,.80) 0%, rgba(13,9,5,.45) 55%, rgba(13,9,5,.25) 100%),
    linear-gradient(to top,    rgba(13,9,5,.85) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 900;
  color: var(--gold-light);
}
.hero-sub {
  max-width: 480px;
  margin-bottom: 36px;
  color: var(--text-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 28px; right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  transform: rotate(-90deg);
  transform-origin: right center;
  white-space: nowrap;
}
.hero-scroll::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--border-strong);
}

/* ── 7. STATS STRIP ─────────────────────────────────────────────── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 36px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.stat-item {
  text-align: center;
  padding: 8px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 0.9;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.stat-label {
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 8. PILARES ─────────────────────────────────────────────────── */
.pilares {
  padding-block: var(--py-section);
  position: relative;
  overflow: hidden;
  background-image: url('/assets/images/hero/hero-maduracion.jpg');
  background-size: cover;
  background-position: center 40%;
}
.pilares::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,9,5,.90);
}
.pilares > * { position: relative; z-index: 1; }

/* Ghost text watermark */
.pilares-ghost {
  position: absolute;
  bottom: -0.08em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-d);
  font-size: clamp(6rem, 22vw, 20rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.04);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}
.pilares-header {
  max-width: 700px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.pilares-header .display-lg { margin-top: 12px; }
.pilares-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.pilar {
  background: transparent;
  padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .25s ease;
}
.pilar:last-child { border-right: none; }
.pilar:hover { background: rgba(255,255,255,.04); }
.pilar-num {
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.pilar h3 {
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin-bottom: 14px;
  color: var(--text);
}
.pilar p { font-size: .92rem; color: var(--text-2); line-height: 1.65; }

/* ── 9. PRODUCTOS GRID ──────────────────────────────────────────── */
.productos {
  padding-block: var(--py-section);
  background: var(--surface);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* Primera tarjeta — más protagonismo (span 2 filas en desktop) */
.producto-card:first-child {
  grid-row: span 2;
}
.producto-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  /* Siempre texto blanco: tiene foto + overlay oscuro */
  --text:   rgba(255,255,255,.92);
  --text-2: rgba(255,255,255,.70);
  --text-3: rgba(255,255,255,.50);
  --text-4: rgba(255,255,255,.32);
  --border-strong: rgba(255,255,255,.14);
}
.producto-card:first-child { aspect-ratio: auto; }

.producto-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
  filter: brightness(.88) saturate(.9);
}
.producto-card:hover img {
  transform: scale(1.05);
  filter: brightness(.95) saturate(1);
}
.producto-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(13,9,5,.90) 0%, rgba(13,9,5,.4) 45%, transparent 80%);
  transition: background .3s ease;
}
.producto-card:hover .producto-card-body {
  background: linear-gradient(to top, rgba(13,9,5,.95) 0%, rgba(13,9,5,.55) 50%, transparent 80%);
}
.producto-nombre {
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: var(--text);
}
.producto-desc {
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 26ch;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.producto-card:hover .producto-desc {
  opacity: 1;
  transform: translateY(0);
}
.producto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.producto-precio {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
}
.producto-peso {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 10. PROCESO / HISTORIA ─────────────────────────────────────── */
.proceso {
  padding-block: var(--py-section);
  overflow: hidden;
}
.proceso-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.proceso-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.proceso-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.85);
}
/* Edge fade — funde la imagen con el fondo */
.proceso-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  transparent 70%, var(--bg) 100%),
    linear-gradient(to top,    var(--bg) 0%, transparent 20%);
  pointer-events: none;
}
.proceso-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 1;
  background: rgba(13,9,5,.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  padding: 12px 16px;
}
.proceso-badge p {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.proceso-badge strong {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.proceso-content .eyebrow { margin-bottom: 16px; }
.proceso-content .display-lg { margin-bottom: 20px; }
.proceso-content .body-lg { color: var(--text-2); margin-bottom: 28px; }

blockquote.pull-quote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin-block: 28px;
}
blockquote.pull-quote p {
  font-family: var(--font-d);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.55;
}
.proceso-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.proceso-stat strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.proceso-stat span {
  font-size: .78rem;
  color: var(--text-3);
  letter-spacing: .05em;
}

/* ── 11. VIDEO YOUTUBE ──────────────────────────────────────────── */
.video-section {
  padding-block: var(--py-section);
  background: var(--surface);
}
.video-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.video-inner .eyebrow  { margin-bottom: 12px; }
.video-inner .display-md { margin-bottom: 10px; }
.video-inner .text-muted { margin-bottom: 36px; }
.video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-caption {
  margin-top: 16px;
  font-size: .8rem;
  color: var(--text-3);
}
.video-caption a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 12. DÓNDE ESTAMOS ──────────────────────────────────────────── */
.donde {
  padding-block: var(--py-section);
}
.donde-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.donde-col h3 {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-block: 20px 16px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-gold);
}
.donde-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.donde-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.donde-item:last-child { border-bottom: none; }
.donde-item strong { color: var(--text); font-weight: 500; }
.donde-item span   { color: var(--text-3); font-size: .78rem; text-align: right; }
.donde-item a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.donde-despacho {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  font-size: .85rem;
  color: var(--text-2);
}
.donde-despacho strong { color: var(--gold); display: block; margin-bottom: 4px; }

/* ── 13. EVENTOS CTA ────────────────────────────────────────────── */
.eventos-cta {
  position: relative;
  padding-block: var(--py-section);
  overflow: hidden;
  background: var(--surface-2);
}
.eventos-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(140,28,28,.09) 0%, transparent 65%);
  pointer-events: none;
}
.eventos-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.eventos-cta .eyebrow { margin-bottom: 14px; }
.eventos-cta .display-lg { margin-bottom: 16px; }
.eventos-cta .body-lg { color: var(--text-2); max-width: 48ch; margin-inline: auto; margin-bottom: 36px; }
.eventos-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.eventos-tipos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.evento-chip {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--text-3);
}

/* ── 14. FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #0D0905;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 64px 32px;
  /* Override tokens a oscuro */
  --bg:        #0D0905;
  --surface:   #160E08;
  --surface-2: #1F1409;
  --surface-3: #2A1C10;
  --text:      rgba(255,255,255,.92);
  --text-2:    rgba(255,255,255,.70);
  --text-3:    rgba(255,255,255,.50);
  --text-4:    rgba(255,255,255,.32);
  --border:    rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--gap);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand img {
  width: 90px;
  margin-bottom: 16px;
  opacity: .85;
}
.footer-tagline {
  font-family: var(--font-d);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.4;
  margin-bottom: 6px;
}
.footer-since {
  font-size: .75rem;
  color: var(--text-4);
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  color: var(--text-3);
  transition: color .2s;
}
.footer-social a:hover { color: var(--gold); }
.footer-heading {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .875rem;
  color: var(--text-2);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-2);
  margin-bottom: 18px;
}
.footer-address a:hover { color: var(--gold-light); }
.footer-wa { margin-top: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .75rem;
  color: var(--text-4);
}
.footer-bottom a { color: var(--text-3); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── 15. ANIMACIONES & MOTION ───────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero animate on load */
.hero-eyebrow { animation: slideInLeft .7s .2s both ease; }
.hero h1      { animation: fadeInUp   .8s .4s both ease; }
.hero-sub     { animation: fadeInUp   .7s .6s both ease; }
.hero-actions { animation: fadeInUp   .7s .8s both ease; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1, .hero-eyebrow, .hero-sub, .hero-actions { animation: none; }
}

/* Sólo visible en menú mobile */
.nav-mobile-only { display: none; }

/* ── 16. RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .producto-card:first-child { grid-row: span 1; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  /* El menú usa position:absolute (no fixed) para evitar el bug de
     backdrop-filter en el padre creando un stacking context que
     confina position:fixed. El nav-wrap pasa a 100svh cuando abre. */
  .nav-menu {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100vh; height: 100svh;
    background: #0D0905;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.77,0,.18,1);
    z-index: 99;
  }
  .nav-menu.open { transform: translateX(0); }
  /* nav-wrap se expande a pantalla completa cuando el menú está abierto */
  .nav-wrap.menu-open {
    height: 100vh;
    height: 100svh;
    background: #0D0905;
    z-index: 1000; /* > wa-float (950) para cubrirlo */
  }
  .nav-link { font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; }
  .nav-cta  { font-size: 1rem; padding: 12px 28px; }
  .nav-toggle { display: flex; z-index: 101; }
  /* Dropdown en mobile: visible inline dentro del menú */
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    border-left: 2px solid rgba(255,255,255,.08);
    border-radius: 0;
    padding: 4px 0 4px 16px;
    min-width: 0;
    transition: none;
    margin-top: 4px;
  }
  .has-dropdown > .nav-link::before { display: none; }
  .has-dropdown::after { display: none; }
  .nav-dropdown li a { font-size: .85rem; padding: 7px 0; color: rgba(255,255,255,.55); }
  .nav-dropdown li a:hover { background: transparent; color: rgba(255,255,255,.85); }
  .nav-dropdown li + li { border-top: none; }

  .pilares-list { grid-template-columns: 1fr; }

  .proceso-inner { grid-template-columns: 1fr; }
  .proceso-img { aspect-ratio: 16/9; }
  .proceso-img::after { background: linear-gradient(to top, var(--bg) 0%, transparent 30%); }

  .donde-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }
}

@media (max-width: 560px) {
  .productos-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
  .proceso-stats { flex-direction: column; gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   17. PÁGINA PRODUCTOS — CATÁLOGO COMPLETO
═══════════════════════════════════════════════════════════ */

/* Page hero (compact — no full viewport) */
.page-hero {
  padding-top: calc(80px + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  background: #0D0905;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(140,28,28,.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content {
  max-width: 640px;
}
.page-hero .display-xl em {
  font-style: normal;
  font-weight: 900;
  color: var(--gold-light);
}
.page-hero-sub {
  margin-top: 18px;
  max-width: 52ch;
}

/* ── Toggle Retail / Horeca ── */
.catalogo-section { padding-bottom: var(--py-section); }

.precio-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.precio-toggle-label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.precio-toggle {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
.toggle-btn {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--text-2);
  transition: all .22s ease;
}
.toggle-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-acc);
}
.toggle-btn:hover:not(.active) {
  background: var(--surface-3);
  color: var(--text);
}

/* ── Catálogo grid ── */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2px, .4vw, 3px);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.catalogo-card {
  display: flex;
  flex-direction: row;
  background: var(--surface);
  overflow: hidden;
  transition: background .25s ease;
}
.catalogo-card:hover { background: var(--surface-2); }

/* Image column */
.catalogo-img {
  flex: 0 0 200px;
  width: 200px;
  overflow: hidden;
  position: relative;
}
.catalogo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.9) saturate(.9);
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s ease;
}
.catalogo-card:hover .catalogo-img img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1);
}

/* Content column */
.catalogo-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.5vw, 32px);
}
.catalogo-top { display: flex; flex-direction: column; gap: 8px; }
.catalogo-nombre {
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.catalogo-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 38ch;
}

/* Meta: peso + duración */
.catalogo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.meta-item dt {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-4);
}
.meta-item dd {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-2);
}

/* Ingredientes (details/summary) */
.catalogo-ingredientes {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.catalogo-ingredientes summary {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.catalogo-ingredientes summary::-webkit-details-marker { display: none; }
.catalogo-ingredientes summary::after {
  content: '+';
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  text-align: center;
  line-height: 14px;
  font-size: .7rem;
  transition: transform .2s ease;
}
.catalogo-ingredientes[open] summary::after { transform: rotate(45deg); }
.catalogo-ingredientes summary:hover { color: var(--text-2); }
.catalogo-ingredientes p {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Footer: precio + WhatsApp */
.catalogo-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  flex-wrap: wrap;
}
.precio-retail,
.precio-horeca {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.precio-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-4);
}
.precio-valor {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.precio-horeca { display: none; }

/* Toggle estado: mostrar horeca */
.catalogo-grid.show-horeca .precio-retail { display: none; }
.catalogo-grid.show-horeca .precio-horeca { display: flex; }

/* CTAs del card: ficha + WhatsApp */
.catalogo-footer-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.btn-catalogo-ficha {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  transition: opacity .2s ease;
}
.btn-catalogo-ficha:hover { opacity: .85; }

/* WhatsApp button */
.btn-catalogo-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  transition: all .22s ease;
}
.btn-catalogo-wa:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, .07);
}

/* ── Página Gracias ── */
.gracias-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-block: var(--py-section);
}
.gracias-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.gracias-check {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,146,42,.08);
  border-radius: 50%;
}
.gracias-desc {
  color: var(--text-2);
  line-height: 1.7;
}
.gracias-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ── Horeca callout ── */
.horeca-callout {
  padding-block: var(--py-section);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.horeca-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.horeca-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.horeca-text .eyebrow { margin-bottom: -4px; }
.horeca-ventajas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.horeca-ventajas li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-2);
}
.horeca-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(184,146,42,.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--gold-light);
  margin-top: 1px;
}
.horeca-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.horeca-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.horeca-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.9);
}

/* ── CTA bottom ── */
.productos-cta-bottom {
  padding-block: clamp(60px, 8vw, 100px);
  text-align: center;
}
.productos-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  margin-inline: auto;
}
.productos-cta-inner .eyebrow { margin-bottom: -4px; }
.productos-cta-inner .text-muted { font-size: .9rem; }

/* ── Responsive catálogo ── */
@media (max-width: 1024px) {
  .catalogo-grid {
    grid-template-columns: 1fr;
  }
  .horeca-inner {
    grid-template-columns: 1fr;
  }
  .horeca-img {
    aspect-ratio: 16/9;
    max-height: 320px;
  }
}
@media (max-width: 768px) {
  .catalogo-card {
    flex-direction: column;
  }
  .catalogo-img {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .btn-catalogo-wa { margin-left: 0; }
}
@media (max-width: 560px) {
  .precio-toggle-wrap { gap: 10px; }
  .toggle-btn { padding: 7px 14px; font-size: .75rem; }
}


/* ════════════════════════════════════════════════════
   18. BREADCRUMB (shared)
═══════════════════════════════════════════════════════ */
.breadcrumb-nav {
  display: none; /* ya no se usa — breadcrumb movido dentro del artículo */
}
.articulo-breadcrumb {
  margin-bottom: 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before {
  content: '›';
  color: var(--text-4);
  font-size: .8rem;
}
.breadcrumb a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li:last-child span {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-2);
}


/* ════════════════════════════════════════════════════
   19. FICHA DE PRODUCTO (producto.php)
═══════════════════════════════════════════════════════ */
.ficha-hero {
  position: relative;
  min-height: clamp(340px, 48vw, 580px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.ficha-hero-bg {
  position: absolute;
  inset: 0;
}
.ficha-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.55) saturate(.8);
}
.ficha-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,9,5,.95) 0%, rgba(13,9,5,.35) 55%, transparent 100%);
}
.ficha-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(48px, 6vw, 88px);
  max-width: 720px;
}
.ficha-hero-content .eyebrow { margin-bottom: 12px; }
.ficha-tagline {
  margin-top: 14px;
  max-width: 50ch;
  opacity: .85;
}

/* Body layout */
.ficha-body-section { padding-block: clamp(48px, 7vw, 96px); }
.ficha-body-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* Ficha details table */
.ficha-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.ficha-dl-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.ficha-dl-row:last-child { border-bottom: none; }
.ficha-dl-row dt {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-4);
}
.ficha-dl-row dd {
  font-size: .875rem;
  color: var(--text-2);
}

/* Ingredientes collapsible */
.ficha-ingredientes {
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.ficha-ingredientes summary {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.ficha-ingredientes summary::-webkit-details-marker { display: none; }
.ficha-ingredientes summary::after {
  content: '+';
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  text-align: center;
  line-height: 14px;
  font-size: .7rem;
  transition: transform .2s ease;
}
.ficha-ingredientes[open] summary::after { transform: rotate(45deg); }
.ficha-ingredientes p {
  margin-top: 10px;
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Badges */
.ficha-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.ficha-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  background: rgba(184,146,42,.06);
}

/* Precio sidebar */
.ficha-sidebar { position: sticky; top: 100px; }
.ficha-precio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}
.ficha-precio-valor {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1;
}
.ficha-precio-nota {
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--text-3);
  margin-bottom: 24px;
}
.ficha-cta-wa {
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ficha-horeca-callout {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Related products */
.ficha-relacionados { padding-block: clamp(56px, 8vw, 100px); }
.producto-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.producto-card-link .producto-card-body { padding: 16px; }

/* Breadcrumb section */
.ficha-breadcrumb-section { padding: clamp(16px, 2vw, 24px) 0 0; }

/* Info sidebar card (reemplaza ficha-precio-card sin precios) */
.ficha-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}

/* Proceso list */
.ficha-proceso {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  counter-reset: paso;
}
.ficha-proceso-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 14px;
  align-items: start;
}
.ficha-proceso-item::before {
  counter-increment: paso;
  content: counter(paso);
  font-family: var(--font-d);
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ficha-proceso-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  grid-column: 2;
}
.ficha-proceso-item p {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.65;
  grid-column: 2;
}

/* Maridaje */
.ficha-maridaje {
  background: rgba(184,146,42,.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-bottom: 8px;
}

/* Form section */
.ficha-form-section {
  padding-block: var(--py-section);
  background: var(--surface);
}
.ficha-form-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.ficha-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
}

/* Select inside form */
.coti-ev-form select {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 10px 14px;
  font-size: .875rem;
  font-family: var(--font-b);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  line-height: 1.4;
}
.coti-ev-form select:focus { outline: none; border-color: var(--accent); }

@media (max-width: 900px) {
  .ficha-form-inner { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════
   20. NOSOTROS (nosotros.php)
═══════════════════════════════════════════════════════ */
.nosotros-intro { padding-block: var(--py-section); }
.nosotros-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.nosotros-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.nosotros-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.9) saturate(.85);
  transition: transform .8s ease, filter .4s ease;
  display: block;
}
.nosotros-img:hover img {
  transform: scale(1.03);
  filter: brightness(1) saturate(.95);
}
.nosotros-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}

/* Proceso steps grid */
.nosotros-proceso { padding-block: var(--py-section); }
.nosotros-proceso-header { margin-bottom: clamp(36px, 5vw, 64px); }
.nosotros-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nosotros-step {
  display: flex;
  gap: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--surface);
  transition: background .25s ease;
}
.section-light .nosotros-step { background: var(--surface); }
.nosotros-step:hover { background: var(--surface-2); }
.step-num {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  width: 2.8ch;
}
.step-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-content .display-md {
  font-size: clamp(.95rem, 1.5vw, 1.3rem);
}
.step-content p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.65;
}


/* ════════════════════════════════════════════════════
   21. DÓNDE ESTAMOS — PÁGINA COMPLETA
═══════════════════════════════════════════════════════ */
.donde-mapa { position: relative; }
.donde-mapa-wrap {
  height: clamp(260px, 32vw, 440px);
  overflow: hidden;
}
.donde-mapa-wrap iframe {
  width: 100%; height: 100%;
  border: none;
  filter: brightness(.88) saturate(.65) contrast(1.05);
  display: block;
}
.donde-mapa-info { padding-block: clamp(28px, 4vw, 52px); }
.donde-mapa-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
}
.donde-mapa-card .display-md { margin-top: 4px; }
.donde-contacto-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}
.donde-contacto-links a {
  font-size: .875rem;
  color: var(--text-2);
  transition: color .2s;
}
.donde-contacto-links a:hover { color: var(--gold-light); }

.donde-page-grid { padding-block: var(--py-section); }
.donde-page-grid > .container > .eyebrow { margin-bottom: 8px; }
.donde-page-grid > .container > .display-lg { margin-bottom: clamp(36px, 5vw, 60px); }

.donde-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.donde-col-titulo {
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.donde-lista {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.donde-item-full {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px solid var(--border);
}
.donde-item-nombre {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
}
.donde-item-nombre a {
  color: var(--text);
  transition: color .2s;
}
.donde-item-nombre a:hover { color: var(--gold-light); }
.donde-item-ciudad {
  font-size: .78rem;
  color: var(--text-3);
  text-align: right;
  min-width: 0;
}
.donde-despacho-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.65;
}
.donde-online-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.donde-online-link:hover { opacity: .75; }


/* ════════════════════════════════════════════════════
   22. CONTACTO (contacto.php)
═══════════════════════════════════════════════════════ */
.contacto-section { padding-block: clamp(48px, 7vw, 96px); }
.contacto-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contacto-info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contacto-dato {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.contacto-dato-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 2px;
}
.contacto-dato a,
.contacto-dato address {
  font-size: .875rem;
  color: var(--text-2);
  font-style: normal;
  line-height: 1.55;
  transition: color .2s;
}
.contacto-dato a:hover { color: var(--text); }
.contacto-wa {
  display: flex !important;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}
.contacto-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-2);
  transition: color .2s;
}
.contacto-social-link:hover { color: var(--gold-light); }

/* Form elements */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.form-group label span[aria-hidden] { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--font-b);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .2s, background .2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-errors {
  background: rgba(140,28,28,.12);
  border: 1px solid rgba(140,28,28,.35);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: .875rem;
  color: #E87272;
}
.form-errors ul { padding-left: 18px; }
.form-errors li { margin-bottom: 4px; }
.form-submit { align-self: flex-start; padding-inline: 40px; }
.form-success {
  background: rgba(37,211,102,.07);
  border: 1px solid rgba(37,211,102,.22);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .95rem;
  color: var(--text-2);
}
.form-success strong { color: #25D366; font-size: 1.1rem; }
.form-error-msg {
  background: rgba(140,28,28,.10);
  border: 1px solid rgba(140,28,28,.25);
  border-radius: var(--r-lg);
  padding: 40px;
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.65;
}


/* ─── Responsive: Ficha, Nosotros, Donde, Contacto ─── */
@media (max-width: 1100px) {
  .ficha-body-wrap    { grid-template-columns: 1fr; }
  .ficha-sidebar      { position: static; }
  .donde-cols         { grid-template-columns: 1fr 1fr; }
  .donde-cols > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nosotros-split     { grid-template-columns: 1fr; }
  .nosotros-img       { aspect-ratio: 16/9; max-height: 400px; }
  .nosotros-steps     { grid-template-columns: 1fr; }
  .contacto-wrap      { grid-template-columns: 1fr; }
  .contacto-info      { position: static; }
}
@media (max-width: 768px) {
  .ficha-hero         { min-height: clamp(260px, 60vw, 420px); }
  .donde-cols         { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ficha-body-wrap    { gap: 32px; }
  .nosotros-step      { flex-direction: column; gap: 12px; }
  .step-num           { width: auto; }
  .contacto-wrap      { gap: 40px; }
}


/* ════════════════════════════════════════════════════
   23. EVENTOS (eventos.php)
═══════════════════════════════════════════════════════ */

/* Chips strip */
.eventos-strip {
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}
.eventos-chips-lg {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.eventos-chips-lg span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  white-space: nowrap;
}

/* Servicios showcase */
.servicios-ev {
  padding-block: var(--py-section);
}
.servicios-ev > .container > .eyebrow   { margin-bottom: 8px; }
.servicios-ev > .container > .display-lg{ margin-bottom: clamp(36px,5vw,60px); }
.servicios-ev-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.servicio-ev-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--surface);
  transition: background .25s ease;
}
.servicio-ev-card:hover { background: var(--surface-2); }
.servicio-ev-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.servicio-ev-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.8);
  transition: transform .7s ease, filter .35s ease;
  display: block;
}
.servicio-ev-card:hover .servicio-ev-img img {
  transform: scale(1.05);
  filter: brightness(1) saturate(.95);
}
.servicio-ev-body {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.servicio-ev-num {
  font-family: var(--font-d);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent);
}
.servicio-ev-body .display-md {
  margin-top: -4px;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
}
.servicio-ev-body p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 55ch;
}
.servicio-ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-top: 4px;
}
.servicio-ev-tags li {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}


/* ════════════════════════════════════════════════════
   24. COTIZADOR
═══════════════════════════════════════════════════════ */
.cotizador-section { padding-block: var(--py-section); }
.cotizador-header  {
  max-width: 600px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.cotizador-header .eyebrow   { margin-bottom: 8px; }
.cotizador-header .body-lg   { margin-top: 14px; }
.coti-success-msg {
  max-width: 560px;
}

/* Card container */
.cotizador {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 760px;
}
.section-light .cotizador {
  background: #fff;
  box-shadow: 0 4px 40px rgba(13,9,5,.07);
}

/* Progress bar */
.coti-progress-wrap {
  height: 3px;
  background: var(--border);
  width: 100%;
}
.coti-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.coti-step-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 14px clamp(24px,4vw,44px) 0;
  margin: 0;
}

/* Form & steps */
.coti-form { position: relative; }
.coti-step {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
}
.coti-step.active { display: flex; }
.coti-step-titulo {
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text);
  margin: 0;
}

/* Option cards */
.coti-opciones {
  display: grid;
  gap: 10px;
}
.coti-grid-5 { grid-template-columns: repeat(5, 1fr); }
.coti-grid-4 { grid-template-columns: repeat(2, 1fr); }
.coti-opcion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
  text-align: center;
  user-select: none;
}
.section-light .coti-opcion {
  background: #f5f0e9;
  border-color: rgba(13,9,5,.12);
}
.coti-opcion input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.coti-opcion:hover {
  border-color: var(--border-gold);
  background: var(--surface-3, var(--surface-2));
  transform: translateY(-1px);
}
.coti-opcion.coti-selected {
  border-color: var(--accent);
  background: rgba(140,28,28,.08);
}
.section-light .coti-opcion.coti-selected {
  background: rgba(140,28,28,.06);
}
.coti-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.coti-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.coti-desc {
  font-size: .75rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-top: 2px;
}

/* Service card variant (with description) */
.coti-opcion-serv {
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  gap: 6px;
}

/* Form fields */
.coti-campo {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.coti-campo label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.coti-campo label span[aria-hidden] { color: var(--accent); }
.coti-campo input,
.coti-campo textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 11px 15px;
  font-family: var(--font-b);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .2s, background .2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.section-light .coti-campo input,
.section-light .coti-campo textarea {
  background: #f5f0e9;
  border-color: rgba(13,9,5,.14);
  color: rgba(13,9,5,.9);
}
.coti-campo input::placeholder,
.coti-campo textarea::placeholder { color: var(--text-4); }
.section-light .coti-campo input::placeholder,
.section-light .coti-campo textarea::placeholder { color: rgba(13,9,5,.35); }
.coti-campo input:focus,
.coti-campo textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
}
.section-light .coti-campo input:focus,
.section-light .coti-campo textarea:focus {
  background: #fff;
}
.coti-campo textarea {
  resize: vertical;
  min-height: 90px;
}
.coti-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Range slider */
.coti-personas-val {
  font-family: var(--font-d);
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent);
  font-style: normal;
}
.coti-slider-wrap { display: flex; flex-direction: column; gap: 6px; }
.coti-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border-strong);
  cursor: pointer;
  outline: none;
}
.section-light .coti-range { background: rgba(13,9,5,.18); }
.coti-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(140,28,28,.18);
  transition: box-shadow .2s;
}
.coti-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}
.coti-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(140,28,28,.28); }
.coti-slider-extremos {
  display: flex;
  justify-content: space-between;
  font-size: .68rem;
  color: var(--text-4);
}

/* Estimado de precio */
.coti-estimado {
  background: rgba(184,146,42,.07);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeSlideUp .3s ease;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.coti-est-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.coti-est-valor {
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  margin: 2px 0;
}
.section-light .coti-est-valor { color: rgba(13,9,5,.9); }
.coti-est-nota {
  font-size: .72rem;
  color: var(--text-3);
}

/* Resumen mini */
.coti-resumen-mini { margin-bottom: 4px; }
.coti-resumen-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.section-light .coti-resumen-box {
  background: #f5f0e9;
  border-color: rgba(13,9,5,.12);
}
.coti-res-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .84rem;
}
.coti-res-row:last-child { border-bottom: none; }
.coti-res-row span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-4);
}
.coti-res-row strong { color: var(--text); }
.section-light .coti-res-row strong { color: rgba(13,9,5,.9); }

/* Navigation */
.coti-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}
.coti-nav-final { align-items: flex-start; flex-wrap: wrap; }
.coti-final-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.coti-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}


/* ════════════════════════════════════════════════════
   25. FAQ ACCORDION
═══════════════════════════════════════════════════════ */
.eventos-faq,
.faq-section {
  padding-block: var(--py-section);
}
.eventos-faq > .container > .eyebrow,
.faq-section  > .container > .eyebrow    { margin-bottom: 8px; }
.eventos-faq > .container > .display-lg,
.faq-section  > .container > .display-lg { margin-bottom: clamp(32px,4vw,52px); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  transition: color .2s;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--gold-light); }
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: transform .25s ease, border-color .2s;
}
.faq-icon::before { content: '+'; line-height: 1; }
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--accent); }
.faq-item[open] .faq-q    { color: var(--gold-light); }
.faq-a {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.7;
  padding: 0 2px 20px;
  margin: 0;
  max-width: 62ch;
}


/* ─── Responsive eventos + cotizador ─── */
@media (max-width: 1024px) {
  .servicio-ev-card    { grid-template-columns: 220px 1fr; }
}
@media (max-width: 900px) {
  .coti-grid-5         { grid-template-columns: repeat(3, 1fr); }
  .coti-grid-4         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .servicio-ev-card    { grid-template-columns: 1fr; }
  .servicio-ev-img     { aspect-ratio: 16/9; max-height: 240px; }
  .coti-fila           { grid-template-columns: 1fr; }
  .coti-grid-5         { grid-template-columns: repeat(2, 1fr); }
  .coti-final-btns     { flex-direction: column; align-items: stretch; }
  .coti-wa-direct      { justify-content: center; }
}
@media (max-width: 540px) {
  .coti-grid-5         { grid-template-columns: 1fr 1fr; }
  .coti-grid-4         { grid-template-columns: 1fr; }
  .eventos-chips-lg    { gap: 6px; }
}


/* ════════════════════════════════════════════════════
   26. WHATSAPP FLOAT (todas las páginas)
═══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.40);
  z-index: 950;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.8s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { opacity: .55; transform: scale(1);   }
  70%  { opacity: 0;   transform: scale(1.55); }
  100% { opacity: 0;   transform: scale(1.55); }
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.wa-float svg { position: relative; z-index: 1; }

@media (max-width: 560px) {
  .wa-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .wa-float svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}


/* ════════════════════════════════════════════════════
   27. EVENTOS HERO SPLIT + COTIZADOR CARD
═══════════════════════════════════════════════════════ */

/* Override hero defaults para la página de eventos */
.hero-eventos {
  height: auto;        /* quita el 100svh fijo que recorta el form */
  min-height: 0;
  overflow: visible;   /* permite que la card crezca sin ser clippeada */
  align-items: stretch;
}
.hero-eventos .hero-bg { overflow: hidden; } /* bg queda clippeado dentro de sí mismo */
.hero-eventos .hero-scroll { display: none; }

/* Layout split dentro del container */
.hero-ev-split {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 72px);
  padding-block: clamp(100px, 12vw, 130px) clamp(60px, 7vw, 80px);
  position: relative;
  z-index: 1;
}

/* Columna izquierda */
.hero-ev-left { flex: 1; min-width: 0; }
.hero-ev-left .display-xl { margin-block: 18px 16px; }

/* Chips en el hero (hero-chips es alias de hero-ev-chips) */
.hero-chips,
.hero-ev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 28px;
}
.hero-ev-chips span,
.hero-chips .hero-chip,
.hero-chips span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}
.hero-ev-wa,
.hero-wa-btn { align-self: flex-start; }
.hero-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 10px 0;
  transition: color .2s;
}
.hero-wa-btn:hover { color: var(--text); }

/* Card cotizador (derecha) */
.hero-coti-card {
  width: 460px;
  flex-shrink: 0;
  background: #FAF7F2;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 60px rgba(0,0,0,.42);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Cabecera de la card */
.hero-coti-head {
  background: var(--accent);
  padding: 20px 24px 18px;
}
.hero-coti-head .eyebrow {
  color: rgba(255,255,255,.6);
  margin: 0 0 4px;
}
.hero-coti-subtitle {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin: 0;
  font-family: var(--font-b);
}

/* Cuerpo del formulario */
.hero-coti-form {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Inputs/selects/textareas en la card clara */
.hero-coti-card .coti-campo          { gap: 5px; }
.hero-coti-card .coti-fila           { gap: 12px; }
.hero-coti-card .coti-campo label {
  color: rgba(13,9,5,.78);
}
.hero-coti-card .coti-campo label small {
  color: rgba(13,9,5,.50);
  font-size: .65rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.hero-coti-card .coti-campo input,
.hero-coti-card .coti-campo select,
.hero-coti-card .coti-campo textarea {
  background: #fff;
  border-color: rgba(13,9,5,.15);
  color: rgba(13,9,5,.85);
}
.hero-coti-card .coti-campo input::placeholder,
.hero-coti-card .coti-campo textarea::placeholder { color: rgba(13,9,5,.45); }
.hero-coti-card .coti-campo input:focus,
.hero-coti-card .coti-campo select:focus,
.hero-coti-card .coti-campo textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(140,28,28,.1);
}
.hero-coti-card .coti-campo select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(13%2C9%2C5%2C.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Slider en la card */
.hero-coti-card .coti-range          { background: rgba(13,9,5,.15); }
.hero-coti-card .coti-slider-extremos{ color: rgba(13,9,5,.35); }
.hero-coti-card .coti-personas-val   { color: var(--accent); }

/* Estimado en la card */
.hero-coti-card .coti-estimado {
  background: rgba(184,146,42,.07);
  border-color: rgba(184,146,42,.25);
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 12px 16px;
}
.hero-coti-card .coti-est-label { font-size: .6rem; white-space: nowrap; }
.hero-coti-card .coti-est-valor {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(13,9,5,.88);
}
.hero-coti-card .coti-est-nota {
  width: 100%;
  font-size: .63rem;
  color: rgba(13,9,5,.38);
}

/* Errores en la card */
.hero-coti-card .form-errors { font-size: .82rem; padding: 12px 16px; }

/* Fila de envío */
.coti-submit-row {
  display: flex;
  gap: 10px;
}
.coti-submit-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}
.coti-wa-link {
  flex-shrink: 0;
  white-space: nowrap;
  border-color: rgba(13,9,5,.2);
  color: rgba(13,9,5,.7);
}
.coti-wa-link:hover {
  border-color: rgba(13,9,5,.4);
  color: rgba(13,9,5,.9);
  background: rgba(13,9,5,.04);
}


/* ── Servicios: badge + precio + CTA ─────────────── */
.sev-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: -2px;
}
.sev-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(140,28,28,.1);
  color: var(--accent);
  border: 1px solid rgba(140,28,28,.2);
}
.sev-precio-range {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.sev-precio-desde {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-4);
}
.sev-precio-val {
  font-family: var(--font-d);
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
}
.sev-precio-unit {
  font-size: .72rem;
  color: var(--text-4);
}
.sev-coti-btn {
  align-self: flex-start;
  margin-top: 6px;
  font-size: .78rem;
}

/* Responsive eventos hero */
@media (max-width: 1100px) {
  .hero-coti-card { width: 420px; }
}
@media (max-width: 900px) {
  .hero-ev-split {
    flex-direction: column;
    padding-block: 100px 48px;
    gap: 36px;
  }
  .hero-coti-card {
    width: 100%;
    max-width: 560px;
  }
}
@media (max-width: 600px) {
  .hero-ev-split { padding-block: 88px 40px; gap: 28px; }
  .hero-coti-card { max-width: 100%; }
  .hero-coti-form { padding: 16px 18px 20px; gap: 12px; }
  .coti-submit-row { flex-direction: column; }
  .coti-wa-link { text-align: center; justify-content: center; }
  .hero-ev-chips span { font-size: .63rem; padding: 4px 10px; }
}


/* ── Cotizador sub-eventos: radio, success, error ───── */
.coti-radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 10px 0 4px;
}
.coti-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(13,9,5,.78);
  cursor: pointer;
}
.hero-coti-card .coti-radio input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.coti-success {
  background: rgba(140,28,28,.07);
  border: 1px solid rgba(140,28,28,.25);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  font-size: .88rem;
  color: rgba(13,9,5,.82);
}
.coti-error {
  background: rgba(200,50,50,.08);
  border: 1px solid rgba(200,50,50,.25);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .82rem;
  color: #b83030;
  margin-bottom: 12px;
}

/* ── Sub-páginas de eventos: sev-section ────────────── */
.sev-section { padding-block: clamp(56px, 8vw, 96px); }
.sev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: clamp(32px, 4vw, 52px);
}
.sev-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.sev-card-icon {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.sev-card-icon svg { width: 28px; height: 28px; }
.sev-card h3 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  color: var(--text);
}
.sev-card p { font-size: .88rem; line-height: 1.6; color: var(--text-2); }

/* ── Galería de 3 fotos en sub-páginas de eventos ── */
.sev-photos { overflow: hidden; }
.sev-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.sev-photo { overflow: hidden; }
.sev-photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.sev-photo:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .sev-photos-grid { grid-template-columns: 1fr 1fr; }
  .sev-photo:first-child { grid-column: span 2; }
  .sev-photo:first-child img { aspect-ratio: 2/1; }
}


/* ════════════════════════════════════════════════════
   28. BLOG — listado + artículo
═══════════════════════════════════════════════════════ */

/* Page hero (blog listing) */
.page-hero {
  padding-block: clamp(100px, 12vw, 140px) clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.page-hero .display-xl { margin-bottom: 18px; }
.page-hero-sub { max-width: 560px; color: var(--text-2); }

/* Blog grid */
.blog-section { padding-block: var(--py-section); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 40px);
}
.blog-grid-sm { grid-template-columns: repeat(2, 1fr); }

/* Blog card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--sh-md);
}
.blog-card-img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.85);
  transition: transform .65s ease, filter .3s ease;
}
.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.04);
  filter: brightness(.95) saturate(.95);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.5vw, 28px);
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card-date {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-4);
}
.blog-card-cat {
  font-size: .62rem;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(184,146,42,.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}
.blog-card-titulo {
  font-family: var(--font-d);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.15;
}
.blog-card-titulo a { transition: color .2s; }
.blog-card-titulo a:hover { color: var(--gold-light); }
.blog-card-extracto {
  font-size: .83rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: color .2s, letter-spacing .2s;
  margin-top: auto;
}
.blog-card-link:hover { color: var(--text); letter-spacing: .12em; }

/* Sección relacionados */
.blog-relacionados { padding-block: var(--py-section); }
.blog-relacionados > .container > .eyebrow    { margin-bottom: 8px; }
.blog-relacionados > .container > .display-lg { margin-bottom: clamp(32px,4vw,52px); }

/* Artículo individual */
.articulo-hero {
  position: relative;
  height: clamp(280px, 40vw, 520px);
  overflow: hidden;
}
.articulo-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.7) saturate(.8);
}
.articulo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%);
}

.articulo-wrap {
  padding-block: clamp(40px, 5vw, 64px) clamp(60px, 7vw, 96px);
}

.articulo-header { max-width: 760px; margin-bottom: clamp(36px,5vw,60px); }
.articulo-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.articulo-cat   { color: var(--gold-light); }
.articulo-fecha {
  font-size: .72rem;
  color: var(--text-4);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.articulo-titulo {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}
.articulo-extracto {
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 65ch;
}

/* Content + aside layout */
.articulo-content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* Article body typography */
.articulo-body {
  font-size: .925rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 68ch;
}
.articulo-body p  { margin-bottom: 1.1em; }
.articulo-body h2 {
  font-family: var(--font-d);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text);
  margin: 2em 0 .75em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
}
.articulo-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.articulo-body ul {
  padding-left: 1.25em;
  margin-bottom: 1.1em;
  list-style: disc;
}
.articulo-body li { margin-bottom: .5em; }
.articulo-body strong { font-weight: 700; color: var(--text); }
.articulo-body em    { font-style: italic; color: var(--text); }
.articulo-body a     { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.articulo-body a:hover { color: var(--text); }

/* Sidebar CTA */
.articulo-aside { position: sticky; top: 100px; }
.articulo-cta-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.articulo-cta-box .eyebrow { margin-bottom: 0; }
.articulo-cta-box h3 {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: -2px 0 4px;
}
.articulo-cta-box p {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Responsive blog */
@media (max-width: 1100px) {
  .articulo-content-wrap { grid-template-columns: 1fr 240px; }
}
@media (max-width: 900px) {
  .blog-grid              { grid-template-columns: 1fr 1fr; }
  .articulo-content-wrap  { grid-template-columns: 1fr; }
  .articulo-aside         { position: static; }
  .articulo-cta-box       { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; }
  .articulo-cta-box h3    { flex-basis: 100%; }
  .articulo-cta-box .btn  { flex: 1; min-width: 140px; width: auto !important; }
}
@media (max-width: 600px) {
  .blog-grid              { grid-template-columns: 1fr; }
  .blog-grid-sm           { grid-template-columns: 1fr; }
  .articulo-cta-box       { flex-direction: column; }
  .articulo-cta-box .btn  { width: 100% !important; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE-ONLY UI FIXES (≤768px)
   ─ Header, menú, footer y offset de nav fijo
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* 0 ── Logo más pequeño en mobile */
  .nav-logo img { width: auto; max-height: 48px; }

  /* 1 ── Header: ocultar botón rojo Contactar */
  .nav-cta { display: none; }

  /* 2 ── Menú mobile: ocultar sub-dropdowns de Eventos
     y mostrar link de Contacto (añadido en header.php) */
  .nav-dropdown { display: none !important; }
  .has-dropdown > .nav-link { pointer-events: auto; }
  .nav-mobile-only { display: list-item !important; }

  /* 3 ── Offset de nav fijo: main empuja su contenido hacia abajo */
  main { padding-top: 70px; }
  /* Hero de portada ocupa viewport completo → cancelar el offset */
  main > .hero:first-child { margin-top: -70px; }
  /* page-hero ya incluía 80px para la nav → quitarlos (main ya los aporta) */
  .page-hero { padding-top: clamp(40px, 6vw, 72px); }

  /* 4 ── Footer: sólo Logo + Contacto (teléfono, email, WhatsApp) */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* Ocultar columnas de links (Productos / Servicios) */
  .footer-col:not(:last-child) { display: none; }
  /* Logo centrado */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-column: 1;
  }
  /* Ocultar tagline, fecha y redes en footer mobile */
  .footer-tagline,
  .footer-since,
  .footer-social { display: none; }
  /* Footer bottom centrado */
  .footer-bottom { justify-content: center; text-align: center; }
}


/* ════════════════════════════════════════════════════
   EXTENSIÓN: DÓNDE ESTAMOS — mapa Leaflet + tiendas
═══════════════════════════════════════════════════════ */

/* Sección mapa (Leaflet) */
.donde-mapa-section {
  position: relative;
}
.donde-mapa-card-wrap {
  padding-block: clamp(28px, 4vw, 52px);
}

/* Tiendas lista */
.donde-tiendas-section { padding-block: var(--py-section); }
.donde-tiendas-section > .container > .display-lg { margin: 8px 0 clamp(28px, 4vw, 48px); }

.donde-tiendas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  border-top: 1px solid var(--border);
}

.donde-tienda-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.donde-tienda-item:hover { background: var(--surface); }

.donde-tienda-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
  flex-shrink: 0;
}

.donde-tienda-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.donde-tienda-info strong {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}
.donde-tienda-info strong a {
  color: var(--text);
  transition: color .2s;
}
.donde-tienda-info strong a:hover { color: var(--gold-light); }
.donde-tienda-info span {
  font-size: .75rem;
  color: var(--text-3);
}
.donde-tienda-info small {
  font-size: .72rem;
  color: var(--text-4);
}

/* Tarjeta despacho */
.donde-despacho-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════
   EXTENSIÓN: NOSOTROS — CAPACITACIONES
═══════════════════════════════════════════════════════ */

.nosotros-caps { padding-block: var(--py-section); }

.caps-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.caps-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.caps-item--reverse { direction: rtl; }
.caps-item--reverse > * { direction: ltr; }

.caps-img {
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
}
.caps-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caps-info { display: flex; flex-direction: column; gap: 10px; }
.caps-info .eyebrow { margin-bottom: 0; }
.caps-info h3 {
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}
.caps-info p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .caps-item, .caps-item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ════════════════════════════════════════════════════
   EXTENSIÓN: CARRUSEL LOGOS RESTAURANTES
═══════════════════════════════════════════════════════ */

.logos-section { padding-block: var(--py-section); overflow: hidden; }
.logos-section > .container > .display-lg {
  margin-top: 8px;
}

.logos-carrusel-wrap {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  margin-block: clamp(20px, 3vw, 36px) 0;
}

.logos-carrusel-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: carrusel-scroll 32s linear infinite;
}
.logos-carrusel-track:hover { animation-play-state: paused; }

@keyframes carrusel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logos-item {
  flex-shrink: 0;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  padding-inline: 24px;
}

.logos-item img {
  max-width: 120px;
  max-height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .3s;
}
.logos-item img:hover { opacity: .85; }

.logos-placeholder {
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-4);
  text-align: center;
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════
   EXTENSIÓN: CATÁLOGO — clase peso tag (productos.php)
═══════════════════════════════════════════════════════ */

.catalogo-peso-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
}

/* Footer logos bar */
.footer-logos-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding-block: 4px;
}

/* ════════════════════════════════════════════════════
   EXTENSIÓN: NOSOTROS — galería fotos equipo
═══════════════════════════════════════════════════════ */

.nosotros-galeria { padding-block: var(--py-section); }

.nosotros-galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.galeria-item {
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
}
.galeria-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.galeria-item:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .nosotros-galeria-grid { grid-template-columns: 1fr; }
  .galeria-item--tall { grid-row: span 1; aspect-ratio: 4 / 3; }
}

/* Responsive — carrusel logos y tiendas */
@media (max-width: 600px) {
  .donde-tiendas-grid { grid-template-columns: 1fr 1fr; }
  .logos-item { width: 140px; padding-inline: 16px; }
  .donde-despacho-inner { flex-direction: column; gap: 16px; }
}


/* ═══════════════════════════════════════════════════════════
   CAPACITACIONES — grid de casos
═══════════════════════════════════════════════════════════ */
.cap-section { padding-block: 80px; }
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-intro .display-lg { margin-block: 12px 16px; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.cap-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.cap-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.cap-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cap-card:hover .cap-card-img-wrap img { transform: scale(1.04); }

.cap-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13,9,5,.75);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.cap-card-body {
  padding: 22px 24px 26px;
}
.cap-card-titulo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text);
}
.cap-card-texto {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-2);
}

/* CTA capacitaciones */
.cap-cta-section { padding-block: 60px; }
.cap-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cap-cta-text { max-width: 520px; }
.cap-cta-text .display-md { margin-block: 10px 14px; }
.cap-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Noticias intro */
.blog-section .section-intro { margin-top: 0; }

/* ═══════════════════════════════════════════════════════════
   EVENTOS — categorías + secciones
═══════════════════════════════════════════════════════════ */
.ev-cats-section { padding-block: 80px; }

.ev-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ev-cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.ev-cat-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.ev-cat-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ev-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ev-cat-card:hover .ev-cat-img-wrap img { transform: scale(1.04); }

.ev-cat-body { padding: 22px 24px 26px; }
.ev-cat-titulo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.ev-cat-sub {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 14px;
}
.ev-cat-link {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Secciones por categoría */
.ev-seccion { padding-block: 80px; }
.ev-seccion-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ev-seccion-inner--reverse { direction: rtl; }
.ev-seccion-inner--reverse > * { direction: ltr; }

.ev-seccion-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ev-seccion-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ev-seccion-text .display-lg { margin-block: 10px 18px; }
.ev-seccion-text .body-lg { margin-bottom: 24px; color: var(--text-2); }

.ev-servicios-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.ev-servicios-lista li {
  font-size: .875rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}
.ev-servicios-lista li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.ev-sub-servicios {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.ev-sub-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.ev-sub-item p {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-2);
}

/* Formulario de eventos */
.ev-form-section { padding-block: 80px; }
.ev-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.ev-form-intro .display-lg { margin-block: 10px 16px; }
.ev-form-intro .body-lg { color: var(--text-2); margin-bottom: 28px; }
.ev-form-datos { display: flex; gap: 12px; flex-wrap: wrap; }
.ev-wa-btn { gap: 8px; }

/* Responsive capacitaciones */
@media (max-width: 960px) {
  .cap-grid      { grid-template-columns: 1fr 1fr; }
  .ev-cats-grid  { grid-template-columns: 1fr 1fr; }
  .ev-seccion-inner { grid-template-columns: 1fr; gap: 36px; }
  .ev-seccion-inner--reverse { direction: ltr; }
  .ev-form-wrap  { grid-template-columns: 1fr; gap: 36px; }
  .cap-cta       { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .cap-grid      { grid-template-columns: 1fr; }
  .ev-cats-grid  { grid-template-columns: 1fr; }
  .ev-servicios-lista { grid-template-columns: 1fr; }
}

/* Sub-servicios en grid (para páginas de categoría) */
.ev-sub-servicios--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 0;
}
.ev-sub-servicios--grid .ev-sub-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
}
.ev-sub-servicios--grid .ev-sub-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .ev-sub-servicios--grid { grid-template-columns: 1fr; }
}

/* ── Galería 3 fotos sub-páginas eventos ─────────────────── */
.ev-galeria { padding: clamp(40px,5vw,72px) 0; background: var(--bg); }
.ev-galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ev-galeria-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
}
.ev-galeria-grid img:hover { transform: scale(1.02); opacity: .9; }
@media (max-width: 700px) {
  .ev-galeria-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
}

/* ── Galería de eventos y producción ────────────────────── */
.galeria-section {
  padding: clamp(40px,5vw,72px) 0;
  background: #e8e8e6;
}
.galeria-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px,3vw,40px);
}
.galeria-filter-btn {
  padding: 7px 18px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(0,0,0,.55);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.galeria-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.galeria-filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184,146,42,.12);
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.galeria-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  background: #ccc;
  cursor: pointer;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.galeria-item:hover img { transform: scale(1.06); }
.galeria-item.is-hidden { display: none; }
@media (max-width: 960px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .galeria-filter-btn { font-size: .75rem; padding: 6px 12px; }
}

/* Lightbox básico galería */
.galeria-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.galeria-lightbox.open { opacity: 1; pointer-events: all; }
.galeria-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.galeria-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}
.galeria-lightbox-close:hover { opacity: 1; }
