/* ==========================================================================
   KT.SOLAR — Premium B2B Design System (v2.0)
   Positioning: Energy Hardware × Engineering × Distribution
   ========================================================================== */

/* Local GDPR-Compliant Font Imports (Self-Hosted) */
@import url('fonts.css');

:root {
  /* Color Palette — Technical & Industrial */
  --c-dark-bg: #090e17;
  --c-dark-surface: #0f172a;
  --c-dark-card: #141e33;
  --c-dark-border: rgba(255, 255, 255, 0.08);
  --c-dark-border-strong: rgba(255, 255, 255, 0.16);

  --c-light-bg: #f8fafc;
  --c-light-surface: #ffffff;
  --c-light-muted: #f1f5f9;
  --c-light-border: #e2e8f0;
  --c-light-border-strong: #cbd5e1;

  --c-brand-slate: #1e293b;
  --c-brand-navy: #0b1320;
  --c-brand-blue: #004883;       /* Deye Blue anchor */

  /* Primary Brand Color: KT.solar Green */
  --c-primary: #52B72A;
  --c-primary-hover: #46a224;
  --c-primary-active: #3c8e1d;
  --c-primary-light: rgba(82, 183, 42, 0.12);
  --c-primary-glow: rgba(82, 183, 42, 0.35);
  --c-solar-green: #52b72a;      /* Original KT.solar green */

  --c-signal-blue: #0066cc;      /* Technical Secondary Blue */
  --c-electric-cyan: #00d2b4;    /* Energy Flow Accent */

  --c-text-primary: #0f172a;
  --c-text-secondary: #475569;
  --c-text-muted: #64748b;
  --c-text-light: #f8fafc;
  --c-text-light-muted: #94a3b8;

  /* Modern Engineering Typography (Plus Jakarta Sans × JetBrains Mono) */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Geometry & Rhythm */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-none: 0px;

  --container-max: 1360px;
  --header-height: 88px;
  --topbar-height: 38px;
  --header-total-height: 126px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-technical: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-elevated: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-primary);
  background-color: var(--c-dark-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

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

/* Modern Precision Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--c-brand-slate);
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.subsection-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Technical Label / Badges */
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-signal-blue);
  background-color: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  width: fit-content;
}

.tech-label-dark {
  color: var(--c-electric-cyan);
  background-color: rgba(0, 210, 180, 0.1);
  border-color: rgba(0, 210, 180, 0.25);
}

.tech-label-green {
  color: #15803d;
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

.tech-label-subtle {
  color: var(--c-text-muted);
  background-color: var(--c-light-muted);
  border-color: var(--c-light-border);
}

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--c-primary);
  color: #ffffff;
  border-color: var(--c-primary);
  font-weight: 700;
}
.btn-primary:hover {
  background-color: var(--c-primary-hover);
  border-color: var(--c-primary-hover);
  box-shadow: 0 4px 18px var(--c-primary-glow);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--c-brand-slate);
  color: #ffffff;
  border-color: var(--c-brand-slate);
}
.btn-dark:hover {
  background-color: #0b1320;
  border-color: #0b1320;
}

.btn-outline {
  background-color: transparent;
  color: var(--c-brand-slate);
  border-color: var(--c-light-border-strong);
}
.btn-outline:hover {
  background-color: var(--c-light-muted);
  border-color: var(--c-brand-slate);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--c-text-light);
  border-color: var(--c-dark-border-strong);
}
.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Header & Navigation — Sticky on Subpages, Fixed Transparent on Homepage */
.site-header-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--c-dark-bg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.has-hero-banner .site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
}

.topbar {
  background-color: #060a12;
  color: var(--c-text-light-muted);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
}

.topbar .container,
.site-header .container,
.breadcrumbs-bar .container,
.hero-banner .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(1.5rem, 3.5vw, 4rem) !important;
  padding-right: clamp(1.5rem, 3.5vw, 4rem) !important;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-primary);
  font-weight: 600;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--c-text-light-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: color 0.15s ease;
}
.topbar-link:hover {
  color: var(--c-primary);
}

