/* ================================================
   PERFUM LAB — Main Stylesheet (Dark Luxury)
   ================================================ */

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

/* --- Variables --- */
:root {
  --bg:        #0a0a0a;
  --bg2:       #111111;
  --bg3:       #1a1a1a;
  --card:      #141414;
  --border:    #252525;
  --white:     #ffffff;
  --off-white: #e8e8e8;
  --muted:     #888888;
  --gold:      #c9a03e;
  --gold-lt:   #ddb85c;
  --gold-dk:   #9b7a2a;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --ease:      cubic-bezier(.4,0,.2,1);
  --trans:     all .3s var(--ease);
}

/* --- Reset --- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--sans);background:var(--bg);color:var(--off-white);line-height:1.6;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button{cursor:pointer;border:none;outline:none;font-family:inherit}

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

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(10,10,10,.98);
  border-bottom-color: rgba(201,169,110,.15);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 32px rgba(0,0,0,.45);
}

/* Fila superior: 3 columnas (toggle | brand centrado | icons) */
.navbar-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .9rem 2.5rem;
}
.nav-left { display: flex; align-items: center; }

/* Fila inferior: links centrados */
.navbar-bottom {
  display: flex; justify-content: center; align-items: center;
  padding: 0 2.5rem .7rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.nav-brand-icon, .nav-logo-mark {
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  background-image: url('../assets/images/logo-perfum.jpg');
  background-size: cover;
  background-position: center;
}
.nav-brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-brand-name span { color: var(--gold); }

/* Links */
.nav-links {
  display: flex; gap: 2.8rem;
}
.nav-link {
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Icons */
.nav-icons { display: flex; align-items: center; gap: 1.2rem; }
.nav-icon  { color: rgba(255,255,255,.75); font-size: .95rem; transition: color .2s; padding: 4px; }
.nav-icon:hover { color: var(--gold); }
.cart-btn-wrap, .wish-btn-wrap { position: relative; }
.cart-badge, .wish-badge {
  position: absolute; top: -4px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 3px;
  background: var(--gold); color: #000;
  font-size: .65rem; font-weight: 700; border-radius: 99px;
  display: none; align-items: center; justify-content: center;
  line-height: 1;
}

/* Botón búsqueda solo en móvil */
.nav-search-mobile { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: all .25s;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 2rem 0;
}

/* Subtle gradient bg */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(201,169,110,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,255,255,.02) 0%, transparent 50%);
  pointer-events: none;
}

/* ================================================
   SMOKE SYSTEM — Multi-layer luxury effect
   ================================================ */

/* Outer container: screen blend merges smoke with bg */
.smoke-container {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 75%;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

/* ── Layer 1: Ground fog ─────────────────────── */
.smoke-fog {
  position: absolute;
  bottom: -10px;
  left: -10%; right: -10%;
  height: 140px;
  background: radial-gradient(ellipse 70% 100% at 50% 100%,
    rgba(200,200,200,.09) 0%,
    rgba(180,160,120,.04) 40%,
    transparent 100%);
  filter: blur(22px);
  animation: fogPulse 10s ease-in-out infinite;
  border-radius: 50%;
}
.smoke-fog-2 {
  position: absolute;
  bottom: -20px;
  left: 5%; right: 5%;
  height: 90px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%,
    rgba(201,169,110,.06) 0%,
    transparent 70%);
  filter: blur(30px);
  animation: fogPulse 13s ease-in-out infinite reverse;
  border-radius: 50%;
}

@keyframes fogPulse {
  0%, 100% { opacity: .7; transform: scaleX(1);   }
  50%       { opacity: 1;  transform: scaleX(1.06); }
}

/* ── Layer 2: Rising puffs ───────────────────── */
/* Each puff uses a WRAPPER for x-drift + INNER for y-rise
   so both can animate independently on the same element */
