/* ==========================================================================
   CASA LUIS — HOJA DE ESTILOS PRINCIPAL
   Identidad Visual Oficial: Lujo Silencioso, Contemporáneo y Cercano
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. IMPORTACIÓN DE TIPOGRAFÍAS
   - Cinzel: Exclusivo para "Casa Luis", títulos principales y logotipo
   - Marcellus: Textos secundarios, descripciones, notas y cuerpo
   - Rye: Tratamiento tipográfico distintivo para Chiltetrepo
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Marcellus&family=Rye&display=swap');

/* --------------------------------------------------------------------------
   2. VARIABLES DE DISEÑO (DESIGN TOKENS)
   Basado estrictamente en identidadVisualCasaLuis.md
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Oficial Casa Luis (Marca Madre) */
  --cl-bg-base: #202021;       /* Carbón oscuro principal */
  --cl-surface: #272728;       /* Superficie elevada */
  --cl-surface-card: #1c1c1d;  /* Tarjetas oscuras */
  --cl-border: #38383a;        /* Bordes sutiles */
  --cl-gray-dark: #4F4F4F;     /* Gris oscuro */
  --cl-gray-mid: #7F7F7F;      /* Gris medio */
  --cl-gray-light: #ADADAD;    /* Gris claro */
  --cl-gray-pale: #D6D6D6;     /* Gris pálido */
  --cl-cream-light: #F0E8DB;   /* Crema claro */
  --cl-cream-warm: #EEE6D9;    /* Crema cálido */

  /* Paleta Producto — Chiltetrepo */
  --cl-red-chiltetrepo: #B52919;
  --cl-red-chiltetrepo-glow: rgba(181, 41, 25, 0.28);
  --cl-red-chiltetrepo-dark: #821b10;

  /* Tipografías */
  --font-brand: 'Cinzel', Georgia, serif;
  --font-body: 'Marcellus', Georgia, serif;
  --font-chiltetrepo: 'Abril Fatface','cizel';

  /* Espaciados */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2.5rem;   /* 40px */
  --space-xl: 4rem;     /* 64px */
  --space-2xl: 6rem;    /* 96px */
  --space-3xl: 9rem;    /* 144px */

  /* Transiciones y Curvas de Aceleración */
  --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.8s var(--ease-luxury);

  /* Sombras y Luces */
  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.65);
  --shadow-bottle: 0 25px 60px -10px 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;
  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;
  overflow-x: hidden;
}

body {
  background-color: var(--cl-bg-base);
  color: var(--cl-cream-warm);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

/* --------------------------------------------------------------------------
   4. ESTILO PARA ENLACES INVISIBLES (REGLA ESTRICTA)
   Los enlaces semánticos no deben parecer links visualmente hasta interactuar
   -------------------------------------------------------------------------- */
a,
a.invisible-link,
.invisible-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

a:hover,
a.invisible-link:hover,
.invisible-link:hover {
  text-decoration: none;
  color: inherit;
}

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

/* --------------------------------------------------------------------------
   5. HEADER / BARRA DE NAVEGACIÓN SUPERIOR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), padding var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(32, 32, 33, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 232, 219, 0.08);
  padding: 1rem 2.5rem;
}

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

.header-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-fast);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

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

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

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

.nav-item {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cl-gray-pale);
  opacity: 0.85;
  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 {
  opacity: 1;
  color: var(--cl-cream-light);
}

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

/* --------------------------------------------------------------------------
   6. HERO SECTION CON ANIMACIÓN DE VIDEO ON SCROLL
   Track extendido para permitir control fino del video mediante scroll
   -------------------------------------------------------------------------- */
.hero-scroll-track {
  position: relative;
  width: 100%;
  height: 185vh; /* Scroll optimizado y ágil: sin distancias muertas antes de llegar al producto */
  background-color: var(--cl-bg-base);
}

.hero-sticky-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  background-color: var(--cl-bg-base);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(32, 32, 33, 0.88) 0%,
    rgba(32, 32, 33, 0.65) 45%,
    rgba(32, 32, 33, 0.35) 100%
  ),
  linear-gradient(
    0deg,
    rgba(32, 32, 33, 0.95) 0%,
    transparent 35%,
    rgba(32, 32, 33, 0.4) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1300px;
  padding: 0 4rem;
  margin-top: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cl-gray-pale);
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--cl-cream-light);
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.05;
  color: var(--cl-cream-light);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cl-cream-warm);
  max-width: 720px;
  line-height: 1.4;
  opacity: 0.95;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--cl-gray-light);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.85;
}

.scroll-indicator-line {
  width: 45px;
  height: 1px;
  background: linear-gradient(90deg, var(--cl-cream-light), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--cl-cream-light);
  animation: scrollLineMove 2.2s infinite ease-in-out;
}

