/* ═══════════════════════════════════════════════
   TRUSTINOX · Global Design System – v2 FR
   Casablanca & Laâyoune, Maroc
═══════════════════════════════════════════════ */

/* ── 0. CSS Custom Properties (Design Tokens) ── */
:root {
  /* Brand Colors */
  --col-accent:       #1a6fa8;
  --col-accent-dark:  #125285;
  --col-accent-light: #2d8fd4;
  --col-accent-glow:  rgba(26, 111, 168, 0.18);

  /* Neutrals */
  --col-white:        #ffffff;
  --col-offwhite:     #f7f8fa;
  --col-grey-50:      #f1f3f6;
  --col-grey-100:     #e2e6ec;
  --col-grey-200:     #c8cfd9;
  --col-grey-400:     #8d97a5;
  --col-grey-600:     #5a6474;
  --col-charcoal:     #1e2329;
  --col-ink:          #111418;
  --col-black:        #080a0d;

  /* Dark Footer */
  --col-footer-bg:    #0d1118;
  --col-footer-card:  #161c24;
  --col-footer-border:#222b36;
  --col-footer-text:  #9aa3ae;

  /* Typography */
  --font-body:        'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:        'Roboto Mono', 'Courier New', monospace;

  /* Spacing */
  --sp-xs:  0.375rem;
  --sp-sm:  0.625rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;
  --sp-4xl: 9rem;

  /* Sizing */
  --nav-h:        72px;
  --container-w:  1280px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    14px;

  /* Shadows */
  --shadow-card:  0 2px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-heavy: 0 12px 48px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.10);
  --shadow-nav:   0 2px 20px rgba(0,0,0,0.10);

  /* Transitions */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  180ms;
  --dur-std:   320ms;
  --dur-slow:  560ms;
}

/* ── 1. Reset & Base ── */
*, *::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-body);
  background: var(--col-white);
  color: var(--col-charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }
input, select, textarea { font: inherit; }

/* ── 2. Utility Classes ── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}
.text-center { text-align: center; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }


/* ── 3. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--dur-fast), color var(--dur-fast),
              box-shadow var(--dur-fast), transform var(--dur-fast),
              border-color var(--dur-fast);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--col-accent);
  color: var(--col-white);
  border-color: var(--col-accent);
}
.btn-accent:hover {
  background: var(--col-accent-dark);
  border-color: var(--col-accent-dark);
  box-shadow: 0 0 0 4px var(--col-accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--col-accent);
  border-color: var(--col-accent);
}
.btn-outline:hover {
  background: var(--col-accent);
  color: var(--col-white);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--col-white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--col-charcoal);
  border-color: var(--col-grey-200);
}
.btn-ghost-dark:hover {
  background: var(--col-grey-50);
  border-color: var(--col-grey-400);
}

.btn-white {
  background: rgba(255,255,255,0.15);
  color: var(--col-white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-white:hover {
  background: var(--col-white);
  color: var(--col-accent);
  border-color: var(--col-white);
}

.btn-sm  { padding: 0.5rem 1rem;   font-size: 0.8rem;  }
.btn-lg  { padding: 0.875rem 1.75rem; font-size: 0.9rem; }
.btn-xl  { padding: 1rem 2rem;     font-size: 0.9rem;  }


/* ── 4. Section Typography System ── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: var(--sp-md);
}
.section-eyebrow.light { color: var(--col-accent-light); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--col-ink);
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--col-grey-600);
  max-width: 680px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: var(--sp-2xl);
}
.section-header.text-center .section-desc {
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--col-grey-100);
  transition: box-shadow var(--dur-std) var(--ease-out),
              background var(--dur-std);
}
.nav-header.scrolled {
  box-shadow: var(--shadow-nav);
  background: rgba(255,255,255,0.99);
}

.nav-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}

/* Logo */
.nav-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--col-ink);
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  font-weight: 300;
  font-family: var(--font-body);
}
.logo-text strong {
  font-weight: 800;
  color: var(--col-accent);
}

/* Real logo image in nav and footer */
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  /* logo has white background — invert on dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--col-grey-600);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  letter-spacing: 0.01em;
  background: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link:hover {
  color: var(--col-accent);
  background: var(--col-accent-glow);
}
.nav-cta { margin-left: 0.75rem; }

.nav-chevron {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  transition: transform var(--dur-fast);
}
.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ── Mega Menu ── */
.has-mega { position: relative; }

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 860px;
  background: var(--col-white);
  border: 1px solid var(--col-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-heavy);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-std) var(--ease-out),
              transform var(--dur-std) var(--ease-out);
  z-index: 200;
  overflow: hidden;
}
/* Mega menu controlled exclusively by JS class toggle */
.mega-menu.menu-open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0;
}