.smoke-puff {
  position: absolute;
  bottom: 0;
  animation: smokeDrift var(--drift-dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.smoke-puff::after {
  content: '';
  display: block;
  width: var(--w, 240px);
  height: var(--h, 200px);
  border-radius: var(--br, 50%);
  background: var(--color, rgba(220,220,220,.06));
  filter: blur(var(--blur, 45px));
  opacity: 0;
  animation: smokePuffRise var(--rise-dur, 10s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

/* ── Large slow puffs ─────── */
.sp1  { left: 38%; --w:360px; --h:280px; --color:rgba(210,210,210,.055); --blur:60px; --br:44% 56% 60% 40%/50% 44% 56% 50%; --rise-dur:11s; --drift-dur:9s;  --delay:0s;   }
.sp2  { left: 42%; --w:300px; --h:240px; --color:rgba(201,169,110,.04);  --blur:50px; --br:56% 44% 40% 60%/44% 60% 40% 56%; --rise-dur:13s; --drift-dur:11s; --delay:3s;   }
.sp3  { left: 35%; --w:280px; --h:220px; --color:rgba(200,200,210,.05);  --blur:55px; --br:60% 40% 50% 50%/40% 56% 44% 60%; --rise-dur:10s; --drift-dur:8s;  --delay:5.5s; }
.sp4  { left: 46%; --w:320px; --h:260px; --color:rgba(180,165,140,.04);  --blur:52px; --br:50% 50% 40% 60%/60% 40% 56% 44%; --rise-dur:12s; --drift-dur:10s; --delay:1.5s; }
.sp5  { left: 32%; --w:260px; --h:200px; --color:rgba(215,215,215,.045); --blur:48px; --br:40% 60% 55% 45%/55% 45% 60% 40%; --rise-dur:9s;  --drift-dur:7s;  --delay:7s;   }
.sp6  { left: 48%; --w:340px; --h:250px; --color:rgba(201,169,110,.03);  --blur:58px; --br:55% 45% 45% 55%/45% 55% 45% 55%; --rise-dur:14s; --drift-dur:12s; --delay:2s;   }

/* ── Medium puffs ────────── */
.sp7  { left: 40%; --w:180px; --h:160px; --color:rgba(230,230,230,.065); --blur:35px; --br:50% 50% 40% 60%/60% 40% 50% 50%; --rise-dur:8s;  --drift-dur:6s;  --delay:0.8s; }
.sp8  { left: 44%; --w:200px; --h:170px; --color:rgba(201,169,110,.05);  --blur:38px; --br:60% 40% 50% 50%/40% 60% 50% 50%; --rise-dur:9s;  --drift-dur:7s;  --delay:4s;   }
.sp9  { left: 36%; --w:160px; --h:140px; --color:rgba(220,218,215,.07);  --blur:32px; --br:44% 56% 44% 56%/56% 44% 56% 44%; --rise-dur:7s;  --drift-dur:5s;  --delay:6s;   }
.sp10 { left: 50%; --w:220px; --h:180px; --color:rgba(200,200,200,.05);  --blur:40px; --br:56% 44% 60% 40%/44% 56% 40% 60%; --rise-dur:10s; --drift-dur:8s;  --delay:2.5s; }

/* ── Fine wisps ──────────── */
.sp11 { left: 41%; --w:60px;  --h:140px; --color:rgba(255,255,255,.07);  --blur:18px; --br:50% 50% 30% 70%/70% 30% 50% 50%; --rise-dur:6s;  --drift-dur:5s;  --delay:1s;   }
.sp12 { left: 47%; --w:50px;  --h:120px; --color:rgba(255,250,240,.065); --blur:15px; --br:40% 60% 70% 30%/50% 50% 30% 70%; --rise-dur:5s;  --drift-dur:4s;  --delay:3.5s; }
.sp13 { left: 38%; --w:70px;  --h:160px; --color:rgba(201,169,110,.06);  --blur:20px; --br:60% 40% 50% 50%/30% 70% 50% 50%; --rise-dur:7s;  --drift-dur:5s;  --delay:5s;   }
.sp14 { left: 44%; --w:45px;  --h:100px; --color:rgba(255,255,255,.08);  --blur:14px; --br:50% 50% 40% 60%/60% 40% 70% 30%; --rise-dur:4s;  --drift-dur:3s;  --delay:0.3s; }
.sp15 { left: 43%; --w:55px;  --h:130px; --color:rgba(230,220,200,.07);  --blur:16px; --br:44% 56% 60% 40%/40% 60% 30% 70%; --rise-dur:6s;  --drift-dur:4s;  --delay:2.2s; }

/* ── Puff rise animation ─────────────────────── */
@keyframes smokePuffRise {
  0%   { opacity: 0;   transform: translateY(0)     scale(.8)  rotate(0deg);   }
  12%  { opacity: .9; }
  50%  { opacity: .6;  transform: translateY(-90px)  scale(1.2) rotate(4deg);   }
  80%  { opacity: .2;  transform: translateY(-160px) scale(1.6) rotate(-3deg);  }
  100% { opacity: 0;   transform: translateY(-220px) scale(2)   rotate(6deg);   }
}

/* ── Drift: horizontal sinusoidal ─────────────── */
@keyframes smokeDrift {
  0%   { transform: translateX(0);     }
  25%  { transform: translateX(-18px); }
  50%  { transform: translateX(12px);  }
  75%  { transform: translateX(-8px);  }
  100% { transform: translateX(0);     }
}

/* ── Ambient bottle glow at base ─────────────── */
.hero-base-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 120px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%,
    rgba(201,169,110,.12) 0%,
    rgba(201,169,110,.04) 40%,
    transparent 70%);
  filter: blur(25px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
  z-index: 1;
}

/* ── Ground scatter particles ────────────────── */
.smoke-particles {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  pointer-events: none;
}
.sp-dot {
  position: absolute;
  bottom: 0;
  width: var(--sz, 3px);
  height: var(--sz, 3px);
  background: rgba(255,255,255,var(--a, .3));
  border-radius: 50%;
  filter: blur(1px);
  animation: dotFloat var(--fdur, 8s) ease-in-out infinite;
  animation-delay: var(--fdelay, 0s);
  opacity: 0;
}
.sp-dot:nth-child(1)  { left: 36%; --sz:2px; --a:.35; --fdur:6s;  --fdelay:0s;   }
.sp-dot:nth-child(2)  { left: 40%; --sz:3px; --a:.25; --fdur:8s;  --fdelay:1s;   }
.sp-dot:nth-child(3)  { left: 44%; --sz:2px; --a:.4;  --fdur:7s;  --fdelay:2s;   }
.sp-dot:nth-child(4)  { left: 48%; --sz:4px; --a:.2;  --fdur:9s;  --fdelay:.5s;  }
.sp-dot:nth-child(5)  { left: 52%; --sz:2px; --a:.3;  --fdur:5s;  --fdelay:3s;   }
.sp-dot:nth-child(6)  { left: 34%; --sz:3px; --a:.25; --fdur:10s; --fdelay:1.5s; }
.sp-dot:nth-child(7)  { left: 42%; --sz:2px; --a:.35; --fdur:6s;  --fdelay:4s;   }
.sp-dot:nth-child(8)  { left: 46%; --sz:3px; --a:.2;  --fdur:7s;  --fdelay:.8s;  }
.sp-dot:nth-child(9)  { left: 50%; --sz:2px; --a:.4;  --fdur:8s;  --fdelay:2.5s; }
.sp-dot:nth-child(10) { left: 38%; --sz:4px; --a:.15; --fdur:11s; --fdelay:3.5s; }

@keyframes dotFloat {
  0%   { opacity: 0;   transform: translateY(0)      translateX(0);    }
  20%  { opacity: .8; }
  60%  { opacity: .4;  transform: translateY(-80px)  translateX(10px); }
  100% { opacity: 0;   transform: translateY(-150px) translateX(-5px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: .7; transform: translateX(-50%) scaleX(1);    }
  50%       { opacity: 1;  transform: translateX(-50%) scaleX(1.15); }
}

/* Bottle visual */
.hero-bottle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  z-index: 2;
  filter: drop-shadow(0 -10px 60px rgba(255,255,255,.06));
}
.bottle-svg { width: 100%; }

/* Content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 780px;
  margin-bottom: 260px;
}

.hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2.5rem;
  letter-spacing: -.01em;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  color: var(--bg);
  padding: .85rem 2.2rem;
  border-radius: 2px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: var(--trans);
  box-shadow: 0 0 30px rgba(255,255,255,.08);
}
.hero-btn:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,.25);
}

/* ================================================
   SECTION COMMONS
   ================================================ */
section { padding: 110px 3rem; }

.container { max-width: 1200px; margin: 0 auto; }

.sec-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.sec-title em { font-style: italic; color: var(--gold); }
.sec-desc {
  color: var(--muted);
  font-size: .95rem;
  max-width: 480px;
  line-height: 1.9;
}
.sec-header { margin-bottom: 4rem; }
.sec-header.center { text-align: center; }
.sec-header.center .sec-desc { margin: 0 auto; }

/* ================================================
   ABOUT PREVIEW (home)
   ================================================ */
.about-section { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
  height: 480px;
}
.about-img-box {
  width: 100%; height: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,169,110,.12), transparent 60%);
}
.about-bottle-icon { font-size: 9rem; filter: grayscale(40%); position: relative; z-index: 1; }

.about-pill {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--gold);
  color: var(--bg);
  padding: 1.1rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}
