/* ============================================================
   D'Melto Chocolate — Dark Luxury Design System
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-deep:        #080300;
  --bg-primary:     #0f0600;
  --bg-secondary:   #1a0b02;
  --bg-card:        #241005;
  --bg-card-hover:  #331608;
  --gold:           #c9953a;
  --gold-light:     #e8c069;
  --gold-dim:       #7a5a1e;
  --gold-glow:      rgba(201, 149, 58, 0.14);
  --cream:          #f5e6d3;
  --cream-muted:    #c4956a;
  --text-secondary: #8a6040;
  --border:         rgba(201, 149, 58, 0.16);
  --border-hover:   rgba(201, 149, 58, 0.5);
  --shadow-card:    0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow:    0 0 40px rgba(201, 149, 58, 0.12);
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Poppins', system-ui, sans-serif;
  --nav-h:          76px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.05rem; }
p  { font-size: 1rem; color: var(--cream-muted); line-height: 1.75; }

.gold-text  { color: var(--gold); }
.cream-text { color: var(--cream); }
.italic     { font-style: italic; }

/* ---------- Layout ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section    { padding: 96px 0; position: relative; }
.section-sm { padding: 60px 0; position: relative; }

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 28px;
  background: var(--gold-dim);
}
.section-title    { color: var(--cream); margin-bottom: 14px; }
.section-subtitle { font-size: 1.05rem; color: var(--cream-muted); max-width: 560px; margin: 0 auto 52px; }
.centered         { text-align: center; }
.centered .section-label     { justify-content: center; }
.centered .section-subtitle  { margin-left: auto; margin-right: auto; }

.divider {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-gold {
  background: linear-gradient(135deg, #b8821f 0%, var(--gold-light) 50%, #b8821f 100%);
  background-size: 200% auto;
  color: #120500;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(201, 149, 58, 0.3);
}
.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 6px 32px rgba(201, 149, 58, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-dim);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.btn-amazon {
  background: linear-gradient(135deg, #e47911, #ffb340);
  color: #120500;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(228, 121, 17, 0.28);
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
}
.btn-amazon:hover {
  background: linear-gradient(135deg, #ffb340, #ffc966);
  box-shadow: 0 6px 28px rgba(228, 121, 17, 0.45);
  transform: translateY(-2px);
}
.btn-amazon svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(9, 4, 0, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--cream); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1.5px;
  width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 12px; padding: 10px 22px; font-size: 0.8rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px; width: 24px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(9, 4, 0, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--gold); }

/* ---------- Hero (CSS-only, no images) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(80, 30, 4, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 75%, rgba(50, 18, 2, 0.5) 0%, transparent 45%),
    linear-gradient(160deg, #0c0400 0%, #1a0900 55%, #080300 100%);
}
/* subtle diagonal grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 55px,
      rgba(201, 149, 58, 0.03) 55px,
      rgba(201, 149, 58, 0.03) 56px
    );
  pointer-events: none;
}
/* large ghost monogram */
.hero::after {
  content: 'D';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 52vw;
  font-weight: 700;
  line-height: 1;
  color: rgba(201, 149, 58, 0.04);
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 24px;
  margin-left: max(24px, calc(50vw - 590px));
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 149, 58, 0.1);
  border: 1px solid rgba(201, 149, 58, 0.28);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1          { color: var(--cream); margin-bottom: 10px; }