/* Site Header — Solid Dark & Highly Legible on Subpages by default */
.site-header {
  width: 100%;
  background-color: rgba(9, 14, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transparent Header ONLY on Homepage over the Hero Banner */
body.has-hero-banner .site-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

body.has-hero-banner .topbar {
  background-color: rgba(9, 14, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.has-hero-banner .site-header-wrapper.scrolled .site-header {
  background-color: rgba(9, 14, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

body.has-hero-banner .site-header-wrapper.scrolled .topbar {
  background-color: #060a12;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 58px;
  width: auto;
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 46px;
  }
}

/* Desktop Navigation — Fill Width System */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  border-radius: var(--radius-xs);
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--c-primary);
  background-color: rgba(82, 183, 42, 0.08);
}

/* Dropdown Menu — High-End Industrial Dark Glass */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(12, 19, 34, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  min-width: 280px;
  padding: 0.6rem;
  display: none;
  z-index: 110;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.65rem 0.95rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  border-radius: var(--radius-xs);
  transition: all 0.15s ease;
}
.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--c-primary);
  padding-left: 1.15rem;
}

.dropdown-desc {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

/* Header CTAs */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: #ffffff;
}

/* Breadcrumbs Bar */
.breadcrumbs-bar {
  background-color: var(--c-dark-surface);
  border-bottom: 1px solid var(--c-dark-border);
  padding: 0.75rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-text-light-muted);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumbs-list li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--c-dark-border-strong);
}

.breadcrumbs-list li:last-child::after {
  content: "";
}

.breadcrumbs-list li[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.breadcrumbs-list a {
  color: var(--c-text-light-muted);
}

.breadcrumbs-list a:hover {
  color: var(--c-primary);
}

/* Page Layout & Header Offsets */
main {
  padding-top: 0;
  position: relative;
  background-color: #ffffff;
}

body.has-hero-banner main {
  padding-top: 0;
  background-color: var(--c-dark-bg);
}

/* Hero Banner — Exact Background Image with Parallax Depth */
.hero-banner {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--c-dark-bg);
  overflow: hidden;
  padding-top: calc(var(--header-total-height) + 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4.25rem);
  border-bottom: 1px solid var(--c-dark-border);
}

.hero-parallax-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 135%;
  background-image: url('../assets/kt-solar.webp');
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(0deg, 
      rgba(9, 14, 23, 0.98) 0%, 
      rgba(9, 14, 23, 0.88) 35%, 
      rgba(9, 14, 23, 0.45) 68%, 
      rgba(9, 14, 23, 0.3) 100%),
    linear-gradient(90deg, 
      rgba(9, 14, 23, 0.8) 0%, 
      rgba(9, 14, 23, 0.3) 50%, 
      rgba(9, 14, 23, 0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-banner .container {
  position: relative;
  z-index: 3;
}

.hero-bottom-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
}

.hero-bottom-left {
  flex: 1 1 54%;
  max-width: 720px;
}

.hero-bottom-right {
  flex: 1 1 42%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-spec-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.25rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-banner {
    min-height: auto;
    padding-top: calc(var(--header-total-height) + 2rem);
    padding-bottom: 3rem;
  }
  .hero-bottom-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.25rem;
  }
  .hero-bottom-left,
  .hero-bottom-right {
    max-width: 100%;
    width: 100%;
  }
  .hero-parallax-bg {
    top: -10%;
    height: 120%;
    background-position: center;
  }
}

/* Training Section Full-Width 50/50 Layout */
.section-training-full .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(1.5rem, 3.5vw, 4rem) !important;
  padding-right: clamp(1.5rem, 3.5vw, 4rem) !important;
}

.training-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  width: 100%;
}

.training-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.training-usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
}

.training-usp-item {
  border-left: 2px solid var(--c-primary);
  padding-left: 0.85rem;
}

.training-usp-item.training-usp-alt {
  border-left-color: var(--c-electric-cyan);
}

.training-usp-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.training-usp-desc {
  font-size: 0.825rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Training Slider (Right 50%) */
.training-split-right {
  width: 100%;
}

.training-slider {
  position: relative;
  width: 100%;
  height: clamp(380px, 42vw, 520px);
  border-radius: 12px;
  overflow: hidden;
  border: none;
  background-color: var(--c-dark-surface);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.training-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.training-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.training-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.training-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.training-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(0deg, rgba(9, 14, 23, 0.95) 0%, rgba(9, 14, 23, 0.7) 60%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.training-caption-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.training-caption-text {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

.training-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(9, 14, 23, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.training-slider-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-50%) scale(1.08);
}

.training-slider-btn.prev {
  left: 1rem;
}

.training-slider-btn.next {
  right: 1rem;
}

.training-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.training-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.training-dot.active {
  background: var(--c-primary);
  width: 36px;
}

@media (max-width: 992px) {
  .training-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .training-slider {
    height: 380px;
  }
}

/* Section Layouts */
.section {
  padding: 5rem 0;
  position: relative;
  background-color: #ffffff;
  color: var(--c-text-primary);
}

.section-dark {
  background-color: var(--c-dark-bg);
  color: var(--c-text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--c-text-light);
}

.section-muted {
  background-color: var(--c-light-muted);
}

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

.section-header.centered {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Engineering Technical Cards */
.tech-card {
  background-color: #ffffff;
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-xs);
  padding: 2rem;
  transition: all 0.2s ease;
  position: relative;
}

.tech-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-technical);
  transform: translateY(-2px);
}

.tech-card-dark {
  background-color: var(--c-dark-surface);
  border-color: var(--c-dark-border);
  color: var(--c-text-light);
}
.tech-card-dark:hover {
  border-color: var(--c-electric-cyan);
  box-shadow: 0 4px 20px rgba(0, 210, 180, 0.15);
}

/* Product Spec Table */
.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--c-light-border);
  background-color: #ffffff;
  border-radius: var(--radius-xs);
  margin-top: 1.5rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.spec-table th {
  background-color: var(--c-light-muted);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--c-light-border);
  color: var(--c-brand-slate);
}

