/* ============================================================
   MULTITEK CONTROLS INDIA PVT LTD — Production Stylesheet
   Palette: #06080F · #161D2E · #4D7BF7 · #5EE0DC · #FAFAF7
   Fonts: Montserrat (headings) + Manrope (body)
   ============================================================ */

/* ── 1. VARIABLES — Modern industrial palette ──────────────── */
:root {
  /* Dark surfaces — graphite/midnight (cooler than navy) */
  --navy:        #06080F;   /* deepest base, almost black */
  --navy-soft:   #0E131F;   /* card / section background */
  --navy-mid:    #161D2E;   /* mid surface */
  --navy-tint:   #1F2738;   /* hovered surface on dark */
  --line-dark:   #2A3247;   /* hairline border on dark */

  /* Primary blue — more vibrant, modern indigo-blue */
  --electric:    #4D7BF7;
  --electric-dk: #3157C6;
  --electric-lt: #80A1F9;
  --electric-tint: #B8CAFA;
  --electric-glow: rgba(77,123,247,.42);

  /* Cyan accent — used sparingly for "live"/active highlights */
  --cyan:        #5EE0DC;
  --cyan-soft:   rgba(94,224,220,.18);

  /* Warm copper accent (very subtle, premium touch) */
  --copper:      #C97A4B;
  --amber:       #F4B660;

  /* Light surfaces — warm-tinted whites (not cold/sterile) */
  --white:       #FFFFFF;
  --bone:        #FAFAF7;   /* warm white */
  --off-white:   #F4F6FB;
  --canvas:      #F8F9FC;
  --border:      #E4E8F1;
  --border-soft: #EEF1F7;

  /* Text */
  --ink:         #0B111F;
  --ink-soft:    #1B2236;
  --muted:       #5A6478;
  --light:       #969FB2;
  --faint:       #B6BECE;

  /* Typography */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm:   10px;
  --radius-md:   14px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --radius-full: 9999px;

  /* Shadows — refined, layered */
  --shadow-xs:   0 1px 2px rgba(11,17,31,.04);
  --shadow-sm:   0 2px 8px -2px rgba(11,17,31,.06);
  --shadow-card: 0 8px 28px -10px rgba(11,17,31,.10);
  --shadow-card-hover: 0 30px 60px -22px rgba(11,17,31,.22);
  --shadow-btn:  0 12px 28px -10px rgba(77,123,247,.48);
  --shadow-elevated: 0 28px 80px -32px rgba(11,17,31,.30);
  --shadow-glow-blue: 0 0 36px -6px rgba(77,123,247,.45);

  /* Motion */
  --transition: .35s cubic-bezier(.22,1,.36,1);
  --transition-fast: .2s cubic-bezier(.22,1,.36,1);
  --ease-out-quart: cubic-bezier(.25,1,.5,1);
  --ease-in-out-circ: cubic-bezier(.85,0,.15,1);

  --nav-h: 96px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 1024px) {
  .container { padding-inline: 2rem; }
}

.section {
  padding-block: 5rem;
}

@media (min-width: 768px) { .section { padding-block: 6rem; } }
@media (min-width: 1280px) { .section { padding-block: 7rem; } }

.section--white  { background: var(--white); }
.section--gray   { background: var(--off-white); }
.section--dark   { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section--cta    { padding-bottom: 6rem; }

.text-center { text-align: center; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* Grid helpers */
.section-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.section-grid--5-7 {
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .section-grid--5-7 {
    grid-template-columns: 5fr 7fr;
  }
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.section-header > * { min-width: 0; }

.section-split {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .section-split {
    grid-template-columns: 7fr 5fr;
  }
}

/* ── 4. TYPOGRAPHY ─────────────────────────────────────────── */
.overline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric);
}

.overline--blue  { color: var(--electric); }
.overline--white { color: rgba(255,255,255,.55); }

.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  margin-top: .75rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section__title--white { color: var(--white); }

.section__body {
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.75;
  max-width: 52ch;
}

.section__body--right { max-width: 44ch; }
.section__body--muted { color: rgba(255,255,255,.6); }

/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 0 1.6rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .02em;
  line-height: 1;
  transition: transform var(--transition), background var(--transition),
              color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.btn--primary {
  background: var(--electric);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--electric-dk);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(77,123,247,.6);
}

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn--sm { min-height: 40px; padding: 0 1.15rem; font-size: .8rem; }
.btn--lg { min-height: 54px; padding: 0 2rem; font-size: .95rem; }

