/* 
  MONTE LUCERO - ESTILO PREMIUM
  Diseño: Café de Especialidad
  Tecnología: CSS3 Vanilla (Sin dependencias)
*/

/* 1. IMPORTACIÓN DE FUENTES */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..600;1,400..600&family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');

/* 2. VARIABLES DEL SISTEMA DE DISEÑO */
:root {
  /* Colores - Paleta Premium */
  --color-bg-deep: #0A1828;      /* Azul noche profundo */
  --color-bg-darker: #03080D;    /* Negro mate */
  --color-bg-podium: #06101c;    /* Azul intermedio */
  --color-fg-light: #F2EAE1;     /* Crema claro */
  --color-fg-beige: #F4F0E6;     /* Crema alternativo */
  --color-bg-light: #F2EAE1;     /* Crema para sección tasting */
  
  --color-gold-500: #CFA071;     /* Oro bronce principal */
  --color-gold-600: #B4875D;     /* Oro oscuro */
  --color-gold-rgb: 207, 160, 113;
  
  --color-success: #25D366;      /* Verde WhatsApp */
  --color-success-hover: #20bd5a;
  
  /* Tipografías */
  --font-sans: 'Inter', Arial, Helvetica, sans-serif;
  --font-serif: 'EB Garamond', 'Apple Garamond', Garamond, Georgia, serif;
  
  /* Configuración Global */
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  background-color: var(--color-bg-deep);
  color: var(--color-fg-light);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-deep);
  color: var(--color-fg-light);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* Selección de texto elegante */
::selection {
  background-color: var(--color-gold-500);
  color: var(--color-bg-deep);
}

/* Tipografía de Encabezados */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 4. BARRA DE ANUNCIOS */
.announcement-bar {
  background-color: var(--color-gold-500);
  color: var(--color-bg-deep);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  animation: pulse-light 3s infinite;
}

.flag-colombia {
  display: inline-block;
  width: 16px;
  height: 11px;
  background: linear-gradient(to bottom, #FCD116 50%, #003893 50% 75%, #CE1126 75%);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}

.announcement-bar span.separator {
  opacity: 0.5;
  margin: 0 0.5rem;
}

/* 5. CABECERA Y NAVEGACIÓN (NAVBAR) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

/* Al hacer scroll se achica y gana fondo borroso */
.main-header.scrolled {
  padding: 0.9rem 0;
  background-color: rgba(10, 24, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(207, 160, 113, 0.15); /* Corregida sintaxis y mejorado el contraste */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between; /* Distribución balanceada entre Logo y Menú */
  align-items: center;
  width: 100%;
}

/* Logo Elegante Universal (Desktop y Móvil) */
.header-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-fg-light);
  transition: var(--transition-smooth);
  line-height: 1;
}

.header-logo a {
  display: block;
}

.header-logo span {
  color: var(--color-gold-500);
  font-style: italic;
  text-transform: none;
  font-family: var(--font-serif);
  font-weight: 400;
}

.header-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Menú Escritorio */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  background-color: transparent;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.main-header.scrolled .desktop-nav {
  background-color: rgba(10, 24, 40, 0.9);
  border: 1px solid rgba(207, 160, 113, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-fg-light);
  position: relative;
  padding: 0.2rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold-500);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-gold-500);
}

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

/* Hamburguesa Móvil */
.mobile-menu-btn {
  display: none;
  padding: 0.6rem;
  border-radius: 50%;
  color: var(--color-fg-light);
  background-color: rgba(10, 24, 40, 0.4);
  border: 1px solid rgba(207, 160, 113, 0.1);
  backdrop-filter: blur(5px);
  z-index: 100;
  transition: var(--transition-fast);
}

.main-header.scrolled .mobile-menu-btn {
  background-color: rgba(10, 24, 40, 0.9);
  border: 1px solid rgba(207, 160, 113, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn svg {
  display: block;
}

/* Menú Overlay para Móvil */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg-deep);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-overlay.open {
  transform: translateX(0);
}

.mobile-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--color-gold-500);
  padding: 0.5rem;
  transition: var(--transition-fast);
}