.spec-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--c-light-border);
  color: var(--c-text-primary);
}

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

.spec-table tr:nth-child(even) {
  background-color: #fafbfc;
}

/* Trust Certificate Module */
.cert-preview-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.cert-image-wrap {
  background-color: var(--c-light-muted);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--c-light-border);
}

.cert-image-wrap img {
  max-height: 480px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
}

.cert-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background-color: #fafbfc;
}

.cert-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cert-meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
}

.cert-meta-val {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-brand-slate);
}

/* B2B Request Form System */
.b2b-form-card {
  background-color: #ffffff;
  border: 1px solid var(--c-light-border);
  border-radius: var(--radius-xs);
  padding: 2.5rem;
  box-shadow: var(--shadow-technical);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--c-brand-slate);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--c-light-border-strong);
  border-radius: var(--radius-xs);
  background-color: #ffffff;
  color: var(--c-text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--c-text-secondary);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 0.2rem;
}

/* Footer System */
.site-footer {
  background-color: var(--c-dark-bg);
  color: var(--c-text-light-muted);
  border-top: 1px solid var(--c-dark-border);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
}

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

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--c-dark-border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.footer-agency-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-agency-link:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

/* ==========================================================================
   Cookie & Privacy Consent Management (GDPR / TDDDG § 25 Compliant)
   ========================================================================== */

/* Floating Trigger Button (Bottom Left) */
.cookie-trigger-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #0b1324;
  border: 1px solid rgba(82, 183, 42, 0.5);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-trigger-btn:hover {
  transform: scale(1.08);
  border-color: var(--c-primary);
  box-shadow: 0 6px 22px rgba(82, 183, 42, 0.4);
}

.cookie-trigger-btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

/* Modal Overlay & Backdrop */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(9, 14, 23, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cookie-modal-backdrop.show {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.cookie-modal {
  background-color: #0b1324;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--c-primary);
  border-radius: 14px;
  max-width: 840px;
  width: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(82, 183, 42, 0.12);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-backdrop.show .cookie-modal {
  transform: translateY(0) scale(1);
}

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

.cookie-modal-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: var(--c-primary-light);
  border: 1px solid rgba(82, 183, 42, 0.35);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-modal-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
}

.cookie-modal-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 1.5rem 0;
}

.cookie-modal-desc a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.cookie-modal-desc a:hover {
  color: #72cf49;
}

/* 3-Column Categories Grid */
.cookie-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cookie-category-card {
  background-color: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cookie-category-card:hover {
  border-color: rgba(82, 183, 42, 0.35);
  background-color: rgba(255, 255, 255, 0.05);
}

.cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.cookie-cat-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.cookie-cat-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0;
}

/* Modern Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: background-color 0.2s ease;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--c-primary);
}

.cookie-switch input:focus-visible + .cookie-slider {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

.cookie-slider.disabled {
  background-color: var(--c-primary);
  opacity: 0.85;
  cursor: not-allowed;
}

/* Modal Actions */
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.cookie-btn-subtle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cookie-btn-subtle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(82, 183, 42, 0.55);
  color: #ffffff;
}

.cookie-btn-primary {
  background-color: var(--c-primary);
  border: 1px solid var(--c-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(82, 183, 42, 0.25);
}

.cookie-btn-primary:hover {
  background-color: var(--c-primary-hover);
  border-color: var(--c-primary-hover);
  box-shadow: 0 4px 18px var(--c-primary-glow);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cookie-categories-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .cookie-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn {
    text-align: center;
    width: 100%;
  }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .grid-12 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3.5rem 0;
  }
  .topbar {
    display: none; /* Keep clean on small mobile */
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 200;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 199;
  display: none;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-light-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-brand-slate);
}

.mobile-sub-links {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-sub-link {
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  padding: 0.25rem 0;
}
