@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Montserrat:wght@800;900&family=Space+Grotesk:wght@700;900&display=swap');

/* =========================================================
   DOMY COLOMBIA 2026 — MAIN CSS
   Estilo: Alma Colombiana + Premium 24K Gold & Realismo Inmersivo
   ========================================================= */

/* TIPOGRAFÍA DORADA IMPERIAL CON BRILLO 24K LÍQUIDO ANIMADO */
.hero-title-subtle {
  font-family: 'Cinzel', 'Montserrat', serif;
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    110deg,
    #BF953F 0%,
    #FCF6BA 25%,
    #B38728 45%,
    #FBF5B7 55%,
    #AA771C 75%,
    #FFFFFF 90%,
    #BF953F 100%
  );
  background-size: 250% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8)) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.9));
  animation: gold-shine-sweep 4s linear infinite;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

@keyframes gold-shine-sweep {
  0% { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* ---------- 1. CSS VARIABLES (Design Tokens - Oro 24K) ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #090B10;
  --bg-secondary: #10141E;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --bg-glass: rgba(9, 11, 16, 0.94);

  /* Brand Colors - Colombia & Oro 24K */
  --yellow: #F59E0B;
  --gold-24k: #D4AF37;
  --gold-24k-dark: #997A15;
  --gold-24k-bright: #F3E5AB;
  --gold-glow: rgba(212, 175, 55, 0.45);

  --blue: #3B82F6;
  --red: #EF4444;
  --pink: #EC4899;
  --green: #10B981;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dark: #090B10;

  /* Gradients - Oro 24K Imperial */
  --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #997A15 100%);
  --gradient-neon: linear-gradient(90deg, #F59E0B, #D4AF37, #10B981);
  --gradient-flag: linear-gradient(90deg, #FCD34D 0%, #3B82F6 50%, #EF4444 100%);
  --gradient-gold-24k: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --gradient-button-hover: linear-gradient(135deg, #F59E0B 0%, #F3E5AB 100%);

  /* Effects */
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.4);
  --shadow-button: 0 4px 20px rgba(212, 175, 55, 0.4);
  --blur-glass: blur(18px);

  /* Spacing */
  --container-max: 1320px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;

  /* Backward Compatibility Tokens */
  --bg-surface: #090B10;
  --primary-emerald: #10B981;
  --primary-emerald-glow: rgba(16, 185, 129, 0.35);
  --tech-gold: #D4AF37;
  --border-glass: 1px solid rgba(255, 255, 255, 0.1);
  --border-emerald: 1px solid rgba(16, 185, 129, 0.4);
  --border-gold-24k: 1px solid rgba(212, 175, 55, 0.5);
  --font-tech: 'Inter', system-ui, sans-serif;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero-title-subtle {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
  opacity: 0.92;
}

/* Barra de Categorías Globales — Navegación Horizontal Amplia (Oro 24K & Cristal) */
.category-services-bar {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.category-bar-container {
  background: rgba(16, 20, 30, 0.9);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2);
}

.category-pills-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.25rem;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar Dorada Elegante para Desktop */
.category-pills-wrapper::-webkit-scrollbar {
  height: 5px;
}

.category-pills-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.category-pills-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #F59E0B, #D4AF37, #997A15);
  border-radius: 999px;
}

.category-pills-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--gold-24k-bright);
}

.cat-card-wide {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.9rem 1.6rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: var(--radius-lg) !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start !important;
  min-width: 240px;
}

.cat-card-wide .cat-icon {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.cat-card-wide .cat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cat-card-wide .cat-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.cat-card-wide .cat-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.cat-card-wide:hover, .cat-card-wide.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
  border-color: var(--gold-24k);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
}

.cat-card-wide:hover .cat-title, .cat-card-wide.active .cat-title {
  color: var(--gold-24k-bright);
}

.cat-card-wide:hover .cat-sub, .cat-card-wide.active .cat-sub {
  color: rgba(255, 255, 255, 0.85);
}

/* WIDGET FLOTANTE HOLOGRÁFICO 3D: EL CACIQUE IA 2100 */
.cacique-hologram-float {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  background: rgba(16, 20, 30, 0.94);
  border: 1.5px solid var(--gold-24k);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cacique-hologram-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 45px rgba(212, 175, 55, 0.7), 0 0 35px rgba(16, 185, 129, 0.6);
  border-color: var(--gold-24k-bright);
}

.hologram-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #10B981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  animation: pulse-avatar 3s ease-in-out infinite;
}