.btn--full    { width: 100%; }
.btn--full-sm { /* full-width on mobile only */ }

@media (max-width: 640px) {
  .btn--full-sm { width: 100%; }
}

/* ── 6. BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.05rem;
  margin-top: 1.75rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}

.badge__dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(77,123,247,.22);
  animation: pulse-dot 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ── 7. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  transition: background var(--transition), backdrop-filter var(--transition),
              border-color var(--transition), box-shadow var(--transition);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: .5rem;
  min-width: 0;
}

.navbar__brand { flex-shrink: 0; }
.navbar__brand-text { min-width: 0; }
.navbar__brand-name,
.navbar__brand-sub { white-space: nowrap; }

/* Transparent by default (over hero) */
.navbar { background: transparent; }

/* Frosted glass when scrolled */
.navbar.is-scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 10px 30px -20px rgba(11,17,31,.18);
}

.navbar.is-scrolled .navbar__link,
.navbar.is-scrolled .navbar__brand-name,
.navbar.is-scrolled .navbar__brand-sub { color: var(--ink); }

.navbar.is-scrolled .navbar__hamburger { color: var(--ink); }

/* Brand */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  transition: color var(--transition);
  flex-shrink: 0;
}

.navbar__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}

.navbar__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Extreme page only: wider logo icon in the navbar brand */
.navbar__brand--logo-only .navbar__logo-icon {
  width: 9rem;
  height: 10rem;
  border-radius: 0;
  overflow: visible;
}

.navbar__brand-text { line-height: 1.2; }

.navbar__brand-name {
  display: block;
  font-size: .9rem;
  letter-spacing: .02em;
  color: var(--white);
  transition: color var(--transition);
}

.navbar__brand-sub {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

/* MTC pages only (not Extreme): match the official logo lockup —
   both lines equal width, same weight and colour */
body:not(.extreme-page) .navbar__brand-text { line-height: 1.25; }

body:not(.extreme-page) .navbar__brand-name {
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .045em;
}

body:not(.extreme-page) .navbar__brand-sub {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .132em; /* tuned so both lines span equal width */
  color: var(--white);
}

body:not(.extreme-page) .navbar.is-scrolled .navbar__brand-sub {
  color: var(--ink); /* match the brand name on the light scrolled navbar */
}

/* Desktop links */
.navbar__links {
  display: none;
  align-items: center;
  gap: 0;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1200px) {
  .navbar__links { display: flex; }
}

.navbar__link {
  position: relative;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding-block: .6rem;
  padding-inline: .72rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.navbar__link:hover { color: var(--white); }

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--electric);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar__link:hover::after,
.navbar__link.is-active::after { transform: scaleX(1); }

/* Actions */
.navbar__actions {
  display: none;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .navbar__actions { display: flex; }
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: .35rem;
  transition: color var(--transition);
}

@media (min-width: 1200px) {
  .navbar__hamburger { display: none; }
}

/* ── 8. MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(85%, 22rem);
  background: var(--navy);
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -20px 0 60px rgba(0,0,0,.3);
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-menu__title {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.mobile-menu__close {
  color: rgba(255,255,255,.75);
  padding: .35rem;
  transition: color var(--transition);
}
.mobile-menu__close:hover { color: var(--white); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: .15rem;
  /* Fix: the nav is the drawer's scroll region. Without an explicit
     overflow + min-height:0, this flex child could never scroll and
     links below the fold were unreachable on short viewports. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;   /* momentum scrolling on iOS */
  overscroll-behavior: contain;        /* don't chain scroll to the page behind */
}

