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

:root {
  --bg-primary: #070d15;
  --bg-secondary: #0c1520;
  --bg-card: rgba(15, 25, 40, 0.6);
  --bg-glass: rgba(15, 25, 40, 0.4);
  --gold-primary: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #8a6d2b;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --gold-glow-strong: rgba(201, 168, 76, 0.3);
  --text-primary: #f0ece4;
  --text-secondary: rgba(240, 236, 228, 0.6);
  --text-muted: rgba(240, 236, 228, 0.35);
  --border-subtle: rgba(201, 168, 76, 0.12);
  --border-hover: rgba(201, 168, 76, 0.3);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== AMBIENT BACKGROUND ===== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  animation: orbFloat 20s ease-in-out infinite;
}

.ambient-orb:nth-child(1) {
  width: 600px; height: 600px;
  background: var(--gold-primary);
  top: -200px; right: -100px;
  animation-duration: 25s;
}

.ambient-orb:nth-child(2) {
  width: 500px; height: 500px;
  background: #4a6fa5;
  bottom: -150px; left: -100px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.ambient-orb:nth-child(3) {
  width: 400px; height: 400px;
  background: var(--gold-light);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 22s;
  animation-delay: -10s;
  opacity: 0.04;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.02); }
}

/* ===== GRAIN OVERLAY ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(7, 13, 21, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.7rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-decoration: none;
  position: relative;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px var(--gold-glow-strong));
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.nav-logo:hover::after { transform: scaleX(1); }

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-primary);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: transparent;
  border: 1px solid var(--gold-primary);
  border-radius: 100px;
  color: var(--gold-primary) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  transition: all 0.4s var(--ease-out-expo) !important;
  height: 38px;
  box-sizing: border-box;
}

.nav-wa:hover {
  background: var(--gold-primary) !important;
  color: var(--bg-primary) !important;
  box-shadow: 0 0 30px var(--gold-glow-strong);
}

.nav-wa::after { display: none !important; }

.nav-wa svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow-strong), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}

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

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: left;
    margin: 0;
  }
}

.hero-brand {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-brand {
    justify-content: flex-start;
  }
}

.hero-brand-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(201, 168, 76, 0.25));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-primary);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

@media (min-width: 992px) {
  .hero-subtitle {
    margin: 0 0 2.5rem;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatImage 8s ease-in-out infinite;
}

.hero-logo-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  transform: scale(1.12); /* Make the logo 12% bigger */
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(201, 168, 76, 0.2));
}

.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* Trust badges */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-dark);
  fill: none;
  stroke-width: 1.5;
}

/* ===== SECTION COMMON ===== */
.section {
  position: relative;
  z-index: 2;
  padding: 7rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--border-hover);
}

.section-label::before { right: calc(100% + 12px); }
.section-label::after { left: calc(100% + 12px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== DIVIDER ===== */
.section-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* ===== CATALOG ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-glow);
}

.product-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.05), transparent);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s var(--ease-out-expo);
}

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

.product-emoji {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 40, 0.7);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  transition: all 0.6s var(--ease-out-expo);
}

.product-card-img::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow-strong), transparent 70%);
  opacity: 0.3;
  z-index: 0;
  transition: all 0.6s var(--ease-out-expo);
}

.product-card:hover .product-emoji {
  transform: scale(1.1) rotate(-5deg);
  border-color: var(--gold-light);
  box-shadow: 0 6px 16px rgba(201, 168, 76, 0.4);
}

.product-card:hover .product-card-img::before {
  transform: scale(1.3);
  opacity: 0.6;
}

.product-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg-card));
  z-index: 1;
}

.product-card-body {
  padding: 1.2rem 1.5rem 1.5rem;
}

.product-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.product-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.05);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  min-height: 48px; /* Ensures all product cards align perfectly by reserving space for 2 lines */
}