.mobile-close-btn:hover {
  color: var(--color-fg-light);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-fg-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mobile-overlay.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay para animar los links al abrir el menú móvil */
.mobile-overlay.open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.open .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-overlay.open .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-overlay.open .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-overlay.open .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-link:hover {
  color: var(--color-gold-500);
}

.mobile-brand-footer {
  position: absolute;
  bottom: 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(207, 160, 113, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}

.mobile-overlay.open .mobile-brand-footer {
  opacity: 1;
}

/* 6. SECCIÓN HERO */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-deep);
  padding: 7rem 0 4rem;
  overflow: hidden;
}

/* Fondo degradado radial elegante */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #11263d 0%, var(--color-bg-deep) 60%, #04090F 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Badge edición premium */
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(207, 160, 113, 0.4);
  color: var(--color-gold-500);
  font-size: 0.75rem;
  padding: 0.4rem 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background-color: rgba(10, 24, 40, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(207, 160, 113, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.8s forwards 0.2s;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1.1;
  color: var(--color-fg-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  opacity: 0;
  transform: translateY(25px);
  animation: fade-in-up 0.8s forwards 0.4s;
}

.hero-title span {
  color: var(--color-gold-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(242, 234, 225, 0.7);
  max-width: 500px;
  font-weight: 200;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.8s forwards 0.6s;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.8s forwards 0.8s;
}

/* Botón dorado pulido */
.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-500) 0%, var(--color-gold-600) 100%);
  color: var(--color-bg-deep);
  font-size: 0.82rem;
  font-weight: 600; /* Peso elegante más estilizado */
  text-transform: uppercase;
  letter-spacing: 0.25em; /* Aumentado para estética premium editorial */
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(207, 160, 113, 0.25);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(207, 160, 113, 0.45);
}

.btn-gold:active {
  transform: scale(0.97);
}

/* Podium Hero - Lado Derecho */
.hero-podium {
  flex: 0.9;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  animation: fade-in 1.2s forwards 0.3s;
}

/* Destello detrás de los productos */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background-color: rgba(207, 160, 113, 0.12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Imágenes de las bolsas de café */
.hero-bag-left {
  width: 48%;
  position: absolute;
  top: 15%;
  left: 2%;
  z-index: 10;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.85)) brightness(0.9);
  animation: float-left 8s ease-in-out infinite;
}

.hero-bag-center {
  width: 65%;
  position: absolute;
  bottom: 8%;
  left: 17.5%;
  z-index: 30;
  filter: drop-shadow(0 35px 40px rgba(0, 0, 0, 0.9));
  animation: float-center 6s ease-in-out infinite;
}

.hero-bag-right {
  width: 43%;
  position: absolute;
  top: 25%;
  right: 2%;
  z-index: 20;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.75));
  animation: float-right 7s ease-in-out infinite;
}

/* 7. SECCIÓN PRODUCTOS */
.products-section {
  position: relative;
  background-color: var(--color-bg-podium);
  padding: 8rem 0;
  border-top: 1px solid rgba(207, 160, 113, 0.1);
  border-bottom: 1px solid rgba(207, 160, 113, 0.1);
  overflow: hidden;
}

/* Fondo con efecto parallax estático */
.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  pointer-events: none;
}

.parallax-bg.p-bg1 {
  background-image: url('../assets/3.jpeg');
  opacity: 0.05;
  filter: grayscale(1);
}

.parallax-bg.p-bg2 {
  background-image: url('../assets/11.jpeg');
  opacity: 0.03;
  mix-blend-mode: overlay;
  filter: grayscale(1);
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 10;
}

.section-subtitle {
  color: var(--color-gold-500);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-fg-light);
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 50px;
  height: 2px;
  background-color: var(--color-gold-500);
  margin: 0 auto;
}