.mobile-menu__nav a {
  display: block;
  padding: .8rem 0;
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu__nav a:hover { color: var(--white); padding-left: .4rem; }

.mobile-menu__footer {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.mobile-menu__contact {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  word-break: break-all;
  transition: color var(--transition);
}
.mobile-menu__contact:hover { color: var(--white); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 55;
  backdrop-filter: blur(2px);
}
.mobile-overlay.is-visible { display: block; }

/* ── 9. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;

  /* Refined dark gradient — premium industrial */
  background:
    radial-gradient(ellipse 70% 60% at 78% 12%, rgba(77,123,247,.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgba(110,148,236,.10), transparent 65%),
    linear-gradient(180deg, #060A18 0%, #0A0F1F 45%, #111A2E 100%);
}

/* Blueprint grid overlay */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154,163,181,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,163,181,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero__glow--blue {
  width: 620px; height: 620px;
  top: -180px; right: -120px;
  background: rgba(77,123,247,.32);
}

.hero__glow--orange {
  width: 420px; height: 420px;
  bottom: -120px; left: -100px;
  background: rgba(110,148,236,.16);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
}

/* Hero content */
.hero__title {
  font-size: clamp(2.3rem, 5.6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-top: 1.5rem;
  text-wrap: balance;
  color: #4D7BF7;
}

.hero__title-accent {
  background: linear-gradient(115deg, #4D7BF7 0%, #6E9AFF 70%, #8AB4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.hero__desc {
  margin-top: 1.75rem;
  color: rgba(255,255,255,0.96);
  max-width: 54ch;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.6),
    0 4px 12px rgba(0,0,0,0.35);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
  max-width: 620px;
}

.hero__stat { text-align: left; }
.hero__stat:not(:first-child) { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.08); }

.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
  text-shadow:
    0 3px 10px rgba(0,0,0,0.45),
    0 0 25px rgba(59,130,246,0.25);
}

.hero__stat-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.80);
  margin-top: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Hero subtle fade-in */
@keyframes hero-fade-up {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__content { animation: hero-fade-up .9s cubic-bezier(.22,1,.36,1) both; }
.hero__visual  { animation: hero-fade-up .9s .15s cubic-bezier(.22,1,.36,1) both; }

/* Hero visual */
.hero__visual { position: relative; }

.hero__img-glow {
  position: absolute;
  inset: -1.5rem;
  background: rgba(77,123,247,.2);
  filter: blur(48px);
  border-radius: 50%;
  z-index: 0;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

@media (min-width: 1024px) { .hero__img { height: 520px; } }

.hero__img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}

.hero__img-caption-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-top: .25rem;
}

/* Cert badge */
.hero__cert-badge {
  position: absolute;
  bottom: -3.5rem;
  right: -1.5rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(11,17,31,.25);
  border: 1px solid var(--border);
  width: 14rem;
  z-index: 2;
  display: none;
}

@media (min-width: 768px) { .hero__cert-badge { display: block; } }

.hero__cert-label {
  display: block;
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__cert-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  margin-top: .3rem;
  line-height: 1.3;
}

/* ── 10. TICKER ────────────────────────────────────────────── */
.ticker-wrap {
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker {
  display: flex;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  gap: 3.5rem;
  animation: ticker-scroll 36s linear infinite;
  min-width: 200%;
}

.ticker__item {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

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

/* ── 11. CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(77,123,247,.28);
}

.card:hover .card__icon {
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: var(--white);
  box-shadow: 0 10px 24px -10px var(--electric-glow);
}

.card__icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF3FD, #F7F9FC);
  color: var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.card__body {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-top: .55rem;
}

/* Features grid (2 cols in about section) */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 12. PRODUCT CARDS ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--border);
  background: var(--navy-soft);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(77,123,247,.35);
}
.product-card:hover .product-card__img { transform: scale(1.06); }

@media (min-width: 768px) {
  .product-card           { grid-column: span 4; height: 360px; }
  .product-card--large    { grid-column: span 8; height: 440px; }
  .product-card--dark     { grid-column: span 4; height: 440px; }
  .product-card--navy,
  .product-card--white    { grid-column: span 4; height: 360px; }
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,17,32,.95) 0%, rgba(11,17,32,.35) 60%, transparent 100%);
}

