/* ==========================================================================
   CASA DOLORES TEQUILA - LUXURY STYLESHEET
   Inspirado en la elegancia minimalista y editorial de Casa Dragones
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700&display=swap');

:root {
  /* Paleta Cromática de Ultra-Lujo */
  --bg-dark: #07090e;
  --bg-surface: #0e121a;
  --bg-card: #131822;
  --bg-card-hover: #19202d;
  --bg-glass: rgba(14, 18, 26, 0.85);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e4b3;
  --gold-dark: #9e7419;
  --gold-muted: #b89843;
  --gold-gradient: linear-gradient(135deg, #f7e8bd 0%, #d4af37 45%, #9e7419 80%, #dfbf68 100%);
  --gold-metallic: linear-gradient(90deg, #c5a059 0%, #fff1c7 50%, #b88a38 100%);
  
  --agave-blue: #1c3644;
  --agave-teal: #376375;
  --agave-soft: #84a8b8;
  
  --text-pure: #ffffff;
  --text-main: #f5f3ec;
  --text-muted: #9ba3af;
  --text-dark: #636b78;

  --border-gold-subtle: rgba(212, 175, 55, 0.22);
  --border-gold-bright: rgba(212, 175, 55, 0.6);
  --border-white-subtle: rgba(255, 255, 255, 0.08);

  /* Tipografías */
  --font-display: 'Cinzel', serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Transiciones y Sombras */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --shadow-gold-glow: 0 10px 30px rgba(212, 175, 55, 0.12);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.7;
  color: var(--text-main);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Tipografía de Encabezados */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-pure);
  text-transform: uppercase;
}

.text-gold {
  color: var(--gold-primary);
}

.text-gold-gradient {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.serif-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
}

.tracking-wide {
  letter-spacing: 0.2em;
}

.tracking-widest {
  letter-spacing: 0.3em;
}

/* Contenedor Global */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.container-narrow {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

/* ==========================================================================
   PRELOADER CON LOGOTIPO
   ========================================================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #06080c;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.preloader-logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: preloaderPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.4));
}

.preloader-halo {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px solid var(--border-gold-subtle);
  animation: haloRotate 12s linear infinite;
}

.preloader-halo::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-primary);
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.preloader-subtitle {
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.preloader-progress-track {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--gold-primary);
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(0.97);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.65));
  }
}

@keyframes haloRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   MODAL DE VERIFICACIÓN DE EDAD (+18)
   ========================================================================== */

#age-verification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99990;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#age-verification-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-modal-card {
  background: radial-gradient(circle at 50% 0%, #151a26, #090c12);
  border: 1px solid var(--border-gold-subtle);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card), 0 0 40px rgba(212, 175, 55, 0.08);
}

.age-modal-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.age-modal-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
}

.age-modal-title {
  font-size: 1.25rem;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.age-modal-text {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 30px;
}

.age-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-luxury-primary {
  background: var(--gold-gradient);
  color: #08090d;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-luxury-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
  filter: brightness(1.08);
}

.btn-luxury-outline {
  border: 1px solid var(--border-gold-bright);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.04);
}

.btn-luxury-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-luxury-ghost {
  border: 1px solid var(--border-white-subtle);
  color: var(--text-muted);
}

.btn-luxury-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-pure);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN PRINCIPAL (HEADER)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, padding 0.4s ease;
  padding: 24px 0;
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-svg {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-header.scrolled .brand-svg {
  height: 40px;
}

.brand-link:hover .brand-svg {
  transform: scale(1.02);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-main);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ambient-audio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border: 1px solid var(--border-white-subtle);
  padding: 8px 14px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.ambient-audio-btn:hover,
.ambient-audio-btn.playing {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.audio-soundwave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-bar {
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.ambient-audio-btn.playing .audio-bar:nth-child(1) { animation: soundwave 1s ease infinite alternate; }
.ambient-audio-btn.playing .audio-bar:nth-child(2) { animation: soundwave 0.8s ease infinite alternate 0.2s; }
.ambient-audio-btn.playing .audio-bar:nth-child(3) { animation: soundwave 1.2s ease infinite alternate 0.4s; }

@keyframes soundwave {
  0% { height: 3px; }
  100% { height: 12px; }
}

.cart-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-subtle);
  background: rgba(212, 175, 55, 0.04);
  transition: var(--transition-smooth);
}

.cart-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-gradient);
  color: #06080c;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--gold-light);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO VIDEO SECTION (INICIO)
   ========================================================================== */

