/* ==========================================================================
   TECHPLAY — styles.css
   1. Tokens  2. Base  3. Buttons  4. Navbar & mega menu  5. Hero
   6. Marquee  7. Sections  8. Drawer  9. Utilities  10. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --red: #f21d35;
  --red-deep: #b90e24;
  --red-soft: #ff6677;
  --ink: #070707;
  --ink-2: #0d0d0f;
  --ink-3: #141417;
  --paper: #f5f4f2;
  --paper-2: #ebe9e6;
  --text: #f7f7f7;
  --text-dim: #b4b4b8;
  --text-dark: #141414;
  --text-dark-dim: #5d5d63;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(0, 0, 0, .1);

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-red: 0 18px 50px -12px rgba(242, 29, 53, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  scrollbar-color: #000 #070707;
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar-track { background: #070707; }
::-webkit-scrollbar-thumb { background: #000; border: 1px solid #242424; }
::-webkit-scrollbar-thumb:hover { background: #000; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; }

.container-wide { width: min(1320px, calc(100% - 8vw)); margin-inline: auto; }

.section-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.section-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.045em;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.2; margin: 0;
}
.section-title .accent { color: var(--red); }
.section-lead { color: var(--text-dim); font-size: 1.0625rem; line-height: 1.75; max-width: 440px; margin: 0; }
.muted { color: var(--text-dim); }
.pad-section { padding: clamp(72px, 9vw, 120px) 0; }

/* 3. Buttons --------------------------------------------------------------- */
.btn { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; border-radius: 999px; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn-red {
  background: var(--red); color: #fff; border: 1px solid var(--red);
  padding: 15px 28px; box-shadow: var(--shadow-red);
}
.btn-red:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-3px); }
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 13px 26px; background: rgba(255, 255, 255, .03);
}
.btn-outline-light:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(4px); }

.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; margin-top: 22px; }
.arrow-link i { color: var(--red); transition: transform .25s var(--ease); }
.arrow-link:hover i { transform: translateX(6px); }
.story-btn { position: relative; isolation: isolate; overflow: hidden; gap: 14px; padding: 8px 8px 8px 24px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 1rem; transition: color .35s var(--ease), border-color .35s var(--ease); }
.story-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--red); transform: translateX(-101%); transition: transform .45s var(--ease); }
.story-btn i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1rem; transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease); }
.story-btn:hover { color: #fff; border-color: var(--red); }
.story-btn:hover::before { transform: none; }
.story-btn:hover i { transform: rotate(-45deg); background: #fff; color: var(--red); }
.story-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .story-btn::before, .story-btn i { transition: none; } }

/* Scroll progress (native <progress>, no inline styles) */
.reading-progress {
  position: fixed; inset: 0 0 auto 0; width: 100%; height: 3px; z-index: 1200;
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; pointer-events: none;
}
.reading-progress::-webkit-progress-bar { background: transparent; }
.reading-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-soft)); box-shadow: 0 0 14px rgba(242, 29, 53, .6); transition: width .1s linear; }
.reading-progress::-moz-progress-bar { background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-soft)); }