.product-card--navy {
  background: var(--navy-soft);
}

.product-card--white {
  background: var(--white);
  color: var(--ink);
}

.product-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  height: 280px;
}

@media (min-width: 768px) { .product-card__body { height: 100%; } }

.product-card__body--full {
  height: 100%;
  justify-content: space-between;
}

.product-card__body--dark-text { color: var(--ink); }

.product-card__overline {
  display: block;
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.product-card__overline--blue { color: var(--electric); }

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: .4rem;
  line-height: 1.15;
  color: var(--white);
}

.product-card__title--dark { color: var(--ink); }

.product-card__desc {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-top: .5rem;
  max-width: 44ch;
}

.product-card__desc--sm { font-size: .83rem; }
.product-card__desc--muted { color: var(--muted); }

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--white);
}

/* Decorative element for special panel card */
.product-card__deco-circle {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: rgba(77,123,247,.08);
}

.product-card__deco-btn {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--electric);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(77,123,247,.55);
}

/* ── 13. INDUSTRIES ────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(77,123,247,.28);
}

.industry-card:hover .industry-card__icon {
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: var(--white);
  box-shadow: 0 10px 24px -10px var(--electric-glow);
}

.industry-card__icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF3FD, #F7F9FC);
  color: var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition);
}

.industry-card__icon svg {
  width: 22px;
  height: 22px;
}

.industry-card span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* ── 14. STATS SECTION ─────────────────────────────────────── */
.stats-bg-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stats-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .12;
}

.stats-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, rgba(10,15,31,.92) 55%, rgba(10,15,31,.78) 100%);
}

.stats-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .stats-inner { grid-template-columns: 5fr 7fr; }
}

.stats-left { max-width: 44ch; }

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

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid rgba(77,123,247,.45);
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 0%, #C6D5F4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
  padding-bottom: 0.05em;
}

.stat-item__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  margin-top: .6rem;
  letter-spacing: -0.005em;
}

.stat-item__sub {
  font-size: .73rem;
  color: rgba(255,255,255,.5);
  margin-top: .25rem;
  letter-spacing: .01em;
}

/* ── 15. QUALITY SECTION ───────────────────────────────────── */
.quality-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.quality-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.quality-badge {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.quality-badge:hover {
  border-color: rgba(77,123,247,.3);
  box-shadow: 0 4px 16px -6px rgba(77,123,247,.15);
}

.quality-badge__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  color: var(--ink);
}

.quality-badge__sub {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* ── 16. CTA BANNER ────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(77,123,247,.22), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(77,123,247,.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 2.25rem 1.75rem;
}

@media (min-width: 640px)  { .cta-banner { padding: 3rem 2.5rem; } }
@media (min-width: 1024px) { .cta-banner { padding: 4.25rem 4rem; } }

.cta-banner__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

.cta-banner__glow--blue {
  width: 18rem; height: 18rem;
  top: -5rem; right: -5rem;
  background: rgba(77,123,247,.3);
}

.cta-banner__glow--orange {
  width: 22rem; height: 22rem;
  bottom: -6rem; left: -5rem;
  background: rgba(245,165,36,.18);
}

.cta-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-banner__inner { grid-template-columns: 8fr 4fr; }
}