.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(7, 9, 14, 0.65) 0%, 
    rgba(7, 9, 14, 0.35) 45%, 
    rgba(7, 9, 14, 0.85) 85%, 
    #07090e 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  margin-top: 40px;
}

.hero-crest {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
  animation: fadeInDown 1.2s ease;
}

.hero-tagline-top {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-main);
  max-width: 680px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-subtle);
  background: rgba(7, 9, 14, 0.6);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.video-ctrl-btn:hover {
  background: var(--gold-primary);
  color: #06080c;
  border-color: var(--gold-primary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, transparent 100%);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   SECCIÓN DE SPOT COMERCIAL (VIDEO PROTAGONISTA)
   ========================================================================== */

.commercial-section {
  padding: 120px 0;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #111722 0%, #07090e 70%);
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-pretitle {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: var(--gold-gradient);
}

.divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-primary);
}

.commercial-player-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  box-shadow: var(--shadow-card), 0 0 50px rgba(0, 0, 0, 0.8);
  background: #000;
  aspect-ratio: 16 / 9;
}

.commercial-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commercial-overlay-banner {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 14, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.commercial-player-card.playing .commercial-overlay-banner {
  opacity: 0;
}

.commercial-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.85);
  color: #06080c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  pointer-events: auto;
  transition: var(--transition-smooth);
}

.commercial-play-trigger svg {
  margin-left: 4px;
  width: 32px;
  height: 32px;
}

.commercial-play-trigger:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff;
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.8);
}

.commercial-meta-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.meta-box {
  padding: 30px;
  background: rgba(14, 18, 26, 0.6);
  border: 1px solid var(--border-white-subtle);
  border-top: 2px solid var(--gold-primary);
}

.meta-box h4 {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.meta-box p {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIONES EDITORIALES (FILOSOFÍA / TERROIR / DESTACADOS)
   ========================================================================== */

.editorial-split-section {
  padding: 120px 0;
  position: relative;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.editorial-grid.reverse {
  direction: rtl;
}

.editorial-grid.reverse > * {
  direction: ltr;
}

.editorial-image-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-gold-subtle);
}

.editorial-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.editorial-image-frame:hover img {
  transform: scale(1.04);
}

.editorial-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin: 12px;
  pointer-events: none;
}

.editorial-content-box {
  padding: 20px 0;
}

.editorial-lead {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  color: var(--gold-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.editorial-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.editorial-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.badge-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
}

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS & CARDS
   ========================================================================== */

.products-section {
  padding: 120px 0;
  background: #090c12;
  position: relative;
}

.products-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-white-subtle);
  background: transparent;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  color: #06080c;
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px;
}

.product-card {
  background: radial-gradient(circle at 50% 20%, #141924, #0b0e14);
  border: 1px solid var(--border-white-subtle);
  border-radius: 2px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.08);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-subtle);
  box-shadow: var(--shadow-card), 0 0 35px rgba(212, 175, 55, 0.12);
}

.product-card:hover::before {
  border-color: rgba(212, 175, 55, 0.3);
}

.product-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 380px;
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

.product-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.product-name {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  color: #fff;
}

.product-specs {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 48px;
}

.product-price-box {
  margin-bottom: 24px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.product-currency {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.btn-card-details {
  padding: 12px 16px;
  border: 1px solid var(--border-white-subtle);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}

.btn-card-details:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-card-add {
  padding: 12px 16px;
  background: var(--gold-gradient);
  color: #06080c;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-card-add:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   MODAL DE NOTAS DE CATA & DETALLE
   ========================================================================== */

#product-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.92);
  backdrop-filter: blur(14px);
  z-index: 99900;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#product-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  background: radial-gradient(circle at 70% 30%, #151b27, #0a0d13);
  border: 1px solid var(--border-gold-subtle);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  box-shadow: var(--shadow-card), 0 0 50px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-white-subtle);
  color: var(--text-muted);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #06080c;
}

.modal-image-pane {
  background: radial-gradient(circle, #1a2230 0%, #0d1118 100%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-white-subtle);
}

.modal-product-img {
  max-height: 420px;
  object-fit: contain;
}

.modal-details-pane {
  padding: 48px 40px;
}

.modal-pretitle {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.tasting-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 32px;
}

.tasting-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white-subtle);
  border-left: 2px solid var(--gold-primary);
  padding: 14px;
}