.about-pill .big { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.about-pill .small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.about-text .sec-desc { max-width: 100%; }
.about-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 1.75rem 0;
}

.about-pills {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.about-tag {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: .8rem;
  color: var(--muted);
  transition: var(--trans);
}
.about-tag:hover { border-color: var(--gold); color: var(--white); }
.about-tag-icon { color: var(--gold); }

/* ================================================
   CATEGORIES (home)
   ================================================ */
.categories-section { background: var(--bg); }

.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--trans);
}
.cat-card:hover {
  border-color: rgba(201,169,110,.45);
  background: var(--bg3);
  transform: translateY(-5px);
}
.cat-emoji { font-size: 2.2rem; margin-bottom: .75rem; display: block; }
.cat-name {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--white);
  margin-bottom: .3rem;
}
.cat-qty {
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .06em;
}

/* ================================================
   FEATURED PRODUCTS (home)
   ================================================ */
.featured-section { background: var(--bg2); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--trans);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--white);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--trans);
  position: relative;
}
.product-card:hover {
  border-color: rgba(201,169,110,.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.product-img {
  height: 155px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.4));
}

.product-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 2px;
  z-index: 2;
}
.product-tag.nuevo   { background: var(--gold);  color: var(--bg); }
.product-tag.popular { background: #fff;          color: var(--bg); }
.product-tag.oferta  { background: #c0392b;       color: #fff; }

.product-body { padding: .85rem 1rem; }
.product-brand {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.product-name {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--white);
  margin-bottom: .2rem;
}
.product-cat {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .7rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
}
.product-price sup {
  font-size: .65rem;
  font-family: var(--sans);
  color: var(--muted);
  margin-right: 1px;
}

.buy-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--off-white);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--trans);
}
.buy-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }

.load-more-wrap { text-align: center; margin-top: 1rem; }
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(201,169,110,.4);
  color: var(--gold);
  padding: .75rem 2rem;
  border-radius: 2px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  transition: var(--trans);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ================================================
   CONTACT (home snippet)
   ================================================ */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--trans);
}
.contact-item:hover { border-color: rgba(201,169,110,.3); }

.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}
.ci-label {
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.ci-value { font-size: .9rem; color: var(--off-white); }

.social-row {
  display: flex; gap: .6rem; margin-top: 1rem;
}
.soc-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  transition: var(--trans);
}
.soc-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Contact Form */
.contact-form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}
.cf-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--off-white);
  padding: .72rem 1rem;
  border-radius: 3px;
  font-family: inherit;
  font-size: .88rem;
  transition: var(--trans);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--bg3); }

.btn-gold {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  padding: .85rem;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: var(--trans);
  margin-top: .5rem;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}

.footer-about .nav-brand { margin-bottom: 1.2rem; }
.footer-about .nav-brand-name { font-size: 1.4rem; }
.footer-about p { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }

.ft-title {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.ft-links { display: flex; flex-direction: column; gap: .6rem; }
.ft-link {
  font-size: .88rem;
  color: var(--muted);
  transition: var(--trans);
}
.ft-link:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .82rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--gold); }

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  min-height: 45vh;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 120px 3rem 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.page-hero-glow {
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,169,110,.04) 0%, transparent 60%);
  pointer-events: none;
}
.ph-eyebrow {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.ph-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  max-width: 650px;
}
.ph-title em { font-style: italic; color: var(--gold); }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-page-content { background: var(--bg2); }

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.mission-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: var(--trans);
}
.mission-card:hover {
  border-color: rgba(201,169,110,.35);
  transform: translateY(-4px);
}
.mc-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.mc-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.mc-text { font-size: .9rem; color: var(--muted); line-height: 1.9; }

.story-section { background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.story-text .sec-desc { max-width: 100%; }
.story-section .sec-desc { max-width: 100%; margin-bottom: 1.25rem; }

.about-stats-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.about-stat-card {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.about-stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
}
.about-stat-label {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.about-values-section {
  background: var(--bg2);
  padding: 80px 3rem;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.about-cta-section {
  background: var(--bg);
  padding: 80px 3rem;
  text-align: center;
}
.about-cta-section .sec-title { margin-bottom: 1.5rem; }

.story-img {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  height: 420px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.story-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,169,110,.1), transparent 60%);
}

/* ================================================
   CATALOG PAGE
   ================================================ */
.catalog-section { background: var(--bg2); }
.search-filter-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
}
.search-input-wrap {
  flex: 1;
  position: relative;
  min-width: 200px;
}
.search-input-wrap i {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.search-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--off-white);
  padding: .72rem 1rem .72rem 2.8rem;
  border-radius: 3px;
  font-family: inherit;
  font-size: .88rem;
}
.search-input:focus { outline: none; border-color: var(--gold); }
.search-input::placeholder { color: #555; }

.cat-filter-sel {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--off-white);
  padding: .72rem 1rem;
  border-radius: 3px;
  font-family: inherit;
  font-size: .85rem;
}
.cat-filter-sel:focus { outline: none; border-color: var(--gold); }
.cat-filter-sel option { background: var(--bg3); }

