/* ============================================================
   DHANVANTREYA BIOTECH — GLOBAL STYLESHEET v2
   Light Theme | Botanical Premium | Science-Led
   ============================================================ */

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

/* ── CSS VARIABLES ── */
:root {
  --forest:       #0B3D2E;
  --emerald:      #1F7A5C;
  --emerald-lt:   #2A9D70;
  --green-mist:   #E8F5EF;
  --green-glass:  rgba(31,122,92,0.08);
  --sage:         #8FAF99;
  --gold:         #B8882A;
  --gold-lt:      #D4A84B;
  --charcoal:     #1A2620;
  --ink:          #2B3A32;
  --stone:        #6B7A72;
  --parchment:    #F7F9F7;
  --cream:        #FDFEF9;
  --white:        #FFFFFF;
  --border:       rgba(11,61,46,0.10);
  --border-mid:   rgba(11,61,46,0.18);
  --shadow-sm:    0 2px 12px rgba(11,61,46,0.08);
  --shadow-md:    0 8px 40px rgba(11,61,46,0.12);
  --shadow-lg:    0 20px 80px rgba(11,61,46,0.16);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --ease:         cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:   all 0.5s var(--ease);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ── CUSTOM CURSOR ── */
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(31,122,92,0.45);
  border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform 0.12s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s;
}
body.hovering #cursor-dot { width: 10px; height: 10px; background: var(--gold); }
body.hovering #cursor-ring { width: 48px; height: 48px; border-color: var(--gold-lt); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 3px; }

/* ── PROGRESS BAR ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10000;
  background: linear-gradient(90deg, var(--forest), var(--emerald), var(--gold));
  width: 0%; transition: width 0.1s linear;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--charcoal); }
h1 { font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { line-height: 1.8; color: var(--stone); }
a  { color: inherit; text-decoration: none; }

/* ── UTILITIES ── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 2.5rem; }

.label {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--emerald);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.label::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--emerald);
  display: inline-block;
}

.text-forest { background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 60%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.03em; cursor: pointer; border: none;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--forest); color: var(--white);
  box-shadow: 0 4px 20px rgba(11,61,46,0.35);
}
.btn-primary:hover { background: var(--emerald); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(11,61,46,0.4); }
.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 20px rgba(184,136,42,0.35);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--forest);
  border: 1.5px solid var(--border-mid); box-shadow: none;
}
.btn-outline:hover { background: var(--green-glass); border-color: var(--emerald); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--forest);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.industry-img {
  width: 100%;
  height: 100%;
}

.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-content {
  padding: 2rem;
}
/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  padding: 1.4rem 0;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}
.navbar.scrolled {
  background: rgba(253,254,249,0.9);
  backdrop-filter: blur(24px) saturate(1.8);
  padding: 0.9rem 0;
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: 1300px; margin: 0 auto; padding: 0 2.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon & text */
  flex-shrink: 0;
}

/* Logo icon */
.logo-icon {
  height: 42px;   /* slightly bigger */
  width: auto;
  display: block;
}

/* Logo text */
.logo-text {
  height: 28px;   /* smaller than icon */
  width: auto;
  display: block;
}

.nav-links {
  display: flex; list-style: none; gap: 0.2rem; margin-left: auto; align-items: center;
}
.nav-links a {
  display: block; padding: 0.5rem 0.9rem;
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
  color: white;
}
.nav-links a:hover { color: var(--forest); background: var(--green-glass); }

