/* ==========================================================================
   GRUPO BARRA - Distribuidora Premium de Licores
   Estilos CSS Principales (Dark Mode, Glassmorphism & Neon Luxury Glow)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta "Lujo Total / Oro y Noche" (Negro Profundo & Oro) */
  --bg-dark: #030303;
  --bg-surface: #0A0A0A;
  --bg-card: rgba(15, 15, 15, 0.85);
  --bg-card-hover: rgba(25, 25, 25, 0.95);

  /* Acentos de Lujo Puro Oro */
  --gold-primary: #FFD700;
  --gold-secondary: #D4AF37;
  --gold-glow: rgba(212, 175, 55, 0.45);
  --cyan-accent: #FFC000;
  --cyan-glow: rgba(255, 192, 0, 0.25);
  --emerald-dark: #000000;

  /* Texto */
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --text-dim: #707070;

  /* Glassmorphism Lujo Total */
  --glass-bg: rgba(10, 10, 10, 0.5);
  --glass-border: rgba(212, 175, 55, 0.3);
  --glass-border-gold: rgba(255, 215, 0, 0.5);
  --glass-blur: blur(20px);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);

  /* Layout & Espaciado */
  --container-max: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #1A1A1A 0%, #050505 50%, #000000 100%);
  position: relative;
}

/* Selección de Texto */
::selection {
  background: var(--gold-secondary);
  color: #05100B;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-secondary);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 0%, #F2E3C6 40%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 50%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Canvas de Fondo */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ==========================================================================
   VERIFICACIÓN DE EDAD MODAL (+18)
   ========================================================================== */
.age-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 9, 0.92);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.age-card {
  background: linear-gradient(145deg, rgba(20, 26, 42, 0.9), rgba(10, 13, 22, 0.95));
  border: 1px solid rgba(255, 199, 0, 0.3);
  box-shadow: 0 0 60px rgba(255, 199, 0, 0.15), var(--glass-shadow);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.age-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 199, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 199, 0, 0.1);
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px var(--gold-glow);
}

.age-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.age-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

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

/* ==========================================================================
   BOTONES Y COMPONENTES REUTILIZABLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: linear-gradient(135deg, #F5E8CE 0%, #D4AF37 100%);
  color: #05100B;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.65);
  background: linear-gradient(135deg, #FFFFFF 0%, #E5C158 100%);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 25px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #0077FE 100%);
  color: #000;
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

/* Badges */
.badge-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 199, 0, 0.08);
  border: 1px solid rgba(255, 199, 0, 0.3);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   NAVBAR (HEADER STICKY GLASSMORPHISM)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 999;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 0 20px var(--gold-glow);
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cart-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.8rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

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

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Card Visual en Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(255, 199, 0, 0.15);
  border: 1px solid var(--glass-border-gold);
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.visual-card-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.visual-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.visual-glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-info h4 {
  font-size: 1.1rem;
  color: #fff;
}

.overlay-info p {
  font-size: 0.85rem;
  color: var(--gold-primary);
}

.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  pointer-events: none;
  filter: blur(40px);
}

/* ==========================================================================
   MARCAS & DISTRIBUCIÓN ALIADA
   ========================================================================== */
.brands-section {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
}

.brands-title {
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.brands-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0.8;
}

.brand-pill {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-muted);
  padding: 10px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.brand-pill:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  opacity: 1;
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ==========================================================================
   CATÁLOGO INTERACTIVO
   ========================================================================== */
.catalog-section {
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 16px;
}

.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(255, 199, 0, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--glass-border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--gold-glow);
}

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 199, 0, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(255, 199, 0, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-img-container {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  background: radial-gradient(circle, rgba(255, 199, 0, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-sm);
}

.product-emoji {
  font-size: 4.5rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  transition: transform var(--transition-normal);
}

.product-card:hover .product-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.price-wholesale {
  font-size: 0.75rem;
  color: var(--cyan-accent);
}

.add-cart-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.add-cart-btn:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-primary);
}

/* ==========================================================================
   COTIZADOR INTERACTIVO DE EVENTOS & MAYOREO
   ========================================================================== */
.calculator-section {
  background: linear-gradient(180deg, rgba(7, 9, 14, 0) 0%, rgba(18, 23, 37, 0.5) 50%, rgba(7, 9, 14, 0) 100%);
  position: relative;
}

.calculator-card {
  background: linear-gradient(145deg, rgba(16, 44, 31, 0.9), rgba(8, 22, 15, 0.95));
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--glass-shadow), 0 0 60px rgba(212, 175, 55, 0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.form-label span {
  color: var(--gold-primary);
}

.form-control {
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.range-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  background: var(--glass-border);
  border-radius: var(--radius-full);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-card:hover, .checkbox-card.selected {
  border-color: var(--gold-primary);
  background: rgba(255, 199, 0, 0.08);
}

.checkbox-card input {
  accent-color: var(--gold-primary);
}

.calc-summary {
  background: linear-gradient(145deg, rgba(22, 28, 44, 0.9), rgba(11, 14, 23, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.summary-item span:first-child {
  color: var(--text-muted);
}

.summary-item span:last-child {
  font-weight: 700;
  color: #fff;
}

.total-box {
  background: rgba(255, 199, 0, 0.08);
  border: 1px solid rgba(255, 199, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.total-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-primary);
}

/* ==========================================================================
   SERVICIOS HORECA Y EVENTOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--cyan-glow);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  color: var(--gold-primary);
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.author-details h5 {
  font-size: 1rem;
  color: #fff;
}

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

/* ==========================================================================
   MODAL DE CARRITO & COTIZACIÓN
   ========================================================================== */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 9, 0.85);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.cart-sidebar {
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  border-left: 1px solid var(--glass-border-gold);
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.cart-modal-overlay.active .cart-sidebar {
  transform: translateX(0);
}

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

.close-cart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.close-cart:hover {
  color: var(--gold-primary);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-item-price {
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #ff4d4d;
  cursor: pointer;
  font-size: 1rem;
}

.cart-footer {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #040509;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 32px;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.legal-notice {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-grid, .calculator-card {
    grid-template-columns: 1fr;
  }

  .services-grid, .testimonials-slider {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(9, 12, 19, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border-gold);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
  }

  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    color: var(--gold-primary);
    font-size: 1.3rem;
  }

  .btn-header-quote {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }

  .calculator-card {
    padding: 24px;
  }

  .services-grid, .testimonials-slider {
    grid-template-columns: 1fr;
  }

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

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

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