.section-lead {
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: rgba(242, 234, 225, 0.6);
  font-weight: 200;
  font-size: 1.05rem;
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

/* Tarjetas de Producto */
.product-card {
  background-color: var(--color-bg-deep);
  border: 1px solid rgba(207, 160, 113, 0.1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 160, 113, 0.35);
  box-shadow: 0 20px 45px rgba(207, 160, 113, 0.08);
}

/* Parte superior de la tarjeta (Imagen) */
.product-card-media {
  aspect-ratio: 3 / 4;
  position: relative;
  background: linear-gradient(135deg, #0d1f33 0%, #04080D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.product-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 70%;
  background-color: rgba(207, 160, 113, 0.05);
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.product-card:hover .product-card-glow {
  background-color: rgba(207, 160, 113, 0.15);
  filter: blur(35px);
}

.product-card-img {
  width: 95%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.8));
  transition: var(--transition-smooth);
  z-index: 5;
}

.product-card:hover .product-card-img {
  transform: scale(1.07);
}

/* Contenido inferior de la tarjeta */
.product-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.product-card-grams {
  color: var(--color-gold-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-card-title {
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-fg-light);
  margin-bottom: 0.5rem;
}

.product-card-line {
  width: 40px;
  height: 2px;
  background-color: rgba(207, 160, 113, 0.3);
  margin-bottom: 1.5rem;
}

.product-card-price {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-style: italic;
  color: var(--color-gold-500);
  margin-bottom: 1.8rem;
}

/* Detalle entrega */
.product-delivery-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  color: rgba(242, 234, 225, 0.8);
  border-left: 2px solid var(--color-gold-500);
  padding: 0.2rem 0 0.2rem 0.8rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.product-delivery-tag b {
  color: var(--color-fg-light);
}

.product-delivery-tag svg {
  color: var(--color-gold-500);
  flex-shrink: 0;
}

/* Botón Pedir en Tarjeta */
.btn-outline-gold {
  width: 100%;
  background: transparent;
  color: var(--color-gold-500);
  border: 1px solid rgba(207, 160, 113, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.product-card:hover .btn-outline-gold {
  background-color: var(--color-gold-500);
  color: var(--color-bg-deep);
  border-color: var(--color-gold-500);
}

.btn-outline-gold:active {
  transform: scale(0.98);
}

.products-disclaimer {
  text-align: center;
  margin-top: 4rem;
  color: rgba(242, 234, 225, 0.5);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 200;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 10;
}

/* 8. SECCIÓN PERFIL DE TAZA */
.tasting-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: var(--color-bg-light);
}

.tasting-media {
  width: 45%;
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  overflow: hidden;
}

.tasting-media-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/13.jpeg');
  background-size: cover;
  background-position: center;
}

.tasting-media-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 42, 34, 0.8);
  mix-blend-mode: multiply;
}

.tasting-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 40, 0.6) 0%, transparent 60%, rgba(10, 24, 40, 0.3) 100%);
}

.tasting-media-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
}

.tasting-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-gold-500);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tasting-badge::before {
  content: '';
  width: 25px;
  height: 1px;
  background-color: var(--color-gold-500);
}