.mega-col {
  padding: var(--sp-xl);
  border-right: 1px solid var(--col-grey-50);
}
.mega-col:last-of-type { border-right: none; }

.mega-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-grey-400);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--col-grey-100);
}

.mega-col ul li { margin-bottom: var(--sp-xs); }
.mega-link {
  font-size: 0.84rem;
  color: var(--col-charcoal);
  font-weight: 450;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  display: block;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.mega-link:hover {
  color: var(--col-accent);
  background: var(--col-accent-glow);
}

.mega-promo {
  width: 200px;
  background: linear-gradient(160deg, var(--col-accent) 0%, var(--col-accent-dark) 100%);
  padding: var(--sp-xl);
  display: flex;
  align-items: center;
}
.mega-promo-inner { color: white; }
.mega-promo-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.mega-promo-inner h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.mega-promo-inner p {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: var(--sp-lg);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--col-charcoal);
  border-radius: 2px;
  transition: transform var(--dur-std), opacity var(--dur-fast);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--col-white);
  border-top: 1px solid var(--col-grey-100);
  padding: var(--sp-lg) var(--sp-xl);
  gap: var(--sp-sm);
  box-shadow: var(--shadow-heavy);
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--sp-sm); }
.mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--col-charcoal);
  border-bottom: 1px solid var(--col-grey-50);
}
.mobile-menu .btn {
  margin-top: var(--sp-sm);
  text-align: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,10,13,0.82) 0%,
    rgba(13,17,24,0.68) 45%,
    rgba(26,111,168,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: var(--sp-4xl) var(--sp-xl) var(--sp-3xl);
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,111,168,0.2);
  border: 1px solid rgba(26,111,168,0.5);
  color: #7ec8f5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  margin-bottom: var(--sp-xl);
  backdrop-filter: blur(4px);
  animation: fadeInUp 0.7s var(--ease-out) both;
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--col-white);
  max-width: 820px;
  margin-bottom: var(--sp-xl);
  animation: fadeInUp 0.75s 0.1s var(--ease-out) both;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: var(--sp-2xl);
  animation: fadeInUp 0.75s 0.2s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
  animation: fadeInUp 0.75s 0.3s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.75s 0.4s var(--ease-out) both;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-num {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--col-white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: var(--sp-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
  animation: fadeIn 1.2s 0.8s both;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}


/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ═══════════════════════════════════════════════
   TICKER BAR
═══════════════════════════════════════════════ */
.ticker-bar {
  background: var(--col-ink);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  overflow: hidden;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 35s linear infinite;
}
.ticker-track span { padding: 0 0.5rem; white-space: nowrap; }
.ticker-sep { color: rgba(26,111,168,0.7); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════
   PRODUCTS SECTION
═══════════════════════════════════════════════ */
.products {
  padding: var(--sp-4xl) 0;
  background: var(--col-offwhite);
  position: relative;
}
.products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--col-accent) 0%, var(--col-accent-light) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}

/* Product Card */
.product-card {
  background: var(--col-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--col-grey-100);
  transition: transform var(--dur-std) var(--ease-out),
              box-shadow var(--dur-std) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--col-grey-50);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover .card-img {
  transform: scale(1.04);
}

/* Gradient fallback cards */
.card-img-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}
.card-img-gradient--steel {
  background: linear-gradient(140deg, #2c3e50 0%, #485563 50%, #1e3a4d 100%);
}
.card-img-gradient--gold {
  background: linear-gradient(140deg, #2d2211 0%, #4a3520 50%, #1e1a12 100%);
}
.card-img-icon {
  opacity: 0.6;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--col-accent);
  color: var(--col-white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  font-weight: 500;
}
.card-badge--blue  { background: #0e7490; }
.card-badge--dark  { background: var(--col-charcoal); }

.card-body {
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--col-ink);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--col-grey-600);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
  flex: 1;
}

.card-specs {
  border-top: 1px solid var(--col-grey-100);
  padding-top: var(--sp-md);
  margin-bottom: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.card-specs li {
  font-size: 0.8rem;
  color: var(--col-grey-600);
  display: flex;
  gap: 0.4rem;
}
.card-specs li span {
  font-weight: 600;
  color: var(--col-charcoal);
  min-width: 90px;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--col-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--dur-fast), gap var(--dur-fast);
  display: inline-block;
  margin-top: auto;
}
.card-link:hover { color: var(--col-accent-dark); }

/* Products CTA row */
.products-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  background: var(--col-white);
  border: 1px solid var(--col-grey-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-2xl);
  flex-wrap: wrap;
}
.products-footer p {
  font-size: 1rem;
  color: var(--col-grey-600);
}
.products-footer strong { color: var(--col-ink); }


