/*
 * SPECTROLYTIC — Main Stylesheet
 * ================================
 * Brand: Spectrolytic Ltd / Spectrolytic GmbH
 * Document reference: DOC-0001 (Brand Guidelines)
 * Version: 1.0  |  June 2026
 *
 * TABLE OF CONTENTS
 * -----------------
 *  1.  Brand Tokens (CSS Variables)
 *  2.  Reset & Base
 *  3.  Navigation
 *  4.  Hero Section
 *  5.  Industry Selector Bar
 *  6.  Logos / Sectors Bar
 *  7.  Sections — Shared Layout & Typography
 *  8.  Value Proposition Cards
 *  9.  Product Cards
 * 10.  Stats Band
 * 11.  Case Studies Grid
 * 12.  DataInspectIR® Section
 * 13.  Newsletter / CTA Section
 * 14.  Contact & Booking Section
 * 15.  Partners & Distributors
 * 16.  Footer
 * 17.  Modal (Lead Capture)
 * 18.  Chatbot Widget
 * 19.  Toast Notifications
 * 20.  Responsive Breakpoints
 */


/* ═══════════════════════════════════════════
   1. BRAND TOKENS
   Official colours from DOC-0001.
   NEVER hard-code hex values elsewhere —
   always reference these variables.
═══════════════════════════════════════════ */
:root {
  /* Primary */
  --red:        #BB182B;   /* Spectrolytic Red — CTAs, highlights, borders */
  --red-dark:   #8E1020;   /* Hover state for red elements */
  --red-light:  #F9E0E3;   /* Red tint for backgrounds / badges */

  /* Neutrals */
  --slate:      #2E2E2E;   /* Dark panels, footer backgrounds */
  --slate-mid:  #3A3A3A;   /* Product card headers, secondary dark panels */
  --dark-grey:  #555555;   /* Body text */
  --mid-grey:   #777777;   /* Subtext, labels */
  --light-grey: #CCCCCC;   /* Disabled states, borders */
  --border:     #E0E0E0;   /* Dividers and card borders */
  --off-white:  #F5F5F5;   /* Alternate section backgrounds */
  --white:      #FFFFFF;

  /* Typography */
  --font: Arial, Helvetica, sans-serif;
}


/* ═══════════════════════════════════════════
   2. RESET & BASE
   Zero out browser defaults and set the
   global typography / box model.
═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Prevent layout shift when scrollbar appears */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  color: var(--dark-grey);
  font-size: 15px;
  line-height: 1.6;
  background: var(--white);
}

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

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

button {
  font-family: var(--font);
}


/* ═══════════════════════════════════════════
   3. NAVIGATION
   Sticky top nav with logo, links, and CTA.
   Mobile hamburger hidden above 900px.
═══════════════════════════════════════════ */
.nav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo mark (red square with 'S') — replace with <img> when logo file is available */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark { display: none; }

.nav-logo-text { display: none; }
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0 auto;
}

.nav-link {
  padding: 6px 14px;
  color: var(--dark-grey);
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover { background: var(--off-white); }

/* Active state — set by JS on scroll, or via class on the page's own nav link */
.nav-link.active {
  color: var(--red);
  font-weight: bold;
}

/* Primary CTA button in the nav */
.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 8px;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover { background: var(--red-dark); }

/* Mobile hamburger — hidden on desktop, shown via media query */
.nav-mobile-btn {
  display: none;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-grey);
  margin: 4px 0;
  transition: all 0.2s;
}

/* Mobile dropdown menu — hidden by default */
.nav-mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 32px 16px;
}

.nav-mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--dark-grey);
  border-bottom: 1px solid var(--off-white);
}

.nav-mobile-menu a:last-child { border: none; }
.nav-mobile-menu.open { display: block; }


/* ═══════════════════════════════════════════
   4. HERO SECTION
   Full-width hero with headline, sub-copy,
   CTAs, stat counters, and dashboard visual.
═══════════════════════════════════════════ */
.hero {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 64px 32px 0;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Red pill label above the headline */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-light);
  border: 1px solid #ddb5bb;
  color: var(--red);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 38px;
  font-weight: bold;
  color: var(--slate);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

