/* ============================================================
   Litmus Marine — Black · White · Brand Blue & Red
   Blue  #00A6E6   Red  #E4122A   (sampled from the logo)
   High-contrast editorial look: black canvas, white breakout
   sections. Solid colour only — no gradients. Blue = primary
   (buttons, accents, headings highlight); red = badges only.
   ============================================================ */

:root {
  /* Neutrals */
  --black:    #0a0a0c;
  --black-2:  #101319;   /* elevated dark surface / cards */
  --black-3:  #171b24;   /* hover / chips on dark */
  --paper:    #f4f6f9;   /* light breakout section */
  --white:    #ffffff;
  --ink:      #0b0e15;   /* text on light */
  --ink-soft: #4a515f;   /* muted text on light */
  --muted:    #8b94a4;   /* muted text on dark */

  /* Brand */
  --blue:     #00a6e6;
  --blue-600: #0090cf;
  --blue-300: #5cceff;
  --red:      #e4122a;
  --red-600:  #c30f23;
  --red-300:  #ff4d63;

  /* Lines */
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-dark: rgba(11, 14, 21, 0.12);

  --shadow-lg:   0 30px 70px -30px rgba(0, 0, 0, 0.75);
  --shadow-blue: 0 18px 40px -18px rgba(0, 166, 230, 0.55);
  --shadow-red:  0 18px 40px -18px rgba(228, 18, 42, 0.5);
  --shadow-soft: 0 24px 60px -30px rgba(11, 14, 21, 0.28);

  --radius: 0;
  --radius-sm: 0;

  --font-display: "Sora", "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::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);
  color: var(--white);
  background: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-weight: 800; letter-spacing: -0.035em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--blue); border-radius: 0; }
.text-gold { color: var(--blue); }   /* solid blue accent (legacy class name) */
.text-teal { color: var(--blue); }
.text-red { color: var(--red); }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.section { padding: clamp(60px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 30px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad);
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.4px; border-radius: 0; cursor: pointer; border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, filter .25s ease;
  position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
/* primary — solid blue */
.btn-gold { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(0,166,230,0.6); filter: brightness(1.06); }
/* secondary — solid blue */
.btn-teal { background: var(--blue); color: #04222a; box-shadow: var(--shadow-blue); }
.btn-teal:hover { transform: translateY(-3px); background: var(--blue-600); color:#fff; }
/* ghost — white outline (adapts to dark) */
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid rgba(255,255,255,0.24); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-300); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.btn-compact { --pad: 12px 16px; font-size: 0.82rem; letter-spacing: 0.2px; white-space: normal; text-align: left; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.9);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; transition: height .35s ease; }
.site-header.scrolled .brand-logo { height: 40px; }
.footer-brand .brand-logo { height: 52px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links .nav-parent { cursor: pointer; }   /* Services parent has no href — menu only */
.nav-links a {
  font-size: 0.88rem; font-weight: 600; padding: 10px 12px; border-radius: 0; white-space: nowrap;
  color: #dfe5ee; transition: color .2s ease, background .2s ease; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-300); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--blue); border-radius: 0;
}

/* ---------- Dropdown / mega menus ---------- */
.has-dropdown { position: relative; }   /* News dropdown anchors to its item */
.nav-parent { display: inline-flex; align-items: center; gap: 5px; }
.nav-parent svg { width: 12px; height: 12px; transition: transform .25s ease; }
.has-mega:hover .nav-parent svg, .has-dropdown:hover .nav-parent svg { transform: rotate(180deg); }

.mega, .dropdown {
  position: absolute; top: calc(100% + 12px); z-index: 120;
  background: rgba(10,10,12,0.98); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
/* mega = full nav-width panel anchored to .nav, so columns get real width (no text overflow) */
.mega { left: 0; right: 0; padding: 32px 40px; }
.dropdown { left: 0; min-width: 230px; padding: 12px; }
.mega::before, .dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }  /* hover bridge */
.dropdown--right { left: auto; right: 0; }
.has-mega:hover .mega, .has-dropdown:hover .dropdown,
.has-mega:focus-within .mega, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.mega-col { display: flex; flex-direction: column; }
.mega-title {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mega a, .dropdown a {
  display: block; padding: 8px 10px; font-size: 0.85rem; font-weight: 500; color: #cdd8e6; white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.mega a:hover, .dropdown a:hover { color: #fff; background: rgba(0,166,230,0.12); }
.dropdown { min-width: 230px; padding: 12px; }
.dropdown a { padding: 10px 12px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 0; cursor: pointer;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — video header
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 80px;
}
.hero-video, .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-poster { z-index: 0; }   /* solid fallback — sits BEHIND the video */
.hero-video  { z-index: 1; }   /* video covers the poster when it plays */
.hero-poster { background: #0a0a0c; }   /* solid fallback behind the video */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(8, 9, 12, 0.55);      /* flat dark scrim for text legibility over video */
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, var(--black) 2%, transparent 30%);
}
.hero-inner {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 60px; align-items: center;
}
.hero-content { max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); margin: 22px 0; }
.hero h1 .line { display: block; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #e4e9f0; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-side { display: flex; justify-content: flex-end; }

/* ---------- Right feature card — "Marine Electric Engines" promo ---------- */
.ee-promo {
  position: relative; z-index: 5; display: flex; flex-direction: column;
  width: 100%; max-width: 300px; color: var(--white);
  background: rgba(10, 12, 18, 0.5); backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 166, 230, 0.42);
  box-shadow: 0 28px 64px -30px rgba(0,0,0,0.85), 0 0 0 0 rgba(0,166,230,0.35);
  animation: eeGlow 3.4s ease-in-out infinite;
  transition: transform .3s ease, border-color .3s ease;
  overflow: hidden;
}
.ee-promo::before {          /* sweeping shine */
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; z-index: 4; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.13), transparent);
  transform: skewX(-18deg); animation: eeShine 5s ease-in-out infinite;
}
.ee-promo:hover { transform: translateY(-6px); border-color: var(--blue); }
@keyframes eeGlow {
  0%,100% { box-shadow: 0 28px 64px -30px rgba(0,0,0,0.85), 0 0 0 0 rgba(0,166,230,0.0); }
  50%     { box-shadow: 0 28px 64px -30px rgba(0,0,0,0.85), 0 0 30px 2px rgba(0,166,230,0.35); }
}
@keyframes eeShine { 0%,58% { left:-60%; } 100% { left:135%; } }