@keyframes pulse-avatar {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
  50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.9); }
}

.hologram-crown-icon {
  font-size: 1.3rem;
  color: #090B10;
}

.hologram-badge-2100 {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #10B981;
  color: #090B10;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
  border: 1px solid #090B10;
}

.hologram-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cacique-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-24k-bright);
  letter-spacing: 0.05em;
}

.cacique-sub {
  font-size: 0.68rem;
  color: #ffffff;
  font-weight: 500;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* ---------- 5. CABECERA PROTAGONISTA CON OSO BLANCO EXACTO ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1.8rem;
}

/* Contenedor con Fondo Dorado Fusionado para el Oso Blanco Exacto */
.bear-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  width: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0.2) 60%, rgba(9, 11, 16, 0) 90%);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
}

.bear-logo-container:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.9));
}

.bear-logo-img {
  height: 85%;
  width: 85%;
  object-fit: contain;
}

/* Barra de Búsqueda Grande y Protagonista en el Centro */
.search-ai-large {
  flex: 1;
  max-width: 580px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  transition: all var(--transition-fast);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.search-ai-large:focus-within {
  border-color: var(--gold-24k);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.search-ai-large input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  width: 100%;
  padding-left: 0.6rem;
}

.search-ai-large input::placeholder {
  color: var(--text-muted);
}

.search-ai-large .icon-ai {
  color: var(--gold-24k);
  font-size: 1.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* ---------- 6. HERO SECTION CON REPRODUCTOR DE VIDEO 8K DE COLOMBIA ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

/* Contenedor y Escalado de Video HD/8K (YouTube iframe / HTML5) */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 ratio */
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  filter: brightness(0.85) contrast(1.05);
}

/* Fondo Fotográfico de Fallback */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: background-image 1.5s ease-in-out;
  animation: ken-burns 25s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

/* Capas de Animación Viva sobre el Video */
.sea-waves-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 15px,
    rgba(59, 130, 246, 0.08) 15px,
    rgba(59, 130, 246, 0.08) 30px
  );
  backdrop-filter: blur(2px);
  z-index: 1;
  pointer-events: none;
  animation: wave-motion 6s ease-in-out infinite alternate;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

@keyframes wave-motion {
  0% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-8px) scaleY(1.05); }
  100% { transform: translateY(0) scaleY(1); }
}

.starry-sky-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #D4AF37, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #D4AF37, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 300px 300px;
  animation: twinkle 4s ease-in-out infinite alternate;
  opacity: 0.7;
}

@keyframes twinkle {
  0% { opacity: 0.3; }
  50% { opacity: 0.85; }
  100% { opacity: 0.3; }
}

.bird-silhouette {
  position: absolute;
  top: 18%;
  left: -50px;
  z-index: 1;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  animation: bird-fly 22s linear infinite;
}

.bird-silhouette-2 {
  position: absolute;
  top: 24%;
  left: -90px;
  z-index: 1;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  animation: bird-fly 26s linear infinite 4s;
}

@keyframes bird-fly {
  0% { transform: translateX(0) translateY(0) scale(0.8); }
  50% { transform: translateX(50vw) translateY(-25px) scale(1); }
  100% { transform: translateX(105vw) translateY(10px) scale(0.7); }
}

