/* ============================================================
   J10 PAINTS — style.css
   Homepage + Global Design System
   Glassmorphism | Warm Palette | Editorial Typography
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES — Single source of truth
   ============================================================ */
:root {
  /* --- Colour Palette --- */
  --ink:          #0D0D0D;
  --white:        #FFFFFF;
  --cream:        #FAF7F2;       /* Body background */
  --cream-2:      #F5EFE6;       /* Alternate section bg */
  --slate:        #2C2C2C;       /* Dark panels */
  --gold:         #B8860B;       /* Accents, borders, active */
  --gold-light:   #F0C040;       /* Gold text on dark */
  --gold-pale:    #FDF6DC;       /* Highlighted box bg */
  --gold-glow:    rgba(184,134,11,0.3);
  --mid-brown:    #8A7A60;       /* Subtitles, labels */
  --success:      #2A7A3A;
  --alert:        #B83030;
  --whatsapp:     #25D366;
  --whatsapp-dark:#128C7E;

  /* --- Glass Surfaces --- */
  --glass-white:  rgba(255,255,255,0.18);
  --glass-dark:   rgba(13,13,13,0.52);
  --glass-gold:   rgba(253,246,220,0.48);
  --glass-border: rgba(255,255,255,0.28);
  --glass-border-dark: rgba(255,255,255,0.10);
  --glass-border-gold: rgba(184,134,11,0.25);

  /* --- Glass Depth System (from reference UI) --- */
  --blur-glass:   28px;
  --blur-heavy:   44px;
  --blur-subtle:  14px;

  /* Inner highlight — simulates top-lit glass surface */
  --glass-inner:  inset 0 1px 0 rgba(255,255,255,0.70),
                  inset 0 -1px 0 rgba(0,0,0,0.06);
  --glass-inner-dark: inset 0 1px 0 rgba(255,255,255,0.12),
                      inset 0 -1px 0 rgba(0,0,0,0.20);
  --glass-inner-warm: inset 0 1px 0 rgba(255,255,255,0.75),
                      inset 0 -1px 0 rgba(184,134,11,0.08);

  /* Layered shadow system (soft → medium → deep) */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.04),
                  0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:    0 2px 4px rgba(0,0,0,0.04),
                  0 8px 24px rgba(0,0,0,0.08),
                  0 24px 48px rgba(0,0,0,0.06);
  --shadow-lg:    0 4px 8px rgba(0,0,0,0.05),
                  0 16px 48px rgba(0,0,0,0.12),
                  0 48px 96px rgba(0,0,0,0.14);
  --shadow-gold:  0 4px 16px rgba(184,134,11,0.18),
                  0 12px 40px rgba(184,134,11,0.22),
                  inset 0 1px 0 rgba(255,200,60,0.30);
  --shadow-glow:  0 0 0 1px rgba(184,134,11,0.12),
                  0 0 24px rgba(184,134,11,0.18),
                  0 0 64px rgba(184,134,11,0.08);

  /* Grain noise texture (fractal, 200×200, greyscale) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");

  /* --- Border Radius --- */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 50px;

  /* --- Typography --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'Courier New', Courier, monospace;

  /* --- Spacing --- */
  --section-gap: 120px;
  --container:   1280px;

  /* --- Shadows --- */
  --shadow-sm:    0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 24px 80px rgba(0,0,0,0.18);
  --shadow-gold:  0 8px 32px rgba(184,134,11,0.20);

  /* --- Transitions --- */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

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

