/* ==========================================================================
   CASA LUIS — HOJA DE ESTILOS DE LA PÁGINA "ORIGEN"
   Identidad Visual Oficial: Lujo Silencioso, Contemporáneo y Cercano
   Basado estrictamente en identidadVisualCasaLuis.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. IMPORTACIÓN DE TIPOGRAFÍAS
   - Cinzel: Wordmark Casa Luis, títulos de sección y jerarquía de marca
   - Marcellus: Cuerpo editorial, notas, citas, descripciones y subtítulos
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Marcellus&display=swap');

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS (PALETA OFICIAL CASA LUIS)
   -------------------------------------------------------------------------- */
:root {
  /* Tonos neutros oficiales de la marca madre */
  --cl-bg-base: #202021;
  --cl-surface: #272728;
  --cl-surface-card: #1c1c1d;
  --cl-surface-card-hover: #242426;
  --cl-border: #38383a;
  --cl-border-subtle: rgba(240, 232, 219, 0.1);
  --cl-border-gold: rgba(201, 154, 46, 0.25);
  
  --cl-gray-dark: #4F4F4F;
  --cl-gray-mid: #7F7F7F;
  --cl-gray-light: #ADADAD;
  --cl-gray-pale: #D6D6D6;
  --cl-cream-light: #F0E8DB;
  --cl-cream-warm: #EEE6D9;

  /* Acentos de producto / terroir */
  --cl-gold-mezcal: #C99A2E;
  --cl-gold-glow: rgba(201, 154, 46, 0.18);
  --cl-red-chiltetrepo: #B52919;
  --cl-red-soft: rgba(181, 41, 25, 0.15);

  /* Familias Tipográficas */
  --font-brand: 'Cinzel', Georgia, serif;
  --font-body: 'Marcellus', Georgia, serif;

  /* Espaciados */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6.5rem;
  --space-3xl: 9.5rem;

  /* Transiciones */
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.25s var(--ease-smooth);
  --transition-normal: 0.45s var(--ease-luxury);
  --transition-slow: 0.85s var(--ease-luxury);

  /* Sombras */
  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.7);
  --shadow-elevated: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   3. RESET Y ESTILOS BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background-color: var(--cl-bg-base);
  color: var(--cl-cream-warm);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--cl-bg-base);
  position: relative;
}

/* Enlaces semánticos invisibles (Requisito Estricto) */
a.invisible-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

a.invisible-link:focus-visible {
  outline: 1px solid var(--cl-cream-light);
  outline-offset: 4px;
}

img, video {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Contenedor general */
.container-narrow {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container-editorial {
  width: 88%;
  max-width: 1050px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. BARRA DE NAVEGACIÓN SUPERIOR (CABECERA)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.8rem;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(16, 16, 17, 0.88) 0%, rgba(16, 16, 17, 0.4) 75%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 232, 219, 0.05);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(24, 24, 25, 0.95);
  border-bottom: 1px solid var(--cl-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-logo-img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-fast);
}

.header-brand:hover .header-logo-img {
  transform: scale(1.05) rotate(2deg);
}

.header-brand-name {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-item {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--cl-gray-pale);
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--cl-cream-light);
  transition: width var(--transition-fast);
}

.nav-item:hover {
  color: var(--cl-cream-light);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item.active {
  color: var(--cl-cream-light);
}

.nav-back-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--cl-gray-light);
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--cl-border-subtle);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-back-link:hover {
  color: var(--cl-cream-light);
  border-color: var(--cl-gray-pale);
  background: rgba(240, 232, 219, 0.05);
}

/* Menú móvil */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--cl-cream-light);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   5. SECCIÓN 1: HERO SECTION (EL IMPACTO VISUAL)
   - Ocupa 100vw y 100vh
   - Video de fondo: Imagenes/ChiltetrepoHorizonte.mp4
   - Título poderoso y emocional, subtítulo y prompt de scroll
   -------------------------------------------------------------------------- */
.origen-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0d0d0e;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.82) contrast(1.06);
}

