/* ==========================================================================
   GIDA GLOBAL - ULTRA-PREMIUM B2B EXPORT & LOGISTICS DESIGN SYSTEM
   Standard: Cargill / Tiryaki Agro / Metro Chef Caliber Enterprise Architecture
   Tokens: Dual-Theme (Corporate Ivory & Emerald / Obsidian & Luxury Amber)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (LIGHT & DARK THEMES)
   -------------------------------------------------------------------------- */
:root,
[data-theme="light"] {
  /* Brand Core Colors (Corporate Ivory, Emerald & Gold) */
  --primary: #059669;            /* Zümrüt Yeşili */
  --primary-dark: #047857;       /* Derin Zümrüt */
  --primary-light: #ecfdf5;      /* Ferah Zümrüt Tonu */
  --primary-glow: rgba(5, 150, 105, 0.16);
  --primary-rgb: 5, 150, 105;

  --accent: #d97706;             /* Kurumsal Kehribar/Altın */
  --accent-light: #f59e0b;       /* Parlak Altın */
  --accent-soft: #fef3c7;
  --accent-glow: rgba(217, 119, 6, 0.18);
  --accent-rgb: 217, 119, 6;

  --secondary: #0284c7;          /* Okyanus / Lojistik Mavi */
  --secondary-dark: #0369a1;
  --secondary-light: #e0f2fe;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.25);

  /* Background Palette (Corporate Ivory / Clean Studio) */
  --bg-main: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-strong: rgba(255, 255, 255, 0.95);

  /* Typography / Content Colors */
  --navy: #0f172a;               /* Başlıklar & Odak Metin */
  --navy-light: #1e293b;
  --text-main: #0f172a;          /* Gövde Metni */
  --text-muted: #475569;         /* İkincil Metin */
  --text-light: #64748b;         /* Yardımcı Metin */

  /* Dedicated Inverted Surface Token (NEVER Inverts: White Text Guaranteed) */
  --surface-banner: linear-gradient(135deg, #061320 0%, #0a2540 50%, #06281e 100%);
  --text-on-banner: #f8fafc;
  --text-on-banner-muted: #94a3b8;

  /* Product Showcase Podium (Clean Studio Surface) */
  --product-img-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --product-podium-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);

  /* Borders & Dividers */
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(5, 150, 105, 0.35);
  --border-focus: #059669;

  /* Shadows (Multi-layered Architectural Depth) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.12), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-float: 0 24px 44px -10px rgba(5, 150, 105, 0.18), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 25px 60px -15px rgba(15, 23, 42, 0.35);

  /* Geometry & Radii */
  --radius-xs: 0.375rem;
  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Layout Dimensions */
  --header-height: 84px;
  --ticker-height: 38px;
  --container-max: 1320px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   DARK THEME: OBSIDIAN, DEEP EMERALD & LUXURY GOLD
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  /* Brand Core Colors (Vibrant Neon-Tinted for Contrast) */
  --primary: #10b981;            /* Aydınlık Zümrüt */
  --primary-dark: #059669;
  --primary-light: rgba(16, 185, 129, 0.15);
  --primary-glow: rgba(16, 185, 129, 0.25);
  --primary-rgb: 16, 185, 129;

  --accent: #f59e0b;             /* Sıcak Altın */
  --accent-light: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.15);
  --accent-glow: rgba(245, 158, 11, 0.25);
  --accent-rgb: 245, 158, 11;

  --secondary: #38bdf8;
  --secondary-dark: #0284c7;
  --secondary-light: rgba(56, 189, 248, 0.15);

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Deep Space / Obsidian Backgrounds */
  --bg-main: #060b14;
  --bg-secondary: #0b1322;
  --bg-card: #0f192d;
  --bg-elevated: #162238;
  --bg-glass: rgba(11, 19, 34, 0.88);
  --bg-glass-strong: rgba(15, 25, 45, 0.95);

  /* Typography / High-Contrast Inverted */
  --navy: #f8fafc;
  --navy-light: #e2e8f0;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  /* Dedicated Inverted Surface Token */
  --surface-banner: linear-gradient(135deg, #050a12 0%, #091728 50%, #041a13 100%);
  --text-on-banner: #f8fafc;
  --text-on-banner-muted: #94a3b8;

  /* Studio Podium Frame for Clean Product Display */
  --product-img-bg: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 85%);
  --product-podium-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.45);

  /* Borders & Dividers */
  --border-color: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(16, 185, 129, 0.45);
  --border-focus: #10b981;

  /* Shadows for Dark Surface Luminosity */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 24px 48px -6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.12);
  --shadow-modal: 0 25px 65px -10px rgba(0, 0, 0, 0.85);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color var(--transition-base), color var(--transition-base);
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Focus Visible Utility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Main Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. LOGISTICS TICKER BAR
   -------------------------------------------------------------------------- */
