/*
Theme Name: Chemshel Specialty Chemistry
Theme URI: https://chemshel.flowndeveloper.online
Author: Flown Developer
Description: 100% faithful clone of the DSM-Firmenich (dsm-firmenich.com) design system, DM Sans typography, colors, navigation, cards, and section architecture tailored for Chemshel Enterprises Private Limited.
Version: 2.1.0
Text Domain: chemshel
*/

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

:root {
  /* Exact DSM-Firmenich Brand Colors */
  --dsm-green-primary: #00382B;
  --dsm-green-deep: #002B20;
  --dsm-green-dark: #001F18;
  --dsm-green-mid: #054D3C;
  --dsm-green-forest: #0B5C49;
  --dsm-teal-bright: #00E599;
  --dsm-teal-accent: #00A878;
  --dsm-mint-soft: #C3E6E1;
  --dsm-mint-light: #F4FAF7;
  --dsm-amber-gold: #C99A45;
  --dsm-amber-light: #F7E7C4;
  --dsm-charcoal-dark: #0E241D;
  --dsm-charcoal-body: #2C4038;
  --dsm-charcoal-muted: #5C756C;
  --dsm-white: #FFFFFF;
  --dsm-border: #E1ECE7;
  --dsm-border-light: #E1ECE7;
  --dsm-border-dark: rgba(255, 255, 255, 0.14);
  
  --font-dsm: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-card: 0 4px 20px rgba(0, 43, 32, 0.06);
  --shadow-hover: 0 16px 40px rgba(0, 43, 32, 0.12);
  --shadow-modal: 0 24px 60px rgba(0, 34, 26, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1380px;

  /* Aliases */
  --color-primary: var(--dsm-green-primary);
  --color-dark: var(--dsm-green-deep);
  --color-ivory: #FAF8F5;
  --color-text-body: var(--dsm-charcoal-body);
  --color-text-muted: var(--dsm-charcoal-muted);
  --color-border: var(--dsm-border);
  --color-accent-teal: var(--dsm-teal-bright);
  --color-accent-amber: var(--dsm-amber-gold);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-dsm);
  background-color: var(--dsm-white);
  color: var(--dsm-charcoal-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container, .dsm-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1200px) {
  .container, .dsm-container {
    padding: 0 32px;
  }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--dsm-green-dark);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #00E599 0%, #C99A45 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thin {
  font-weight: 300;
  opacity: 0.85;
}

/* ==========================================================================
   Exact DSM-Firmenich Header (Overlay + Navigation)
   ========================================================================== */