/* Product Pricing */
.product-prices {
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.price-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.price-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  font-family: var(--font-display);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.price-benefit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.04);
  font-size: 0.8rem;
}

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

.price-transfer {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-display);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
  width: 100%;
  justify-content: center;
}

.product-cta:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

.product-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.product-cta:hover svg { transform: translateX(3px); }

/* ===== GENDER ICON ===== */
.product-gender {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(7, 13, 21, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
}

/* ===== ASESORAMIENTO ===== */
.asesoria {
  background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.02), transparent);
}

.asesoria-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.asesoria-content .section-title {
  margin-bottom: 1.5rem;
}

.asesoria-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ===== COMPRA STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: var(--bg-card);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-primary);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.compra-cta {
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-text a {
  color: var(--gold-dark);
  text-decoration: none;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero specific entrance */
.hero-content .hero-brand-logo {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-content .hero-badge { 
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeUp 0.8s var(--ease-out-expo) 0.4s forwards; 
}

.hero-content h1 { 
  opacity: 0; 
  transform: translateY(30px); 
  animation: fadeUp 1s var(--ease-out-expo) 0.6s forwards; 
}

.hero-content .hero-subtitle { 
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeUp 0.8s var(--ease-out-expo) 0.9s forwards; 
}

.hero-content .hero-actions { 
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeUp 0.8s var(--ease-out-expo) 1.1s forwards; 
}

.hero-content .trust-row { 
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeUp 0.8s var(--ease-out-expo) 1.3s forwards; 
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger cards */
.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.15s; }
.product-card:nth-child(4) { transition-delay: 0.2s; }
.product-card:nth-child(5) { transition-delay: 0.25s; }
.product-card:nth-child(6) { transition-delay: 0.3s; }
.product-card:nth-child(7) { transition-delay: 0.35s; }
.product-card:nth-child(8) { transition-delay: 0.4s; }

/* ===== CURSOR GLOW (desktop only) ===== */
.cursor-glow {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body:hover .cursor-glow { opacity: 1; }

/* ===== CATALOG SEARCH & FILTERS ===== */
.catalog-controls {
  max-width: 1200px;
  margin: -1.5rem auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px var(--gold-glow);
  background: rgba(15, 25, 40, 0.8);
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.search-box input:focus + .search-icon {
  opacity: 1;
}

.filter-groups {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  color: var(--text-secondary);
  padding: 0.4rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-primary);
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(201, 168, 76, 0.2);
}

/* ===== GLASSMORPHIC MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
  padding: 1.5rem;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  background: rgba(12, 21, 32, 0.85);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px var(--gold-glow);
  z-index: 2;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s var(--ease-out-expo);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-secondary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  z-index: 10;
}

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

.modal-content {
  padding: 3rem;
}

.modal-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.modal-image-wrapper {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 40, 0.8);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Prices */
.modal-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

@media (max-width: 576px) {
  .modal-prices {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.modal-price-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 14px;
  background: rgba(15, 25, 40, 0.4);
  text-align: left;
}

.modal-price-item.highlighted {
  border-color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.05);
}

.modal-price-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.modal-price-item.highlighted .modal-price-label {
  color: var(--gold-light);
}

.modal-price-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.1;
}

.modal-price-item.highlighted .modal-price-val {
  color: var(--gold-primary);
}

.modal-price-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.modal-title-info {
  flex: 1;
  text-align: left;
}

.modal-gender {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 0.3rem;
}

.modal-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.modal-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.modal-left-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.modal-section {
  display: flex;
  flex-direction: column;
}

.modal-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.2);
  padding-bottom: 0.4rem;
  text-align: left;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-ocasion {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Performance metrics */
.perf-metric {
  margin-bottom: 1.2rem;
}

.perf-metric-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.perf-metric-val {
  font-weight: 600;
  color: var(--gold-primary);
}

.perf-metric-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(240, 236, 228, 0.08);
  border-radius: 100px;
  overflow: hidden;
}

.perf-metric-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
  border-radius: 100px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Olfactory Pyramid styling */
.modal-right-col {
  text-align: left;
}

.pyramid-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pyramid-tier {
  background: rgba(15, 25, 40, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color 0.3s ease;
}

.pyramid-tier:hover {
  border-color: var(--gold-primary);
}

.pyramid-label {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.4rem;
}

.pyramid-label strong {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.pyramid-label small {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

.pyramid-icon {
  margin-right: 0.5rem;
}

.pyramid-notes {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1.5;
}

.modal-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  text-align: center;
}

.wa-order-btn {
  width: auto;
  min-width: 250px;
  justify-content: center;
}

/* ===== INTERACTIVE QUIZ ===== */
.quiz-wrapper {
  margin-top: 3rem;
  background: rgba(15, 25, 40, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.asesoria-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.quiz-start-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-container {
  transition: all 0.5s ease;
}

.quiz-container.hidden,
#quizStartView.hidden {
  display: none !important;
}

.quiz-progress-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(240, 236, 228, 0.08);
  border-radius: 100px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--gold-primary);
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--gold-primary);
}

.quiz-step {
  display: none;
  animation: quizFadeIn 0.5s var(--ease-out-quart);
}

.quiz-step.active {
  display: block;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.quiz-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: rgba(12, 21, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quiz-option-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.1);
}

.option-emoji {
  font-size: 2.2rem;
}

.option-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Result box styles */
.result-box {
  max-width: 550px;
  margin: 0 auto;
}

.result-sparkles {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.result-perfume-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(12, 21, 32, 0.8);
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.result-perfume-emoji {
  font-size: 2.8rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 13, 21, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  flex-shrink: 0;
}

.result-perfume-body {
  flex: 1;
}

.result-perfume-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.result-perfume-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== IMMERSIVE STARRY SKY & STARS ===== */
.stars-layer {
  position: absolute;
  inset: -50px; /* offset slightly to prevent edge cutting during parallax movement */
  pointer-events: none;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stars-deep {
  z-index: 1;
}

.stars-mid {
  z-index: 2;
}

.stars-near {
  z-index: 3;
}

.star {
  position: absolute;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 4px #ffffff;
  pointer-events: none;
}

.star.twinkle {
  animation: starTwinkle var(--twinkle-duration, 4s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 1);
  }
}



/* ===== AMBIENT PARTICLES ===== */
.ambient-particle {
  position: absolute;
  background: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particleFloat infinite ease-in-out;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.12;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-200px) translateX(40px);
    opacity: 0;
  }
}

/* Additional Responsive Classes */
@media (max-width: 768px) {
  .modal-container {
    max-height: 95vh;
  }
  .modal-content {
    padding: 1.8rem;
  }
  .modal-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .modal-body-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .quiz-wrapper {
    padding: 1.5rem;
  }
  .result-perfume-card {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  .filter-group {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .filter-groups {
    gap: 1.2rem;
  }
  .catalog-controls {
    margin: -1rem auto 2rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 13, 21, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  .catalog-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .steps-grid::before { display: none; }

  .trust-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cursor-glow { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 1.2rem; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .nav { padding: 0.8rem 1.2rem; }
}

/* ===== GOLDEN SPARKLES ===== */
.gold-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #ffffff 10%, var(--gold-light) 50%, var(--gold-primary) 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-primary), 0 0 3px var(--gold-light);
  pointer-events: none;
  z-index: 3;
  animation: sparkleRise 4s ease-out forwards;
}

@keyframes sparkleRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.95;
    transform: translate3d(var(--drift-x, 10px), var(--rise-y, -30px), 0) scale(1.2) rotate(45deg);
  }
  100% {
    transform: translate3d(calc(var(--drift-x, 10px) * 2.5), var(--rise-y-end, -180px), 0) scale(0) rotate(180deg);
    opacity: 0;
  }
}