.tasting-media-title {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.tasting-media-title span {
  color: var(--color-gold-500);
  font-family: var(--font-serif);
  font-style: italic;
}

.tasting-media-desc {
  color: rgba(242, 234, 225, 0.8);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 320px;
}

.tasting-media-desc p:first-child {
  margin-bottom: 0.5rem;
}

/* Panel Derecho de Perfil */
.tasting-list-panel {
  width: 55%;
  padding: 6rem 4rem; /* Reducido horizontalmente para dar más espacio de ancho al listado */
  display: flex;
  align-items: center;
  justify-content: center;
}

.tasting-list {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

.tasting-item {
  display: flex;
  flex-direction: row;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(10, 24, 40, 0.1);
  align-items: center;
  transition: var(--transition-smooth);
}

.tasting-item:first-child {
  border-top: 1px solid rgba(10, 24, 40, 0.1);
}

.tasting-item-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  width: 42%;
  flex-shrink: 0;
}

.tasting-item-id {
  color: rgba(10, 24, 40, 0.4);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  width: 25px;
}

.tasting-item-title {
  color: var(--color-bg-deep);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.tasting-item-desc {
  color: rgba(10, 24, 40, 0.7);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  flex-grow: 1;
}

/* 9. COMO COMPRAR (PROCESO) */
.howtobuy-section {
  position: relative;
  background-color: var(--color-bg-deep);
  padding: 8rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(207, 160, 113, 0.1);
}

.howtobuy-bg-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(207, 160, 113, 0.03);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.steps-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  max-width: 950px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 10;
}

.step-icon-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(135deg, var(--color-gold-500) 0%, var(--color-gold-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(207, 160, 113, 0.25);
  border: 4px solid var(--color-bg-deep);
  outline: 1px solid rgba(207, 160, 113, 0.4);
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon-wrap {
  transform: scale(1.1);
}

.step-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--color-bg-deep);
}

.step-title {
  color: var(--color-gold-500);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.step-desc {
  color: rgba(242, 234, 225, 0.7);
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.7;
  padding: 0 1rem;
}

/* Línea de conexión de pasos */
.step-connector {
  display: block;
  position: absolute;
  top: 48px;
  left: 65%;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(207, 160, 113, 0.6) 0%, rgba(207, 160, 113, 0.1) 70%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* 10. SECCIÓN HISTORIA DE ORIGEN */
.origin-section {
  background-color: var(--color-fg-beige);
  display: flex;
  flex-direction: row;
  border-top: 1px solid rgba(10, 24, 40, 0.05);
  overflow: hidden;
}

.origin-visuals {
  width: 50%;
  position: relative;
  min-height: 500px;
}

.origin-visuals-main {
  position: absolute;
  inset: 0;
  background-image: url('../assets/9.jpeg');
  background-size: cover;
  background-position: center;
}

.origin-visuals-brand {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(10, 24, 40, 0.7);
}

/* Imagen secundaria superpuesta */
.origin-visuals-sub {
  position: absolute;
  bottom: 2rem;
  right: -3.5rem;
  width: 72%;
  max-width: 330px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
  z-index: 20;
  border: 8px solid var(--color-fg-beige);
  background-image: url('../assets/15.jpeg');
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.origin-section:hover .origin-visuals-sub {
  transform: translateY(-5px);
}

/* Contenido de Historia */
.origin-content-panel {
  width: 50%;
  padding: 6rem;
  display: flex;
  align-items: center;
  background-color: var(--color-fg-beige);
  position: relative;
  z-index: 10;
}

.origin-content {
  width: 100%;
  max-width: 500px;
}

.origin-title {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  color: var(--color-bg-deep);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.origin-title span {
  color: var(--color-gold-500);
  font-family: var(--font-serif);
  font-style: italic;
}

.origin-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: rgba(10, 24, 40, 0.7);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 4rem;
}

/* Métrica de Origen */
.origin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(10, 24, 40, 0.1);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--color-bg-deep);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(10, 24, 40, 0.5);
  letter-spacing: 0.2em;
  line-height: 1.4;
}

/* 11. CARRUSEL DE GALERÍA (MARQUEE INFINITO) */
.gallery-section {
  background-color: var(--color-bg-darker);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(207, 160, 113, 0.1);
}

/* Filtro azul mezclado con imágenes */
.gallery-color-filter {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 24, 40, 0.8);
  mix-blend-mode: color;
  z-index: 10;
  pointer-events: none;
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 20;
}

.gallery-title {
  color: var(--color-gold-500);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
}

/* Marquee / Carrusel Infinito */
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  z-index: 20;
}

.marquee-content {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0 0.5rem;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.gallery-item {
  width: 160px;
  height: 224px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-bg-deep);
  transition: border-color 0.4s ease;
}

.gallery-item:hover {
  border-color: rgba(207, 160, 113, 0.5);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* 12. PIE DE PÁGINA (FOOTER) */
.main-footer {
  background-color: var(--color-bg-darker);
  position: relative;
  padding: 6rem 0 2.5rem;
  border-top: 1px solid rgba(207, 160, 113, 0.2);
  overflow: hidden;
}

.footer-parallax-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/7.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  filter: grayscale(1);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr; /* Optimizado para evitar truncado tipográfico de Coordinadora */
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-gold-500);
  font-family: var(--font-serif);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  color: rgba(242, 234, 225, 0.6);
  font-size: 0.85rem;
  font-weight: 200;
  line-height: 1.7;
}

.footer-regions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 1rem;
}

.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.region-tag:hover {
  color: var(--color-gold-500);
}