.dsm-site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.dsm-site-header.scrolled {
  background: rgba(4, 20, 16, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Top Utility Bar */
.dsm-top-bar {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  font-size: 0.8125rem;
}

.dsm-top-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dsm-top-links-right {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.dsm-top-links-right a {
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dsm-top-links-right a:hover {
  color: var(--dsm-teal-bright);
}

.dsm-top-dropdown {
  position: relative;
}

.dsm-top-sub {
  position: absolute;
  top: 100%;
  right: 0;
  background: #C3E6E1;
  min-width: 220px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 43, 32, 0.15);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1200;
}

.dsm-top-dropdown:hover .dsm-top-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dsm-top-sub a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.dsm-top-sub a:hover {
  background: rgba(255, 255, 255, 0.65);
}

.dsm-lang-selector {
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
}

/* Main Navigation Bar */
.dsm-main-navbar {
  padding: 18px 0;
}

.dsm-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.dsm-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.dsm-brand-title {
  font-family: var(--font-dsm);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.dsm-brand-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot-dsm {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-dsm.teal { background-color: var(--dsm-teal-bright); box-shadow: 0 0 8px rgba(0, 229, 153, 0.8); }
.dot-dsm.amber { background-color: var(--dsm-amber-gold); }
.dot-dsm.coral { background-color: #FF6B6B; }

/* Desktop Menu */
.dsm-primary-nav {
  display: none;
}

@media (min-width: 992px) {
  .dsm-primary-nav {
    display: block;
  }
}

.dsm-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dsm-nav-dropdown {
  position: relative;
}

.dsm-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  transition: var(--transition);
}

.dsm-nav-link:hover {
  color: var(--dsm-teal-bright);
}

.dsm-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 330px;
  background-color: #C3E6E1;
  border: 1px solid rgba(0, 43, 32, 0.16);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1100;
}

.dsm-nav-dropdown:hover .dsm-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dsm-mega-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dsm-mega-menu a strong {
  display: block;
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.dsm-mega-menu a span {
  display: block;
  font-size: 0.785rem;
  line-height: 1.35;
}

.dsm-mega-menu a:hover {
  background-color: rgba(255, 255, 255, 0.65);
}

.dsm-mega-menu a:hover strong {
}

/* Actions */
.dsm-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dsm-search-btn {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.dsm-search-btn:hover {
  color: var(--dsm-teal-bright);
  transform: scale(1.1);
}

.dsm-btn-pill-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  background: transparent;
  padding: 7px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.dsm-btn-pill-outline:hover {
}

.mobile-nav-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   Exact DSM-Firmenich Hero Section (Deep Black Overlay Aesthetic)
   ========================================================================== */
.dsm-exact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 80px;
  background-color: #000000;
  color: #FFFFFF;
}

.dsm-hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #000000;
}

.dsm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.98;
  filter: brightness(0.98) contrast(1.04);
}

.dsm-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.15) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

.dsm-hero-container {
  position: relative;
  z-index: 2;
}

.dsm-hero-content {
  max-width: 860px;
}

.dsm-hero-title {
  font-family: var(--font-dsm);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .dsm-hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1200px) {
  .dsm-hero-title {
    font-size: 5.2rem;
  }
}

.dsm-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  color: #FFFFFF;
  max-width: 680px;
  margin-bottom: 36px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .dsm-hero-subtitle {
    font-size: 1.45rem;
  }
}

.dsm-hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.dsm-btn-white-pill {
  font-family: var(--font-dsm);
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #FFFFFF;
}

.dsm-btn-white-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.dsm-btn-transparent-pill {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.dsm-btn-transparent-pill:hover {
}

/* Hero Stats Strip */
.dsm-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 820px;
}

@media (min-width: 768px) {
  .dsm-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.dsm-stat-box {
  display: flex;
  flex-direction: column;
}

.dsm-stat-num {
  font-family: var(--font-dsm);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dsm-teal-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.dsm-stat-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

/* ==========================================================================
   STRICT BLACK & WHITE BUTTON SYSTEM
   Rule: Black Background -> White Text (#FFFFFF) | White Background -> Black Text (#000000)
   ========================================================================== */
.btn,
a.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-dsm);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none !important;
}

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

/* 1. BLACK BUTTONS -> ALWAYS WHITE TEXT */
.btn-primary,
.btn-dark,
.btn-amber,
a.btn-primary,
a.btn-dark,
button.btn-primary,
button[type="submit"],
input[type="submit"] {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #000000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary:hover,
.btn-dark:hover,
.btn-amber:hover,
a.btn-primary:hover,
a.btn-dark:hover,
button.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: #1a1a1a !important;
  color: #FFFFFF !important;
  border-color: #1a1a1a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-2px);
}

/* 2. WHITE BUTTONS -> ALWAYS BLACK TEXT */
.btn-white,
a.btn-white,
button.btn-white,
.dsm-btn-white-pill,
.products-subnav-pill {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border: 1.5px solid #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15) !important;
}

.btn-white:hover,
a.btn-white:hover,
button.btn-white:hover,
.dsm-btn-white-pill:hover {
  background-color: #F0F0F0 !important;
  color: #000000 !important;
  border-color: #F0F0F0 !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px);
}

/* 3. OUTLINE DARK BUTTON (Transparent with Black border & text -> Hover Solid Black with White text) */
.btn-secondary,
.btn-outline-dark,
a.btn-secondary,
a.btn-outline-dark {
  background-color: transparent !important;
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
}

.btn-secondary:hover,
.btn-outline-dark:hover,
a.btn-secondary:hover,
a.btn-outline-dark:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px);
}

/* 4. OUTLINE WHITE BUTTON (Transparent with White border & text -> Hover Solid White with Black text) */
.btn-outline-white,
a.btn-outline-white,
.dsm-btn-pill-outline {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
}