/* glimpse — crossfading electric-engine images across the top */
.ee-glimpse { position: relative; width: 100%; height: 150px; overflow: hidden; }
.ee-g { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: eeGlimpse 9s infinite; }
.ee-g:nth-child(1) { animation-delay: 0s; }
.ee-g:nth-child(2) { animation-delay: 3s; }
.ee-g:nth-child(3) { animation-delay: 6s; }
@keyframes eeGlimpse { 0%,27% { opacity: 1; } 33%,100% { opacity: 0; } }
.ee-glimpse::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,12,18,0.92), transparent 58%); }
.ee-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
  background: rgba(10,12,18,0.55); backdrop-filter: blur(4px); padding: 5px 9px; border: 1px solid rgba(255,255,255,0.16);
}
.ee-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 0 rgba(228,18,42,0.6); animation: eePing 1.6s infinite; }
@keyframes eePing { 0% { box-shadow: 0 0 0 0 rgba(228,18,42,0.6); } 70%,100% { box-shadow: 0 0 0 7px rgba(228,18,42,0); } }
.ee-bolt {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 30px; height: 30px;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  box-shadow: 0 6px 16px rgba(0,166,230,0.65); animation: eeBolt 1.8s ease-in-out infinite;
}
.ee-bolt svg { width: 16px; height: 16px; }
@keyframes eeBolt { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }

.ee-body { position: relative; z-index: 2; padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 11px; }
.ee-rotator { height: 24px; overflow: hidden; }
.ee-track { display: flex; flex-direction: column; animation: eeRotate 9s cubic-bezier(.7,0,.3,1) infinite; }
.ee-item { height: 24px; line-height: 24px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes eeRotate {
  0%,18%   { transform: translateY(0); }
  22%,40%  { transform: translateY(-24px); }
  44%,62%  { transform: translateY(-48px); }
  66%,84%  { transform: translateY(-72px); }
  88%,100% { transform: translateY(-96px); }
}
.ee-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3px; color: var(--blue-300);
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px;
}
.ee-cta svg { width: 14px; height: 14px; transition: transform .3s ease; }
.ee-promo:hover .ee-cta { color: #fff; }
.ee-promo:hover .ee-cta svg { transform: translate(2px,-2px); }
@media (prefers-reduced-motion: reduce) {
  .ee-promo, .ee-promo::before, .ee-g, .ee-bolt, .ee-dot, .ee-track { animation: none; }
  .ee-g:nth-child(1) { opacity: 1; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-side { justify-content: flex-start; }
}

/* ============================================================
   AUTHORITY / FEATURED DETAILS — WHITE breakout section
   ============================================================ */
.authority { background: var(--paper); color: var(--ink); position: relative; }
.authority-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding: clamp(50px, 6vw, 78px) 0;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(var(--line-dark), transparent);
}
.stat .num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700;
  line-height: 1; margin-bottom: 8px;
  color: var(--blue);
}
.stat .label { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; padding-bottom: 60px; }
.cred {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--ink); font-weight: 600; padding: 10px 20px; border-radius: 0;
  background: var(--white); border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft);
}
.cred svg { width: 18px; height: 18px; color: var(--blue); }