/* 4. Navbar & mega menu ---------------------------------------------------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1050; padding: 0;
  background: transparent; border: 0;
}
.navbar > .container-wide {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1440px, calc(100% - 5vw)); height: var(--nav-h);
}
.navbar.scrolled {
  background: rgba(8, 8, 10, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  transition: background .3s, box-shadow .3s, border-color .3s;
}

.navbar-brand {
  display: flex; align-items: center; gap: 13px; margin: 0; flex-shrink: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .12em; color: #fff !important; line-height: 1.1;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 0 0 1px rgba(242,29,53,.4), var(--shadow-red);
  font-size: 1.35rem; font-weight: 600; color: #fff; letter-spacing: 0;
  transition: box-shadow .25s, transform .25s;
}
.navbar-brand:hover .brand-mark { transform: scale(1.06); box-shadow: 0 0 0 2px rgba(242,29,53,.6), var(--shadow-red); }
.brand-sub { display: block; font-size: .58rem; letter-spacing: .2em; color: rgba(255,255,255,.55); font-weight: 600; margin-top: 5px; }

.navbar-toggler { border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 8px 10px; background: rgba(255,255,255,.04); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(242, 29, 53, .35); }

/* nav links */
.navbar .navbar-nav { align-items: center; gap: 2px; }
.navbar-collapse { flex-grow: 1; }
.navbar-collapse > .navbar-nav {
  justify-content: center; gap: 5px; padding: 8px;
  background: rgba(14, 14, 17, .78); border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.navbar .nav-link {
  position: relative; display: flex; align-items: center; color: rgba(226, 236, 244, .78); font-size: .86rem; font-weight: 600; letter-spacing: .01em;
  padding-block: 11px; border-radius: 999px; transition: color .2s, background .2s, box-shadow .2s;
}
.navbar .nav-icon { width: 1.1em; margin-right: .45rem; color: currentColor; font-size: .96em; text-align: center; }
.navbar .nav-link:hover { color: #fff !important; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.navbar .nav-link[aria-current="page"],
.navbar .nav-link.active { color: #fff !important; background: rgba(242, 29, 53, .2); box-shadow: inset 0 0 0 1px rgba(242, 29, 53, .35); }

/* quote button — more refined */
.navbar .quote-btn {
  margin-left: 28px; padding: 10px 22px; white-space: nowrap;
  font-size: .8rem; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; border: 1px solid rgba(255, 92, 111, .55);
  box-shadow: 0 5px 18px rgba(242, 29, 53, .25);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.navbar .quote-btn:hover {
  background: linear-gradient(135deg, #ff3d54, var(--red)); color: #fff; border-color: #ff596d;
  box-shadow: 0 8px 24px rgba(242, 29, 53, .36);
  transform: translateY(-2px);
}

.services-nav, .products-nav { position: static; }
.services-nav > .nav-link, .products-nav > .nav-link { display: flex; align-items: center; gap: 6px; }
.services-nav .bi-chevron-down, .products-nav .bi-chevron-down { font-size: .75rem; transition: transform .25s; }
.services-nav.show > .nav-link .bi-chevron-down, .products-nav.show > .nav-link .bi-chevron-down { transform: rotate(180deg); }
.dropdown-toggle::after { display: none; }
/* Bridge gap between nav link and fixed mega menu so mouseleave never fires mid-transit */
@media (min-width: 992px) {
  .services-nav > .nav-link::after, .products-nav > .nav-link::after {
    content: ''; display: block; position: absolute; bottom: -24px; left: 0; right: 0; height: 24px; margin: 0; border: 0;
  }
  .navbar-expand-lg .navbar-nav .mega-menu { position: fixed; }
}

.mega-menu {
  display: none; position: fixed; top: var(--nav-h); left: clamp(16px, 3vw, 48px); right: clamp(16px, 3vw, 48px);
  width: auto; max-width: 1360px; margin: 0 auto; padding: 30px clamp(18px, 2.5vw, 38px);
  background: rgba(10, 10, 12, .98); color: #fff; border: 1px solid var(--line); border-bottom: 2px solid var(--red);
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(242, 29, 53, .08);
  max-height: calc(100vh - var(--nav-h)); overflow-x: hidden; overflow-y: auto; transform: none; z-index: 1090;
}
.mega-menu.is-open { display: block; animation: megaIn .22s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega-label { font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 12px; }
.mega-heading { font-family: var(--font-head); font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.5; font-weight: 600; letter-spacing: -.03em; }
.mega-copy { font-size: .9375rem; color: var(--text-dim); line-height: 1.7; max-width: 300px; margin-top: 14px; }
.mega-service {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 16px; border-radius: 14px;
  border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.mega-service:hover, .mega-service:focus-visible { background: rgba(255, 255, 255, .05); border-color: rgba(242, 29, 53, .5); transform: translateY(-2px); }
.mega-service-icon {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  color: var(--red); font-size: 1.2rem; background: rgba(242, 29, 53, .1); border: 1px solid rgba(242, 29, 53, .35);
}
.mega-service strong { display: block; font-size: .9375rem; margin-bottom: 4px; }
.mega-service small { display: block; color: var(--text-dim); font-size: .875rem; line-height: 1.5; }
.mega-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line); color: var(--text-dim); font-size: .9375rem;
}
.mega-footer a { color: #fff; font-weight: 600; white-space: nowrap; }
.mega-footer a i { color: var(--red); margin-left: 8px; }

.products-menu { padding: 0; }
.products-menu__layout { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 2fr); }
.products-menu__sidebar { padding: 30px 22px; background: rgba(255, 255, 255, .025); border-right: 1px solid var(--line); }
.products-tabs { display: grid; gap: 8px; }
.products-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; color: var(--text-dim); text-align: left; font: inherit; font-size: .9rem; font-weight: 600;
  line-height: 1.4; cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.products-tab:hover, .products-tab:focus-visible { color: #fff; background: rgba(255, 255, 255, .05); }
.products-tab.is-active { color: #fff; background: rgba(242, 29, 53, .12); border-color: rgba(242, 29, 53, .35); }
.product-tab-icon {
  flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(242, 29, 53, .32); border-radius: 10px;
  background: rgba(242, 29, 53, .07); color: var(--red); font-size: 1rem;
}
.products-tab.is-active .product-tab-icon { border-color: rgba(242, 29, 53, .55); background: rgba(242, 29, 53, .12); }
.products-menu__content { min-width: 0; padding: 28px clamp(18px, 2.5vw, 36px) 18px; }
.products-panel[hidden] { display: none; }
.products-panel__title { margin: 0 0 18px; font-family: var(--font-head); font-size: clamp(1.2rem, 1.7vw, 1.6rem); font-weight: 600; line-height: 1.2; }
.products-panel__subtitle { margin: 0 0 14px; color: var(--text-dim); font-size: .9rem; font-weight: 600; }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.product-list li { min-width: 0; }
.product-link {
  display: flex; align-items: flex-start; gap: 18px; width: 100%; height: 100%; min-width: 0;
  padding: 20px; color: #e7e7ea; font-size: .875rem; line-height: 1.45;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px;
  transition: background .2s, border-color .2s, transform .2s; text-decoration: none;
}
.product-link:hover, .product-link:focus-visible {
  color: #e7e7ea; background: rgba(255, 255, 255, .055); border-color: var(--red);
  transform: translateY(-2px);
}
.product-icon {
  flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px;
  background: rgba(255, 255, 255, .04); color: var(--red); font-size: 1.2rem;
  transition: background .2s, border-color .2s;
}
.product-link:hover .product-icon { background: rgba(242, 29, 53, .1); border-color: var(--red); }

/* Animated stars icon — cinematic twinkle */
.bi-stars {
  display: inline-block;
  transform-origin: center;
  animation: starsTwinkle 4s cubic-bezier(.4, 0, .6, 1) infinite;
  color: var(--red);
}
@keyframes starsTwinkle {
  0%   {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) drop-shadow(0 0 2px rgba(255,102,119,.3));
    opacity: 1;
  }
  8%   {
    transform: scale(1.35) rotate(-12deg);
    filter: brightness(2.2) drop-shadow(0 0 8px var(--red-soft)) drop-shadow(0 0 16px rgba(255,102,119,.5));
    opacity: 1;
  }
  16%  {
    transform: scale(.7) rotate(6deg);
    filter: brightness(.5) drop-shadow(0 0 0px transparent);
    opacity: .35;
  }
  26%  {
    transform: scale(1.2) rotate(-6deg);
    filter: brightness(1.9) drop-shadow(0 0 6px var(--red-soft)) drop-shadow(0 0 12px rgba(255,102,119,.4));
    opacity: 1;
  }
  36%  {
    transform: scale(.85) rotate(4deg);
    filter: brightness(.7) drop-shadow(0 0 0px transparent);
    opacity: .5;
  }
  50%  {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) drop-shadow(0 0 2px rgba(255,102,119,.2));
    opacity: 1;
  }
  62%  {
    transform: scale(1.28) rotate(10deg);
    filter: brightness(2) drop-shadow(0 0 10px var(--red-soft)) drop-shadow(0 0 20px rgba(255,102,119,.45));
    opacity: 1;
  }
  72%  {
    transform: scale(.75) rotate(-5deg);
    filter: brightness(.55) drop-shadow(0 0 0px transparent);
    opacity: .4;
  }
  82%  {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(1.7) drop-shadow(0 0 6px var(--red-soft));
    opacity: 1;
  }
  92%  {
    transform: scale(.9) rotate(-2deg);
    filter: brightness(.85) drop-shadow(0 0 0px transparent);
    opacity: .7;
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) drop-shadow(0 0 2px rgba(255,102,119,.3));
    opacity: 1;
  }
}
.product-copy { display: block; min-width: 0; }
.product-copy strong { display: block; margin: 2px 0 8px; color: #f7f7f7; font-size: .975rem; font-weight: 600; line-height: 1.35; }
.product-copy small { display: block; color: #b4b4b8; font-size: .9375rem; line-height: 1.55; }
.products-tabs--sub { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.products-tab--sub { width: auto; padding: 8px 14px; font-size: .8rem; border-color: rgba(255, 255, 255, .18); }
.products-tab--sub:hover, .products-tab--sub:focus-visible { border-color: rgba(255, 255, 255, .35); }
.products-tab--sub.is-active { border-color: rgba(242, 29, 53, .55); }
.products-panel--sub .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.products-menu__footer { margin-top: 16px; }

/* Sidebar quote block */
.products-sidebar-quote {
  margin-top: 20px; padding: 14px 16px;
  border-radius: 12px;
  background: rgba(242, 29, 53, .06);
  border: 1px solid rgba(242, 29, 53, .2);
}
.products-sidebar-quote[hidden] { display: none; }
.product-quote-icon {
  display: block; font-size: 1.1rem; color: var(--red); margin-bottom: 8px;
  animation: starsTwinkle 4s cubic-bezier(.4,0,.6,1) infinite;
}
.products-sidebar-quote p {
  margin: 0; font-size: .82rem; line-height: 1.55;
  color: rgba(255,255,255,.5); font-style: italic;
}

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden;
  min-height: max(700px, 100svh); background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 50%;
  filter: grayscale(1) contrast(1.05); opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease-out;
}
.hero-bg__slide.is-active { opacity: 1; transform: scale(1); }
.hero-bg__slide--1 { background-image: url("/images/hero-1.webp"); }
.hero-bg__slide--2 { background-image: url("/images/hero-2.webp"); }
.hero-bg__slide--3 { background-image: url("/images/hero-3.webp"); }
.hero-bg__slide--4 { background-image: url("/images/hero-4.webp"); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .98) 0%, rgba(5, 5, 5, .88) 34%, rgba(5, 5, 5, .45) 70%, rgba(5, 5, 5, .25) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 45%, rgba(242, 29, 53, .28), transparent 42%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%); mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; padding: calc(var(--nav-h) + 56px) 0 150px; }
.hero-content { max-width: 800px; transition: opacity .28s, transform .28s; }
.hero-content.slide-out { opacity: 0; transform: translateY(14px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 8px 16px 8px 12px;
  font-size: .875rem; font-weight: 600; letter-spacing: .06em; color: #e7e7ea;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(242, 29, 53, .25); }
.hero h1 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.06em; line-height: 1.12;
  font-size: clamp(3rem, 5vw, 6.4rem); margin: 0 0 28px;
}
.hero h1 .red { color: var(--red); }
.hero-caption { color: #d4d4d8; font-size: clamp(1rem, 1.3vw, 1.1875rem); line-height: 1.7; max-width: 600px; margin: 0 0 36px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.play-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; color: #fff; }
.play-link .play { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; transition: .25s; }
.play-link:hover .play { background: var(--red); border-color: var(--red); transform: scale(1.08); }

.hero-card {
  justify-self: end; width: min(100%, 340px); padding: 26px; border-radius: var(--radius-lg);
  background: rgba(15, 15, 18, .55); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.hero-card__title { font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; font-weight: 600; }
.hero-card__row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.hero-card__row:first-of-type { border-top: 0; padding-top: 0; }
.hero-card__row strong { font-family: var(--font-head); font-size: 1.9rem; letter-spacing: -.04em; min-width: 82px; }
.hero-card__row span { color: var(--text-dim); font-size: .9375rem; line-height: 1.3; }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 42px; color: #c9c9ce; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
}
.hero-meta .container-wide { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.slide-ui { display: flex; align-items: center; gap: 18px; }
.slide-count { display: flex; align-items: center; gap: 12px; }
.slide-count strong { color: #fff; font-size: 1rem; padding: 6px 12px; border: 1px solid var(--red); border-radius: 8px; }
.slide-line { height: 3px; width: 90px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 25%, rgba(255, 255, 255, .22) 25%); transition: background .3s; }
.slide-line[data-step="2"] { background: linear-gradient(90deg, var(--red) 50%, rgba(255, 255, 255, .22) 50%); }
.slide-line[data-step="3"] { background: linear-gradient(90deg, var(--red) 75%, rgba(255, 255, 255, .22) 75%); }
.slide-line[data-step="4"] { background: var(--red); }
.slide-controls { display: flex; align-items: center; gap: 8px; }
.slide-dot { width: 8px; height: 8px; border: 0; border-radius: 99px; padding: 0; background: rgba(255, 255, 255, .35); transition: all .3s; }
.slide-dot.active { width: 28px; background: var(--red); }
.slide-arrows { display: flex; gap: 8px; }
.slide-arrows button { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; transition: .2s; }
.slide-arrows button:hover { background: var(--red); border-color: var(--red); }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: #eee; letter-spacing: .14em; }
.mouse { width: 20px; height: 32px; border: 1px solid #ddd; border-radius: 12px; position: relative; }
.mouse::before { content: ""; width: 3px; height: 6px; background: var(--red); border-radius: 4px; position: absolute; left: 7px; top: 6px; animation: wheel 1.5s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* 6. Marquee --------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; padding: 18px 0; border-block: 1px solid rgba(0, 0, 0, .2); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.marquee__item i { font-size: .8rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 7. Sections -------------------------------------------------------------- */
/* Services */
.services { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.services-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.services-head .section-lead { justify-self: end; }
.service-card {
  position: relative; height: 100%; padding: 32px 28px 30px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}
.service-card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 29, 53, .35), transparent 70%); opacity: 0; transition: opacity .4s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(242, 29, 53, .7); box-shadow: 0 24px 60px -20px rgba(242, 29, 53, .35); }
.service-card:hover::before { opacity: 1; }
.service-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: rgba(255, 255, 255, .25); }
.service-icon {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 16px;
  font-size: 1.6rem; color: var(--red); background: rgba(242, 29, 53, .1); border: 1px solid rgba(242, 29, 53, .35); transition: .3s;
}
.service-card:hover .service-icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 12px; }
.service-card p { font-size: 1rem; line-height: 1.7; color: var(--text-dim); margin: 0; position: relative; }

/* About */
.about { background: var(--paper); color: var(--text-dark); }
.about .section-kicker { color: var(--red-deep); }
.about-image-wrap { position: relative; padding: 0 28px 28px 0; }
.about-image-wrap::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 60%; border: 2px solid var(--red); border-radius: var(--radius); z-index: 0; }
.about-image { position: relative; z-index: 1; width: 100%; height: 520px; object-fit: cover; filter: grayscale(1); border-radius: var(--radius); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .45); }
.about-badge {
  position: absolute; z-index: 2; left: -18px; bottom: 56px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: 0 24px 50px -15px rgba(0, 0, 0, .5);
}
.about-badge i { font-size: 1.7rem; color: var(--red); }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.1; }
.about-badge span { font-size: .875rem; color: var(--text-dim); }
.about-copy { color: var(--text-dark-dim); font-size: 1.0625rem; line-height: 1.85; max-width: 540px; margin-top: 24px; }
.check-list { padding: 0; list-style: none; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: #26262b; }
.check-list i { color: var(--red); font-size: 1.15rem; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stat { padding: 20px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark); transition: transform .3s var(--ease), box-shadow .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; letter-spacing: -.04em; color: var(--red); line-height: 1.1; }
.stat span { font-size: .875rem; color: var(--text-dark-dim); }

/* Work */
.work { background: var(--ink); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 48px; }
.project-card { position: relative; overflow: hidden; height: 440px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .8; transition: transform .8s var(--ease), filter .5s, opacity .5s; }
.project-card:hover img { transform: scale(1.07); filter: grayscale(0); opacity: 1; }
.project-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .35) 45%, transparent 70%);
}
.project-tag {
  align-self: flex-start; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(242, 29, 53, .9);
}
.project-overlay h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; margin: 0; max-width: 70%; }
.project-link {
  position: absolute; right: 24px; bottom: 28px; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(0, 0, 0, .3); backdrop-filter: blur(6px); transition: .3s var(--ease);
}
.project-card:hover .project-link, .project-link:hover { background: var(--red); border-color: var(--red); transform: rotate(45deg); }