.region-tag.disabled {
  color: rgba(242, 234, 225, 0.4);
  cursor: default;
}

.region-tag.disabled span {
  filter: grayscale(1);
  opacity: 0.5;
}

.footer-shipping {
  text-align: right;
}

.shipping-title {
  color: var(--color-gold-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.shipping-logo-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  align-items: center;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity 0.3s ease;
}

.shipping-logo-wrap:hover {
  opacity: 0.6;
}

.shipping-carrier {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-fg-light);
}

.footer-bottom {
  text-align: center;
  color: rgba(242, 234, 225, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 10;
}

/* 13. BOTONES FLOTANTES */
/* WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  z-index: 200;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

.floating-whatsapp:active {
  transform: scale(0.9);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Tooltip WhatsApp */
.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  margin-right: 1rem;
  background-color: #0A1828;
  color: var(--color-fg-light);
  border: 1px solid rgba(207, 160, 113, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 7.2rem;
  right: 2.5rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-bg-deep);
  border: 1px solid rgba(207, 160, 113, 0.3);
  padding: 0;
  cursor: pointer;
  outline: none;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-500);
  z-index: 70;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--color-gold-500);
}

.back-to-top:active {
  transform: scale(0.9);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* 14. ANIMACIONES KEYFRAMES */
@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-light {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; transform: scale(0.99); }
}

/* Flotación de las Bolsas */
@keyframes float-left {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-center {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-right {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll Galería */
@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* 15. ADAPTATIVIDAD RESPONSIVA (MEDIA QUERIES) */

/* Pantallas Medianas (Móviles / Tablets - Hasta 991px) */
@media (max-width: 991px) {
    /* Navbar móvil */
    .desktop-nav {
      display: none;
    }
    
    .mobile-menu-btn {
      display: block;
    }
    
    .nav-container {
      justify-content: space-between;
      width: 100%;
      padding: 0 0.5rem;
    }
    
    /* Hero */
    .hero-container {
      flex-direction: column;
      gap: 3rem;
      text-align: center;
      padding-top: 1rem;
    }
    
    .hero-content {
      align-items: center;
      text-align: center;
    }
    
    .hero-description {
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-podium {
      max-width: 420px;
      margin: 0 auto;
    }
    
    /* Perfil de Taza */
    .tasting-section {
      flex-direction: column;
    }
    
    .tasting-media {
      width: 100%;
      min-height: 400px;
      padding: 3rem 2rem;
    }
    
    .tasting-list-panel {
      width: 100%;
      padding: 4rem 2rem;
    }
    
    /* Proceso de Compra */
    .steps-container {
      flex-direction: column;
      gap: 4rem;
      max-width: 450px;
    }
    
    .step-connector {
      display: none; /* Se ocultan las líneas horizontales */
    }
    
    /* Historia de Origen */
    .origin-section {
      flex-direction: column-reverse; /* Visual abajo, texto arriba */
    }
    
    .origin-content-panel {
      width: 100%;
      padding: 4rem 2rem;
    }
    
    .origin-visuals {
      width: 100%;
      min-height: 400px;
    }
    
    .origin-visuals-sub {
      right: 2rem;
      width: 60%;
      max-width: 250px;
    }
    
    /* Footer */
    .footer-top {
      grid-template-columns: 1fr;
      gap: 3rem;
      text-align: center;
    }
    
    .footer-brand {
      max-width: 100%;
      margin: 0 auto;
    }
    
    .footer-regions {
      padding-top: 0;
    }
    
    .footer-shipping {
      text-align: center;
    }
    
    .shipping-logo-wrap {
      justify-content: center;
    }
  }

/* Tablets (Entre 768px y 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pantallas Pequeñas (Móviles - Hasta 767px) */
@media (max-width: 767px) {
  .tasting-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 0;
  }
  
  .tasting-item-header {
    width: 100%;
  }
  
  .tasting-item-desc {
    padding-left: 2rem;
  }
  
  .marquee-content {
    animation-duration: 35s; /* Un poco más rápido en pantallas chicas */
  }
  
  .gallery-item {
    width: 130px;
    height: 182px;
  }
  
  .origin-stats {
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.8rem;
  }
}