/* ================================================
   LOGIN PAGE
   ================================================ */
.login-page {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.login-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(201,169,110,.05) 0%, transparent 60%);
  pointer-events: none;
}
.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3.5rem 3rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.login-brand {
  text-align: center;
  margin-bottom: 2.5rem;
}
.login-mark {
  width: 60px; height: 60px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 auto 1rem;
}
.login-brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .2rem;
}
.login-brand-name span { color: var(--gold); }
.login-sub {
  font-size: .82rem;
  color: var(--muted);
}
.login-card .form-group label { color: var(--muted); }
.login-extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -.4rem 0 1.5rem;
  font-size: .8rem;
}
.remember-label { display: flex; align-items: center; gap: .4rem; color: var(--muted); cursor: pointer; }
.remember-label input[type=checkbox] { accent-color: var(--gold); }
.forgot-link { color: var(--gold); font-size: .8rem; }
.forgot-link:hover { text-decoration: underline; }
.login-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  font-size: .75rem;
  color: var(--muted);
}
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 38%;
  height: 1px;
  background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .82rem;
  color: var(--muted);
}
.login-footer a { color: var(--gold); }

/* ================================================
   TOAST
   ================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.toast {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  color: var(--off-white);
  padding: 1rem 1.4rem;
  border-radius: 4px;
  font-size: .85rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  max-width: 300px;
}
.toast.show { transform: translateX(0); }
.toast.error { border-left-color: #e74c3c; }
.toast.success { border-left-color: #27ae60; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  section { padding: 70px 1.75rem; }
  .navbar-top { padding: .7rem 1.1rem; display: flex; justify-content: space-between; align-items: center; }
  .nav-brand { justify-self: unset; }
  .nav-icons { justify-self: unset; gap: .9rem; }
  .nav-brand-icon { display: none; }
  .nav-brand-name { font-size: 1.05rem; letter-spacing: .14em; white-space: nowrap; }
  .nav-left { gap: .35rem; align-items: center; }
  .nav-search-mobile { display: flex !important; }
  #searchBtn { display: none; }
  .wish-btn-wrap { display: none; }
  /* Menú desplegable (JS controla display via inline style) */
  .navbar-bottom { display: none; flex-direction: column; width: 100%; padding: 0; border-top: none; }
  .nav-links {
    flex-direction: column; gap: 0;
    background: rgba(10,10,10,.98);
    padding: 1rem 2rem 1.5rem; width: 100%;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links li { padding: .45rem 0; }
  .nav-toggle { display: flex; }
  .hero-content { margin-bottom: 200px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .mission-cards { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  footer { padding: 3.5rem 1.75rem 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.6rem; }
  .hero-content { margin-bottom: 160px; }
  .hero-bottle { width: 160px; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .login-card { padding: 2.5rem 1.75rem; }
  .navbar { padding: 0 1.25rem; }
  section { padding: 55px 1.25rem; }
  .page-hero { padding: 100px 1.25rem 3.5rem; min-height: unset; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 1rem; }
  .nav-icons { gap: .65rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-bottle { width: 130px; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .login-card { padding: 2rem 1.25rem; max-width: 100%; }
  .login-mark { width: 48px; height: 48px; font-size: .9rem; }
  .smoke-puff, .smoke-fog { display: none; }
  section { padding: 40px 1rem; }
  .page-hero { padding: 80px 1rem 2rem; min-height: unset; }
  footer { padding: 3rem 1rem 2rem; }
  .ph-title { font-size: 1.9rem; }
}

/* ================================================
   SITE FOOTER (index-style)
   ================================================ */
.site-footer {
  background: #030303;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 4rem 2.5rem 0;
  margin-top: auto;
}
.site-footer .footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  margin-bottom: 0;
}
.footer-brand-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: .58rem; font-weight: 700; letter-spacing: .05em;
  flex-shrink: 0;
}
.footer-brand-row {
  display: flex; align-items: center;
  gap: .55rem; margin-bottom: 1rem;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 600;
  color: var(--white); letter-spacing: .04em;
}
.site-footer .footer-about {
  color: rgba(255,255,255,.45);
  font-size: .82rem; line-height: 1.72;
  max-width: 230px; margin-bottom: 1.4rem;
}
.footer-social { display: flex; gap: .9rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: .85rem;
  transition: color .22s, border-color .22s, background .22s;
}
.footer-social a:hover {
  color: var(--gold);
  border-color: rgba(201,160,62,.35);
  background: rgba(201,160,62,.07);
}
.footer-col-title {
  font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a {
  color: rgba(255,255,255,.45); font-size: .83rem;
  transition: color .2s, padding-left .2s; display: inline-block;
}
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start;
  gap: .65rem; color: rgba(255,255,255,.45);
  font-size: .83rem; line-height: 1.5; margin-bottom: .75rem;
}
.footer-contact-item i {
  color: var(--gold); font-size: .8rem;
  margin-top: 2px; flex-shrink: 0;
}
.site-footer .footer-bottom {
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(255,255,255,.05);
  margin: 0 auto;
}
.footer-copy { color: rgba(255,255,255,.45); font-size: .75rem; }
.footer-tagline {
  color: rgba(255,255,255,.45); font-size: .75rem;
  font-family: var(--serif); font-style: italic;
}
@media (max-width: 960px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
  .site-footer .footer-about { max-width: 100%; }
}
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 3rem 1.5rem 0; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
}

/* ================================================
   MOBILE PERFORMANCE — reduce GPU load & fix 100vh
   ================================================ */
@media (max-width: 768px) {
  /* Disable backdrop-filter on navbar — heavy GPU repaint on scroll */
  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10,10,10,.97) !important;
  }
  /* Stop heavy fog/glow animations — cause composite layer thrashing */
  .hero-fog-1, .hero-fog-2, .hero-glow, .login-glow,
  .page-hero-glow, .sp-dot {
    animation: none !important;
    opacity: 0 !important;
  }
  /* Disable smoke particles at 768px too (not just 480px) */
  .smoke-puff, .smoke-fog {
    display: none !important;
  }
  /* Remove will-change from always-animating elements to free GPU layers */
  .smoke-puff, .smoke-fog, .sp-dot, .hero-fog-1, .hero-fog-2 {
    will-change: auto !important;
  }
}
/* ================================================
   INDEX HEADER COMPATIBILITY
   Mantiene el header de index en paginas que tambien cargan main.css
   ================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 300;
  width: 100%;
  background: var(--panel, #050505);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 2.5rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s, border-color .35s;
}

.navbar.scrolled {
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 32px rgba(0,0,0,.45);
  border-bottom-color: rgba(201,160,62,.15);
}

.navbar-top {
  display: contents;
  padding: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  order: 1;
}

.navbar-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: .9rem 2rem;
  border-top: none;
  order: 3;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  order: 2;
  flex: 0 0 auto;
  justify-self: unset;
}

.nav-brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  white-space: normal;
}

.nav-links {
  display: flex;
  gap: 2.8rem;
}

.nav-link {
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  order: 4;
  flex: 0 0 auto;
  justify-self: unset;
}

.nav-search-mobile,
.drawer-close {
  display: none;
}

#searchBtn,
.wish-btn-wrap {
  display: inline-flex;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 0;
    align-items: stretch;
    background: var(--panel, #050505) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .7rem 1.1rem;
    order: unset;
  }

  .nav-brand,
  .nav-icons,
  .nav-left {
    order: unset;
    flex: unset;
  }

  .nav-brand-icon {
    display: none;
  }

  .nav-brand-name {
    font-size: 1.05rem;
    letter-spacing: .14em;
    white-space: nowrap;
  }

  .nav-left {
    gap: .35rem;
    align-items: center;
  }

  .nav-icons {
    gap: .9rem;
  }

  .nav-search-mobile {
    display: flex !important;
  }

  #searchBtn {
    display: none;
  }

  .wish-btn-wrap {
    display: inline-flex;
  }

  .navbar-bottom {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    width: 260px;
    background: rgba(8,8,8,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255,255,255,.1);
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    overflow-y: auto;
    order: unset;
    flex: unset;
    border-top: none;
  }

  .navbar-bottom.is-open {
    transform: translateX(0);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 250;
  }

  .nav-overlay.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    background: transparent;
    padding: 0;
    width: 100%;
    border-top: none;
  }

  .nav-links li {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li .nav-link {
    display: block;
    padding: .9rem 0;
    color: #fff;
    font-size: .82rem;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .drawer-close {
    display: block;
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: color .2s;
  }

  .drawer-close:hover {
    color: #fff;
  }

  .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5,5,5,.96) !important;
  }
}

/* ================================================
   ABOUT PAGE
   ================================================ */

    .about-page .mission-card {
      min-width: 0;
    }

    .about-page .mc-title,
    .about-page .mc-text {
      overflow-wrap: break-word;
    }

    .about-page .mission-card .mc-text {
      text-align: left;
      text-align-last: left;
      hyphens: auto;
    }

    @media (max-width: 768px) {
      .about-page .about-hero {
        padding: 96px 1.5rem 3rem;
        min-height: auto;
      }

      .about-page .about-page-content,
      .about-page .story-section,
      .about-page .about-values-section {
        padding: 60px 1.5rem !important;
      }

      .about-page .container {
        width: 100%;
      }

      .about-page .sec-header {
        margin-bottom: 2.5rem;
      }

      .about-page .about-page-content .sec-label,
      .about-page .story-section .sec-label,
      .about-page .about-values-section .sec-label {
        font-size: .66rem;
        line-height: 1.5;
      }

      .about-page .about-page-content .sec-title,
      .about-page .story-section .sec-title,
      .about-page .about-values-section .sec-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        line-height: 1.18;
      }

      .about-page .sec-desc,
      .about-page .mc-text {
        font-size: .9rem;
        line-height: 1.75;
      }

      .about-page .story-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 2.25rem;
        align-items: center;
      }

      .about-page .story-img {
        height: min(340px, 46vw);
      }

      .about-page .story-img img {
        object-fit: cover !important;
        object-position: center;
        padding: 0;
      }

      .about-page .story-section .sec-header {
        margin-bottom: 1.5rem;
      }

      .about-page .story-section .sec-desc {
        max-width: 34rem !important;
        text-align: justify;
        text-align-last: left;
      }

      .about-page .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .9rem !important;
      }

      .about-page .about-values-grid .mission-card {
        padding: 1.35rem 1rem;
      }

      .about-page .about-values-grid .mc-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
        margin-bottom: 1rem;
      }

      .about-page .about-values-grid .mc-title {
        font-size: 1.03rem;
      }

      .about-page .about-values-grid .mc-text {
        font-size: .78rem;
        line-height: 1.65;
      }
    }

    @media (max-width: 600px) {
      .about-page .about-page-content,
      .about-page .story-section,
      .about-page .about-values-section {
        padding: 48px 1.2rem !important;
      }

      .about-page .mission-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .8rem;
      }

      .about-page .mission-cards .mission-card:first-child {
        grid-column: 1 / -1;
      }

      .about-page .mission-card {
        padding: 1.45rem 1rem;
      }

      .about-page .mission-cards .mc-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
        margin-bottom: .95rem;
      }

      .about-page .mission-cards .mc-title {
        font-size: 1.02rem;
      }

      .about-page .mission-cards .mc-text {
        font-size: .78rem;
        line-height: 1.65;
      }

      .about-page .about-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .65rem !important;
        margin-top: 2rem !important;
      }

      .about-page .about-stat-card {
        padding: .85rem .45rem !important;
      }

      .about-page .about-stat-number {
        font-size: 1.45rem !important;
      }

      .about-page .about-stat-label {
        font-size: .58rem !important;
        letter-spacing: .06em !important;
      }
    }

    @media (max-width: 480px) {
      .about-page .about-hero {
        padding: 76px 1rem 2.2rem;
      }

      .about-page .about-page-content,
      .about-page .story-section,
      .about-page .about-values-section {
        padding: 42px 1rem !important;
      }

      .about-page .ph-title {
        font-size: 2rem;
      }

      .about-page .sec-header {
        margin-bottom: 2rem;
      }

      .about-page .story-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
      }

      .about-page .story-img {
        width: min(100%, 420px);
        height: min(320px, 72vw);
        margin: 0 auto;
      }

      .about-page .story-section .sec-title {
        font-size: clamp(1.7rem, 8vw, 2.25rem);
        text-align: center;
      }

      .about-page .story-section .sec-label {
        text-align: center;
      }

      .about-page .story-section .sec-title br {
        display: none;
      }

      .about-page .story-section .sec-desc {
        max-width: 34rem !important;
        margin-left: auto;
        margin-right: auto;
        font-size: .86rem;
        line-height: 1.75;
        text-align: justify;
        text-align-last: left;
      }

      .about-page .mission-cards {
        gap: .7rem;
      }

      .about-page .mission-cards .mission-card {
        padding: 1.1rem .78rem;
      }

      .about-page .mission-cards .mc-icon {
        width: 34px;
        height: 34px;
        font-size: .9rem;
        margin-bottom: .75rem;
      }

      .about-page .mission-cards .mc-title {
        font-size: .88rem;
        margin-bottom: .55rem;
      }

      .about-page .mission-cards .mc-text {
        font-size: .68rem;
        line-height: 1.55;
      }
    }

    @media (max-width: 360px) {
      .about-page .mission-cards,
      .about-page .story-grid {
        grid-template-columns: 1fr !important;
      }

      .about-page .mission-cards .mission-card:first-child {
        grid-column: auto;
      }

      .about-page .mission-cards .mission-card {
        padding: 1.45rem 1rem;
      }

      .about-page .mission-cards .mc-title {
        font-size: 1rem;
      }

      .about-page .mission-cards .mc-text {
        font-size: .82rem;
      }

      .about-page .about-values-grid {
        grid-template-columns: 1fr !important;
      }

      .about-page .about-stats-grid {
        grid-template-columns: 1fr !important;
      }
    }
  