/* ═══════════════════════════════════════════════
   TRUST BAR / WHY US
═══════════════════════════════════════════════ */
.trust-bar {
  padding: var(--sp-4xl) 0;
  background: var(--col-white);
  border-top: 1px solid var(--col-grey-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
}

.trust-item {
  padding: var(--sp-xl);
  border: 1px solid var(--col-grey-100);
  border-radius: var(--radius-lg);
  background: var(--col-offwhite);
  transition: border-color var(--dur-std), box-shadow var(--dur-std),
              transform var(--dur-std) var(--ease-out);
}
.trust-item:hover {
  border-color: var(--col-accent);
  box-shadow: 0 0 0 3px var(--col-accent-glow), var(--shadow-card);
  transform: translateY(-3px);
}

.trust-icon {
  width: 60px;
  height: 60px;
  background: var(--col-white);
  border: 1px solid var(--col-grey-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  box-shadow: var(--shadow-card);
}

.trust-title-item {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--col-ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.trust-desc {
  font-size: 0.87rem;
  color: var(--col-grey-600);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════ */
.gallery {
  padding: var(--sp-4xl) 0;
  background: var(--col-charcoal);
}

.gallery .section-eyebrow { color: var(--col-accent-light); }
.gallery .section-title    { color: var(--col-white); }
.gallery .section-desc     { color: rgba(255,255,255,0.55); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--dur-std) var(--ease-out),
              box-shadow var(--dur-std);
  background: #1a2030;
}
.gallery-item--large .gallery-card { aspect-ratio: auto; height: 100%; }
.gallery-card:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Gallery cards with real images */
.gallery-card--img { display: block; }
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.gallery-card--img:hover .gallery-img { transform: scale(1.04); }

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: var(--sp-xl) var(--sp-xl) var(--sp-lg);
  z-index: 1;
}
.gallery-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.15rem;
}
.gallery-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-xl);
}
.gallery .btn-outline {
  color: var(--col-white);
  border-color: rgba(255,255,255,0.3);
}
.gallery .btn-outline:hover {
  background: var(--col-accent);
  border-color: var(--col-accent);
  color: white;
}


/* ═══════════════════════════════════════════════
   TECH HUB
═══════════════════════════════════════════════ */
.tech-hub {
  background: var(--col-grey-50);
  border-top: 1px solid var(--col-grey-100);
  border-bottom: 1px solid var(--col-grey-100);
}

.tech-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.tech-image-col {
  position: relative;
  overflow: hidden;
}
.tech-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.tech-image-col:hover .tech-img { transform: scale(1.03); }

.tech-img-badge {
  position: absolute;
  top: var(--sp-xl);
  right: var(--sp-xl);
  background: var(--col-accent);
  color: white;
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-heavy);
}
.badge-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}
.tech-img-badge p {
  font-weight: 700;
  font-size: 0.78rem;
}

.tech-content-col {
  padding: var(--sp-4xl) var(--sp-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-desc {
  font-size: 0.975rem;
  color: var(--col-grey-600);
  line-height: 1.75;
  margin-bottom: var(--sp-2xl);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}
.tech-list li {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--col-charcoal);
  line-height: 1.65;
}
.tech-list-icon { flex-shrink: 0; margin-top: 2px; }
.tech-list strong { color: var(--col-ink); }

.tech-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.tech-partners { border-top: 1px solid var(--col-grey-100); padding-top: var(--sp-xl); }
.partners-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-grey-400);
  margin-bottom: var(--sp-md);
}
.partners-row {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
.partner-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--col-grey-600);
  border: 1px solid var(--col-grey-200);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  background: white;
}


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { background: var(--col-footer-bg); color: var(--col-footer-text); }

/* Contact Strip */
.footer-contact-strip {
  padding: var(--sp-4xl) 0;
  border-bottom: 1px solid var(--col-footer-border);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
}

.contact-title {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--col-white);
  line-height: 1.2;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 0.925rem;
  color: var(--col-footer-text);
  line-height: 1.7;
  margin-bottom: var(--sp-2xl);
}

