/* ═══════════════════════════════════════════════════════
   ATS SECURITY — GLOBAL DESIGN SYSTEM
   global.css
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Palette — Luxury Dark + Deep Red */
  --bg:          #0a0908;
  --bg2:         #111009;
  --surface:     #181614;
  --surface2:    #1e1c19;
  --fg:          #f0ece4;
  --fg2:         #c8c4bc;
  --muted:       #4a4740;
  --warm:        #7a7570;
  --red:         #c0392b;
  --red-light:   #e74c3c;
  --red-dim:     rgba(192,57,43,.12);
  --red-glow:    rgba(192,57,43,.25);
  --border:      rgba(240,236,228,.07);
  --border-red:  rgba(192,57,43,.3);

  /* Typography */
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Easing curves */
  --ease-expo:   cubic-bezier(0.16,1,0.3,1);
  --ease-quart:  cubic-bezier(0.77,0,0.175,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-in:     cubic-bezier(0.4,0,1,1);

  /* Spacing */
  --section-pad: clamp(80px, 12vh, 140px);
  --side-pad:    clamp(20px, 6vw, 80px);
  --max-w:       1400px;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Film Grain Overlay ────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.032;
  mix-blend-mode: overlay;
}

/* ── Scroll Progress Bar ───────────────────────────────── */
.scroll-prog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--red);
  z-index: 1001;
  transform-origin: left;
  animation: scrollProg linear;
  animation-timeline: scroll(root);
}
@keyframes scrollProg {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── Skip Link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  z-index: 99999;
  border-radius: 2px;
  font-family: var(--font-b);
}
.skip-link:focus { left: 16px; top: 16px; }

/* ══════════════════════════════════════════════════════════
   CURSOR — MAGNETIC TYPE
   ══════════════════════════════════════════════════════════ */
.c-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  will-change: transform;
  transition: width .35s var(--ease-spring),
              height .35s var(--ease-spring),
              opacity .3s;
}
.c-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  width: 44px; height: 44px;
  border: 1px solid rgba(240,236,228,.28);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  will-change: transform;
  transition: width .4s var(--ease-spring),
              height .4s var(--ease-spring),
              border-color .3s;
}
.c-lbl {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 76px; height: 76px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  transform: translate(-50%,-50%) scale(0);
  transition: transform .4s var(--ease-spring);
  will-change: transform;
}
.c-lbl.on       { transform: translate(-50%,-50%) scale(1); }
.c-dot.hov      { width: 0; height: 0; }
.c-ring.hov     { width: 68px; height: 68px; border-color: var(--red); }

/* ══════════════════════════════════════════════════════════
   LOADER
   ══════════════════════════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 1.2s var(--ease-expo), visibility 1.2s;
}
#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ld-logo {
  font-family: var(--font-b);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 600;
}
.ld-logo span { color: var(--red); }
.ld-num {
  font-family: var(--font-d);
  font-size: clamp(80px,14vw,130px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ld-bar  { width: clamp(160px,28vw,220px); height: 1px; background: var(--muted); }
.ld-fill { height: 100%; background: var(--red); width: 0; transition: width .2s var(--ease-expo); }
.ld-lbl  { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--warm); }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 28px var(--side-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .6s var(--ease-expo),
              padding .5s var(--ease-expo),
              backdrop-filter .6s,
              transform .5s var(--ease-expo);
  transform: translateY(-100%);
}
.site-nav.show    { transform: translateY(0); }
.site-nav.hide    { transform: translateY(-100%); }
.site-nav.scrolled {
  background: rgba(10,9,8,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px var(--side-pad);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-b);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 600;
  line-height: 1.2;
}
.nav-logo-sub {
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--warm);
  text-transform: uppercase;
  font-weight: 400;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px,2.5vw,36px);
}
.nav-links a {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240,236,228,.6);
  font-weight: 500;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .35s var(--ease-expo);
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active { color: var(--fg); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 600;
  transition: background .3s, transform .3s var(--ease-spring);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--red-light); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--fg);
  transition: transform .4s var(--ease-quart), opacity .3s;
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-quart);
}
.mobile-nav.open { clip-path: inset(0 0 0% 0); }
.mobile-nav a {
  font-family: var(--font-d);
  font-size: clamp(28px,7vw,52px);
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -.01em;
  transition: color .3s, transform .3s var(--ease-spring);
}
.mobile-nav a:hover { color: var(--red); transform: translateX(8px); }
.mobile-nav-cta {
  font-family: var(--font-b);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 2px;
  font-weight: 600;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-header {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--side-pad) clamp(56px,8vh,80px);
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,.08) 0%, transparent 60%);
}
.page-header-eyebrow {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s .4s var(--ease-expo), transform .9s .4s var(--ease-expo);
}
.page-header-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--red);
}
.page-header.ready .page-header-eyebrow { opacity: 1; transform: none; }

.page-header h1 {
  font-family: var(--font-d);
  font-size: clamp(48px,8vw,110px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.03em;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.page-header h1 .line { display: block; overflow: hidden; }
.page-header h1 .line span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.4s var(--ease-expo);
}
.page-header h1 .line.d2 span { transition-delay: .1s; }
.page-header.ready h1 .line span { transform: translateY(0); }
.page-header h1 em { font-style: italic; color: var(--red); }

.page-header-desc {
  font-size: clamp(14px,1.3vw,17px);
  line-height: 1.75;
  color: var(--fg2);
  max-width: 480px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s .7s var(--ease-expo), transform .9s .7s var(--ease-expo);
}
.page-header.ready .page-header-desc { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   SECTION LABELS & TYPOGRAPHY UTILITIES
   ══════════════════════════════════════════════════════════ */