/* Process */
.process { background: var(--paper); color: var(--text-dark); }
.process .section-kicker { color: var(--red-deep); }
.process .section-lead { color: var(--text-dark-dim); margin-top: 18px; }
.process-steps { display: grid; gap: 14px; margin-top: 36px; }
.process-step {
  display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-dark);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.process-step:hover { transform: translateX(8px); border-color: rgba(242, 29, 53, .5); box-shadow: 0 18px 40px -22px rgba(242, 29, 53, .5); }
.step-icon {
  flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(242, 29, 53, .09); border: 1px solid rgba(242, 29, 53, .28); color: var(--red); font-size: 1.4rem; transition: .3s;
}
.process-step:hover .step-icon { background: var(--red); color: #fff; }
.step-num { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--red); margin-bottom: 2px; }
.process-step h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
.process-step p { font-size: 1rem; line-height: 1.65; color: var(--text-dark-dim); margin: 0; }
.process-art {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; height: 100%; min-height: 460px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(135deg, rgba(242, 29, 53, .92), rgba(90, 0, 12, .96)), url("/images/process-bg.webp") center / cover;
}
.process-art { container-type: inline-size; }
.process-art::before {
  content: "KRIDHAV NEXORA"; position: absolute; top: 24px; right: 24px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: calc((100cqw - 48px) / 11.66); line-height: 1; letter-spacing: .01em; color: rgba(0, 0, 0, .38);
  animation: process-art-type 5s steps(14, end) infinite;
}
@keyframes process-art-type {
  0% { clip-path: inset(0 100% 0 0); }
  60%, 100% { clip-path: inset(0 0 0 0); }
}
.process-art::after {
  content: "BUILDING BEYOND TOMORROW."; position: absolute; top: calc(24px + (100cqw - 48px) / 11.66 + 12px); right: 24px; white-space: nowrap;
  padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .35);
  font-family: var(--font-head); font-weight: 500; font-size: calc((100cqw - 48px) / 31.4); letter-spacing: .32em; color: rgba(255, 255, 255, .85);
  animation: process-art-tag 5s ease infinite;
}
@keyframes process-art-tag {
  0%, 55% { opacity: 0; transform: translateY(8px); letter-spacing: .12em; }
  75%, 92% { opacity: 1; transform: none; letter-spacing: .32em; }
  100% { opacity: 0; transform: none; letter-spacing: .32em; }
}
@media (prefers-reduced-motion: reduce) {
  .process-art::before, .process-art::after { animation: none; }
}
.process-art__body { position: relative; }
.process-art .section-kicker { color: #fff; }
.process-art h3 { font-family: var(--font-head); font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 600; line-height: 1.2; letter-spacing: -.055em; margin: 0 0 16px; }
.process-art h3 .dark { color: var(--ink); }
.process-art p { font-size: 1.0625rem; max-width: 300px; color: #ffe9eb; margin-bottom: 20px; }

/* Testimonials */
.client-logos { overflow: hidden; padding: 38px 0 42px; background: var(--paper); color: var(--text-dark); }
.client-logos__label {
  margin: 0 0 22px; color: var(--text-dark-dim); font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-align: center; text-transform: uppercase;
}
.client-logos__viewport { overflow: hidden; padding-inline: clamp(24px, 5vw, 80px); }
.client-logos__track { display: flex; width: max-content; }
.client-logos.is-visible .client-logos__track { animation: clientLogosScroll 30s linear .8s infinite; }
.client-logos__group { display: flex; flex: 0 0 auto; align-items: center; gap: clamp(36px, 6vw, 88px); padding-right: clamp(36px, 6vw, 88px); }
.client-logo {
  display: inline-flex; align-items: center; gap: 12px; color: #77777e; white-space: nowrap;
  padding: 14px 18px; border: 1px solid rgba(20, 20, 20, .14); border-radius: 12px;
  transition: color .25s ease, transform .25s ease;
}
.client-logo i { font-size: 1.65rem; }
.client-logo span { font-family: var(--font-head); font-size: .95rem; font-weight: 600; letter-spacing: .12em; }
.client-logo:hover, .client-logo:focus-visible { transform: scale(1.05); }
.client-logo:nth-child(6n + 1):hover, .client-logo:nth-child(6n + 1):focus-visible { color: #f27b50; }
.client-logo:nth-child(6n + 2):hover, .client-logo:nth-child(6n + 2):focus-visible { color: #5da9ff; }
.client-logo:nth-child(6n + 3):hover, .client-logo:nth-child(6n + 3):focus-visible { color: #b48cff; }
.client-logo:nth-child(6n + 4):hover, .client-logo:nth-child(6n + 4):focus-visible { color: #ffca55; }
.client-logo:nth-child(6n + 5):hover, .client-logo:nth-child(6n + 5):focus-visible { color: #5dd6b0; }
.client-logo:nth-child(6n):hover, .client-logo:nth-child(6n):focus-visible { color: #ff7690; }
@keyframes clientLogosScroll { to { transform: translateX(-50%); } }
.testimonial { background: var(--ink-2); }
.testimonial-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.testimonial-head__aside { display: flex; align-items: flex-end; gap: 24px; }
.testimonial-controls { display: flex; flex: 0 0 auto; gap: 10px; }
.testimonial-control {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; font-size: 1rem;
  transition: background .2s, border-color .2s, opacity .2s;
}
.testimonial-control:not(:disabled):hover { background: var(--red); border-color: var(--red); }
.testimonial-control:disabled { opacity: .35; cursor: not-allowed; }
.testimonial-scroll {
  display: flex; gap: 24px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; scroll-behavior: smooth;
}
.testimonial-scroll.is-normalizing { scroll-behavior: auto; }
.testimonial-scroll::-webkit-scrollbar { display: none; }
.testimonial-scroll .quote-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.quote-card {
  position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); transition: transform .35s var(--ease), border-color .35s;
}
.quote-card:hover { transform: translateY(-6px); border-color: rgba(242, 29, 53, .55); }
.stars { color: #ffb400; letter-spacing: 3px; font-size: .95rem; margin-bottom: 18px; }
.quote-mark { position: absolute; top: 22px; right: 26px; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: rgba(242, 29, 53, .35); }
.quote-card p { font-size: 1.0625rem; line-height: 1.8; color: #d2d2d6; margin: 0; }
.client { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.client-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--red), var(--red-deep)); color: #fff; font-weight: 600; font-family: var(--font-head); }
.client strong { display: block; font-size: 1rem; }
.client span { display: block; font-size: .875rem; color: var(--text-dim); }

/* CTA */
.cta { padding: clamp(60px, 8vw, 100px) 0; background: var(--ink); }
.cta-panel {
  position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px); border-radius: var(--radius-lg); border: 1px solid rgba(242, 29, 53, .45);
  background: linear-gradient(100deg, rgba(7, 7, 7, .94), rgba(7, 7, 7, .72)), url("/images/cta-bg.webp") center / cover;
  box-shadow: 0 40px 100px -40px rgba(242, 29, 53, .5);
}
.cta-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 29, 53, .45), transparent 70%); pointer-events: none; }
.cta-panel .row { position: relative; z-index: 1; }
.cta .section-title { max-width: 680px; }
.cta-note { color: var(--text-dim); font-size: 1.0625rem; margin: 18px 0 0; }

/* Footer */
footer {
  position: relative; overflow: hidden; padding: 88px 0 26px; border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(242, 29, 53, .14), transparent 70%),
    radial-gradient(700px 320px at 95% 110%, rgba(242, 29, 53, .08), transparent 70%),
    #040404;
}
footer::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(720px, 80%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
footer .container-wide { position: relative; z-index: 1; }
.footer-mail {
  display: block; position: relative; margin-bottom: 64px; padding: 36px 40px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  transition: border-color .3s, transform .4s var(--ease);
}
.footer-mail::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 100% 100%, rgba(242, 29, 53, .28), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.footer-mail:hover { border-color: rgba(242, 29, 53, .55); transform: translateY(-3px); }
.footer-mail:hover::before { opacity: 1; }
.footer-mail__kicker { position: relative; display: block; margin-bottom: 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red-soft); }
.footer-mail__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-mail__text { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 5.6vw, 4.6rem); line-height: 1.05; letter-spacing: -.05em; color: #fff; }
.footer-mail__arrow {
  flex: none; width: clamp(48px, 6vw, 76px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.9rem); box-shadow: var(--shadow-red);
  transition: transform .45s var(--ease), background .25s, color .25s;
}
.footer-mail:hover .footer-mail__arrow { transform: rotate(45deg); background: #fff; color: var(--ink); }
.footer-clock { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; letter-spacing: .08em; color: #a0a0a6; font-variant-numeric: tabular-nums; }
.footer-clock i { color: var(--red); }
.footer-top { padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: #e7e7ea;
}
.footer-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd275; box-shadow: 0 0 0 0 rgba(47, 210, 117, .6); animation: footerPulse 2s infinite; }
@keyframes footerPulse { 70% { box-shadow: 0 0 0 9px rgba(47, 210, 117, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 210, 117, 0); } }
.footer-wordmark {
  margin: 36px 0 -.18em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 9.4vw, 9rem); line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-about { font-size: 1rem; color: var(--text-dim); line-height: 1.8; max-width: 320px; margin: 22px 0 0; }
.footer-title { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.footer-india { color: var(--red-soft); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; color: var(--text-dim); font-size: 1rem; }
.footer-links a { position: relative; transition: color .25s, transform .25s var(--ease); }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--red-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover::after { transform: scaleX(1); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1rem;
  background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-red); }
.copyright { position: relative; z-index: 1; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: #86868c; font-size: .9375rem; border-top: 1px solid var(--line); }
.copyright-tag { letter-spacing: .2em; font-size: .75rem; color: #a0a0a6; }
.footer-top-link { display: inline-flex; align-items: center; gap: 4px; color: #c9c9ce; transition: color .25s; }
.footer-top-link i { font-size: 1.2rem; color: var(--red); transition: transform .3s var(--ease); }
.footer-top-link:hover { color: #fff; }
.footer-top-link:hover i { transform: translateY(-3px); }
.copyright .slash { color: var(--red); }

.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; display: grid; place-items: center; z-index: 1000;
  background: var(--red); color: #fff; border: 0; border-radius: 50%; box-shadow: var(--shadow-red);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: .3s var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: #fff; color: var(--ink); }

/* 8. Enquiry drawer -------------------------------------------------------- */
.enquiry-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.enquiry-backdrop.is-open { opacity: 1; visibility: visible; }
.enquiry-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 1201; width: min(480px, 100%); height: 100dvh; overflow-y: auto;
  padding: 28px clamp(20px, 4vw, 36px) 34px; background: var(--ink-2); color: var(--text); border-left: 1px solid rgba(242, 29, 53, .55);
  box-shadow: -24px 0 80px rgba(0, 0, 0, .5); transform: translateX(102%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
}
.enquiry-drawer.is-open { transform: none; visibility: visible; }
.drawer-top { position: sticky; top: -28px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: -28px calc(-1 * clamp(20px, 4vw, 36px)) 32px; padding: 18px clamp(20px, 4vw, 36px); background: var(--ink-2); border-bottom: 1px solid var(--line); }
.drawer-kicker { font-size: .875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.drawer-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; }
.drawer-title .accent { color: var(--red); }
.drawer-intro { font-size: 1rem; line-height: 1.7; color: var(--text-dim); margin: 0 0 26px; max-width: 380px; }
.drawer-close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: #171717; color: #fff; transition: .2s; }
.drawer-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.enquiry-form .form-label { font-size: .9375rem; font-weight: 600; color: #e4e4e7; margin-bottom: 8px; }
.enquiry-form .required-asterisk { color: var(--red); }
.enquiry-form .form-control, .enquiry-form .form-select {
  min-height: 50px; padding: 12px 15px; font-size: 1rem; color: #fff; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
}
.enquiry-form textarea.form-control { min-height: 120px; resize: vertical; }
.enquiry-form .form-control::placeholder { color: #75757c; }
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus { background: #1a1a1e; border-color: var(--red); box-shadow: 0 0 0 .22rem rgba(242, 29, 53, .18); color: #fff; }
.enquiry-form .form-select option { background: var(--ink-3); color: #fff; }
.drawer-submit { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.drawer-note { font-size: .875rem; line-height: 1.6; color: #82828a; margin: 14px 0 0; }

/* 9. Utilities & motion ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* 10. Responsive ----------------------------------------------------------- */
@media (min-width: 992px) {
  .navbar .navbar-toggler { display: none; }
  .navbar.navbar-expand-lg .navbar-collapse { display: contents !important; }
  /* Centered on the navbar itself, not between brand/button, so it stays dead-center regardless of their widths.
     No transform here: it would create a containing block for the mega menu's position:fixed, breaking its placement. */
  .navbar-collapse > .navbar-nav {
    position: absolute; inset: 0; margin: auto;
    flex-wrap: nowrap; width: max-content; height: max-content;
  }
  /* One padding for normal, hover and active so link width never changes. Must match Bootstrap's selector to override it. */
  .navbar-expand-lg .navbar-nav .nav-link { padding-inline: clamp(8px, 3.75vw - 40px, 20px); }
  .navbar .quote-btn { margin-left: 0; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-brand { font-size: .9rem; letter-spacing: .08em; }
  .navbar .nav-link { padding: 9px 8px; font-size: .72rem; }
  .navbar .nav-icon { margin-right: .3rem; }
  .navbar .quote-btn { margin-left: 0; padding: 10px 14px; }
}
@media (max-width: 1199px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}
@media (max-width: 991px) {
  :root { --nav-h: 68px; }
  html.mobile-nav-open, body.mobile-nav-open { overflow: hidden; }
  .navbar > .container-wide { display: flex; flex-wrap: wrap; gap: 10px; height: auto; min-height: var(--nav-h); }
  .navbar-brand, .navbar-toggler { position: relative; z-index: 1060; }

  /* ── Hamburger button ── */
  .navbar-toggler {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
    color: #fff; background: rgba(15, 15, 18, .92);
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
    transition: background .2s, border-color .2s;
  }
  .navbar-toggler:hover { background: rgba(242, 29, 53, .12); border-color: rgba(242, 29, 53, .4); }
  .navbar-toggler-icon { display: none; }
  .navbar-toggler::before {
    content: ""; display: block; width: 22px; height: 14px;
    background: linear-gradient(to bottom, #fff 0 2px, transparent 2px 6px, #fff 6px 8px, transparent 8px 12px, #fff 12px 14px);
    transition: background .25s, height .25s;
  }
  .navbar-toggler[aria-expanded="true"]::before {
    height: 22px;
    background:
      linear-gradient(45deg,  transparent 44%, #fff 45% 55%, transparent 56%),
      linear-gradient(-45deg, transparent 44%, #fff 45% 55%, transparent 56%);
  }

  /* ── Full-screen overlay: MUST beat Bootstrap's .collapse:not(.show) { display:none } ── */
  /* Bootstrap rule specificity is (0,2,0); we need at least that + !important to win */
  .navbar-collapse.collapse,
  .navbar-collapse.collapsing,
  .navbar-collapse.collapse.show {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Shared positioning and appearance */
  .navbar-collapse {
    position: fixed !important; inset: 0 !important; z-index: 1055;
    width: 100% !important; height: 100dvh !important; max-height: none !important;
    overflow: hidden; overscroll-behavior: contain;
    background: #080809; padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    /* Hidden state */
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-16px) scale(.985);
    transition: opacity .36s var(--ease), transform .36s var(--ease), visibility .36s;
  }

  /* Bootstrap .collapsing — override height transition with our own */
  .navbar-collapse.collapsing {
    height: 100dvh !important;
    transition: opacity .36s var(--ease), transform .36s var(--ease), visibility .36s !important;
  }

  /* Open state */
  .navbar-collapse.show {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    transform: none !important;
  }

  /* Red accent bar */
  .navbar-collapse::before {
    content: ""; flex: 0 0 3px; min-height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-soft));
  }

  /* Nav header (top spacing + label) */
  .mobile-nav-header {
    flex: 0 0 auto;
    padding: calc(env(safe-area-inset-top) + var(--nav-h) + 10px) clamp(24px, 7vw, 48px) 0;
  }
  .navbar-collapse.has-submenu .mobile-nav-header {
    display: flex; align-items: center; gap: 16px;
  }
  .mobile-nav-back {
    display: none; align-items: center; gap: 8px; padding: 8px 0;
    border: 0; background: transparent; color: rgba(255, 255, 255, .72);
    font: inherit; font-size: .875rem; cursor: pointer;
  }
  .navbar-collapse.has-submenu .mobile-nav-back:not([hidden]) { display: inline-flex; }
  .mobile-nav-back:hover, .mobile-nav-back:focus-visible { color: #fff; }
  .navbar-collapse.has-submenu .mobile-nav-label { color: rgba(255, 255, 255, .62); }
  .mobile-nav-label {
    font-size: .72rem; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: rgba(255, 255, 255, .28);
  }

  /* Scrollable nav list */
  .navbar-collapse > .navbar-nav {
    display: block !important; flex: 1 1 auto; min-height: 0;
    width: 100%; overflow-x: hidden; overflow-y: auto;
    padding: 16px clamp(24px, 7vw, 48px) 0;
    background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none;
  }
  .navbar-collapse.has-submenu > .navbar-nav { padding-top: 8px; }
  .navbar-collapse.has-submenu > .navbar-nav > .nav-item:not(.show) { display: none; }
  .navbar-collapse.has-submenu > .navbar-nav > .nav-item.show { border-bottom: 0; }
  .navbar-collapse.has-submenu > .navbar-nav > .nav-item.show > .nav-link { display: none; }
  .navbar .navbar-nav { align-items: stretch; gap: 0; }

  /* Nav items — stagger (selector: .nav-item inside .navbar-collapse, NOT .navbar inside it) */
  .navbar .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    opacity: 0; transform: translateX(-20px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .navbar-collapse.show .nav-item          { opacity: 1; transform: none; }
  .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: .05s; }
  .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: .09s; }
  .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: .13s; }
  .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: .17s; }
  .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: .21s; }
  .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: .25s; }

  /* Nav link type */
  .navbar .nav-link {
    display: flex; align-items: center; min-height: 52px;
    padding: 12px 0; border-radius: 0;
    color: rgba(255, 255, 255, .72) !important;
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    font-weight: 500; letter-spacing: 0;
    transition: color .2s;
  }
  .navbar .nav-link:hover { background: transparent; color: #fff !important; }
  .navbar .nav-link[aria-current="page"],
  .navbar .nav-link.active { color: var(--red-soft) !important; background: transparent; box-shadow: none; }
  .navbar .nav-icon { width: 1.1em; margin-right: 14px; color: var(--red); font-size: 1rem; opacity: .85; }
  .services-nav > .nav-link .bi-chevron-down,
  .products-nav > .nav-link .bi-chevron-down { margin-left: auto; color: var(--red-soft); font-size: .85rem; }

  /* Get a Quote CTA */
  .navbar .quote-btn {
    flex: 0 0 auto;
    width: calc(100% - clamp(48px, 14vw, 96px)); margin: 18px clamp(24px, 7vw, 48px) 0;
    justify-content: center; padding: 15px 20px; font-size: 1rem;
    opacity: 0; transform: translateY(8px);
    transition: opacity .4s var(--ease) .28s, transform .4s var(--ease) .28s, background .25s, border-color .25s, box-shadow .25s;
  }
  .navbar-collapse.show .quote-btn { opacity: 1; transform: none; }

  /* Mega menus on mobile */
  .services-nav, .products-nav { position: relative; }
  .mega-menu {
    position: static; width: auto; max-width: none; max-height: none; overflow: visible;
    padding: 8px 10px; margin: 2px 0 10px;
    background: rgba(255, 255, 255, .04); box-shadow: none;
    border: 1px solid rgba(255, 255, 255, .1); border-left: 2px solid var(--red);
    border-radius: 14px;
  }
  .mega-inner .row { --bs-gutter-y: 2px !important; }
  .mega-inner, .mega-inner > .row, .mega-inner .row { min-width: 0; max-width: 100%; --bs-gutter-x: 0; }
  .mega-menu, .mega-inner { overflow-x: hidden; }
  .mega-heading { font-size: 1.05rem; font-weight: 600; }
  .mega-copy { font-size: .875rem; margin-top: 8px; }
  .mega-footer { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Hide descriptions, cap weights, fix alignment in mobile mega menus */
  .mega-service small,
  .product-copy small { display: none; }
  .mega-service strong,
  .product-copy strong { font-weight: 500; font-family: var(--font-body); margin-bottom: 0; }
  .mega-service {
    align-items: center;
    padding: 10px 12px;
    height: auto;
    font-weight: 400;
    gap: 12px;
  }
  .mega-service-icon {
    flex: 0 0 36px; width: 36px; height: 36px;
    font-size: 1rem; border-radius: 10px;
  }
  .products-panel__title { font-weight: 600; }
  .products-panel__subtitle { font-weight: 500; }
  .mega-label { font-weight: 600; }
  .products-menu { padding: 0; }
  .products-menu__layout { grid-template-columns: 1fr; }
  .products-menu__sidebar { padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .products-menu__content { padding: 16px 14px 12px; }
  .products-tabs { grid-template-columns: 1fr; }
  .product-list, .products-panel--sub .product-list { grid-template-columns: 1fr; }

  /* Mobile footer — contact + socials */
  .mobile-nav-footer {
    flex: 0 0 auto;
    display: flex !important; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 18px clamp(24px, 7vw, 48px) calc(env(safe-area-inset-bottom) + 26px);
    border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 16px;
    opacity: 0; transform: translateY(8px);
    transition: opacity .4s var(--ease) .32s, transform .4s var(--ease) .32s;
  }
  .navbar-collapse.show .mobile-nav-footer { opacity: 1; transform: none; }
  .mobile-nav-contact { display: flex; flex-direction: column; gap: 4px; }
  .mobile-nav-contact-label {
    font-size: .7rem; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; color: rgba(255, 255, 255, .32);
  }
  .mobile-nav-email {
    font-family: var(--font-head); font-size: 1rem; font-weight: 600;
    color: rgba(255, 255, 255, .82); transition: color .2s;
  }
  .mobile-nav-email:hover { color: var(--red-soft); }
  .mobile-nav-socials { display: flex; gap: 8px; }
  .mobile-nav-socials a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .58); font-size: 1rem;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
  }
  .mobile-nav-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }

  /* Page-level adjustments */
  .slide-arrows, .scroll-cue span:not(.mouse):first-child { display: none; }
  .services-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .services-head .section-lead { justify-self: start; }
  .about-image { height: 400px; }
  .about-badge { left: 10px; }
  .work-head, .testimonial-head { flex-direction: column; align-items: flex-start; }
  .testimonial-head__aside { width: 100%; justify-content: space-between; align-items: center; }
  .testimonial-scroll .quote-card { flex-basis: calc((100% - 24px) / 2); }
  .project-card { height: 380px; }
  .process-art { min-height: 380px; margin-top: 8px; }
}
@media (max-width: 575px) {
  .container-wide, .navbar > .container-wide { width: calc(100% - 32px); }
  .navbar-brand { font-size: .86rem; letter-spacing: .07em; gap: 10px; }
  .brand-sub { font-size: .5rem; letter-spacing: .13em; }
  .hero { min-height: min(640px, 100svh); }
  .hero-inner { padding-bottom: 120px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .testimonial-scroll .quote-card { flex-basis: 100%; }
  .hero-meta { bottom: 24px; }
  .scroll-cue { display: none; }
  .slide-line { width: 50px; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: center; gap: 14px; }
  .about-image { height: 320px; }
  .about-image-wrap { padding: 0 14px 14px 0; }
  .project-card { height: 340px; }
  .project-overlay h3 { max-width: 62%; font-size: 1.3rem; }
  .process-step:hover { transform: none; }
  .copyright { flex-direction: column; }
  .marquee__item { font-size: 1rem; }
}


/* ===== FAQ Accordion ===== */
.faq-accordion .accordion-item { background: transparent; border: 1px solid rgba(255,255,255,.1); border-radius: 10px !important; margin-bottom: 12px; overflow: hidden; }
.faq-accordion .accordion-button { background: rgba(255,255,255,.04); color: #fff; font-weight: 500; font-size: 1rem; padding: 18px 20px; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { background: rgba(242,29,53,.08); color: #fff; box-shadow: none; }
.faq-accordion .accordion-button::after { filter: invert(1); }
.faq-accordion .accordion-body { background: rgba(255,255,255,.02); color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.7; padding: 16px 20px 20px; }

/* ===== Inner page hero banner ===== */
.page-hero { padding: 140px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(242,29,53,.12) 0%, transparent 70%); pointer-events: none; }
.page-hero-kicker { font-size: .75rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.page-hero-title { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; line-height: 1.1; margin-bottom: 20px; }
.page-hero-lead { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 560px; line-height: 1.7; margin-bottom: 32px; }

/* ===== Service detail cards ===== */
.service-detail-card { position:relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 36px 32px; transition: border-color .3s, background .3s; }
.badge-new{position:absolute;top:12px;right:12px;background:var(--red);color:#fff;font-size:.65rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:6px;line-height:1;z-index:2;animation:badgeGlow 2s ease-in-out infinite alternate}
@keyframes badgeGlow{0%{box-shadow:0 0 6px rgba(242,29,53,.3)}100%{box-shadow:0 0 16px rgba(242,29,53,.6)}}
.service-detail-card:hover { background: rgba(255,255,255,.06); border-color: rgba(242,29,53,.3); }
.service-detail-icon { font-size: 2rem; color: var(--red); margin-bottom: 18px; display: block; }
.service-detail-card h2, .service-detail-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.service-detail-card p { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.7; margin-bottom: 16px; }

/* ===== Contact page ===== */
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.contact-info-icon { flex: 0 0 40px; width: 40px; height: 40px; background: rgba(242,29,53,.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--red); }
.contact-info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.contact-info-value { font-size: .95rem; color: rgba(255,255,255,.85); }
.contact-info-value a { color: rgba(255,255,255,.85); text-decoration: none; }
.contact-info-value a:hover { color: var(--red); }

/* ===== Portfolio filter tabs ===== */
.portfolio-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.portfolio-filter-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; padding: 8px 20px; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.7); cursor: pointer; transition: all .25s; }
.portfolio-filter-btn.active, .portfolio-filter-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===== Breadcrumb ===== */
.page-breadcrumb { font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 16px; display: flex; align-items: center; gap: 4px; }
.page-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--red); }
.page-breadcrumb span { margin: 0 2px; }

/* Product and service detail pages */
.catalog-list li { color: rgba(255, 255, 255, .78); }
.service-card h3 a { color: inherit; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.process .step-icon { font-family: var(--font-head); font-weight: 600; }
.catalog-faq { max-width: 860px; margin-top: 32px; }
.catalog-pager { background: var(--ink); padding: 0 0 clamp(48px, 6vw, 72px); }
.catalog-pager__link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, background .25s; }
.catalog-pager__link:hover { border-color: rgba(242, 29, 53, .6); background: rgba(255, 255, 255, .04); }
.catalog-pager__link--next { text-align: right; }
.catalog-pager__label { color: var(--red); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.catalog-pager__link strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.catalog-pager__link small { color: var(--text-dim); font-size: .9rem; }

@media (max-width: 575px) {
  .copyright { flex-direction: column; align-items: flex-start; }
  .footer-mail { padding: 26px 22px; margin-bottom: 48px; }
}

@media (min-width: 992px) { .copyright { padding-right: 72px; } }

.footer-visitors { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .875rem; color: #c9c9ce; }
.footer-visitors i { color: var(--red); font-size: 1.05rem; }
.footer-visitors__label { letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: #a0a0a6; }
.footer-visitors strong { min-width: 2ch; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff; font-variant-numeric: tabular-nums; }
/* Partner strip: clearer heading, soft edge fade and glass cards. The scrolling itself is unchanged. */
.client-logos { padding: clamp(48px, 6vw, 76px) 0; border-block: 1px solid var(--line-dark); }
.client-logos__head { margin-bottom: clamp(26px, 3.4vw, 40px); text-align: center; }
.client-logos .client-logos__label { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 14px; color: var(--red-deep); font-size: .8125rem; }
.client-logos__label > span { width: clamp(28px, 6vw, 72px); height: 1px; background: linear-gradient(90deg, transparent, var(--red-deep)); }
.client-logos__label > span:last-child { background: linear-gradient(270deg, transparent, var(--red-deep)); }
.client-logos__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; color: var(--text-dark); }
.client-logos__title em { font-style: normal; color: var(--red); }
.client-logos__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.client-logo { padding: 16px 24px; border-color: #d6d6da; border-radius: 16px; background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .45)); box-shadow: inset 0 1px 0 #fff, 0 14px 30px -24px rgba(0, 0, 0, .35); }
.client-logo:hover, .client-logo:focus-visible { box-shadow: inset 0 1px 0 #fff, 0 20px 36px -22px rgba(0, 0, 0, .45); }