.ticker-bar {
  background: var(--surface-banner);
  color: var(--text-on-banner);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.55rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 60;
  letter-spacing: 0.4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: tickerSlide 32s linear infinite;
  will-change: transform;
}

.ticker-bar:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --------------------------------------------------------------------------
   4. HEADER & TOP NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Mobile Menu Trigger Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--navy);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Mobile Drawer Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   5. BUTTONS & INTERACTIVE PILLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.55rem;
  white-space: nowrap;
  user-select: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast), border-color var(--transition-fast);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--primary-glow);
  filter: brightness(1.06);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--navy);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* Icon & Pill Utilities */
.icon-btn,
.pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
}

.pill-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  letter-spacing: 0.2px;
}

.icon-btn:hover,
.pill-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.pill-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, var(--primary-light) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, var(--accent-soft) 0%, transparent 40%),
              var(--bg-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.14;
  margin-bottom: 1.5rem;
  letter-spacing: -1.2px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 92%;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.4;
}

.hero-card {
  background: var(--bg-card);
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

/* --------------------------------------------------------------------------
   7. TRUST BANNER (HIGH-CONTRAST INVERTED CORPORATE STRIP)
   -------------------------------------------------------------------------- */
.trust-banner {
  background: var(--surface-banner) !important;
  color: var(--text-on-banner) !important;
  padding: 2.25rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-on-banner) !important;
  letter-spacing: 0.2px;
}

.trust-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* --------------------------------------------------------------------------
   8. KAYAN MARKA VİTRİNİ (INFINITE LUXURY BRAND MARQUEE)
   -------------------------------------------------------------------------- */
.brand-marquee-section {
  padding: 2.75rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Smooth Fade Masking on Left & Right */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: marqueeFlow 28s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeFlow {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.925rem;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.brand-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-pill-icon {
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   9. 4 ADIMLI B2B TEDARİK & İHRACAT SÜRECİ (PROCESS SECTION)
   -------------------------------------------------------------------------- */
.process-section {
  padding: 6rem 0;
  background: var(--bg-main);
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.85rem;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-full);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-float);
}

.process-card:hover::before {
  opacity: 1;
}

.process-step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-light);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -1px;
}

.process-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
}

.process-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. KALİTE & SERTİFİKALAR BANDI (CERTIFICATES STRIP)
   -------------------------------------------------------------------------- */
.certificates-strip {
  padding: 3rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cert-badge:hover {
  border-color: var(--primary);
  background: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.cert-text {
  display: flex;
  flex-direction: column;
}

.cert-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.cert-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. CATALOG SECTION & CONTROLS
   -------------------------------------------------------------------------- */
.catalog-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 620px;
}

.search-input {
  width: 100%;
  padding: 1.05rem 1.25rem 1.05rem 3.25rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-icon {
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-light);
  pointer-events: none;
}

/* Category Filter Bar (Swipeable on touch/mobile) */
.category-filters,
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   12. ULTRA-PREMIUM PRODUCT CARDS (DUAL-CLASS HARMONY)
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2.25rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-float);
  border-color: var(--border-hover);
}

/* Product Podium Showcase */
.product-img-wrapper {
  position: relative;
  padding-top: 86%;
  background: var(--product-img-bg);
  box-shadow: var(--product-podium-shadow);
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0.75rem 0;
  transition: background var(--transition-base);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

/* Badges & Tags */
.moq-tag,
.product-moq,
.product-b2b-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  z-index: 2;
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Content Area */
.product-content,
.product-info {
  padding: 1.5rem 1.65rem 1.65rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.35rem;
}

.product-code {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 1.175rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.32;
  transition: color var(--transition-fast);
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.55;
}

/* Mini Spec Pills */
.product-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-pill {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

/* Footer & Actions Area */
.product-meta,
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--border-color);
  gap: 0.75rem;
}