/* Capas cinematográficas de gradiente para contraste supremo */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 16, 17, 0.42) 0%, rgba(13, 13, 14, 0.82) 80%, #0d0d0e 100%);
  z-index: 2;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 17, 0.72) 0%, transparent 40%, rgba(32, 32, 33, 0.95) 92%, var(--cl-bg-base) 100%);
  z-index: 3;
}

.hero-content-box {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 960px;
  padding: 0 1.8rem;
  animation: heroFadeInUp 1.2s var(--ease-luxury) forwards;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cl-gray-pale);
  margin-bottom: 1.4rem;
  opacity: 0.95;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--cl-gray-mid);
}

.hero-main-title {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.6rem;
  text-shadow: 0 6px 35px rgba(0, 0, 0, 0.9), 0 0 45px rgba(201, 154, 46, 0.2);
}

.hero-subtitle-text {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cl-cream-warm);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 2.8rem;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.85);
  opacity: 0.95;
}

.hero-scroll-prompt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--cl-gray-light);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.hero-scroll-prompt:hover {
  color: var(--cl-cream-light);
  transform: translateY(3px);
}

.scroll-icon-animated {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(240, 232, 219, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-icon-animated::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background-color: var(--cl-cream-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  75% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   6. ESTILOS COMUNES DE SECCIÓN (EDITORIAL Y LUJO)
   -------------------------------------------------------------------------- */
.origen-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background-color: var(--cl-bg-base);
  border-bottom: 1px solid var(--cl-border-subtle);
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cl-gray-light);
  margin-bottom: 0.9rem;
  display: block;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
  line-height: 1.22;
  margin-bottom: 1.4rem;
}

.section-intro-text {
  font-family: var(--font-body);
  font-size: 1.22rem;
  line-height: 1.8;
  color: var(--cl-cream-warm);
  margin-bottom: 2.2rem;
}

.paragraph-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--cl-gray-pale);
  margin-bottom: 1.5rem;
}

.paragraph-text strong {
  color: var(--cl-cream-light);
  font-weight: 600;
}

/* Separadores discretos */
.gold-divider {
  width: 55px;
  height: 1px;
  background: linear-gradient(90deg, var(--cl-gold-mezcal), transparent);
  margin: 1.8rem 0 2.2rem;
}

/* --------------------------------------------------------------------------
   7. SECCIÓN 2: EL ORIGEN Y LAS RAÍCES (NUESTRA HISTORIA)
   - Don Luis: Maestro Mezcalero Luis Alberto Espinoza Tapia
   - Chiltepec y tradición familiar
   -------------------------------------------------------------------------- */
.roots-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

/* Retrato de Don Luis */
.portrait-media-card {
  position: relative;
  background: var(--cl-surface-card);
  border: 1px solid var(--cl-border);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.portrait-media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 232, 219, 0.22);
}

.portrait-media-wrapper {
  position: relative;
  overflow: hidden;
  background: #141415;
}

.portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(18%) contrast(1.05);
  transition: filter var(--transition-normal), transform var(--transition-normal);
}

.portrait-media-card:hover .portrait-img {
  filter: grayscale(0%) contrast(1.08);
  transform: scale(1.02);
}

.portrait-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(20, 20, 21, 0.88);
  backdrop-filter: blur(8px);
  padding: 0.9rem 1.2rem;
  border-left: 2px solid var(--cl-gold-mezcal);
}

.portrait-badge-name {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cl-cream-light);
  display: block;
}

.portrait-badge-role {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cl-gray-light);
}

/* Columna de Texto Editorial */
.story-editorial-content {
  display: flex;
  flex-direction: column;
}

.quote-box {
  margin: 2.2rem 0;
  padding: 1.5rem 1.8rem;
  background: rgba(39, 39, 40, 0.4);
  border-left: 2px solid var(--cl-cream-light);
  border-radius: 0 4px 4px 0;
}

.quote-text {
  font-family: var(--font-body);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--cl-cream-warm);
  margin-bottom: 0.6rem;
}

.quote-author {
  font-family: var(--font-brand);
  font-size: 0.86rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cl-gray-light);
}