/* Filtros Atmosféricos */
.hero-overlay-morning {
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.7) 0%, rgba(245, 158, 11, 0.15) 50%, rgba(9, 11, 16, 0.95) 100%);
}

.hero-overlay-afternoon {
  background: linear-gradient(180deg, rgba(9, 11, 16, 0.55) 0%, rgba(59, 130, 246, 0.12) 50%, rgba(9, 11, 16, 0.95) 100%);
}

.hero-overlay-sunset {
  background: linear-gradient(180deg, rgba(20, 10, 25, 0.7) 0%, rgba(239, 68, 68, 0.25) 50%, rgba(9, 11, 16, 0.95) 100%);
}

.hero-overlay-night {
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.85) 0%, rgba(212, 175, 55, 0.1) 50%, rgba(9, 11, 16, 0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-text {
  max-width: 580px;
}

.hero-products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

/* Insignia Sutil y Elegante de Ubicación en la Parte Inferior del Video/Foto */
.landscape-bottom-badge {
  position: absolute;
  bottom: 22px;
  left: 30px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 11, 16, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* ---------- 7. BUTTONS (Oro 24K) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #1a1400;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-24k);
}

.btn-gold {
  background: var(--gradient-gold-24k);
  color: #2b1f00;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.7);
}

.btn-glow {
  box-shadow: 0 0 25px var(--gold-glow);
}

/* ---------- 8. PRODUCT CARDS & GLASSMOPRHISM ---------- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-24k);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.product-card.floating {
  width: 100%;
  max-width: 320px;
}

.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.badge-flash, .badge-live {
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  color: white;
}

.badge-ai, .badge-emerald {
  background: linear-gradient(135deg, #10B981, #3B82F6);
  color: white;
}

.badge-gold {
  background: var(--gradient-gold-24k);
  color: #2b1f00;
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}

.product-card .name, .product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff;
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-24k);
  margin-top: 0.3rem;
}

.product-card .price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
}

.product-card .discount {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-left: 0.35rem;
}

/* Grid de productos */
.products-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}

/* ---------- 9. SECTION: RECOMENDACIONES IA ---------- */
.section-ai {
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: 3rem 0;
}

.section-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.section-ai-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  color: var(--gold-24k-bright);
}

.section-ai-header h2 .icon {
  color: var(--gold-24k);
}

/* ---------- 10. MODALS & FORMS ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 11, 16, 0.88);
  backdrop-filter: var(--blur-glass);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-24k);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 620px;
  padding: 2.2rem;
  box-shadow: 0 0 45px var(--gold-glow);
  max-height: 90vh;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-24k);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* Domyguchi Pet Component */
.domyguchi-box {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-24k);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}

.domyguchi-avatar {
  font-size: 4.5rem;
  margin: 1rem 0;
  animation: float 3s ease-in-out infinite;
}

.progress-bar-container {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-gold-24k);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ---------- 11. FOOTER ---------- */
.footer {
  background: #05070B;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.payment-methods span {
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-brand .flag {
  font-size: 1.25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

/* Flag line */
.flag-line {
  height: 3px;
  width: 100%;
  background: var(--gradient-flag);
  margin-top: 1.5rem;
}

/* ---------- 12. BADGES & TAGS (Oro 24K) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.tag-ai {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-24k-bright);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* ---------- 13. UTILITY CLASSES ---------- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Glow effects */
.glow-purple, .glow-gold {
  box-shadow: 0 0 30px var(--gold-glow);
}

.glow-yellow {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
}

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-products {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .search-ai-large {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 1rem;
    gap: 0.8rem;
  }

  .search-ai-large {
    min-width: 0;
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .products-grid, .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-ai {
    padding: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 15. ANIMATIONS ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.product-card.floating {
  animation: float 5s ease-in-out infinite;
}

.product-card.floating:nth-child(2) {
  animation-delay: 0.8s;
}

.product-card.floating:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.8); }
}

.btn-primary {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ---------- 16. SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.8);
}