/* ================================================
   FAQ PAGE
   ================================================ */

    .faq-section { padding: 80px 3rem; }
    .faq-list { max-width: 760px; margin: 0 auto; }
    .faq-item {
      border: 1px solid var(--border);
      border-radius: 8px;
      margin-bottom: .75rem;
      overflow: hidden;
      background: var(--bg3);
      transition: border-color .2s;
    }
    .faq-item.open { border-color: rgba(201,169,110,.3); }
    .faq-question {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 1.15rem 1.4rem;
      font-size: .92rem; font-weight: 500; color: var(--white);
      text-align: left; gap: 1rem;
      background: none; cursor: pointer;
    }
    .faq-question i { color: var(--gold); font-size: .8rem; transition: transform .3s; flex-shrink: 0; }
    .faq-item.open .faq-question i { transform: rotate(180deg); }
    .faq-answer {
      max-height: 0; overflow: hidden;
      transition: max-height .35s ease, padding .35s ease;
      padding: 0 1.4rem;
    }
    .faq-item.open .faq-answer { max-height: 300px; padding: 0 1.4rem 1.2rem; }
    .faq-answer p { font-size: .88rem; color: var(--muted); line-height: 1.8; }
    .faq-category { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin: 2.5rem 0 1rem; }
    .faq-category:first-child { margin-top: 0; }
    @media (max-width: 768px) { .faq-section { padding: 60px 1.5rem; } }
    @media (max-width: 480px) { .faq-section { padding: 40px 1rem; } }
  