.cta-banner__title {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-top: .75rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cta-banner__desc {
  color: rgba(255,255,255,.6);
  margin-top: 1rem;
  font-size: .95rem;
  max-width: 52ch;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  max-width: 320px;
}

.cta-banner__actions .btn {
  width: 100%;
  min-height: 52px;
  padding: 0 1.6rem;
  font-size: .9rem;
}

@media (min-width: 1024px) {
  .cta-banner__actions { margin-left: auto; }
}

/* ── 17. FOOTER ────────────────────────────────────────────── */
.footer {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(77,123,247,.08), transparent 60%),
    var(--navy);
  color: var(--white);
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 4fr 2fr 3fr 3fr;
    gap: 2.5rem;
  }
}

/* Brand col */
.footer__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.005em;
}

.footer__brand-sub {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: rgba(255,255,255,.42);
  margin-top: .35rem;
  display: block;
}

/* MTC pages only (not Extreme): match the official logo lockup —
   both lines equal width, same weight and colour */
body:not(.extreme-page) .footer__brand-name {
  letter-spacing: .045em;
}

body:not(.extreme-page) .footer__brand-sub {
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .133em; /* tuned so both lines span equal width */
  color: var(--white);
  margin-top: .3rem;
}

.footer__tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  max-width: 34ch;
}

.footer__socials {
  display: flex;
  gap: .65rem;
  margin-top: 1.75rem;
}

.footer__social {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), border-color var(--transition);
}

.footer__social:hover {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px var(--electric-glow);
}

/* Link cols */
.footer__col-title {
  display: block;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 1.15rem;
}

.footer__links-col ul,
.footer__links-col li { display: flex; flex-direction: column; gap: .55rem; }

.footer__links-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  transition: color var(--transition), padding-left var(--transition);
  position: relative;
}
.footer__links-col a:hover { color: var(--white); padding-left: .35rem; }

/* Contact col */
.footer__contact-col address {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
}

.footer__phones {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}

.footer__phones a { transition: color var(--transition); word-break: break-all; }
.footer__phones a:hover { color: var(--white); }

.footer__divider {
  height: 1px;
  background-image: linear-gradient(90deg, transparent, rgba(77,123,247,.35), transparent);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer__bottom-tagline {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ── 18. FLOATING BUTTONS ──────────────────────────────────── */
.float-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
}

/* WhatsApp float */
.float-wa {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px -10px rgba(18,140,126,.65);
  position: relative;
  transition: transform var(--transition);
  text-decoration: none;
}

.float-wa:hover { transform: scale(1.08); }

.float-wa::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(37,211,102,.45);
  animation: wa-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
  z-index: -1;
}

@keyframes wa-ping {
  0%         { transform: scale(.85); opacity: .8; }
  80%, 100%  { transform: scale(1.5); opacity: 0; }
}

/* Back to top */
.float-top {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -12px rgba(11,17,31,.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition),
              visibility var(--transition), background var(--transition);
}

.float-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--electric); }

/* ── 19. SCROLL REVEAL (CSS fallback — GSAP overrides) ────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* When JS-driven motion is active, hide CSS transition completely
   so GSAP fully owns it (prevents jank during scrub) */
html.has-gsap .reveal {
  transition: none;
  opacity: 0;
  transform: none;
}

/* ── 19a. ANIMATED ELECTRICAL GRID ─────────────────────────── */
@keyframes grid-drift {
  0%, 100% { background-position: 0 0, 0 0; }
  50%      { background-position: 28px 28px, 28px 28px; }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}

.hero__bg-grid {
  animation: grid-drift 24s var(--ease-in-out-circ) infinite,
             grid-pulse 9s ease-in-out infinite;
}

/* Subtle scanline that crosses the hero diagonally — extremely faint */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
              transparent 0%,
              transparent 38%,
              rgba(128,161,249,.04) 50%,
              transparent 62%,
              transparent 100%);
  background-size: 200% 100%;
  animation: scan-sweep 16s linear infinite;
  z-index: 1;
  mix-blend-mode: screen;
}

@keyframes scan-sweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