.btn-outline-white:hover,
a.btn-outline-white:hover,
.dsm-btn-pill-outline:hover {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-dsm);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.badge-teal {
  background-color: rgba(0, 229, 153, 0.15);
  color: #008855;
}

.badge-dark-teal {
  background-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge-amber {
  background-color: rgba(201, 154, 69, 0.15);
  color: #9A6F20;
}

/* ==========================================================================
   Section Components & Grids
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 120px 0;
  }
}

.section-mint {
  background-color: #C3E6E1;
}

.section-white {
  background-color: var(--dsm-white);
}

.section-dark, #certifications {
  background-color: #277E6E !important;
  background: #277E6E !important;
  color: #FFFFFF;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #FFFFFF;
}

.section-header-dsm {
  margin-bottom: 56px;
  max-width: 780px;
}

.section-title-dsm {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}

@media (min-width: 768px) {
  .section-title-dsm {
    font-size: 2.8rem;
  }
}

.section-desc-dsm {
  font-size: 1.0625rem;
  color: var(--dsm-charcoal-muted);
  line-height: 1.6;
}

.section-dark .section-desc-dsm {
  color: rgba(255, 255, 255, 0.8);
}

/* 4-Pillar Grid (Our Businesses - Ultra-Premium Luxury Look) */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  position: relative;
  background-color: #0c0f0e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.4);
}

.pillar-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
  z-index: 1;
  filter: brightness(0.9) contrast(1.05);
}

.pillar-card:hover .pillar-card-img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1);
}

.pillar-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(6, 8, 7, 0.96) 100%);
  z-index: 2;
}

.pillar-card-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
}

.pillar-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  margin-bottom: 14px;
}

.pillar-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 1.2;
}

.pillar-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 16px;
}

.pillar-bullets {
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  list-style: none;
  padding: 0;
}

.pillar-bullets li {
  margin-bottom: 7px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pillar-bullets li::before {
  content: '•';
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.pillar-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition: var(--transition);
}

.pillar-explore-btn:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
  padding-left: 6px;
}

.badge-premium-dark {
  background-color: #00221A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Flagship Feature Card */
.flagship-card {
  background-color: var(--dsm-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--dsm-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .flagship-card {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
  }
}

.flagship-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.spec-badge {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background-color: var(--dsm-mint-soft);
  color: var(--dsm-green-deep);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 56, 43, 0.1);
  font-weight: 600;
}

/* Process Track (5-Step Roadmap) */
.process-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .process-track {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-step {
  background-color: var(--dsm-white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--dsm-border);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--dsm-teal-accent);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dsm-teal-accent);
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dsm-green-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--dsm-charcoal-muted);
  line-height: 1.5;
}

/* Certifications Grid (DSM Style - Luxury Dark Frosted Glass) */
.cert-grid-dsm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cert-grid-dsm {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .cert-grid-dsm {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-card-dsm {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.cert-card-dsm:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cert-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.cert-name {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}

.cert-code {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  word-break: break-all;
}

.cert-validity {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5eead4;
  margin-bottom: 20px;
}

.cert-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  width: fit-content;
  transition: var(--transition);
}

.cert-card-dsm:hover .cert-btn {
  border-bottom-color: #FFFFFF;
  padding-left: 4px;
}

/* Split Layouts (Science, Sustainability) */
.science-split, .sustainability-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .science-split, .sustainability-split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.science-media img, .sustainability-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* Application Sectors */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-card {
  background-color: var(--dsm-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--dsm-border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--dsm-amber-gold);
}

.app-card h4 {
  font-size: 1.2rem;
  margin: 12px 0 8px;
  color: var(--dsm-green-dark);
}

.app-card p {
  font-size: 0.9rem;
  color: var(--dsm-charcoal-muted);
}

/* ==========================================================================
   Footer (DSM-Firmenich 5-Column)
   ========================================================================== */
.site-footer {
  background-color: #001F18;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 36px;
  }
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--dsm-teal-bright);
  padding-left: 4px;
}

.footer-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--dsm-teal-bright);
}

/* ==========================================================================
   Certificate Lightbox Modal Popup
   ========================================================================== */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 26, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-modal.active {
  opacity: 1;
  visibility: visible;
}