.navbar.scrolled .nav-links a, .navbar.scrolled .nav-links button {
  color: var(--ink);
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.6rem;
  min-width: 220px; opacity: 0; pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: var(--shadow-md);
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.dropdown a {
  display: block; padding: 0.6rem 1rem;
  font-size: 0.85rem; font-weight: 400; color: var(--ink);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover { background: var(--green-mist); color: var(--forest); }
.nav-cta { margin-left: 0.5rem; }
.hamburger {
  display: none; background: none; border: none;
  font-size: 1.3rem; cursor: pointer; color: var(--ink);
  padding: 0.4rem; margin-left: auto;
}

/* ── MOBILE MENU ── */
#mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 9500;
  background: var(--cream); flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
  padding: 2rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-size: 1.4rem; font-family: var(--font-display); color: var(--forest); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; font-size: 1.8rem;
  cursor: pointer; color: var(--ink);
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}


.mobile-menu-heading {
  display: block;
  padding: 0.75rem 1.5rem 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f1f1f1;
}

.has-dropdown.open .mega-drop {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

/* ── VIDEO PLACEHOLDER ── */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  background: var(--forest);
  /* ════════════════════════════════════════════════════════
     ██  VIDEO ASSET PLACEHOLDER  ██
     Replace this block's background with your video:
     
     Add a <video> tag inside .hero-video-wrap:
       <video autoplay muted loop playsinline>
         <source src="../assets/hero-video.mp4" type="video/mp4">
       </video>
     
     File to place: assets/hero-video.mp4
     Recommended: 1920×1080, H.264, 15-25Mb, 10-30 sec loop
     Visual direction: Split — left: botanical macro (herbs/roots),
                       right: stainless steel extraction plant
     ════════════════════════════════════════════════════════ */
  display: flex; align-items: center; justify-content: center;
}
.hero-video-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0B2B1F 0%, #0B3D2E 40%, #1A5C42 70%, #0D4A35 100%);
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.3);
  padding: 2rem 3rem; border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.video-placeholder-label .vp-icon { font-size: 2.5rem; margin-bottom: 0.7rem; }
.video-placeholder-label p { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-family: var(--font-mono); }
.video-placeholder-label strong { color: #fff; display: block; font-family: var(--font-mono); font-size: 0.9rem; margin-bottom: 0.3rem; }

.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(11,61,46,0.82) 0%,
    rgba(11,61,46,0.6) 40%,
    rgba(11,61,46,0.75) 100%
  );
}

/* Animated botanical lines overlay */
.hero-lines {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden; pointer-events: none;
}
.hero-lines svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.12; }

.hero-content {
  position: relative; z-index: 3;
  max-width: 1300px; margin: 0 auto; padding: 10rem 2.5rem 5rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
.hero-left { max-width: 78vw; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-lt); flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 600; color: var(--white); line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.72); line-height: 1.8;
  margin-bottom: 1rem;
}
.hero-body { font-size: 0.92rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;}

.hero-right {
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: background 0.3s, transform 0.3s;
}
.hero-stat-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.hero-stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--white); line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-num span { color: var(--gold-lt); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-family: var(--font-mono); }

.hero-cert-strip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}
.hero-cert-badge {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.7);
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  white-space: nowrap;
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 3;
}
.hero-scroll span { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   CERT STRIP
   ============================================================ */
.cert-strip {
  background: var(--forest);
  padding: 1.2rem 0;
  overflow: hidden;
}
.cert-strip-inner {
  display: flex; align-items: center; gap: 3rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.cert-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.cert-item-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-lt); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 5rem 0 3rem; }
.section-alt { background: var(--parchment); }
.section-forest { background: var(--forest); }
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 600px; font-size: 1.05rem; }
.section-header.centered p { margin: 0 auto; }

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  margin: 1.2rem 0;
}
.divider.center { margin-inline: auto; }

/* ============================================================
   INFRASTRUCTURE SECTION
   ============================================================ */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--green-mist) 0%, #C8DDD3 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; position: relative;
  border: 2px dashed var(--border-mid);
}
.img-placeholder-icon { font-size: 2.5rem; opacity: 0.4; }
.img-placeholder-text {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.12em; color: var(--stone);
  text-align: center; max-width: 220px; line-height: 1.6;
}
.img-placeholder-filename {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--emerald); background: rgba(31,122,92,0.1);
  padding: 0.3rem 0.8rem; border-radius: 100px;
  border: 1px solid rgba(31,122,92,0.2);
}

.infra-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.5rem 0; }
.infra-metric {
  padding: 1.5rem; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.infra-metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.infra-metric-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--forest); line-height: 1; margin-bottom: 0.4rem;
}
.infra-metric-label { font-size: 0.82rem; color: var(--stone); }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.diff-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative; overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--emerald));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.diff-card:hover::before { transform: scaleX(1); }
.diff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--emerald); }
.diff-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--green-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.5rem;
}
.diff-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; }
.diff-card p { font-size: 0.9rem; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
/* GRID */
/* GRID → 2 cards per row */
/* ════════════════════════════════════════════
   INDUSTRY SEGMENTATION — 4×4 GRID LAYOUT
   16 cards arranged as 4 per row, 4 rows
═══════════════════════════════════════════ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

/* CARD */
.industry-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* IMAGE (TOP) — smaller, fixed pixel height for consistency across 4 columns */
.industry-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-mist);
}