.section-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(36px,4.5vw,64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.section-title em { font-style: italic; color: var(--red); }

.section-body {
  font-size: clamp(14px,1.2vw,16px);
  line-height: 1.8;
  color: var(--fg2);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section-wrap {
  padding: var(--section-pad) var(--side-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-b);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: transform .3s var(--ease-spring), background .3s, color .3s, border-color .3s;
  cursor: none;
  text-decoration: none;
  border: none;
}
.btn svg { transition: transform .3s var(--ease-spring); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 15px 30px;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  padding: 15px 0;
  border-bottom: 1px solid rgba(240,236,228,.25);
}
.btn-ghost:hover { color: var(--red); border-color: var(--red); }

.btn-outline {
  background: transparent;
  color: var(--fg2);
  padding: 12px 24px;
  border: 1px solid var(--muted);
}
.btn-outline:hover { border-color: var(--red); color: var(--fg); background: var(--red-dim); }

.btn-white {
  background: #fff;
  color: var(--red);
  padding: 16px 34px;
  font-weight: 700;
}
.btn-white:hover { background: var(--fg); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg2);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-d);
  font-size: clamp(18px,3.2vw,38px);
  font-weight: 300;
  font-style: italic;
  padding: 0 40px;
  color: var(--fg2);
}
.marquee-track .dot { color: var(--red); font-style: normal; padding: 0 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.2s var(--ease-expo),
              transform 1.2s var(--ease-expo);
}
.reveal.vis  { opacity: 1; transform: none; }
.reveal.d1   { transition-delay: .1s; }
.reveal.d2   { transition-delay: .2s; }
.reveal.d3   { transition-delay: .3s; }
.reveal.d4   { transition-delay: .4s; }
.reveal.d5   { transition-delay: .5s; }

/* ══════════════════════════════════════════════════════════
   CARDS — universal
   ══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: clamp(28px,4vw,44px) clamp(24px,3vw,36px);
  transition: background .4s, border-color .4s, transform .4s var(--ease-expo);
  cursor: none;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-expo);
}
.card:hover { background: var(--bg2); border-color: var(--border-red); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--red);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .3s;
  color: var(--red);
}
.card:hover .card-icon { background: var(--red); color: #fff; }

.card h3 {
  font-family: var(--font-d);
  font-size: clamp(20px,1.8vw,26px);
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  transition: color .3s;
  line-height: 1.2;
}
.card:hover h3 { color: var(--red); }

.card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--warm);
}

/* ══════════════════════════════════════════════════════════
   STATS GRID
   ══════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: clamp(24px,4vw,48px);
  padding: clamp(40px,6vh,64px) 0;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font-d);
  font-size: clamp(44px,6vw,72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-num em { color: var(--red); font-style: normal; }
.stat-title { font-size: clamp(13px,1.1vw,15px); font-weight: 500; color: var(--fg2); }
.stat-desc  { font-size: 12px; color: var(--warm); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   TRUST / CTA BANDS
   ══════════════════════════════════════════════════════════ */