/* --------------------------------------------------------------------------
   8. SECCIÓN 3: EL TERRUÑO Y LA PLANTA (DE DÓNDE VENIMOS)
   - Chiltepec, faldas del Nevado de Toluca
   - Altitud, tierra volcánica y tiempo de maduración de agaves
   -------------------------------------------------------------------------- */
.terruno-section {
  background: linear-gradient(180deg, var(--cl-bg-base) 0%, #171718 100%);
}

.terruno-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem;
}

.terruno-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.terruno-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cl-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-brand);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--cl-cream-light);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cl-gray-light);
}

/* Galería / Composición del Terruño */
.terruno-gallery-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.terruno-card-main {
  position: relative;
  border: 1px solid var(--cl-border);
  background: var(--cl-surface-card);
  padding: 0.8rem;
  box-shadow: var(--shadow-card);
}

.terruno-img-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.terruno-card-caption {
  padding: 0.9rem 0.5rem 0.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--cl-gray-light);
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
}

.terruno-card-caption strong {
  color: var(--cl-cream-light);
}

/* Fila de agaves y paciencia geológica */
.agaves-feature-banner {
  background: var(--cl-surface-card);
  border: 1px solid var(--cl-border);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-subtle);
}

.agaves-feature-img-wrapper {
  overflow: hidden;
  border: 1px solid rgba(240, 232, 219, 0.08);
}

.agaves-feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.agaves-feature-banner:hover .agaves-feature-img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   9. SECCIÓN 4: EL PROCESO ARTESANAL (PASO A PASO)
   - Jima, Cocción, Molienda, Fermentación, Destilación
   -------------------------------------------------------------------------- */
.process-section {
  background-color: var(--cl-bg-base);
}

.process-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem;
}

.process-timeline-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
}

.process-timeline-container::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 3rem;
  width: 1px;
  background: linear-gradient(180deg, var(--cl-cream-light) 0%, rgba(240, 232, 219, 0.15) 85%, transparent 100%);
  z-index: 1;
}

.process-step-item {
  position: relative;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2.5rem;
  z-index: 2;
}

.process-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-roman-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--cl-surface);
  border: 1px solid var(--cl-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cl-cream-light);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(240, 232, 219, 0.05);
  transition: all var(--transition-normal);
}

.process-step-item:hover .step-roman-badge {
  background-color: var(--cl-cream-light);
  color: var(--cl-bg-base);
  border-color: var(--cl-cream-light);
  box-shadow: 0 0 25px rgba(240, 232, 219, 0.35);
}

.process-step-card {
  background: var(--cl-surface-card);
  border: 1px solid var(--cl-border);
  padding: 2.4rem 2.8rem;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.process-step-card:hover {
  transform: translateX(6px);
  border-color: rgba(240, 232, 219, 0.25);
  background-color: var(--cl-surface-card-hover);
}

.step-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.step-card-title {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cl-cream-light);
}

.step-card-detail-pill {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cl-gold-mezcal);
  background: rgba(201, 154, 46, 0.08);
  border: 1px solid rgba(201, 154, 46, 0.22);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.step-card-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--cl-gray-pale);
}

/* --------------------------------------------------------------------------
   10. SECCIÓN 5: FILOSOFÍA Y COMPROMISO (EL FUTURO)
   - Sostenibilidad, manejo de residuos y comercio justo
   -------------------------------------------------------------------------- */
.philosophy-section {
  background: linear-gradient(180deg, #171718 0%, var(--cl-bg-base) 100%);
}

.philosophy-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.philosophy-card {
  background: var(--cl-surface-card);
  border: 1px solid var(--cl-border);
  padding: 3.2rem 2.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cl-cream-light), transparent);
  opacity: 0.4;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 232, 219, 0.24);
}

.philosophy-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.8rem;
  color: var(--cl-cream-light);
}

.philosophy-card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.philosophy-card-title {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cl-cream-light);
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.philosophy-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.philosophy-point-item {
  position: relative;
  padding-left: 1.8rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cl-gray-pale);
  line-height: 1.7;
}