.brand-strip { text-align: center; padding-bottom: 66px; }
/* ---------- OUR PARTNERS — white section, single-row marquee ---------- */
.clients { background: var(--paper); color: var(--ink); border-block: 1px solid var(--line-dark); padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.clients .section-head { margin-bottom: 46px; }
.clients .section-head h2 { color: var(--ink); }
.clients .section-head p { color: var(--ink-soft); }
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 22px; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* marquee tiles (client logos + partner name tiles share one style) */
.client-logo, .partner-tile {
  flex: 0 0 auto; height: 88px; background: #fff;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-logo { width: 158px; padding: 16px; }
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-tile { padding: 0 34px; }
.partner-tile span { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .3px; color: var(--ink); white-space: nowrap; }
.client-logo:hover, .partner-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-blue); border-color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   FEATURED PRODUCTS (monthly) — dark
   ============================================================ */
.featured-products { background: var(--black); }
.feature-row {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: start;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-carousel { order: 2; }

/* ---------- Auto-slide carousel (products + projects) ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.65,.05,.2,1); }
.carousel-slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.carousel:hover .carousel-slide img { transform: scale(1.05); }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,0.7); box-shadow: 0 1px 4px rgba(0,0,0,0.45);
  transition: width .3s ease, background .3s ease;
}
.carousel-dots button.active { background: var(--blue); width: 24px; }

/* product carousel — full-bleed cover (same as projects) */
.feature-carousel { aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.08); background: #0c0e13; }
.g-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; border-radius: 0;
  box-shadow: var(--shadow-red);
}

.feature-body .tag { color: var(--blue); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 0.78rem; }
.feature-body h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 14px 0 16px; }
.feature-body p { color: #c7cfdb; margin-bottom: 16px; }
.feature-body p:last-of-type { margin-bottom: 24px; }
.spec-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-300); margin-bottom: 14px; }
.feature-list { display: grid; gap: 9px; margin-bottom: 28px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 0.88rem; color: #c3cedb; line-height: 1.5; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px;
  background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feature-list li strong { color: #fff; font-weight: 700; }

/* ============================================================
   FEATURED PROJECTS (monthly) — parallax marine background
   ============================================================ */
.featured-projects {
  position: relative;
  background-image: url("../assets/bg/projects-parallax.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;            /* parallax */
  background-color: var(--black-2);        /* fallback */
  border-block: 1px solid var(--line);
}
.featured-projects::before {               /* dark scrim keeps cards + text readable */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(8, 9, 12, 0.82);
}
.featured-projects > .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .featured-projects { background-attachment: scroll; }   /* iOS doesn't support fixed */
}
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); transition: transform .35s ease, border-color .35s ease;
}
.project-card:hover { transform: translateY(-8px); border-color: var(--blue); }
.project-carousel { aspect-ratio: 16 / 9; }
.project-info { padding: 30px 30px 34px; }
.project-info .loc { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.project-info .loc svg { width: 16px; height: 16px; }
.project-info h3 { font-size: 1.6rem; margin-bottom: 12px; }
.project-info p { color: #c7cfdb; font-size: 0.98rem; margin-bottom: 18px; }
.project-meta { display: flex; gap: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.project-meta div .m-num { font-family: var(--font-display); font-size: 1.35rem; color: var(--white); }
.project-meta div .m-lab { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

/* ============================================================
   TESTIMONIAL + CTA (monthly)
   ============================================================ */
.testimonial { position: relative; overflow: hidden; background: var(--black); }
.testimonial-inner {
  background: var(--black-2);
  border: 1px solid var(--line); border-radius: 0;
  padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.testimonial-inner::before {
  content: "\201C"; position: absolute; top: -40px; left: 24px; font-family: var(--font-display);
  font-size: 16rem; color: rgba(0,166,230,0.16); line-height: 1;
}
.testimonial-glow { display: none; }   /* removed coloured glow */
.testimonial-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }

/* testimonial carousel — text slides, auto height, author pinned to bottom */
.testimonial-carousel .carousel-track { height: auto; align-items: stretch; }
.testimonial-carousel .carousel-slide { height: auto; padding-bottom: 44px; }
.testimonial-slide { display: flex; flex-direction: column; }
.testimonial-slide .author { margin-top: auto; }
.testimonial-carousel .carousel-dots { left: 0; bottom: 4px; transform: none; }
.testimonial-carousel .carousel-dots button { background: rgba(255,255,255,0.28); }
.testimonial-carousel .carousel-dots button.active { background: var(--blue); }

.testimonial blockquote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.4; margin-bottom: 26px; }
.stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--blue); }
.stars svg { width: 20px; height: 20px; }
.author { display: flex; align-items: center; gap: 14px; }
.author .avatar {
  width: 54px; height: 54px; border-radius: 0; background: var(--blue);
  display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow-blue);
}
.author .who strong { display: block; font-size: 1.05rem; }
.author .who span { color: var(--muted); font-size: 0.88rem; }
.testimonial-cta {
  background: var(--blue); border-radius: var(--radius);
  padding: 34px; text-align: center; box-shadow: var(--shadow-blue);
}
.testimonial-cta h3 { font-size: 1.7rem; margin-bottom: 12px; color: #fff; }
.testimonial-cta h3 .text-gold { -webkit-text-fill-color: #fff; color:#fff; background:none; }
.testimonial-cta p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin-bottom: 22px; }
.testimonial-cta .btn-teal { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -16px rgba(0,0,0,0.5); }
.testimonial-cta .btn-teal:hover { background: var(--black); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-top: 74px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 54px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; margin: 18px 0 22px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: #b7c1d0; font-size: 0.92rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--blue-300); }
.footer-contact li { display: flex; gap: 12px; color: #b7c1d0; font-size: 0.92rem; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--red-300); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 0; display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); transition: .25s;
}
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); border-color: transparent; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.85rem;
}