.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.industry-card:hover .industry-img img {
  transform: scale(1.04);
}

/* CONTENT (BOTTOM) */
.industry-content {
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* NUMBER */
.industry-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-mist);
  line-height: 1;
  margin-right: 8px;
  transition: color 0.3s;
}

.industry-card:hover .industry-num {
  color: var(--emerald);
}

/* TITLE */
.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

/* DESCRIPTION */
.industry-card p {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--stone);
  flex: 1;
}

/* TAG CONTAINER */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

/* TAG STYLE */
.tag {
  font-size: 0.64rem;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(31, 122, 92, 0.2);
  background: rgba(31, 122, 92, 0.06);
  color: var(--emerald);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  box-shadow: 0 4px 12px rgba(31, 122, 92, 0.25);
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════ */

/* Tablet: 3 columns */
@media (max-width: 1100px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Small tablet: 2 columns */
@media (max-width: 820px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .industry-img {
    height: 200px;
  }
}

/* Mobile: 1 column */
@media (max-width: 540px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .industry-img {
    height: 220px;
  }
}

/* ============================================================
   APPLICATIONS
   ============================================================ */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.app-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 2rem;
  text-align: center; transition: var(--transition);
  cursor: pointer;
}
.app-card:hover { border-color: var(--emerald); background: var(--green-mist); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.app-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.app-card p { font-size: 0.82rem; }

/* ============================================================
   FORMATS
   ============================================================ */
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.format-card {
  padding: 2.5rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.format-card:hover { border-color: var(--emerald); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.format-no {
  font-family: var(--font-display); font-size: 4rem; font-weight: 700;
  color: var(--green-mist); position: absolute; top: 1.5rem; right: 1.5rem;
  line-height: 1; transition: color 0.3s;
}
.format-card:hover .format-no { color: rgba(31,122,92,0.2); }
.format-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; position: relative; }
.format-card p { font-size: 0.88rem; position: relative; }

/* ============================================================
   QUALITY SECTION
   ============================================================ */
.quality-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.quality-tests { display: grid; gap: 1rem; }
.quality-test {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.5rem; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--white);
  transition: var(--transition);
}
.quality-test:hover { border-color: var(--emerald); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.quality-test-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--green-mist); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.quality-test-label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.quality-test-sub { font-size: 0.78rem; color: var(--stone); }

/* ============================================================
   CUSTOM DEVELOPMENT
   ============================================================ */
.custom-dev-section {
  background: linear-gradient(135deg, var(--forest) 0%, #0D4A35 100%);
  padding: 7rem 0; position: relative; overflow: hidden;
}
.custom-dev-section::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%; background: rgba(31,122,92,0.15);
  pointer-events: none;
}
.custom-dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.custom-dev-text h2 { color: var(--white); }
.custom-dev-text p { color: rgba(255,255,255,0.65); margin: 1rem 0 2rem; font-size: 1.05rem; }
.custom-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.custom-step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: background 0.3s, transform 0.3s;
}
.custom-step:hover { background: rgba(255,255,255,0.09); transform: translateX(4px); }
.step-num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--gold-lt); line-height: 1; flex-shrink: 0;
}
.custom-step h4 { color: var(--white); margin-bottom: 0.4rem; }
.custom-step p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   GLOBAL MARKETS
   ============================================================ */