/* ── 19b. PRODUCT CARD SPOTLIGHT (cursor-tracked) ──────────── */
.product-card {
  --mx: 50%;
  --my: 50%;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 280px at var(--mx) var(--my),
                    rgba(128,161,249,.20) 0%,
                    rgba(77,123,247,.08) 35%,
                    transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease-out-quart);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

.product-card:hover::after { opacity: 1; }

/* Border glow on hover */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
              rgba(128,161,249,.55),
              transparent 40%,
              transparent 60%,
              rgba(128,161,249,.25));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s var(--ease-out-quart);
  pointer-events: none;
  z-index: 4;
}

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

/* ── 19c. MAGNETIC BUTTON (GSAP-driven, hint for layout) ───── */
.magnetic {
  display: inline-flex;
  will-change: transform;
}

.magnetic-inner {
  display: inline-flex;
  will-change: transform;
}

/* ── 19d. NAVBAR ELEVATION ON SCROLL ───────────────────────── */
.navbar { transition: background var(--transition), border-color var(--transition),
                      box-shadow var(--transition), height var(--transition); }

.navbar.is-scrolled .navbar__inner { height: calc(var(--nav-h) - 12px); }

/* ── 19e. SECTION DIVIDER ──────────────────────────────────── */
.section--dark + .section--white,
.section--white + .section--dark {
  position: relative;
}

/* Subtle horizontal accent line above sections */
.section-line {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0 0 1.25rem;
  background: linear-gradient(90deg, var(--electric), transparent);
  border-radius: 2px;
}

/* ── 20. LIGHTBOX ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 96vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  opacity: .75;
  transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }

/* ── 21. CONTACT FORM ──────────────────────────────────────── */
.form-field {
  width: 100%;
  padding: .875rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.form-field:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgba(77,123,247,.1);
}

.form-field::placeholder { color: var(--light); }

.form-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .5rem;
  font-family: var(--font-display);
}

/* ── 22. GALLERY (masonry) ─────────────────────────────────── */
.masonry {
  columns: 1;
  column-gap: 1.125rem;
}

@media (min-width: 640px)  { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.125rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

.masonry-item:hover img { transform: scale(1.05); }

/* ── 23. UTILITIES ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Blueprint divider */
.blueprint-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,123,247,.35), transparent);
}

/* Responsive helpers */
@media (max-width: 1023px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
}


/* Fix product card alignment on homepage */
.products-grid {
  align-items: stretch;
}

.product-card {
  height: 100%;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Ensure equal height for homepage product cards */
@media (min-width: 768px) {
  .product-card--large,
  .product-card--dark,
  .product-card--navy,
  .product-card--white {
    display: flex;
    min-height: 420px;
  }

  .product-card__body--full {
    height: 100%;
  }
}

/* ── NAVBAR RESPONSIVE OVERRIDES ──────────────────────────── */

/* Brand text — two-line stacked, full display */
.navbar__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.navbar__brand-name {
  font-size: 1.05rem;
  letter-spacing: .05em;
  font-weight: 800;
}

.navbar__brand-sub {
  font-size: .65rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.55);
}

/* Scrolled: brand sub text darkens */
.navbar.is-scrolled .navbar__brand-sub {
  color: var(--muted);
}

/* Active link gets accent color when scrolled */
.navbar.is-scrolled .navbar__link.is-active {
  color: var(--electric);
}

/* Underline spans only the text, not the padding */
.navbar__link::after {
  left: .72rem;
  right: .72rem;
}

/* 1200–1339 px: show nav + button, slightly compact links */
@media (min-width: 1200px) and (max-width: 1339px) {
  .navbar__actions { gap: .5rem; }
  .navbar__link { padding-inline: .6rem; font-size: .79rem; }
}

/* 1340 px+: full layout — nav + button */
@media (min-width: 1340px) {
  .navbar__link { padding-inline: .85rem; font-size: .82rem; }
}