/* ---------- Placeholder image styling ---------- */
img.ph { background: #101319; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* full menu needs room — collapse to hamburger below 1200 */
@media (max-width: 1200px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 72px; left: 4%; right: 4%; padding: 14px;
    max-height: 78vh; overflow-y: auto;
    background: rgba(10,10,12,0.98); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  }
  .nav-links.open > li > a { padding: 13px 14px; }
  /* dropdowns become inline accordions */
  .has-mega, .has-dropdown { position: static; }
  .nav-parent { justify-content: space-between; width: 100%; }
  .mega, .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    box-shadow: none; border: none; background: rgba(255,255,255,0.03); backdrop-filter: none;
    padding: 6px 6px 10px 18px; margin-bottom: 2px;
  }
  .mega::before, .dropdown::before { display: none; }
  .dropdown--right { right: auto; left: auto; }
  .nav-links li.sub-open > .mega, .nav-links li.sub-open > .dropdown { display: block; }
  .nav-links li.sub-open > .nav-parent svg { transform: rotate(180deg); }
  .mega-inner { grid-template-columns: 1fr; gap: 12px; }
  .mega-title { margin-top: 6px; }
  .mega a, .dropdown a { white-space: normal; }
}
@media (max-width: 980px) {
  .authority-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .stat:nth-child(2)::after { display: none; }
  .feature-row, .feature-row.reverse .feature-carousel { grid-template-columns: 1fr; order: 0; }
  .feature-carousel { order: -1 !important; }
  .project-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .authority-grid { grid-template-columns: 1fr 1fr; }
  
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,0.6), 0 6px 18px rgba(0,0,0,0.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-float::before {            /* pulsing ring */
  content: ""; position: absolute; inset: 0; background: #25d366; z-index: 0;
  animation: waPulse 2.2s ease-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px -10px rgba(37,211,102,0.75), 0 6px 18px rgba(0,0,0,0.4); }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 70%,100% { transform: scale(1.65); opacity: 0; } }