.markets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.market-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; transition: var(--transition);
}
.market-card:hover { border-color: var(--emerald); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.market-flag { font-size: 2.5rem; margin-bottom: 1rem; }
.market-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.market-card p { font-size: 0.86rem; }
.market-docs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-filter { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.5rem 1.2rem; border-radius: 100px;
  border: 1.5px solid var(--border-mid); background: transparent;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--forest); color: var(--white); border-color: var(--forest);
}
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { border-color: var(--emerald); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.product-img {
  aspect-ratio: 4/3; position: relative;
  background: linear-gradient(135deg, var(--green-mist), #C8DDD3);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.5rem;
}
.product-img .plant-icon { font-size: 2.5rem; opacity: 0.4; }
.product-img .img-filename {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--stone); letter-spacing: 0.08em;
  background: rgba(255,255,255,0.6); padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.product-card-body { padding: 1.5rem; }
.product-card-body h4 { font-size: 1rem; color: var(--charcoal); margin-bottom: 0.4rem; }
.product-card-body .std { font-family: var(--font-mono); font-size: 0.72rem; color: var(--emerald); margin-bottom: 0.6rem; }
.product-card-body p { font-size: 0.82rem; color: var(--stone); }
.product-card-footer {
  padding: 0.8rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.product-card-footer .coa-link {
  font-size: 0.78rem; font-weight: 600; color: var(--emerald);
  font-family: var(--font-mono); letter-spacing: 0.05em;
}
.product-card-footer .arrow { color: var(--stone); font-size: 0.9rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-pillars { display: grid; gap: 1.5rem; margin-top: 2rem; }
.about-pillar {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.about-pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--green-mist); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.pillar-text h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.pillar-text p { font-size: 0.86rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--forest); padding: 6rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(31,122,92,0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(184,136,42,0.15) 0%, transparent 50%);
}
.cta-section h2 { color: var(--white); position: relative; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 550px; margin: 1rem auto 2.5rem; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--charcoal); padding: 5rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em; margin-bottom: 1rem;
}
.footer-brand .footer-logo em {
  font-style: normal; font-family: var(--font-mono);
  font-size: 0.6rem; display: block; color: var(--sage);
  letter-spacing: 0.2em;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   INNER PAGES
   ============================================================ */
/* ── PAGE HERO — simple crossfade background ── */
.page-hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Single overlay — keeps text readable over any image */
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(11,61,46,0.62);
  pointer-events: none;
}

/* All text above overlay */
.page-hero > .container {
  position: relative; z-index: 2;
}

.page-hero .label        { color: rgba(255,255,255,0.55); }
.page-hero .label::before { background: rgba(255,255,255,0.4); }
.page-hero h1            { color: var(--white); }
.page-hero p             { color: rgba(255,255,255,0.65); font-size: 1.15rem; max-width: 650px; margin: 1rem auto 0; }
/* PRODUCT DETAIL PAGE */
.product-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; padding: 5rem 0; }
.product-main {}
.product-sidebar {
  position: sticky; top: 100px; align-self: start;
}
.spec-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-card-head {
  background: var(--forest); padding: 1.5rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.spec-table { width: 100%; }
.spec-row { display: flex; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-key {
  padding: 0.8rem 1.2rem; font-size: 0.78rem; font-weight: 600;
  color: var(--stone); width: 45%; flex-shrink: 0;
  background: var(--parchment);
}
.spec-val {
  padding: 0.8rem 1.2rem; font-size: 0.82rem; color: var(--ink);
  font-family: var(--font-mono);
}
.product-benefits { display: grid; gap: 0.8rem; margin: 2rem 0; }
.benefit-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--green-mist); border: 1px solid rgba(31,122,92,0.15);
  font-size: 0.9rem; color: var(--ink);
}
.benefit-check { color: var(--emerald); font-size: 1rem; flex-shrink: 0; }
.compliance-block {
  margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-md);
  background: var(--forest); text-align: center;
}
.compliance-block p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 1rem; }

/* ABOUT INNER PAGE */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-photo { aspect-ratio: 1; background: var(--green-mist); }
.team-body { padding: 1.5rem; }
.team-body h4 { margin-bottom: 0.2rem; }
.team-role { font-size: 0.82rem; color: var(--emerald); font-family: var(--font-mono); }

/* VALUES / VISION */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vision-card {
  padding: 2.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
  text-align: center; transition: var(--transition);
}
.vision-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--emerald); }
.vision-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.vision-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }

/* CAPABILITIES INNER */
.capabilities-grid { display: grid; gap: 3rem; }
.capability-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: 3rem;
  align-items: start; padding: 3rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cap-num {
  font-family: var(--font-display); font-size: 5rem; font-weight: 700;
  color: var(--green-mist); line-height: 1;
  transition: color 0.3s;
}
.capability-row:hover .cap-num { color: rgba(31,122,92,0.25); }
.cap-title { font-size: 1.4rem; margin-bottom: 1rem; }
.cap-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1.2rem; }
.cap-feature {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--stone);
}
.cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }

/* CERTIFICATIONS */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center; transition: var(--transition);
}
.cert-card:hover { border-color: var(--gold); box-shadow: 0 8px 40px rgba(184,136,42,0.12); transform: translateY(-4px); }
.cert-badge-icon { font-size: 3rem; margin-bottom: 1rem; }
.cert-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.86rem; }