.cert-modal-content {
  background-color: var(--dsm-white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.cert-modal.active .cert-modal-content {
  transform: translateY(0);
}

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dsm-charcoal-muted);
  line-height: 1;
}

.cert-modal-close:hover {
  color: var(--dsm-green-deep);
}

/* Subpage Headers */
.hero-section {
  position: relative;
  background: #000000;
  background-color: #000000;
  color: #FFFFFF;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-title {
  font-family: var(--font-dsm);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 16px 0 14px;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 48px;
  max-width: 760px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dsm-green-dark);
  margin: 14px 0 12px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--dsm-charcoal-muted);
  line-height: 1.6;
}

.badge-mint {
  background-color: var(--dsm-mint-soft);
  color: var(--dsm-green-deep);
  border: 1px solid rgba(0, 56, 43, 0.15);
}

/* ==========================================================================
   Mobile Drawer & Navigation Overlay (Hidden on Desktop)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background-color: #001F18;
  z-index: 99999;
  padding: 32px 28px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  display: block;
}

@media (min-width: 992px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #FFFFFF;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-links li {
  margin-bottom: 14px;
}

.mobile-menu-links li a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.mobile-menu-links li a:hover {
  color: var(--dsm-teal-bright);
}

/* ==========================================================================
   Introducing Section (DSM Brand Showcase Video Player)
   ========================================================================== */
.dsm-intro-section {
  padding: 80px 0 90px;
  background-color: var(--dsm-white);
}

.dsm-intro-heading {
  font-family: var(--font-dsm);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dsm-green-dark);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .dsm-intro-heading {
    font-size: 3.2rem;
  }
}

.dsm-film-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 31, 24, 0.16);
  border: 1px solid var(--dsm-border);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .dsm-film-card {
    min-height: 600px;
  }
}

.dsm-film-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(0, 31, 24, 0.22);
}

.dsm-film-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  z-index: 1;
}

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

.dsm-film-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 20, 16, 0.82) 100%);
  z-index: 2;
}

.dsm-play-btn {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dsm-film-card:hover .dsm-play-btn {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.4);
}

.dsm-film-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 3;
}


/* ==========================================================================
   DSM Luxury Product Showcase System (Products Page & Spec Tables)
   ========================================================================== */
.products-subnav-bar {
  background: var(--dsm-white);
  border-bottom: 1px solid var(--dsm-border);
  padding: 16px 0;
  position: sticky;
  top: 90px;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.products-subnav-list {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.products-subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #D0D0D0;
  transition: var(--transition);
}

.products-subnav-pill:hover,
.products-subnav-pill.active {
  background-color: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.product-showcase-card {
  background: var(--dsm-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--dsm-border);
  padding: 48px;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  transition: var(--transition);
}

.product-showcase-card:hover {
  box-shadow: 0 24px 60px rgba(0, 43, 32, 0.08);
}

.product-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 992px) {
  .product-split-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.product-media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background-color: #001A14;
}

.product-media-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-media-wrap:hover img {
  transform: scale(1.04);
}

.product-float-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(3, 26, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.spec-table-luxury {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0 28px;
  border: 1px solid var(--dsm-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-table-luxury tr {
  transition: background-color 0.2s ease;
}

.spec-table-luxury tr:nth-child(even) {
  background-color: rgba(238, 245, 243, 0.5);
}

.spec-table-luxury tr:hover {
  background-color: var(--dsm-mint-soft);
}

.spec-table-luxury td {
  padding: 12px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--dsm-border);
}

.spec-table-luxury tr:last-child td {
  border-bottom: none;
}

.spec-table-luxury td:first-child {
  font-weight: 600;
  color: var(--dsm-green-dark);
  width: 38%;
  background-color: rgba(0, 43, 32, 0.02);
}

.spec-table-luxury td:last-child {
  color: var(--dsm-charcoal-body);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.olfactive-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}

.olfactive-pill {
  background: var(--dsm-mint-soft);
  color: var(--dsm-green-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 43, 32, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 24px;
}

@media (min-width: 576px) {
  .app-box-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.app-box {
  background: var(--dsm-mint-soft);
  border: 1px solid var(--dsm-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.app-box-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.app-box-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dsm-green-dark);
}