.wa-float span {
  position: absolute; right: 70px; white-space: nowrap;
  background: #0c0e13; color: #fff; padding: 8px 12px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.wa-float:hover span { opacity: 1; transform: translateX(0); }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 29px; height: 29px; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { display: none; } }

/* ============================================================
   Product / category page template
   ============================================================ */
.page-banner {
  position: relative; padding: 150px 0 66px; overflow: hidden;
  background: #0a0a0c;
  border-bottom: 1px solid var(--line);
}
.page-banner-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,9,12,0.68); }
.page-banner > .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.breadcrumb a { color: #c7cfdb; }
.breadcrumb a:hover { color: var(--blue-300); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 14px; }
.page-banner .sub { color: #c7cfdb; font-size: 1.06rem; margin-top: 14px; max-width: 640px; }

.overview-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 54px; align-items: start; }
.overview-main h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 14px 0 16px; }
.overview-main > p { color: #c7cfdb; margin-bottom: 24px; max-width: 620px; }
.overview-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 26px; }
.oc-block + .oc-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cert-badges span { padding: 7px 13px; border: 1px solid rgba(0,166,230,0.3); background: rgba(0,166,230,0.08); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.5px; color: #dbe6f1; }
.oc-note { color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.oc-brands li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 600; font-size: 0.94rem; }
.oc-brands li:last-child { border-bottom: 0; }
.oc-brands em { font-style: normal; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.5px; }

.models { background: var(--black-2); border-top: 1px solid var(--line); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.model-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.model-card:hover { transform: translateY(-6px); border-color: var(--blue); }
.model-media { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: #0c0e13; }
.model-carousel { height: 100%; }
.model-carousel .carousel-dots { bottom: 12px; }
/* first slide = product thumbnail (bg removed to match card), contain; rest are action photos (cover) */
.model-carousel .thumb-slide { background: #0c0e13; }
.model-carousel .thumb-slide img { object-fit: cover; padding: 0; }
.model-body { padding: 20px 22px 24px; }
.model-body .cat { font-size: 0.68rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-300); }
.model-body h3 { font-size: 1.35rem; margin: 8px 0 10px; }
.model-body p { color: #c3cedb; font-size: 0.9rem; line-height: 1.55; }

.cta-band { background: var(--blue); text-align: center; padding: clamp(50px, 7vw, 84px) 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin: 12px 0 26px; }
.cta-band .btn-gold { background: #fff; color: var(--ink); }
.cta-band .btn-gold:hover { background: var(--black); color: #fff; }

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; gap: 34px; }
  .model-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .model-grid { grid-template-columns: 1fr; } }

/* ---------- Product gallery filter tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.filter-tab {
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.3px;
  padding: 11px 22px; cursor: pointer; color: #c7cfdb; white-space: nowrap;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.filter-tab:hover { color: #fff; border-color: var(--blue); }
.filter-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.model-card { animation: cardIn .4s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.contact-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 28px; }
.contact-card .btn { margin-top: 22px; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; color: #c7cfdb; font-size: 0.95rem; line-height: 1.5; }
.contact-list svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #c7cfdb; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: #fff;
  padding: 12px 14px; font: inherit; font-size: 0.95rem; width: 100%;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.map-embed { margin-top: 48px; border: 1px solid var(--line); aspect-ratio: 21 / 7; width: 100%; overflow: hidden; }
.map-embed img, .map-embed iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Electric-engine product pages (details, specs, video)
   ============================================================ */
.model-details { margin-top: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.model-details summary {
  cursor: pointer; padding: 10px 14px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase; color: var(--blue-300);
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.model-details summary::-webkit-details-marker { display: none; }
.model-details summary::after { content: "+"; font-size: 1rem; color: var(--muted); }
.model-details[open] summary::after { content: "–"; }
.model-details > .feature-list, .model-details > .spec-scroll { padding: 0 14px 14px; }
.spec-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.spec-table th { text-align: left; padding: 8px 10px; background: rgba(0,166,230,0.08); color: #dbe6f1; font-weight: 700; }
.spec-table td { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); color: #c7cfdb; vertical-align: top; }
.spec-table td:first-child { color: var(--muted); width: 55%; }
.video-embed { aspect-ratio: 16 / 9; width: 100%; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Balanced two-column text section (About page) */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   Full-picture display — show every photo uncropped (no bleed)
   ============================================================ */
.model-media .carousel-slide img,
.project-carousel .carousel-slide img,
.feature-carousel .carousel-slide img { object-fit: cover; }
.model-media > .carousel-slide { height: 100%; }
.model-media .carousel-slide,
.project-carousel .carousel-slide { background: #0c0e13; }
.model-media .carousel:hover .carousel-slide img,
.project-carousel:hover .carousel-slide img,
.feature-carousel:hover .carousel-slide img { transform: none; }

/* ============================================================
   CTA band parallax — per-page background via --cta-bg
   ============================================================ */
.cta-parallax {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.cta-parallax h2 { color: #fff; }
.cta-parallax p { color: rgba(255, 255, 255, 0.85); }
.cta-parallax .btn-gold { background: var(--blue); color: #fff; }
.cta-parallax .btn-gold:hover { background: #fff; color: var(--ink); }
/* iOS ignores fixed attachment on body scroll — fall back gracefully */
@supports (-webkit-touch-callout: none) {
  .cta-parallax { background-attachment: scroll; }
}

/* Internal keyword links inside body copy */
.kw-link {
  color: var(--blue-300);
  text-decoration: underline;
  text-decoration-color: rgba(92, 206, 255, 0.35);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.kw-link:hover { color: var(--blue); text-decoration-color: var(--blue); }