/* QUALITY PAGE */
.analytical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.analytical-card {
  padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.analytical-card:hover { border-color: var(--emerald); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.analytical-card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; }

/* SUSTAINABILITY */
.sustain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sustain-card {
  padding: 2.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
  transition: var(--transition);
}
.sustain-card:hover { border-color: var(--emerald); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sustain-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.sustain-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; padding: 5rem 1rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; padding: 5px; }
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--white);
}
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--green-mist); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-detail p { font-size: 0.88rem; }
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 3rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.contact-form > p { font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-mid); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink);
  background: var(--parchment);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(31,122,92,0.12);
  background: var(--white);
}
.form-group textarea { height: 140px; resize: vertical; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .infra-grid, .quality-content, .about-grid, .custom-dev-grid,
  .product-detail, .contact-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-row { grid-template-columns: 1fr; }
  nav .nav-links, nav .nav-cta { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .vision-grid, .team-grid, .sustain-grid, .analytical-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .infra-metrics { grid-template-columns: 1fr; }
  .hero-stat-cards { grid-template-columns: 1fr 1fr; }
}

/* ── PARTICLE CANVAS ── */
#particle-canvas {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.35;
}

/* ── PAGE TRANSITIONS ── */
.page-transition {
  position: fixed; inset: 0; background: var(--forest);
  z-index: 99999; pointer-events: none;
  transform: scaleY(0); transform-origin: top;
}

/* ═══════════════════════════════════════════
   INGREDIENTS — FLYOUT SUBMENU SYSTEM
   Paste at the BOTTOM of styles.css.
   Remove any old .drop-multi / .drop-panel /
   .drop-col-left / .drop-panels rules above.
═══════════════════════════════════════════ */

/* The Ingredients dropdown is now single-column */
.mega-drop.drop-with-flyouts {
  min-width: 260px;
  padding: 0.5rem;
}

/* Top label */
.mega-drop.drop-with-flyouts > .drop-col-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.5rem 0.75rem 0.6rem;
}

/* Each item wrapper — needed for positioning the flyout */
.drop-item {
  position: relative;
}

/* Each item's main link */
.drop-item > a {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.drop-item > a:hover {
  background: var(--green-mist);
  color: var(--forest);
}

/* Highlight when its flyout is open */
.drop-item.has-flyout:hover > a {
  background: var(--green-mist);
  color: var(--forest);
}

/* The chevron arrow on flyout parents */
.flyout-arrow {
  margin-left: auto;
  font-size: 1rem;
  line-height: 1;
  color: var(--stone);
  opacity: 0.6;
}

/* ── The flyout submenu itself ── */
.flyout-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  min-width: 220px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 9200;
}

/* Show flyout on parent hover */
.drop-item.has-flyout:hover > .flyout-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

/* Flyout heading */
.flyout-menu .flyout-head {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.4rem 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.3rem;
}

/* Flyout items */
.flyout-menu li {
  list-style: none;
}
.flyout-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.flyout-menu li a:hover {
  background: var(--green-mist);
  color: var(--forest);
}

/* Dot styling kept */
.drop-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0.5;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   FLYOUT VISIBILITY FIX
   Paste at the very END of styles.css
═══════════════════════════════════════════ */

/* CRITICAL: parent dropdown must allow overflow so flyout can extend out */
.mega-drop.drop-with-flyouts {
  overflow: visible !important;
  min-width: 280px;
}

/* Each item wrapper */
.drop-item {
  position: relative;
  list-style: none;
}

/* Force the flyout to be visible and properly positioned */
.flyout-menu {
  position: absolute !important;
  top: -8px !important;
  left: 100% !important;
  margin-left: 8px !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 0.5rem !important;
  min-width: 220px !important;
  list-style: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999 !important;
  display: block !important;
}

/* Show flyout on hover */
.drop-item.has-flyout:hover > .flyout-menu {
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateX(0) !important;
}

/* Bridge gap between item and flyout so hover doesn't break */
.drop-item.has-flyout::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 12px;
  height: 100%;
  background: transparent;
}

/* Flyout heading */
.flyout-menu li.flyout-head {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.5rem 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.3rem;
}

/* Flyout items */
.flyout-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flyout-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.flyout-menu li a:hover {
  background: var(--green-mist);
  color: var(--forest);
}

/* Arrow styling */
.flyout-arrow {
  margin-left: auto;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--stone);
  opacity: 0.5;
}
.drop-item.has-flyout:hover .flyout-arrow {
  opacity: 0.9;
  color: var(--forest);
}