.hero h1 em       { font-style: italic; color: var(--gold); display: block; }
.hero-tagline     { font-size: 1.05rem; color: var(--cream-muted); margin: 20px 0 40px; max-width: 480px; line-height: 1.75; }
.hero-actions     { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.hero-scroll .arrow {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollArrow 2s infinite;
}

/* Hero right: 3D bar carousel */
.hero-3d {
  position: absolute;
  right: max(24px, calc(50vw - 590px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 420px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bar-scene {
  width: 100%;
  height: 100%;
  perspective: 700px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bar-scene:active { cursor: grabbing; }
.bar-ring {
  width: 100px;
  height: 150px;
  transform-style: preserve-3d;
  will-change: transform;
}
.bar-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2a1205, #1a0a02, #0d0500);
  border: 1px solid rgba(201, 149, 58, 0.18);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px 10px;
  transform: rotateY(calc(var(--i) * 72deg)) translateZ(120px);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.bar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.8;
}
.bar-card img {
  width: 84px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
  flex-shrink: 0;
  pointer-events: none;
}
.bar-card span {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
}
@keyframes scrollArrow {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.65); }
}

/* ---------- Emoji / Playful Animations ---------- */
@keyframes floatSmall {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
@keyframes floatBig {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%       { transform: translateY(-16px) rotate(var(--rot, 0deg)); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25%       { transform: rotate(-10deg) scale(1.08); }
  75%       { transform: rotate(10deg) scale(1.08); }
}
@keyframes shimmerText {
  to { background-position: -200% center; }
}

.emoji-float {
  display: inline-block;
  animation: floatSmall 2.6s ease-in-out infinite;
}
.shimmer-text {
  background: linear-gradient(90deg, var(--gold-dim) 0%, var(--gold-light) 25%, var(--cream) 50%, var(--gold-light) 75%, var(--gold-dim) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 3.5s linear infinite;
}

.value-card:hover .value-icon,
.feature-item:hover .feature-icon,
.contact-detail:hover .contact-detail-icon,
.pack-card:hover .pack-number {
  animation: wiggle 0.5s ease;
}

.emoji-wiggle { display: inline-block; }
.product-card:hover .emoji-wiggle,
.flavor-card:hover .emoji-wiggle,
.value-card:hover .emoji-wiggle,
.emoji-wiggle:hover {
  animation: wiggle 0.5s ease;
}

.product-card-visual, .flavor-card-visual { overflow: hidden; }
.product-card-visual img,
.flavor-card-visual img {
  transition: transform 0.45s ease;
}
.product-card:hover .product-card-visual img,
.flavor-card:hover .flavor-card-visual img {
  transform: scale(1.07) rotate(-1deg);
}

.hero-emoji-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  font-size: 2rem;
  opacity: 0.55;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
  animation: floatBig 5s ease-in-out infinite;
}

.page-emoji-decor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  font-size: 1.8rem;
  opacity: 0.32;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
  animation: floatBig 5.5s ease-in-out infinite;
}

/* ---------- Features Strip ---------- */
.features-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--gold); }
.feature-text h4 { font-family: var(--font-heading); color: var(--cream); font-size: 0.95rem; margin-bottom: 3px; }
.feature-text p  { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }

/* ---------- Product Cards (homepage carousel) ---------- */
.products-carousel-outer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.products-grid {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
}
.products-grid::-webkit-scrollbar { display: none; }

.pcarousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pcarousel-btn:hover {
  border-color: var(--gold);
  background: rgba(201,149,58,0.12);
}
.pcarousel-btn svg { width: 18px; height: 18px; pointer-events: none; }

.pcarousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.pcarousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.pcarousel-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.product-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: calc(33.333% - 14px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-5px);
}

/* CSS gradient header for product cards */
.product-card-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.product-card-visual .visual-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  user-select: none;
}
.product-card-visual .flavor-dot {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(201, 149, 58, 0.6);
}
.product-card-visual .flavor-bar-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(201,149,58,0.25);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.product-card-body h3    { font-size: 1.1rem; color: var(--cream); }
.product-descriptor      { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gold-dim); font-weight: 600; text-transform: uppercase; }
.product-card-body p     { font-size: 0.84rem; color: var(--cream-muted); line-height: 1.6; flex: 1; }

.ingredient-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: rgba(201, 149, 58, 0.09);
  border: 1px solid rgba(201, 149, 58, 0.2);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.68rem;
  color: var(--cream-muted);
  white-space: nowrap;
}