body {
  background-color: var(--cream);
  /* Ambient warm glow — mimics soft studio lighting through glass */
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 10%,  rgba(184,134,11,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 90%,  rgba(184,134,11,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%,  rgba(255,248,220,0.40) 0%, transparent 80%),
    var(--grain);
  background-size: 100% 100%, 100% 100%, 100% 100%, 200px 200px;
  background-blend-mode: normal, normal, normal, multiply;
  background-attachment: fixed, fixed, fixed, local;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}


/* ============================================================
   3. GLASS UTILITY CLASSES
   Layered depth: grain texture + backdrop blur + inner highlight
   + gradient border + diffused shadow (matches reference UI)
   ============================================================ */

/* Grain overlay — applied inside glass panels via background layers */
.glass {
  background:
    var(--grain),
    linear-gradient(
      160deg,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.10) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  backdrop-filter: blur(var(--blur-glass)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--glass-inner),
    var(--shadow-md);
}

.glass-dark {
  background:
    var(--grain),
    linear-gradient(
      160deg,
      rgba(255,255,255,0.07) 0%,
      rgba(13,13,13,0.50) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--blur-heavy)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(160%);
  border: 1px solid var(--glass-border-dark);
  box-shadow:
    var(--glass-inner-dark),
    var(--shadow-lg);
}

.glass-warm {
  background:
    var(--grain),
    linear-gradient(
      150deg,
      rgba(255,248,220,0.60) 0%,
      rgba(253,246,220,0.38) 60%,
      rgba(240,220,180,0.28) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  backdrop-filter: blur(var(--blur-glass)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(160%);
  border: 1px solid var(--glass-border-gold);
  box-shadow:
    var(--glass-inner-warm),
    var(--shadow-gold);
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--mid-brown);
  max-width: 540px;
  margin: 0 auto;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    background 0.18s ease,
    filter 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.22) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Tactile press — slight sink + inner shadow */
.btn:active {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.94);
}

/* Primary — rich gold gradient with grain + inner highlight */
.btn-primary {
  background:
    var(--grain),
    linear-gradient(140deg, #D4A820 0%, #B8860B 50%, #9A6E00 100%);
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  color: var(--white);
  border: 1px solid rgba(255,200,60,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,220,80,0.40),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 4px 12px rgba(184,134,11,0.30),
    0 12px 32px rgba(184,134,11,0.25),
    0 0 0 1px rgba(184,134,11,0.15);
  text-shadow: 0 1px 2px rgba(0,0,0,0.20);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,220,80,0.50),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 6px 20px rgba(184,134,11,0.40),
    0 20px 48px rgba(184,134,11,0.28),
    0 0 48px rgba(184,134,11,0.15),
    0 0 0 1px rgba(184,134,11,0.20);
  filter: brightness(1.06);
}

.btn-primary:active {
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(0,0,0,0.15),
    0 2px 8px rgba(184,134,11,0.20);
  filter: brightness(0.92);
}

/* Ghost — frosted glass border with shimmer */
.btn-ghost {
  background:
    var(--grain),
    rgba(255,255,255,0.06);
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 4px 16px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background:
    var(--grain),
    rgba(255,255,255,0.14);
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  border-color: rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 6px 24px rgba(0,0,0,0.14),
    0 0 0 1px rgba(255,255,255,0.12);
}

/* WhatsApp — green gradient with glow */
.btn-whatsapp {
  background:
    var(--grain),
    linear-gradient(140deg, #2FD97A 0%, #25D366 40%, #128C7E 100%);
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  color: var(--white);
  border: 1px solid rgba(37,211,102,0.35);
  box-shadow:
    inset 0 1px 0 rgba(100,255,160,0.40),
    inset 0 -1px 0 rgba(0,0,0,0.20),
    0 4px 16px rgba(37,211,102,0.28),
    0 12px 32px rgba(37,211,102,0.20);
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.btn-whatsapp:hover {
  box-shadow:
    inset 0 1px 0 rgba(100,255,160,0.50),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 6px 24px rgba(37,211,102,0.40),
    0 20px 48px rgba(37,211,102,0.24),
    0 0 48px rgba(37,211,102,0.12);
  filter: brightness(1.05);
}

/* WhatsApp pulse — fires on CTA banner */
.btn-whatsapp-pulse {
  animation: whatsapp-pulse 2.4s ease-in-out 1.5s 3;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.30); transform: scale(1); }
  50%       { box-shadow: 0 0 0 12px rgba(37,211,102,0.12), 0 8px 32px rgba(37,211,102,0.45); transform: scale(1.04); }
}


/* ============================================================
   6. SCROLL REVEAL — base states (animations.js controls these)
   ============================================================ */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-panel {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    box-shadow 0.4s ease;
  transition-delay: var(--panel-delay, 0ms);
}

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


/* ============================================================
   7. NAVIGATION BAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  z-index: 1000;
  border-radius: var(--r-pill);

  /* Frosted glass pill with grain */
  background:
    var(--grain),
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.82) 0%,
      rgba(255,253,245,0.72) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);

  /* Gradient border via box-shadow layering */
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 0 -1px 0 rgba(184,134,11,0.10),
    0 4px 6px rgba(0,0,0,0.04),
    0 10px 28px rgba(0,0,0,0.08),
    0 32px 64px rgba(0,0,0,0.06),
    0 0 0 1px rgba(184,134,11,0.08);

  /* Page load animation */
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  animation: nav-drop 0.6s var(--ease-out) 0.1s forwards;
}