.product-pkg {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-view,
.btn-detail {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid transparent;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.product-card:hover .btn-view,
.product-card:hover .btn-detail {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-add-quote {
  background: var(--whatsapp);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-quote:hover {
  background: var(--whatsapp-dark);
}

/* --------------------------------------------------------------------------
   13. WHY US / B2B ADVANTAGES SECTION
   -------------------------------------------------------------------------- */
.why-section {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.25rem;
}

.why-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-xs);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-float);
}

.why-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.why-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. B2B SECTION & CONTACT / QUOTE FORM
   -------------------------------------------------------------------------- */
.contact-section,
.b2b-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.contact-grid,
.b2b-form-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-info {
  padding: 3.75rem;
  background: var(--surface-banner) !important;
  color: var(--text-on-banner) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.75rem;
  background: rgba(255, 255, 255, 0.12);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-card h4 {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-on-banner) !important;
}

.info-card p {
  color: var(--text-on-banner-muted) !important;
  font-size: 0.925rem;
  line-height: 1.55;
}

.contact-form {
  padding: 3.75rem;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 0.925rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* --------------------------------------------------------------------------
   15. MODAL & PRODUCT QUICK VIEW (BOTTOM-SHEET READY)
   -------------------------------------------------------------------------- */
.modal-overlay,
.product-modal,
.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  padding: 1.5rem;
}

.modal-overlay.active,
.product-modal.active,
.cart-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  width: 100%;
  max-width: 820px;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-modal);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-header-flex {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.modal-img-container {
  width: 290px;
  height: 290px;
  flex-shrink: 0;
  background: var(--product-img-bg);
  box-shadow: var(--product-podium-shadow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.modal-img-container:hover .modal-img {
  transform: scale(1.05);
}

/* B2B Unit Selector */
.unit-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.unit-opt {
  border: 2px solid var(--border-color);
  padding: 1rem 0.5rem;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  background: var(--bg-secondary);
  user-select: none;
}

.unit-opt:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.unit-opt.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

/* --------------------------------------------------------------------------
   16. QUOTE CART SIDEBAR & FLOATING BUTTON
   -------------------------------------------------------------------------- */
#floating-cart-btn {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%);
  color: #ffffff;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 99;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#floating-cart-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-float);
}

#floating-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#cart-sidebar .modal-content,
#cart-modal .modal-content,
.cart-modal .modal-content {
  max-width: 460px;
  right: 0;
  top: 0;
  position: absolute;
  height: 100vh;
  transform: translateX(100%);
  border-radius: 0;
  max-height: 100vh;
  box-shadow: var(--shadow-modal);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth);
}

#cart-sidebar.active .modal-content,
#cart-modal.active .modal-content,
.cart-modal.active .modal-content {
  transform: translateX(0);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: border-color var(--transition-fast);
}

.cart-item:hover {
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   17. FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer {
  background: #080e18 !important;
  color: #f8fafc !important;
  padding: 5.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
  letter-spacing: -0.2px;
}

.footer-links li {
  margin-bottom: 0.85rem;
  color: #94a3b8 !important;
  font-size: 0.925rem;
}

.footer-links a {
  color: #94a3b8 !important;
}

.footer-links a:hover {
  color: var(--primary) !important;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b !important;
  font-size: 0.885rem;
}

/* --------------------------------------------------------------------------
   18. MOBILE BOTTOM NAVIGATION BAR
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE DESIGN & MOBILE-FIRST BREAKPOINTS
   -------------------------------------------------------------------------- */

/* TABLET & SMALL LAPTOP BREAKPOINT (1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-card {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .contact-grid,
  .b2b-form-card {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 3rem;
  }

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

/* MOBILE LANDSCAPE & TABLET (768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  /* Hamburger & Navigation Drawer */
  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 82vw;
    height: 100vh;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-modal);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 1100;
  }

  .nav-links.active,
  .nav-links.mobile-active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.65rem 0;
  }

  .nav-actions .btn-whatsapp {
    display: none; /* Accessible in bottom bar & hero */
  }

  /* Hero Mobile Alignment */
  .hero {
    padding: 3.5rem 0 4.5rem;
    text-align: center;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-num {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.725rem;
  }

  .trust-grid {
    justify-content: center;
    gap: 1.25rem;
  }

  /* Horizontal Swipeable Category Filter Bar */
  .category-filters,
  .filter-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0.25rem 0.75rem;
    width: 100%;
  }

  .category-filters::-webkit-scrollbar,
  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .pill-btn {
    flex-shrink: 0;
  }

  /* Bottom-Sheet Product Modal (Mobile Native Style) */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-content {
    border-radius: 26px 26px 0 0;
    max-height: 90vh;
    padding: 2.25rem 1.5rem 2rem;
    transform: translateY(100%);
  }

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

  .modal-close {
    top: 1rem;
    right: 1rem;
    position: sticky;
    float: right;
  }

  .modal-header-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .modal-img-container {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

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

  /* Floating Cart Button Offset with Mobile Bottom Bar */
  #floating-cart-btn {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 56px;
    height: 56px;
  }

  /* Mobile App-Style Bottom Navigation Bar */
  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    z-index: 1050;
  }

  .mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--text-muted);
    flex: 1;
    height: 100%;
    transition: color var(--transition-fast);
  }

  .mobile-bar-item.active {
    color: var(--primary);
  }

  .mobile-bar-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

  .footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-links li {
    justify-content: center;
  }
}

/* SMARTPHONES & COMPACT MOBILE (480px & 360px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .contact-info,
  .contact-form {
    padding: 2.25rem 1.5rem;
  }

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

  .modal-img-container {
    width: 180px;
    height: 180px;
  }

  .unit-selector {
    grid-template-columns: 1fr;
  }
}