.cta-band {
  padding: clamp(72px,12vh,120px) var(--side-pad);
  background: var(--red);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(0,0,0,.28) 0%,transparent 55%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-band h2 {
  font-family: var(--font-d);
  font-size: clamp(36px,5vw,70px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}
.cta-band h2 em { font-style: italic; opacity: .8; }
.cta-band p {
  font-size: clamp(14px,1.2vw,16px);
  line-height: 1.8;
  color: rgba(255,255,255,.72);
  margin-top: 14px;
  max-width: 420px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: clamp(56px,8vh,88px) var(--side-pad) 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px,5vw,64px);
  margin-bottom: clamp(48px,6vh,72px);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-desc { font-size: 13px; line-height: 1.75; color: var(--warm); max-width: 280px; }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--warm);
  margin-bottom: 10px;
  transition: color .3s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--muted); transition: color .3s; }
.footer-legal a:hover { color: var(--red); }

/* ══════════════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════════════ */
.field-wrap   { display: flex; flex-direction: column; gap: 6px; }
.field-label  {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--warm);
}
.field-input,
.field-select,
.field-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 2px;
  transition: border-color .3s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.field-input::placeholder,
.field-textarea::placeholder { color: var(--muted); }
.field-input:focus,
.field-select:focus,
.field-textarea:focus { border-color: var(--red); }
.field-select option   { background: var(--surface); }
.field-textarea        { resize: vertical; min-height: 120px; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   ACCESSIBILITY & MOTION
   ══════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-header { min-height: 45vh; }
}

/* ══════════════════════════════════════════════
   LOGO IMAGE (replaces text mark)
   ══════════════════════════════════════════════ */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity .3s;
}
.nav-logo:hover .nav-logo-img { opacity: .85; }

/* Loader logo image */
.ld-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* ══════════════════════════════════════════════
   CLIENTS STRIP
   ══════════════════════════════════════════════ */
.clients-strip {
  padding: clamp(36px,6vh,64px) 0;  /* no side padding — carousel bleeds to edges */
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;               /* safety net */
}
.clients-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.clients-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--warm);
  text-align: center;
  margin-bottom: 28px;
  padding: 0 var(--side-pad);    /* label still respects side padding */
}
/* Legacy .clients-logos removed — carousel replaces it on all screen sizes */

/* ══════════════════════════════════════════════
   VEHICLE TRACKING SERVICE CARD ADDITIONS
   ══════════════════════════════════════════════ */
.service-icon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--border-red);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════════
   CONTACT DETAILS UPDATE (Development House)
   ══════════════════════════════════════════════ */
.contact-address-block {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.8;
}
.contact-address-block strong {
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
}

/* ══════════════════════════════════════════════
   CLIENT LOGO CAROUSEL
   Works identically on desktop, tablet & mobile.
   The track is always a single horizontal row —
   never wraps, never stacks.
   ══════════════════════════════════════════════ */

.clients-carousel-outer {
  /* Clip the scrolling track */
  overflow: hidden;
  position: relative;
  margin-top: 8px;
  /* Fade left/right edges — softened on mobile */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.clients-carousel-track {
  /* Always a single horizontal row — never wraps */
  display: flex;
  flex-wrap: nowrap;          /* ← key: never stack */
  align-items: center;
  gap: 52px;                  /* fixed gap, same on all screens */
  width: max-content;         /* grows to fit all items inline */
  /* Scroll at a comfortable pace */
  animation: clientsScroll 24s linear infinite;
  will-change: transform;
}

/* Slow down slightly on touch/small screens */
@media (max-width: 640px) {
  .clients-carousel-track {
    gap: 36px;
    animation-duration: 20s;
  }
}

/* Pause on hover (desktop only) */
@media (hover: hover) {
  .clients-carousel-track:hover {
    animation-play-state: paused;
  }
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo-item {
  flex-shrink: 0;             /* never compress — stays inline */
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: .45;
  transition: filter .5s var(--ease-expo),
              opacity .5s var(--ease-expo),
              transform .4s var(--ease-spring);
  cursor: none;
  /* Prevent any browser default shrinking */
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .client-logo {
    height: 38px;
    max-width: 100px;
  }
}

/* Colour reveal on hover (desktop) */
@media (hover: hover) {
  .client-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.08);
  }
}