@keyframes nav-drop {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.navbar.scrolled {
  background:
    var(--grain),
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.92) 0%,
      rgba(255,250,238,0.85) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(184,134,11,0.12),
    0 4px 8px rgba(0,0,0,0.06),
    0 12px 40px rgba(0,0,0,0.12),
    0 0 0 1px rgba(184,134,11,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 28px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid-brown);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: rgba(184,134,11,0.08);
}

.nav-whatsapp {
  font-size: 13px;
  padding: 10px 20px;
  flex-shrink: 0;
}

/* Hamburger — mobile only */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 20px;
  border-top: 1px solid rgba(184,134,11,0.10);
}

.nav-mobile-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-mobile.open {
  display: flex;
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

/* Image + parallax wrapper */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  /* Parallax is applied via JS */
}

/* Fallback gradient when image is missing */
.hero-gradient-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #2C2C2C 0%,
    #4A3820 40%,
    #8B5E3C 70%,
    #C0603A 100%
  );
}

/* Dark overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(13,13,13,0.70) 0%,
    rgba(13,13,13,0.40) 60%,
    rgba(13,13,13,0.20) 100%
  );
}

/* Content box — glass-dark card */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 56px 48px;
  border-radius: var(--r-lg);
  margin-right: auto;

  /* Page load animation */
  opacity: 0;
  transform: translateY(30px);
  animation: hero-rise 0.9s var(--ease-out) 0.3s forwards;
}

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;

  opacity: 0;
  animation: hero-fade 0.6s ease 0.6s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;

  opacity: 0;
  transform: translateY(20px);
  animation: hero-rise 0.7s var(--ease-out) 0.5s forwards;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  margin-bottom: 40px;

  opacity: 0;
  animation: hero-fade 0.6s ease 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  opacity: 0;
  animation: hero-fade 0.6s ease 1.0s forwards;
}

@keyframes hero-fade {
  to { opacity: 1; }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  opacity: 0;
  animation: hero-fade 0.6s ease 1.3s forwards;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.40);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

.scroll-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}


/* ============================================================
   9. STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--slate);
  padding: 48px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 64px;
  flex: 1;
  max-width: 280px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}


/* ============================================================
   10. CATEGORY PANELS
   ============================================================ */
.categories {
  padding: var(--section-gap) 0;
  background: var(--cream);
}

.panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 580px;
  cursor: pointer;
}

.panel:hover {
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  transform: translateY(-6px) !important;  /* overrides reveal transform after visible */
}

.panel-image-wrap {
  position: absolute;
  inset: 0;
}

.panel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.panel:hover .panel-image {
  transform: scale(1.05);
}

/* Fallback gradients per panel when images are missing */
.panel-image-fallback {
  position: absolute;
  inset: 0;
}

.panel-fallback-1 {
  background: linear-gradient(160deg, #C8A8D8 0%, #8058A0 40%, #4B2E6E 100%);
}

.panel-fallback-2 {
  background: linear-gradient(160deg, #F5C8D8 0%, #C06080 40%, #8B1A10 100%);
}

.panel-fallback-3 {
  background: linear-gradient(160deg, #E8C870 0%, #C0603A 40%, #5C3A1E 100%);
}

/* Content overlay at bottom */
.panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transform: translateY(0);
  transition: transform 0.4s var(--ease-out);
}

.panel-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(184,134,11,0.40);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.panel-description {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.panel-count {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.panel-price {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
}

.panel-btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 12px 20px;
}


/* ============================================================
   11. COLOUR TEASER
   ============================================================ */
.teaser {
  padding: var(--section-gap) 0;
  background: var(--cream-2);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.teaser-swatch {
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s ease;
  display: block;
}

.teaser-swatch:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-gold);
}

.swatch-colour {
  height: 120px;
  background-color: var(--swatch-hex);
  transition: height 0.3s var(--ease-out);
}

.teaser-swatch:hover .swatch-colour {
  height: 140px;
}

.swatch-info {
  padding: 12px 14px;
  background: var(--white);
}

.swatch-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swatch-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mid-brown);
}

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


/* ============================================================
   12. ABOUT STRIP
   ============================================================ */
.about {
  padding: var(--section-gap) 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-label {
  text-align: left;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 28px;
}

.about-body {
  font-size: 17px;
  color: var(--mid-brown);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-text .btn {
  margin-top: 16px;
}

.about-image-wrap {
  /* existing rules... */
  overflow: hidden;      /* ADD */
  border-radius: var(--r-lg);  /* ADD if not there */
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* ADD */
  display: block;        /* ADD */
}

.about-image-fallback {
  width: 100%;
  height: 520px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #C9A84C 0%, #8A5C28 50%, #2C1810 100%);
}

/* Badge floating on the image */
.about-image-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.badge-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.badge-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--mid-brown);
}