@keyframes scrollLineMove {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* --------------------------------------------------------------------------
   7. SECCIÓN DE PRODUCTO (CHILTETREPO)
   Transición sutil, acentos en #B52919, layout horizontal destacado
   -------------------------------------------------------------------------- */
.product-section {
  position: relative;
  width: 100%;
  padding: 2.2rem 4rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(
    ellipse at 65% 30%,
    rgba(181, 41, 25, 0.24) 0%,
    rgba(32, 32, 33, 0.98) 65%
  ),
  var(--cl-bg-base);
  border-top: 1px solid rgba(240, 232, 219, 0.16);
  border-bottom: 1px solid rgba(240, 232, 219, 0.08);
  overflow: hidden;
}

/* Sutil divisor decorativo minimalista con notoria transición */
.section-subtle-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
  opacity: 0.95;
}

.divider-line {
  flex: 1;
  max-width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 232, 219, 0.45), transparent);
}

.divider-diamond {
  width: 8px;
  height: 8px;
  background-color: var(--cl-cream-light);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(240, 232, 219, 0.7);
}

.product-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.product-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

/* Resplandor y halo atmosférico para la botella */
.product-ambient-glow {
  position: absolute;
  width: 320px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--cl-red-chiltetrepo-glow) 0%,
    rgba(181, 41, 25, 0.04) 65%,
    transparent 80%
  );
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.product-image {
  position: relative;
  z-index: 2;
  max-height: 620px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.8));
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.product-visual-wrapper:hover .product-image {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(181, 41, 25, 0.3));
}

.product-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-eyebrow {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cl-red-chiltetrepo);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.product-title {
  font-family: var(--font-chiltetrepo);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  letter-spacing: 0.08em;
  color: var(--cl-cream-light);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(240, 232, 219, 0.12);
  width: 100%;
}

.spec-pill {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cl-gray-pale);
  text-transform: uppercase;
}

.product-description {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--cl-gray-pale);
  margin-bottom: 2rem;
  max-width: 580px;
}

.product-cta-block {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
  width: 100%;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cl-gray-mid);
}

.price-value {
  font-family: var(--font-body);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--cl-cream-light);
  letter-spacing: 0.04em;
}

/* Botón Comprar de Lujo */
.btn-buy {
  background-color: var(--cl-red-chiltetrepo);
  color: var(--cl-cream-light) !important;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.15rem 3.2rem;
  border-radius: 2px;
  border: 1px solid rgba(240, 232, 219, 0.2);
  box-shadow: 0 10px 25px -5px rgba(181, 41, 25, 0.45);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.btn-buy::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 232, 219, 0.2),
    transparent
  );
  transition: left 0.7s var(--ease-luxury);
}

.btn-buy:hover {
  background-color: var(--cl-red-chiltetrepo-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(181, 41, 25, 0.65);
  border-color: var(--cl-cream-light);
}

.btn-buy:hover::before {
  left: 100%;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN DE HERENCIA Y ORÍGENES ("NUESTRAS RAÍCES")
   -------------------------------------------------------------------------- */
.roots-section {
  position: relative;
  width: 100%;
  padding: var(--space-3xl) 4rem;
  background-color: var(--cl-bg-base);
}

.roots-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.roots-section-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.roots-section-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--cl-gray-light);
  letter-spacing: 0.05em;
}

/* Contenedor central de los bloques */
.roots-content-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* --- BLOQUE 1: Don Luis (Aspect Ratio 9:16 Estricto) --- */
.roots-block-donluis {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 9rem; /* Generoso espacio en blanco para que respire y destaque */
}

.donluis-card-link {
  width: 100%;
  max-width: 480px; /* Tamaño elegante y legible */
  display: flex;
  flex-direction: column;
  background-color: var(--cl-surface-card);
  border: 1px solid rgba(240, 232, 219, 0.12);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.donluis-card-link:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 232, 219, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85);
}

.donluis-card-header {
  padding: 1.5rem 1.8rem;
  background: linear-gradient(180deg, #2a2a2b 0%, #1f1f20 100%);
  border-bottom: 1px solid rgba(240, 232, 219, 0.08);
  text-align: center;
}

.donluis-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
}

/* Contenedor estricto 9:16 para la imagen */
.donluis-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* REQUISITO ESTRICTO 9:16 */
  overflow: hidden;
  background-color: #141414;
}

.donluis-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.donluis-card-link:hover .donluis-media-img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.donluis-card-footer {
  padding: 1.6rem 2rem 2rem;
  background-color: var(--cl-surface-card);
  border-top: 1px solid rgba(240, 232, 219, 0.08);
}

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

.read-more-accent {
  display: inline-block;
  color: var(--cl-cream-light);
  font-weight: 600;
  margin-left: 0.35rem;
  border-bottom: 1px solid rgba(240, 232, 219, 0.4);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.donluis-card-link:hover .read-more-accent {
  color: var(--cl-cream-light);
  border-color: var(--cl-cream-light);
}

/* --- BLOQUE 2: El Rancho (Arreglo visual de 2 imágenes) --- */
.roots-block-rancho {
  width: 100%;
  display: flex;
  justify-content: center;
}

.rancho-card-link {
  width: 100%;
  max-width: 960px;
  background-color: var(--cl-surface-card);
  border: 1px solid rgba(240, 232, 219, 0.12);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.rancho-card-link:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 232, 219, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85);
}