/* ---------- Pack Options ---------- */
.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}
.pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(201,149,58,0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.pack-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pack-card:hover::before { opacity: 1; }
.pack-card .pack-number { font-family: var(--font-heading); font-size: 3.5rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.pack-card h4  { font-size: 1.05rem; color: var(--cream); margin-bottom: 8px; }
.pack-card p   { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 20px; }
.pack-badge    { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #120500; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 12px; border-radius: 50px; text-transform: uppercase; margin-bottom: 20px; }

/* ---------- Promo Banner (CSS-only) ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 64px 56px;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(80, 30, 4, 0.5) 0%, transparent 55%),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(201, 149, 58, 0.025) 40px,
      rgba(201, 149, 58, 0.025) 41px
    );
  pointer-events: none;
}
.promo-banner::after {
  content: '♦';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  font-size: 22rem;
  color: rgba(201, 149, 58, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.promo-banner-content  { position: relative; z-index: 2; max-width: 560px; }
.promo-banner-content h2 { color: var(--cream); margin-bottom: 12px; }
.promo-banner-content p  { color: var(--cream-muted); margin-bottom: 28px; max-width: 420px; }

/* ---------- About Page ---------- */
.about-story-text { max-width: 740px; }
.about-story-text p   { margin-bottom: 18px; }
.about-story-text h2  { margin-bottom: 20px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.value-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-icon svg { width: 24px; height: 24px; color: var(--gold); }
.value-card h4 { color: var(--cream); margin-bottom: 10px; }
.value-card p  { font-size: 0.86rem; }

/* Brand numbers */
.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
}
.brand-stat {
  background: var(--bg-card);
  padding: 32px 24px;
  text-align: center;
}
.brand-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.brand-stat p { font-size: 0.82rem; color: var(--text-secondary); }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3  { color: var(--cream); margin-bottom: 14px; }
.contact-info > p { margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--gold); }
.contact-detail-text strong { display: block; color: var(--cream); font-size: 0.88rem; font-family: var(--font-heading); margin-bottom: 2px; }
.contact-detail-text span   { font-size: 0.82rem; color: var(--text-secondary); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-secondary); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201, 149, 58, 0.1);
}
.form-group textarea  { height: 130px; }
.form-group select option { background: var(--bg-card); }

/* ---------- Page Hero (inner pages — CSS only) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 88px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(80, 30, 4, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, #0c0400 0%, #100600 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(201, 149, 58, 0.025) 80px,
      rgba(201, 149, 58, 0.025) 81px
    );
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1  { color: var(--cream); margin-bottom: 12px; }
.page-hero p   { font-size: 1.05rem; max-width: 460px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--gold-dim); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border-hover); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
  position: relative;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-inner .nav-logo { font-size: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a { font-size: 0.85rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-icon:hover { color: var(--gold); border-color: var(--gold); }
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }

/* ---------- Utilities ---------- */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* ---------- Image Carousel ---------- */
.img-carousel {
  position: relative;
  overflow: hidden;
}
.img-carousel .carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y;
}
.img-carousel .carousel-track img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  opacity: 0;
  transition: background 0.2s, opacity 0.25s;
}
.img-carousel:hover .carousel-btn { opacity: 1; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-btn:hover { background: rgba(0, 0, 0, 0.78); }
.carousel-btn svg { width: 14px; height: 14px; pointer-events: none; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 18px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 5;
  pointer-events: none;
}
.carousel-caption .flavor-num {
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.carousel-caption .carousel-flavor-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.carousel-caption .flavor-keywords {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Disable pseudo-elements on product-card-visual when it becomes a carousel */
.product-card-visual.img-carousel {
  display: block;
  align-items: unset;
  justify-content: unset;
}
.product-card-visual.img-carousel::after { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-3d  { display: none; }
  .hero::after { font-size: 65vw; right: -80px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero         { flex-direction: column; justify-content: flex-start; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .hero-content { margin-left: 0; max-width: 100%; }
  .hero h1      { font-size: 2.4rem; }
  .hero::after  { display: none; }
  .hero-3d      { display: flex; position: relative; right: auto; top: auto; transform: none; width: 100%; height: 300px; margin-top: 32px; }
  .hero-emoji-decor { font-size: 1.3rem; opacity: 0.35; }
  .page-emoji-decor { font-size: 1.1rem !important; opacity: 0.22; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item  { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .feature-item:last-child { border-bottom: none; }

  .products-grid .product-card { width: calc(50% - 10px); }
  .pack-grid     { grid-template-columns: 1fr; max-width: 320px; }

  .about-values  { grid-template-columns: 1fr; }
  .brand-stats   { grid-template-columns: 1fr; }

  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .contact-form  { padding: 28px 20px; }

  .footer-inner  { justify-content: center; text-align: center; }

  .promo-grid    { grid-template-columns: 1fr; }
  .promo-banner  { padding: 40px 28px; }
  .promo-banner::after { display: none; }

  .section    { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}
@media (max-width: 480px) {
  .products-grid .product-card { width: calc(80vw - 20px); }
  .pcarousel-btn { display: none; }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .nav-logo      { font-size: 1.4rem; }
  .hero-tag      { font-size: 0.62rem; padding: 5px 14px; }
  .contact-form  { padding: 22px 16px; }
  .pack-card     { padding: 28px 18px; }
  .promo-banner  { padding: 32px 20px; }
  .value-card    { padding: 26px 18px; }
  .container     { padding: 0 16px; }
}