/* ══════════════════════════════════════════════
   MOBILIIS — SUPERVISOR APP SECTION
   ══════════════════════════════════════════════ */
.supervisor-section {
  padding: var(--section-pad) var(--side-pad);
  background: var(--bg2);
  overflow: hidden;
}
.supervisor-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.supervisor-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,6vw,80px);
  align-items: end;
  margin-bottom: clamp(48px,7vh,72px);
}
.supervisor-header h2 {
  font-family: var(--font-d);
  font-size: clamp(34px,4.5vw,60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.supervisor-header h2 em { font-style: italic; color: var(--red); }
.supervisor-header p {
  font-size: clamp(14px,1.2vw,16px);
  line-height: 1.8;
  color: var(--fg2);
}

/* App screenshot gallery */
.app-screens-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
}
.app-screen-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,.5);
  border: 1px solid var(--border);
  cursor: none;
  transition: transform .5s var(--ease-expo), box-shadow .5s var(--ease-expo);
}
/* Middle card elevated */
.app-screen-item:nth-child(3) {
  transform: translateY(-20px);
  border-color: var(--border-red);
  box-shadow: 0 32px 64px rgba(192,57,43,.25), 0 0 0 1px var(--border-red);
}
.app-screen-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 36px 72px rgba(0,0,0,.6);
  z-index: 2;
}
.app-screen-item:nth-child(3):hover {
  transform: translateY(-28px) scale(1.03);
}
.app-screen-img {
  width: 100%;
  display: block;
  aspect-ratio: 9/19;
  object-fit: cover;
  object-position: top;
}
.app-screen-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px 14px;
  background: linear-gradient(transparent, rgba(8,7,6,.92));
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm);
  text-align: center;
  line-height: 1.4;
}
.app-screen-label strong {
  display: block;
  color: var(--fg);
  font-size: 11px;
  margin-bottom: 2px;
  font-weight: 500;
}

/* App features grid below gallery */
.supervisor-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.supervisor-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
  transition: border-color .4s, background .4s;
}
.supervisor-feature:hover {
  border-color: var(--border-red);
  background: var(--bg2);
}
.supervisor-feature-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-red);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 14px;
  transition: background .3s;
}
.supervisor-feature:hover .supervisor-feature-icon {
  background: var(--red);
  color: #fff;
}
.supervisor-feature h4 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 6px;
  transition: color .3s;
}
.supervisor-feature:hover h4 { color: var(--red); }
.supervisor-feature p {
  font-size: 12px;
  color: var(--warm);
  line-height: 1.65;
}

/* Three app types strip */
.app-types-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: clamp(48px,7vh,72px);
  border-top: 1px solid var(--border);
  padding-top: clamp(48px,7vh,72px);
}
.app-type-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .4s, background .4s;
}
.app-type-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-expo);
}
.app-type-card:hover { border-color: var(--border-red); }
.app-type-card:hover::before { transform: scaleX(1); }
.app-type-num {
  font-family: var(--font-d);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.app-type-name {
  font-family: var(--font-d);
  font-size: clamp(22px,2.2vw,30px);
  font-weight: 300;
  margin-bottom: 10px;
  transition: color .3s;
}
.app-type-card:hover .app-type-name { color: var(--red); }
.app-type-desc {
  font-size: 13px;
  color: var(--warm);
  line-height: 1.7;
  margin-bottom: 16px;
}
.app-type-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-type-list li {
  font-size: 12px;
  color: var(--fg2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.app-type-list li::before { content: '→'; color: var(--red); flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
  .app-screens-gallery { grid-template-columns: repeat(3, 1fr); }
  .app-screens-gallery .app-screen-item:nth-child(4),
  .app-screens-gallery .app-screen-item:nth-child(5) { display: none; }
  .supervisor-header { grid-template-columns: 1fr; }
  .supervisor-features { grid-template-columns: 1fr 1fr; }
  .app-types-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .app-screens-gallery { grid-template-columns: repeat(2, 1fr); }
  .app-screens-gallery .app-screen-item:nth-child(3) { display: none; }
  .supervisor-features { grid-template-columns: 1fr; }
}