/* ── 26. EXTREME ENGINEERING FEATURED SECTION ─────────────── */
/* Brochure palette: orange #F47B20, dark-orange #D4640A, white #fff, dark text #1A1A1A */
.xfeat {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px -8px rgba(0,0,0,.13), 0 0 0 1px rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}

.xfeat:hover {
  box-shadow: 0 16px 56px -12px rgba(244,123,32,.24), 0 0 0 1px rgba(244,123,32,.2);
}

@media (min-width: 768px) {
  .xfeat {
    grid-template-columns: 1fr 1fr;
  }
  .xfeat__visual { grid-column: span 2; min-height: 280px; }
}

@media (min-width: 1024px) {
  .xfeat {
    grid-template-columns: 28% 42% 30%;
    min-height: 380px;
  }
  .xfeat__visual { grid-column: auto; min-height: auto; }
}

/* Left — brand identity block (orange accent column) */
.xfeat__brand {
  background: linear-gradient(160deg, #F47B20 0%, #C85A08 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.75rem;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.xfeat__brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.xfeat__logo-box {
  width: 100%;
  /* height = width ÷ 1.5 so the 3:2 logo fills edge-to-edge with no letterboxing */
  aspect-ratio: 3 / 2;
  max-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.xfeat__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}

.xfeat__logo-fallback {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .04em;
}

/* Text hidden — logo image already contains brand name + subtitle */
.xfeat__brand-name { display: none; }
.xfeat__brand-sub  { display: none; }

.xfeat__brand-badge {
  display: inline-flex;
  align-items: center;
  padding: .3rem .9rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.5);
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-top: .2rem;
}

/* Middle — description panel (white base, orange accents) */
.xfeat__desc {
  background: #fff;
  border-left: 1px solid #EAD9C8;
  border-right: 1px solid #EAD9C8;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.xfeat__desc .overline {
  color: #F47B20;
  margin-bottom: 1rem;
  display: block;
}

.xfeat__body {
  color: #444;
  font-size: .9375rem;
  line-height: 1.78;
}

.xfeat__body + .xfeat__body { margin-top: .9rem; }

.xfeat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.4rem;
  list-style: none;
  padding: 0;
}

.xfeat__tags li {
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #C85A08;
  background: #FFF3E8;
  border: 1px solid #F4BE8A;
  border-radius: var(--radius-full);
  padding: .28rem .8rem;
}

.xfeat__cta {
  margin-top: 1.75rem;
  align-self: flex-start;
  background: #F47B20 !important;
  border-color: #F47B20 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(244,123,32,.32) !important;
}

.xfeat__cta:hover {
  background: #C85A08 !important;
  border-color: #C85A08 !important;
  box-shadow: 0 6px 18px rgba(200,90,8,.38) !important;
}

/* Right — visual */
.xfeat__visual {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.xfeat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}

.xfeat:hover .xfeat__img { transform: scale(1.05); }

.xfeat__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,12,0,.7) 0%, rgba(30,12,0,.15) 55%, transparent 100%);
}

.xfeat__visual-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: #F47B20;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: .48rem 1rem;
}


/* ===== HERO FULL WIDTH OVERLAY REDESIGN ===== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3rem;
}

.hero__inner {
  position: relative;
  z-index: 2;
  /* Hero paddings (nav-h + 2.5rem top, 3rem bottom) + this = exactly 100vh,
     so the photo fills one viewport and the copy centres in it */
  min-height: calc(100vh - var(--nav-h) - 5.5rem);
  display: flex;
  align-items: center;
}

.hero__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay,
.hero__img-caption,
.hero__cert-badge,
.hero__img-glow {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.18) 45%,
      rgba(0,0,0,0) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11,17,32,.88) 0%,
      rgba(11,17,32,.62) 45%,
      rgba(11,17,32,.25) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  color: #0B1120;
}


/* Better hero text visibility */

.hero__title {
  /* Capped so the headline stays clear of the building signage in the photo */
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-top: 1.5rem;
  text-wrap: balance;
  color: #FFFFFF;
}

.hero__tags {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