/* ============================================================
   13. HOW TO ORDER
   ============================================================ */
.how-to-order {
  padding: var(--section-gap) 0;
  background: var(--cream-2);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 40px 32px;
  border-radius: var(--r-lg);
}

.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold-pale), var(--gold));
  margin-top: 52px;
  opacity: 0.60;
}

.step-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.step-body {
  font-size: 16px;
  color: var(--mid-brown);
  line-height: 1.7;
  margin-bottom: 24px;
}

.step-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.step-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}


/* ============================================================
   14. WHATSAPP CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: var(--slate);
}

/* Decorative paint drip feel — subtle top border */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  z-index: 1;
}

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

.cta-label {
  color: var(--gold-light);
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
}


/* ============================================================
   15. PAINT DRIP DIVIDERS
   (JS controls the SVG animation; CSS defines the style)
   ============================================================ */
.drip-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.drip-divider svg {
  display: block;
  width: 100%;
}

.drip-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.20;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.2s var(--ease-out);
}

.drip-path.visible {
  stroke-dashoffset: 0;
}


/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}

.footer-manage-link {
  font-size: 12px;
  color: rgba(255,255,255,0.20);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-manage-link:hover {
  color: rgba(255,255,255,0.55);
}


/* ============================================================
   17. RESPONSIVE — TABLET  (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .container { padding: 0 28px; }

  .navbar {
    width: calc(100% - 40px);
  }

  .panels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .panel {
    min-height: 420px;
  }

  .teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image, .about-image-fallback {
    height: 360px;
  }

  .about-image-badge {
    bottom: -16px;
    right: 16px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 24px;
  }

  .step-connector {
    width: 2px;
    height: 32px;
    margin: 0 0 0 52px;
    background: linear-gradient(to bottom, var(--gold-pale), var(--gold));
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================
   18. RESPONSIVE — MOBILE  (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-gap: 64px; }

  .container { padding: 0 20px; }

  .navbar {
    width: calc(100% - 24px);
    top: 12px;
    border-radius: 20px;
  }

  .nav-links,
  .nav-whatsapp {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    align-items: flex-end;
  }

  .hero-content {
    padding: 32px 24px;
    max-width: 100%;
    border-radius: var(--r-md);
  }

  .hero-headline {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-item {
    padding: 0;
  }

  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


/* ============================================================
   19. REDUCED MOTION — accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-section,
  .reveal-panel {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   20. GLASSMORPHISM ENHANCEMENTS — Surface Upgrades
   Layered glass depth applied to each major section.
   These rules extend (override) the base section styles above.
   ============================================================ */


/* --- 20a. HERO CONTENT — frosted dark glass card --- */
.hero-content {
  background:
    var(--grain),
    linear-gradient(
      145deg,
      rgba(255,255,255,0.08) 0%,
      rgba(13,13,13,0.52) 60%,
      rgba(13,13,13,0.68) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--blur-heavy)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 8px 32px rgba(0,0,0,0.30),
    0 32px 80px rgba(0,0,0,0.28),
    0 0 0 1px rgba(184,134,11,0.08);
}

/* Second overlay layer — ambient warm radial glow from bottom-left */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(184,134,11,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 30% 70%,  rgba(184,134,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}


/* --- 20b. STATS STRIP — dark glass with grain --- */
.stats-strip {
  background:
    var(--grain),
    linear-gradient(
      180deg,
      rgba(44,44,44,0.96) 0%,
      rgba(30,22,10,0.98) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--blur-subtle)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--blur-subtle)) saturate(120%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 32px rgba(0,0,0,0.20);
  position: relative;
  overflow: hidden;
}

/* Ambient gold radial glow behind stats */
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 120% at 50% 50%, rgba(184,134,11,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item {
  position: relative;
  z-index: 1;
}


/* --- 20c. CATEGORY PANELS — glass-dark content overlay + hover glow --- */
.panel-content {
  background:
    var(--grain),
    linear-gradient(
      to top,
      rgba(13,13,13,0.88) 0%,
      rgba(13,13,13,0.62) 60%,
      rgba(13,13,13,0.10) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.20);
}

.panel:hover {
  box-shadow:
    0 24px 80px rgba(0,0,0,0.32),
    0 0 0 1px rgba(184,134,11,0.15),
    0 0 40px rgba(184,134,11,0.10);
}

/* Subtle gold edge glow on hover */
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)) padding-box,
    linear-gradient(180deg, rgba(184,134,11,0.30) 0%, rgba(184,134,11,0.05) 60%, transparent 100%) border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.panel:hover::after {
  opacity: 1;
}