.rancho-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background-color: rgba(240, 232, 219, 0.1);
}

.rancho-photo-item {
  position: relative;
  height: 380px;
  overflow: hidden;
  background-color: #141414;
}

.rancho-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.rancho-card-link:hover .rancho-photo-img {
  transform: scale(1.04);
}

.rancho-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(32, 32, 33, 0.85) 100%);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cl-gray-pale);
}

.rancho-card-footer {
  padding: 2rem 2.5rem 2.4rem;
  background-color: var(--cl-surface-card);
}

.rancho-description {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--cl-gray-pale);
  line-height: 1.75;
}

.rancho-card-link:hover .read-more-accent {
  color: var(--cl-cream-light);
  border-color: var(--cl-cream-light);
}

/* --------------------------------------------------------------------------
   9. SECCIÓN DE CONTACTO Y FOOTER
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  width: 100%;
  padding: var(--space-3xl) 4rem var(--space-xl);
  background: radial-gradient(
    circle at 50% 10%,
    rgba(79, 79, 79, 0.18) 0%,
    var(--cl-bg-base) 70%
  );
  border-top: 1px solid rgba(240, 232, 219, 0.08);
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cl-cream-light);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* Información de Mayoreo */
.wholesale-card {
  margin-bottom: 3.5rem;
  display: inline-block;
  width: 100%;
  max-width: 680px;
}

.wholesale-link {
  display: block;
  padding: 1.6rem 2.2rem;
  background-color: var(--cl-surface-card);
  border: 1px solid rgba(240, 232, 219, 0.15);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1.22rem;
  color: var(--cl-cream-warm);
  line-height: 1.5;
  transition: all var(--transition-normal);
}

.wholesale-link strong {
  color: var(--cl-cream-light);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
  border-bottom: 1px dashed var(--cl-gray-light);
}

.wholesale-link:hover {
  background-color: #272729;
  border-color: rgba(240, 232, 219, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.wholesale-link:hover strong {
  border-bottom-style: solid;
  border-color: var(--cl-cream-light);
}

/* Redes Sociales */
.socials-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-bottom: 5rem;
}

.social-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--cl-gray-pale);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  background-color: rgba(240, 232, 219, 0.03);
  border: 1px solid rgba(240, 232, 219, 0.08);
  transition: all var(--transition-fast);
}

.social-link-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.social-link-item:hover {
  color: var(--cl-cream-light);
  background-color: rgba(240, 232, 219, 0.08);
  border-color: rgba(240, 232, 219, 0.25);
  transform: translateY(-2px);
}

.social-link-item:hover svg {
  transform: scale(1.15);
}

/* Icono de Facebook solo pero con la misma alineación */
.social-link-solo {
  padding: 0.6rem 0.8rem;
}

/* Footer / Créditos en la parte más baja */
.site-footer {
  width: 100%;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(240, 232, 219, 0.06);
  text-align: center;
}

.credits-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--cl-gray-mid);
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

.credits-link:hover {
  color: var(--cl-gray-pale);
}

/* --------------------------------------------------------------------------
   10. ANIMACIONES DE ENTRADA AL SCROLL (INTERSECTION OBSERVER)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  will-change: opacity, transform;
}

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

/* --------------------------------------------------------------------------
   11. RESPONSIVE / MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header {
    padding: 1.25rem 2rem;
  }

  .hero-content {
    padding: 0 2.5rem;
  }

  .hero-scroll-indicator {
    left: 2.5rem;
  }

  .product-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .product-info-wrapper {
    align-items: center;
  }

  .product-specs {
    justify-content: center;
  }

  .product-cta-block {
    justify-content: center;
  }

  .rancho-gallery-grid {
    grid-template-columns: 1fr;
  }

  .rancho-photo-item {
    height: 280px;
  }
}

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

  .header-nav {
    display: none; /* Menú simplificado en móviles */
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-scroll-indicator {
    left: 1.5rem;
    bottom: 2rem;
  }

  .product-section {
    padding: 2rem 1.5rem 3.5rem;
  }

  .product-image {
    max-height: 440px;
  }

  .product-cta-block {
    flex-direction: column;
    gap: 1.5rem;
  }

  .btn-buy {
    width: 100%;
  }

  .roots-section {
    padding: var(--space-2xl) 1.5rem;
  }

  .roots-block-donluis {
    margin-bottom: 5rem;
  }

  .donluis-card-link {
    max-width: 100%;
  }

  .contact-section {
    padding: var(--space-2xl) 1.5rem var(--space-lg);
  }

  .wholesale-link {
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
  }

  .socials-block {
    gap: 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   12. ACCESIBILIDAD — PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