/* ================================================
   ENVIOS PAGE
   ================================================ */

    .policy-section { padding: 80px 3rem; }
    .policy-content { max-width: 760px; margin: 0 auto; }
    .policy-block { margin-bottom: 2.5rem; }
    .policy-block h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--white); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
    .policy-block h2 i { color: var(--gold); font-size: 1rem; }
    .policy-block p { font-size: .9rem; color: var(--muted); line-height: 1.85; margin-bottom: .75rem; }
    .policy-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .86rem; }
    .policy-table th { text-align: left; padding: .65rem 1rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(201,169,110,.2); }
    .policy-table td { padding: .65rem 1rem; color: var(--muted); border-bottom: 1px solid var(--border); }
    .policy-table tr:last-child td { border-bottom: none; }
    .policy-table td:first-child { color: var(--white); }
    .info-box {
      background: rgba(201,169,110,.06); border: 1px solid rgba(201,169,110,.2);
      border-radius: 8px; padding: 1.1rem 1.4rem; margin: 1.25rem 0;
      font-size: .86rem; color: var(--muted); line-height: 1.7;
      display: flex; gap: .75rem; align-items: flex-start;
    }
    .info-box i { color: var(--gold); flex-shrink: 0; margin-top: .15rem; }
    .policy-table-wrap { overflow-x: auto; }
    @media (max-width: 768px) { .policy-section { padding: 60px 1.5rem; } }
    @media (max-width: 480px) { .policy-section { padding: 40px 1rem; } }
  

/* ================================================
   TERMINOS PAGE
   ================================================ */

    .policy-section { padding: 80px 3rem; }
    .policy-content { max-width: 760px; margin: 0 auto; }
    .policy-block { margin-bottom: 2.5rem; }
    .policy-block h2 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--white); margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
    .policy-block p { font-size: .88rem; color: var(--muted); line-height: 1.9; margin-bottom: .7rem; }
    .policy-meta { font-size: .78rem; color: rgba(255,255,255,.3); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
    @media (max-width: 768px) { .policy-section { padding: 60px 1.5rem; } }
    @media (max-width: 480px) { .policy-section { padding: 40px 1rem; } }
  