.tasting-item h5 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.tasting-item p {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DRAWER DE CARRITO DE COMPRAS
   ========================================================================== */

#cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #0a0d13;
  border-left: 1px solid var(--border-gold-subtle);
  z-index: 99950;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 99940;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-white-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-message {
  text-align: center;
  margin: auto;
  color: var(--text-muted);
}

.cart-empty-message svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--gold-dark);
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white-subtle);
  padding: 12px;
}

.cart-item-img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.cart-item-info h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-light);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-white-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.qty-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.cart-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border-white-subtle);
  background: #080a0f;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-subtotal span:first-child {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.cart-subtotal span:last-child {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
}

.cart-shipping-note {
  font-size: 0.75rem;
  color: var(--agave-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

/* ==========================================================================
   LÍNEA DE TIEMPO / HISTORIA (ACERCA DE)
   ========================================================================== */

.timeline-section {
  padding: 120px 0;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold-primary) 15%, var(--gold-primary) 85%, transparent 100%);
}

.timeline-block {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
}

.timeline-block.left {
  left: 0;
  padding-right: 50px;
  text-align: right;
}

.timeline-block.right {
  left: 50%;
  padding-left: 50px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-gradient);
  box-shadow: 0 0 12px var(--gold-primary);
}

.timeline-block.left .timeline-dot {
  right: -7px;
}

.timeline-block.right .timeline-dot {
  left: -7px;
}

.timeline-card {
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid var(--border-gold-subtle);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.timeline-text {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   VALORES & LO QUE NOS HACE ÚNICOS
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  background: radial-gradient(circle at 50% 0%, #151b27, #0c0f15);
  border: 1px solid var(--border-white-subtle);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-subtle);
  box-shadow: var(--shadow-card);
}

.value-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

.value-title {
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.value-desc {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIOS & ALIADOS
   ========================================================================== */

.testimonials-section {
  padding: 120px 0;
  background: radial-gradient(circle at 50% 50%, #111622 0%, #07090e 100%);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-top: 60px;
}

.testimonial-card {
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid var(--border-gold-subtle);
  padding: 36px;
  position: relative;
}

.quote-icon {
  color: var(--gold-dark);
  font-size: 2.4rem;
  font-family: var(--font-editorial);
  margin-bottom: 12px;
  line-height: 1;
}

.testimonial-quote {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-info h5 {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.allies-section {
  padding: 80px 0 120px;
  text-align: center;
}

.allies-marquee {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
  opacity: 0.75;
}

.ally-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  padding: 12px 24px;
  border: 1px solid var(--border-white-subtle);
  transition: var(--transition-fast);
}

.ally-logo:hover {
  color: var(--gold-primary);
  border-color: var(--border-gold-subtle);
  opacity: 1;
}

/* ==========================================================================
   CONTACTO & RESERVACIÓN DE CATAS
   ========================================================================== */

.contact-section {
  padding: 120px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-location-card {
  background: rgba(14, 18, 26, 0.6);
  border: 1px solid var(--border-white-subtle);
  border-left: 3px solid var(--gold-primary);
  padding: 28px;
}

.contact-location-card h4 {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.contact-location-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-top: 6px;
}

.contact-form-card {
  background: radial-gradient(circle at 50% 0%, #151b27, #0a0d13);
  border: 1px solid var(--border-gold-subtle);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(6, 8, 12, 0.7);
  border: 1px solid var(--border-white-subtle);
  padding: 14px 18px;
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #0e121a;
  color: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */

.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-gold-subtle);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col p {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 18px 0 24px;
  max-width: 320px;
}

.footer-title {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-white-subtle);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dark);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   TOAST NOTIFICATION & BOTÓN FLOTANTE
   ========================================================================== */

#toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0d121c;
  border: 1px solid var(--gold-primary);
  padding: 16px 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-pure);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  box-shadow: var(--shadow-card), 0 0 25px rgba(212, 175, 55, 0.25);
  z-index: 99999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

#toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  transition: var(--transition-smooth);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