/* Red emphasis text inside the headline */
.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-sub {
  font-size: 16px;
  color: var(--mid-grey);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

/* Stat counters below the CTA buttons */
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-stat .num {
  font-size: 28px;
  font-weight: bold;
  color: var(--red);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 12px;
  color: var(--mid-grey);
  margin-top: 4px;
  line-height: 1.3;
}

/* ── Dashboard Visual (right column of hero) ── */
.hero-visual {
  background: var(--slate-mid);
  border-radius: 8px 8px 0 0;
  padding: 20px;
  align-self: flex-end;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.dash-title {
  font-size: 12px;
  font-weight: bold;
  color: rgba(255,255,255,0.7);
}

/* Pulsing "Live" badge */
.dash-live {
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 9px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Animated bar chart */
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
  margin-bottom: 14px;
}

.dash-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255,255,255,0.12);
  transition: height 0.4s ease;
}

.dash-bar.r { background: var(--red); opacity: 0.8; }
.dash-bar.w { background: #E67E22; opacity: 0.85; }

/* Status metrics (Normal / Alert) */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.dash-metric {
  background: rgba(255,255,255,0.07);
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.dash-metric .dv       { font-size: 13px; font-weight: bold; color: var(--white); }
.dash-metric .dv.ok    { color: #5DD98D; }
.dash-metric .dv.warn  { color: #F5A623; }
.dash-metric .dk       { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Parameter value rows */
.dash-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.dash-param {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 7px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-param .pn      { font-size: 10px; color: rgba(255,255,255,0.45); }
.dash-param .pv      { font-size: 11px; font-weight: bold; color: rgba(255,255,255,0.8); }
.dash-param .pv.ok   { color: #5DD98D; }
.dash-param .pv.warn { color: #F5A623; }

/* ── Asset dashboard (hero-visual replacement) ── */
.hv-asset-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.hv-asset {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 8px 12px;
  gap: 10px;
}
.hv-asset-info { flex: 1; min-width: 0; }
.hv-asset-name { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-asset-loc  { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.hv-badges     { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.hv-badge      { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 12px; white-space: nowrap; }
.hv-badge.ok   { background: rgba(93,217,141,0.15); color: #5DD98D; }
.hv-badge.warn { background: rgba(245,166,35,0.15);  color: #F5A623; }
.hv-badge.crit { background: rgba(187,24,43,0.2);    color: #e05a6a; }
.hv-params-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.hv-param { background: rgba(255,255,255,0.05); border-radius: 5px; padding: 7px 8px; text-align: center; }
.hv-pn    { display: block; font-size: 9px; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.hv-pv    { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); }
.hv-pv.ok   { color: #5DD98D; }
.hv-pv.warn { color: #F5A623; }
.hv-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}




/* ════════════════════════════════════════
   SIX PILLARS OF VALUE
════════════════════════════════════════ */
.pillars-section { background: var(--off-white); }

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

.pillar-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 8px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-icon-wrap {
  margin-bottom: 4px;
}

.pillar-icon {
  font-size: 28px;
}

.pillar-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate);
  line-height: 1.3;
  margin: 0;
}

.pillar-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.pillar-stat {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  background: rgba(187, 24, 43, 0.07);
  border-radius: 20px;
  padding: 4px 12px;
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
}

.pillars-roi-band {
  background: var(--red);
  border-radius: 10px;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.roi-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.roi-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.roi-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.roi-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

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

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .roi-divider  { display: none; }
}


/* ═══════════════════════════════════════════
   5. INDUSTRY SELECTOR BAR
   Pill buttons that update hero copy via JS.
═══════════════════════════════════════════ */
.industry-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.industry-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  overflow-x: auto;
}

.ind-label {
  font-size: 13px;
  color: var(--mid-grey);
  white-space: nowrap;
  flex-shrink: 0;
}

.ind-pill {
  border: 1.5px solid var(--border);
  color: var(--dark-grey);
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
  background: var(--white);
}

.ind-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.ind-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  font-weight: bold;
}


/* ═══════════════════════════════════════════
   6. LOGOS / SECTORS BAR
   "Deployed across" customer sector chips.
═══════════════════════════════════════════ */
.logos-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 18px 32px;
}

.logos-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logos-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-grey);
  flex-shrink: 0;
}

.logos-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Individual sector chip — replace text with customer logo <img> when available */
.logo-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: bold;
  color: #999;
  letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════
   7. SECTIONS — SHARED LAYOUT & TYPOGRAPHY
   All content sections use these base styles.
   Add .alt for the off-white background variant.
═══════════════════════════════════════════ */
.section {
  padding: 80px 32px;
}

.section.alt {
  background: var(--off-white);
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* Small red uppercase label above section titles */
.section-eyebrow {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-size: 30px;
  font-weight: bold;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 16px;
  color: var(--mid-grey);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── Shared Button Styles ── */

/* Solid red — primary CTA */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-primary:hover { background: var(--red-dark); }

/* White with border — secondary action */
.btn-secondary {
  border: 1.5px solid var(--light-grey);
  background: var(--white);
  color: var(--dark-grey);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-secondary:hover { border-color: var(--dark-grey); }

/* Red border / transparent fill — tertiary */
.btn-outline {
  border: 1.5px solid var(--red);
  color: var(--red);
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--white);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

/* Grey border — ghost / low-emphasis */
.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--dark-grey);
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.15s;
  text-decoration: none;
}

.btn-ghost:hover { border-color: var(--dark-grey); }


/* ═══════════════════════════════════════════
   8. VALUE PROPOSITION CARDS
   Three-column grid on the homepage.
═══════════════════════════════════════════ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);   /* Red top accent border */
  border-radius: 4px;
  padding: 28px;
  transition: box-shadow 0.2s;
}

.value-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

/* Icon box — replace emoji with SVG icon if desired */
.value-icon {
  width: 44px;
  height: 44px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: bold;
  color: var(--slate);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════
   9. PRODUCT CARDS
   Two-column grid (Inline + Portable).
═══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Dark header with product name and description */
.product-card-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 28px;
  position: relative;
}

/* "INLINE SYSTEM" / "PORTABLE ANALYSER" label */
.product-tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.product-card-header h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--slate);
  margin-bottom: 6px;
}

.product-card-header p {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.6;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Technical specification grid */
.product-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
  align-content: start;
}

.product-param {
  background: var(--off-white);
  border-radius: 4px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
}

.product-param .pk {
  font-size: 10px;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-param .pv {
  font-size: 13px;
  font-weight: bold;
  color: var(--slate);
  margin-top: 2px;
}

.product-card-actions {
  display: flex;
  gap: 10px;
}


/* ═══════════════════════════════════════════
   10. STATS BAND
   Dark background strip with large figures.
═══════════════════════════════════════════ */
.stats-band {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 32px;
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
}

.stat-item .sn {
  font-size: 42px;
  font-weight: bold;
  color: var(--slate);
  line-height: 1;
  margin-bottom: 6px;
}

/* Highlighted number portion (e.g. "3" in "3×") */
.stat-item .sn .sc {
  color: var(--red);
}

.stat-item .sl {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.4;
}

/* Override section colours for dark background */
.stats-band .section-title { color: var(--slate); }
.stats-band .section-sub   { color: var(--mid-grey); }


/* ═══════════════════════════════════════════
   11. CASE STUDIES GRID
   Filter tabs + 3-column card grid.
   Cards link to gated download modal.
═══════════════════════════════════════════ */
.cs-filter-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cs-filter-label {
  font-size: 13px;
  color: var(--mid-grey);
}

.cs-filter {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--dark-grey);
  cursor: pointer;
  transition: all 0.15s;
}

.cs-filter:hover  { border-color: var(--red); color: var(--red); }
.cs-filter.active { background: var(--slate); border-color: var(--slate); color: var(--white); font-weight: bold; }

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

.cs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cs-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Dark card header with industry tag and headline */
.cs-card-top {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}

.cs-industry {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.cs-card-top h4 {
  font-size: 15px;
  font-weight: bold;
  color: var(--white);
  line-height: 1.35;
}

/* Key metric result */
.cs-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cs-metric     { font-size: 26px; font-weight: bold; color: #FF8F9A; line-height: 1; }
.cs-metric-lbl { font-size: 11px; color: var(--mid-grey); line-height: 1.3; }

.cs-card-body {
  padding: 16px 18px;
}

.cs-card-body p {
  font-size: 13px;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Gated download bar at the bottom of each card */
.cs-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 9px 12px;
}

.cs-gate-label {
  font-size: 12px;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cs-gate-btn {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.cs-gate-btn:hover { background: var(--red-dark); }


/* ═══════════════════════════════════════════
   12. DATAINSPECTIR® SECTION
   Dark background, two-column layout.
   Left: feature list + CTA. Right: dashboard mock.
═══════════════════════════════════════════ */
.di-section {
  background: var(--off-white);
  padding: 80px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.di-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Override text colours for dark background */
.di-section .section-eyebrow { color: var(--red); }
.di-section .section-title   { color: var(--slate); margin-bottom: 14px; }
.di-section .section-sub     { color: var(--mid-grey); margin-bottom: 28px; }

.di-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.di-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
}

.di-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--red-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.di-feature h4 { font-size: 14px; font-weight: bold; color: var(--slate); margin-bottom: 3px; }
.di-feature p  { font-size: 12px; color: var(--mid-grey); line-height: 1.5; }

/* Dashboard mockup widget */
.di-dashboard-mock {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.di-dash-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--mid-grey);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.di-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.di-tile {
  background: var(--off-white);
  border-radius: 6px;
  padding: 12px;
  border: 1px solid var(--border);
}

.di-tile .dt-label { font-size: 10px; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.di-tile .dt-val        { font-size: 18px; font-weight: bold; color: var(--slate); }
.di-tile .dt-val.ok     { color: #187836; }
.di-tile .dt-val.warn   { color: #B45909; }
.di-tile .dt-val.crit   { color: var(--red); }

/* Mini trend bar charts inside tiles */
.di-trend {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-top: 8px;
}

.di-trend-bar     { flex: 1; border-radius: 2px 2px 0 0; background: var(--red-light); }
.di-trend-bar.on  { background: var(--red); opacity: 0.6; }

/* Alert list */
.di-alerts {
  background: var(--off-white);
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.di-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.di-alert:last-child { border: none; }

.di-alert-dot        { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.di-alert-dot.warn   { background: #B45909; }
.di-alert-dot.ok     { background: #187836; }
.di-alert-text       { font-size: 11px; color: var(--mid-grey); }


/* ═══════════════════════════════════════════
   13. NEWSLETTER / CTA SECTION
   Red-light background strip for email signup.
═══════════════════════════════════════════ */
.cta-section {
  padding: 72px 32px;
  background: var(--red-light);
  border-top: 1px solid #ddb5bb;
  border-bottom: 1px solid #ddb5bb;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--slate);
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 16px;
  color: var(--dark-grey);
  margin-bottom: 28px;
}

/* Email input + button inline */
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
}

.cta-input {
  flex: 1;
  border: 1.5px solid #ddb5bb;
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--dark-grey);
  background: var(--white);
  font-family: var(--font);
  outline: none;
}

.cta-input:focus { border-color: var(--red); }

.cta-note {
  font-size: 11px;
  color: var(--mid-grey);
}


/* ═══════════════════════════════════════════
   14. CONTACT & BOOKING SECTION
   Two-column layout: contact info + form.
═══════════════════════════════════════════ */
.booking-section {
  padding: 80px 32px;
  background: var(--white);
}

.booking-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.booking-info h2 { font-size: 28px; font-weight: bold; color: var(--slate); margin-bottom: 12px; }
.booking-info p  { font-size: 15px; color: var(--mid-grey); line-height: 1.7; margin-bottom: 24px; }

.booking-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 14px 16px;
}

.booking-opt-icon {
  width: 36px;
  height: 36px;
  background: var(--red-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.booking-opt h4 { font-size: 14px; font-weight: bold; color: var(--slate); }
.booking-opt p  { font-size: 12px; color: var(--mid-grey); margin: 0; }

/* Contact form card */
.booking-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
}

.booking-form h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--slate);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--dark-grey);
  font-family: var(--font);
  transition: border-color 0.15s;
  outline: none;
}

.form-input:focus { border-color: var(--red); }

/* Custom select arrow */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

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

.form-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font);
}

.form-submit:hover { background: var(--red-dark); }

.form-gdpr {
  font-size: 11px;
  color: var(--mid-grey);
  margin-top: 8px;
  text-align: center;
}


/* ═══════════════════════════════════════════
   15. PARTNERS & DISTRIBUTORS
   Logo tiles + regional distributor cards
   + become-a-partner CTA.
═══════════════════════════════════════════ */
.partners-section {
  padding: 72px 32px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.partners-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.partner-category {
  margin-bottom: 52px;
}

/* Section sub-heading with underline divider */
.partner-category-title {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid-grey);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Technology partner logo tiles */
.tech-partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tech-partner-tile {
  height: 56px;
  min-width: 130px;
  padding: 0 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  color: var(--dark-grey);
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: default;
}

.tech-partner-tile:hover {
  border-color: var(--light-grey);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tech-partner-tile .tile-label {
  font-size: 10px;
  color: var(--mid-grey);
  font-weight: normal;
  display: block;
  text-align: center;
  margin-top: 2px;
}

/* Regional distributor grid */
.distributor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dist-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 24px;
  transition: border-color 0.15s;
}

.dist-card:hover { border-color: var(--light-grey); }

.dist-region {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  background: var(--red-light);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.dist-name    { font-size: 15px; font-weight: bold; color: var(--slate); margin-bottom: 6px; }
.dist-contact { font-size: 13px; color: var(--mid-grey); line-height: 1.65; }
.dist-contact strong { color: var(--dark-grey); }

.dist-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: bold;
  color: var(--red);
}

.dist-link:hover { text-decoration: underline; }

.dist-placeholder {
  font-size: 11px;
  color: var(--light-grey);
  font-style: italic;
  margin-top: 4px;
}

/* "Become a partner" CTA band */
.partner-cta-band {
  background: var(--red);
  border-radius: 10px;
  padding: 36px 48px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.partner-cta-text h3 { font-size: 20px; font-weight: bold; color: var(--white); margin-bottom: 8px; }
.partner-cta-text p  { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 500px; line-height: 1.6; }

.partner-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   16. FOOTER
   Dark three-column footer with logo,
   product links and company links.
═══════════════════════════════════════════ */
footer {
  background: #1a1a1a;
  padding: 44px 32px 0;
  border-top: 3px solid var(--red);
}

.footer-inner { max-width: 1160px; margin: 0 auto; }

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

.footer-brand .foot-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-brand .foot-logo-mark { display: none; }
.footer-brand .foot-logo-text { display: none; }
.footer-brand .foot-logo-img {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-brand-contact {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer-brand-contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-brand-contact a:hover { color: white; }

.footer-col { padding-top: 4px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  text-decoration: none;
}

.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left  { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom-right { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom-right a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.15s; }
.footer-bottom-right a:hover { color: rgba(255,255,255,0.7); }


/* ═══════════════════════════════════════════
   17. MODAL — LEAD CAPTURE
   Overlay + centred card for case study
   download gate. Two states: form / success.
═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  max-width: 460px;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.25s;
  position: relative;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: var(--off-white);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: var(--border); }

.modal-icon   { font-size: 32px; margin-bottom: 12px; }
.modal h3     { font-size: 20px; font-weight: bold; color: var(--slate); margin-bottom: 6px; }
.modal-sub    { font-size: 14px; color: var(--mid-grey); margin-bottom: 20px; }

/* Highlighted case study title in modal */
.modal-study-title {
  background: var(--off-white);
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  font-weight: bold;
  color: var(--slate);
  margin-bottom: 20px;
}

/* Success state */
.modal-success { text-align: center; padding: 12px 0; }
.modal-success .success-icon { font-size: 48px; margin-bottom: 12px; }
.modal-success h3 { font-size: 20px; font-weight: bold; color: var(--slate); margin-bottom: 8px; }
.modal-success p  { font-size: 14px; color: var(--mid-grey); }


/* ═══════════════════════════════════════════
   18. CHATBOT WIDGET
   Fixed bottom-right floating button
   that opens a chat panel.
═══════════════════════════════════════════ */
.chatbot-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(187,24,43,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chatbot-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(187,24,43,0.5);
}

/* Orange unread badge */
.chatbot-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: #E67E22;
  border-radius: 50%;
  border: 2px solid var(--white);
  font-size: 9px;
  font-weight: bold;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chat panel — slides up from button */
.chatbot-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1500;
  width: 320px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  overflow: hidden;
}

.chatbot-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--red);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.chat-header-info h4 { font-size: 13px; font-weight: bold; color: var(--white); }
.chat-header-info p  { font-size: 10px; color: rgba(255,255,255,0.65); }

.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.chat-body {
  padding: 16px;
  min-height: 180px;
  max-height: 300px;
  overflow-y: auto;
}

/* Bot message bubble */
.chat-msg {
  background: var(--off-white);
  border-radius: 4px 12px 12px 4px;
  padding: 10px 13px;
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 90%;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-option {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--dark-grey);
  cursor: pointer;
  text-align: left;
  background: var(--white);
  transition: all 0.15s;
  font-family: var(--font);
}

.chat-option:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

.chat-footer {
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 12px;
  font-family: var(--font);
  outline: none;
}

.chat-input:focus { border-color: var(--red); }

.chat-send {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
}


/* ═══════════════════════════════════════════
   19. TOAST NOTIFICATIONS
   Brief feedback messages (success, warning).
   Slides up from bottom-centre of screen.
═══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--slate);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 3000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon { font-size: 16px; }


/* ═══════════════════════════════════════════
   20. RESPONSIVE BREAKPOINTS
   900px: tablet — hide nav links, stack grids.
   600px: mobile — further stack and scale down.
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-visual         { display: none; }         /* Hide dashboard visual on mobile */
  .hero h1             { font-size: 28px; }
  .value-grid          { grid-template-columns: 1fr; }
  .products-grid       { grid-template-columns: 1fr; }
  .cs-grid             { grid-template-columns: 1fr 1fr; }
  .stats-grid          { grid-template-columns: repeat(2,1fr); }
  .di-inner            { grid-template-columns: 1fr; }
  .booking-inner       { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .distributor-grid    { grid-template-columns: 1fr 1fr; }
  .partner-cta-band    { flex-direction: column; padding: 28px 24px; }
  .nav-links           { display: none; }         /* Hide desktop nav */
  .nav-cta             { display: none; }
  .nav-mobile-btn      { display: block; }        /* Show hamburger */
}

@media (max-width: 600px) {
  .cs-grid             { grid-template-columns: 1fr; }
  .distributor-grid    { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }
  .hero-stats          { gap: 16px; }
  .hero-stat .num      { font-size: 22px; }
  .section-title       { font-size: 24px; }
  .cta-form            { flex-direction: column; }
  .chatbot-panel       { width: calc(100vw - 48px); right: 24px; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .section             { padding: 56px 20px; }
}

/* Customer portal nav link */
.nav-portal-link {
  border: 1px solid var(--border) !important;
  border-radius: 4px;
  padding: 5px 12px !important;
  color: var(--mid-grey) !important;
  font-size: 13px;
}
.nav-portal-link:hover {
  background: var(--off-white) !important;
  color: var(--slate) !important;
}

/* ── Language switcher ───────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 4px;
  font-size: 12px;
  font-weight: bold;
}
.lang-switcher a {
  padding: 5px 9px;
  color: var(--mid-grey);
  text-decoration: none;
  background: white;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.lang-switcher a:hover { background: var(--off-white); color: var(--slate); }
.lang-switcher a.active { background: var(--red); color: white; }
.lang-switcher span { width: 1px; background: var(--border); align-self: stretch; }

/* ── Products dropdown ───────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  padding-top: 8px;          /* gap above the box — keeps hover alive */
  z-index: 1100;
}
.nav-dropdown-menu-inner {
  background: white; border: 1px solid var(--border);
  border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  min-width: 240px; padding: 6px 0;
  animation: ddFade 0.1s ease;
}
@keyframes ddFade { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 18px;
  color: var(--dark-grey); font-size: 13px;
  text-decoration: none; transition: background 0.12s, color 0.12s;
  border-bottom: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--red); }

/* ── Hero proof strip ── */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--mid-grey);
}
.proof-item {
  font-weight: 600;
  color: var(--slate);
}
.proof-sep {
  color: var(--light-grey);
}
.hero-demo-note {
  font-size: 12px;
  color: var(--mid-grey);
  margin-top: 10px;
  letter-spacing: 0.2px;
}
/* Booking section promise text */
.demo-promise {
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.65;
  margin-top: 8px;
  margin-bottom: 28px;
}
/* Expanded international distributor card */
.dist-card-expand {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .dist-card-expand { grid-column: spa
/* ---------------------------------------------------------------------------
   Chatbot hidden, deliberately.

   The widget is not wired to anything: it offers canned replies, claims
   "Typically replies in minutes", and shows an unread badge, but nothing
   reaches a human. Hidden here rather than deleted, at the maintainer's request -
   the markup on the five homepages and the conversation logic in js/main.js
   (chatSelect / toggleChat / chatSend) are all left intact.

   To bring it back: delete this rule. Nothing else needs changing.
   --------------------------------------------------------------------------- */
.chatbot-btn,
.chatbot-panel { display: none !important; }