.philosophy-point-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cl-cream-light);
  font-weight: 600;
}

.philosophy-point-item strong {
  color: var(--cl-cream-light);
}

/* --------------------------------------------------------------------------
   11. SECCIÓN 6: LLAMADO A LA ACCIÓN (EL CIERRE)
   - Tienda / Mezcales, Chiltetrepo, Contacto
   -------------------------------------------------------------------------- */
.cta-closing-section {
  padding: var(--space-3xl) 0;
  background-color: #141415;
  border-top: 1px solid rgba(240, 232, 219, 0.08);
  position: relative;
  text-align: center;
}

.cta-closing-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-emblem-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 2.2rem;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
}

.cta-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--cl-gray-pale);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* Botones principales de acción */
.btn-noble-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.8rem;
  background-color: var(--cl-cream-light);
  color: #101011 !important;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--cl-cream-light);
  border-radius: 2px;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-fast);
}

.btn-noble-primary:hover {
  background-color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(240, 232, 219, 0.25);
}

.btn-noble-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.6rem;
  background-color: transparent;
  color: var(--cl-cream-light) !important;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--cl-border);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.btn-noble-secondary:hover {
  border-color: var(--cl-cream-light);
  background-color: rgba(240, 232, 219, 0.05);
  transform: translateY(-2px);
}

.btn-noble-chiltetrepo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.6rem;
  background-color: rgba(181, 41, 25, 0.12);
  color: var(--cl-cream-light) !important;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(181, 41, 25, 0.45);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.btn-noble-chiltetrepo:hover {
  background-color: var(--cl-red-chiltetrepo);
  border-color: var(--cl-red-chiltetrepo);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(181, 41, 25, 0.4);
}

/* --------------------------------------------------------------------------
   12. FOOTER OFICIAL CASA LUIS
   -------------------------------------------------------------------------- */
.site-footer-origen {
  background-color: #0d0d0e;
  padding: 4.5rem 0 3rem;
  border-top: 1px solid var(--cl-border-subtle);
  color: var(--cl-gray-light);
}

.footer-inner-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  text-align: center;
}

.footer-brand-emblem {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-emblem-img {
  width: 34px;
  height: 34px;
  opacity: 0.85;
}

.footer-brand-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}

.footer-nav-item {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--cl-gray-light);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.footer-nav-item:hover {
  color: var(--cl-cream-light);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  fill: var(--cl-gray-light);
  transition: fill var(--transition-fast), transform var(--transition-fast);
}

.footer-social-icon:hover {
  fill: var(--cl-cream-light);
  transform: translateY(-2px);
}

.footer-credits-box {
  margin-top: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(240, 232, 219, 0.06);
  width: 100%;
  max-width: 600px;
}

.footer-credits-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--cl-gray-dark);
}

.footer-credits-text a {
  color: var(--cl-gray-mid);
  transition: color var(--transition-fast);
}

.footer-credits-text a:hover {
  color: var(--cl-cream-light);
}

/* --------------------------------------------------------------------------
   13. ANIMACIONES REVEAL-ON-SCROLL
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Retardo secuencial para hijos */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   14. MEDIA QUERIES RESPONSIVAS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header {
    padding: 0 2rem;
  }

  .roots-story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .portrait-media-card {
    max-width: 440px;
    margin: 0 auto;
  }

  .terruno-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .agaves-feature-banner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.2rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 1.5rem;
    height: 4.4rem;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 4.4rem;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 21, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--cl-border);
  }

  .header-nav.nav-open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .origen-section {
    padding: var(--space-2xl) 0;
  }

  .hero-main-title {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }

  .process-timeline-container::before {
    left: 1.5rem;
  }

  .process-step-item {
    grid-template-columns: 3.2rem 1fr;
    gap: 1.2rem;
  }

  .step-roman-badge {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .process-step-card {
    padding: 1.6rem 1.5rem;
  }

  .terruno-stats-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cta-buttons-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-noble-primary,
  .btn-noble-secondary,
  .btn-noble-chiltetrepo {
    width: 100%;
  }
}