/* --- 20d. COLOUR TEASER SWATCHES — 3D perspective tilt + glass info strip --- */
.teaser-grid {
  perspective: 1200px;
}

.teaser-swatch {
  transform-style: preserve-3d;
  transition:
    transform 0.35s var(--ease-back),
    box-shadow 0.35s ease;
}

.teaser-swatch:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-2deg) scale(1.02);
  box-shadow:
    0 8px 24px rgba(184,134,11,0.22),
    0 24px 48px rgba(184,134,11,0.16),
    0 0 0 1px rgba(184,134,11,0.18);
}

/* Frosted warm glass for the name/code strip */
.swatch-info {
  background:
    var(--grain),
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.92) 0%,
      rgba(253,249,240,0.88) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.80);
  transition: background 0.25s ease;
}

.teaser-swatch:hover .swatch-info {
  background:
    var(--grain),
    linear-gradient(
      to bottom,
      rgba(253,246,220,0.95) 0%,
      rgba(240,220,160,0.85) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
}


/* --- 20e. ABOUT — glass-warm image badge + image wrap glow --- */
.about-image-wrap {
  position: relative;  /* ensure badge positions correctly */
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(184,134,11,0.12),
    0 16px 48px rgba(0,0,0,0.18),
    0 0 64px rgba(184,134,11,0.06);
  pointer-events: none;
}

.about-image-badge {
  background:
    var(--grain),
    linear-gradient(
      145deg,
      rgba(255,248,220,0.88) 0%,
      rgba(253,246,220,0.78) 60%,
      rgba(240,218,168,0.70) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  backdrop-filter: blur(var(--blur-glass)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(180%);
  border: 1px solid rgba(184,134,11,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.80),
    inset 0 -1px 0 rgba(184,134,11,0.10),
    0 8px 24px rgba(0,0,0,0.14),
    0 0 0 1px rgba(255,255,255,0.40);
}


/* --- 20f. HOW TO ORDER STEPS — glass-warm frosted cards --- */
.step {
  background:
    var(--grain),
    linear-gradient(
      150deg,
      rgba(255,253,245,0.85) 0%,
      rgba(253,248,230,0.70) 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: overlay, normal;
  backdrop-filter: blur(var(--blur-glass)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(150%);
  border: 1px solid rgba(184,134,11,0.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -1px 0 rgba(184,134,11,0.06),
    var(--shadow-sm);
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.80),
    inset 0 -1px 0 rgba(184,134,11,0.08),
    0 4px 12px rgba(0,0,0,0.06),
    0 16px 40px rgba(184,134,11,0.14),
    0 0 0 1px rgba(184,134,11,0.12);
}


/* --- 20g. CTA BANNER — rich dark glass with ambient gold nebula --- */
.cta-banner-bg {
  background:
    var(--grain),
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(184,134,11,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(184,134,11,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(100,60,10,0.30) 0%, transparent 60%),
    linear-gradient(160deg, #1A1408 0%, #0D0D0D 40%, #1C150A 100%);
  background-size: 200px 200px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-blend-mode: soft-light, normal, normal, normal, normal;
}

/* Pulsing gold ambient orb — reinforces CTA energy */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.12) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  animation: cta-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1);    }
  50%       { opacity: 1.0; transform: translate(-50%, -50%) scale(1.15); }
}

.cta-content {
  position: relative;
  z-index: 2;
}


/* --- 20h. FOOTER — dark glass with grain depth --- */
.footer {
  background:
    var(--grain),
    linear-gradient(
      180deg,
      #111108 0%,
      #0A0A08 50%,
      #050504 100%
    );
  background-size: 200px 200px, 100% 100%;
  background-blend-mode: soft-light, normal;
  border-top: 1px solid rgba(184,134,11,0.12);
  box-shadow: inset 0 1px 0 rgba(184,134,11,0.08);
  position: relative;
  overflow: hidden;
}

/* Warm ambient radial — ties footer visually to CTA banner above */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 900px;
  height: 300px;
  background: radial-gradient(ellipse at center top, rgba(184,134,11,0.07) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}