/* Location Cards */
.contact-locations-header {
  margin-bottom: var(--sp-sm);
}
.location-card {
  position: relative;
  padding-left: calc(var(--sp-xl) + 16px);
}
.location-dot {
  position: absolute;
  left: var(--sp-lg);
  top: var(--sp-lg);
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.location-dot--primary  { background: var(--col-accent); box-shadow: 0 0 0 3px rgba(26,111,168,0.25); }
.location-dot--secondary { background: #22c55e;          box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
.info-phone {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--col-accent-light);
  transition: color var(--dur-fast);
}
.info-phone:hover { color: white; }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width { grid-column: span 2; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--col-grey-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group label span { color: var(--col-accent); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--col-footer-card);
  border: 1px solid var(--col-footer-border);
  border-radius: var(--radius-sm);
  color: var(--col-white);
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  -webkit-appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5' stroke='%239aa3ae' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2rem;
}
.contact-form select option {
  background: var(--col-footer-card);
  color: var(--col-white);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(154,163,174,0.5);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--col-accent);
  box-shadow: 0 0 0 3px var(--col-accent-glow);
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-sm);
}

.form-note {
  font-size: 0.775rem;
  color: var(--col-grey-600);
  line-height: 1.5;
}
.form-note a { color: var(--col-accent-light); text-decoration: underline; }

.form-success {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  color: #86efac;
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-success[hidden] { display: none; }

/* Contact Info Cards */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.contact-info-card {
  background: var(--col-footer-card);
  border: 1px solid var(--col-footer-border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg) var(--sp-xl);
  transition: border-color var(--dur-fast);
}
.contact-info-card:hover { border-color: var(--col-accent); }

.info-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-accent-light);
  margin-bottom: 0.35rem;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--col-white);
  display: block;
  line-height: 1.5;
  margin-bottom: 0.2rem;
  transition: color var(--dur-fast);
}
a.info-value:hover { color: var(--col-accent-light); }

.info-sub {
  font-size: 0.78rem;
  color: var(--col-footer-text);
}

.social-row {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-sm);
}
.social-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--col-footer-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--col-footer-text);
  transition: color var(--dur-fast), border-color var(--dur-fast),
              background var(--dur-fast), transform var(--dur-fast);
}
.social-btn:hover {
  color: white;
  border-color: var(--col-accent);
  background: var(--col-accent);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  padding: var(--sp-3xl) 0 var(--sp-2xl);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--col-footer-border);
}

.footer-brand-col .footer-logo {
  color: var(--col-white);
  margin-bottom: var(--sp-md);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--col-footer-text);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.footer-reg {
  font-size: 0.75rem;
  color: rgba(154,163,174,0.5);
  line-height: 1.5;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-white);
  margin-bottom: var(--sp-md);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links-col a {
  font-size: 0.84rem;
  color: var(--col-footer-text);
  transition: color var(--dur-fast);
}
.footer-links-col a:hover { color: var(--col-white); }

.footer-copyright {
  font-size: 0.77rem;
  color: rgba(154,163,174,0.45);
  line-height: 1.6;
  text-align: center;
}


/* ═══════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--col-ink);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  box-shadow: var(--shadow-heavy);
  border-left: 4px solid var(--col-accent);
  z-index: 9999;
  max-width: 340px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-std), transform var(--dur-std);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid   { grid-template-columns: repeat(2, 1fr); }
  .tech-inner   { grid-template-columns: 1fr; }
  .tech-image-col { min-height: 380px; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-nav-grid .footer-brand-col { grid-column: span 3; }
  .mega-menu { width: 700px; }
  .mega-inner { grid-template-columns: repeat(3, 1fr) auto; }
  .mega-col:nth-child(4) { display: none; }
}

@media (max-width: 860px) {
  :root { --sp-4xl: 5rem; --sp-3xl: 3.5rem; }
  .nav-links         { display: none; }
  .nav-hamburger     { display: flex; }
  .product-grid      { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: 1fr 1fr; }
  .gallery-item--large { grid-column: span 2; grid-row: span 1; }
  .trust-grid        { grid-template-columns: 1fr 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .footer-nav-grid   { grid-template-columns: 1fr 1fr; }
  .footer-nav-grid .footer-brand-col { grid-column: span 2; }
  .form-row          { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .hero-stats { gap: var(--sp-lg); }
  .products-footer { flex-direction: column; gap: var(--sp-md); }
}

@media (max-width: 560px) {
  :root { --sp-xl: 1.5rem; --sp-2xl: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: 1; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav-grid .footer-brand-col { grid-column: span 2; }
  .stat-divider { display: none; }
  .hero-stats { gap: var(--sp-lg); flex-wrap: wrap; }
  .tech-content-col { padding: var(--sp-2xl) var(--sp-xl); }
  .mega-menu { display: none; }
}
