/* ============================================================
   TARF MEDIA — Complete Stylesheet
   Brand Blue #0195FF | Dark Theme | Outfit Font
      ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* ═══════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Palette */
  --black: #000000;
  --rich-black: #080808;
  --charcoal: #111111;
  --dark: #181818;
  --mid: #252525;
  --border: rgba(255, 255, 255, 0.07);
  --border-lt: rgba(255, 255, 255, 0.13);
  --muted: rgba(255, 255, 255, 0.4);
  --body-text: rgba(255, 255, 255, 0.65);
  --white: #ffffff;

  /* Brand Blue */
  --blue: #0195ff;
  --blue-lt: #33aaff;
  --blue-xl: #00c6ff;
  --blue-dim: rgba(1, 149, 255, 0.1);
  --blue-border: rgba(1, 149, 255, 0.22);
  --blue-glow: rgba(1, 149, 255, 0.35);

  /* Gradients */
  --grad: linear-gradient(135deg, #0195ff 0%, #00c6ff 100%);
  --grad-rev: linear-gradient(135deg, #00c6ff 0%, #0195ff 100%);
  --glow: 0 4px 28px rgba(1, 149, 255, 0.38);
  --glow-lg: 0 8px 48px rgba(1, 149, 255, 0.5);

  /* Typography */
  --font: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-h: 80px;
  --w: 1400px;
  --wl: 1600px;
  --wxl: 1800px;
  --px: clamp(16px, 5vw, 80px);
  --section-py: clamp(56px, 10vw, 140px);

  /* Status colours */
  --clr-success: #22c55e;
  --clr-success-lt: #4ade80;
  --clr-success-pale: #86efac;
  --clr-warning: #f59e0b;
  --clr-warning-lt: #fbbf24;
  --clr-warning-pale: #fdba74;
  --clr-error: #ef4444;
  --clr-error-lt: #f87171;
  --clr-error-pale: #fca5a5;
  --clr-info: #3b82f6;

  /* Third-party brand colours */
  --whatsapp: #25d366;
  --whatsapp-dk: #1fb855;
  --google-star: #fbbc04;

  /* Easing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  background: var(--black);
  color: var(--white);
  overflow-x: clip;
  /* System cursor — no custom cursor */
  cursor: auto;
}

img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}
ul {
  list-style: none;
}

/* Subtle grain texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9998;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--px);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

/* Three-column layout: logo | links | actions */
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--wxl);
  margin: 0 auto;
}

/* Logo */
.nav__logo img {
  height: 55px;
  width: auto;
  display: block;
  transition:
    opacity 0.25s,
    transform 0.3s var(--ease);
}
.nav__logo:hover img {
  opacity: 0.92;
  transform: scale(1.05);
}
.nav__logo:active img {
  transform: scale(0.97);
  opacity: 0.8;
}

/* Centre nav links */
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.22s;
  position: relative;
  white-space: nowrap;
}

/* Solid gradient underline — slides in on hover/active */
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-pill);
  transition: right 0.3s var(--ease);
}

/* Blurred glow layer — reveals only on active */
.nav__links a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 100%;
  height: 4px;
  background: var(--grad);
  border-radius: var(--r-pill);
  filter: blur(5px);
  opacity: 0;
  transition:
    right 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

/* HOVER — bright white + underline slides in */
.nav__links a:hover {
  color: var(--white);
}
.nav__links a:hover::after {
  right: 0;
}

/* ACTIVE — gradient text + glowing underline always present */
.nav__links a.active {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.nav__links a.active::after {
  right: 0;
}
.nav__links a.active::before {
  right: 0;
  opacity: 0.55;
}

/* Right actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* "My Account" pill button (matches reference) */
.nav__account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  transition:
    border-color 0.22s,
    background 0.22s,
    color 0.22s,
    transform 0.14s;
}
.nav__account:hover {
  border-color: var(--blue);
  background: var(--blue-dim);
  color: var(--blue);
}
.nav__account:active {
  transform: scale(0.95);
  background: rgba(1, 149, 255, 0.18);
}

/* WhatsApp icon button */
.nav__whatsapp {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition:
    border-color 0.22s,
    background 0.22s,
    color 0.22s,
    transform 0.22s var(--ease);
}
.nav__whatsapp:hover {
  border-color: var(--whatsapp);
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp);
  transform: scale(1.1) rotate(8deg);
}
.nav__whatsapp:active {
  transform: scale(0.9) rotate(0deg);
}

/* CTA button (used on inner pages) */
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--grad);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  box-shadow: var(--glow);
  transition:
    box-shadow 0.3s,
    transform 0.2s,
    filter 0.2s;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-lg);
  filter: brightness(1.08);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    opacity 0.3s,
    width 0.3s var(--ease),
    background 0.22s;
}

.nav__hamburger span:nth-child(2) {
  width: 65%;
}
.nav__hamburger:hover span {
  background: var(--blue);
}
.nav__hamburger:hover span:nth-child(2) {
  width: 100%;
}
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100vh;
  height: 100svh; /* excludes mobile browser chrome on iOS/Android */
  background: var(--charcoal);
  border-left: 1px solid var(--border);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 44px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
}

.nav__mobile.open {
  transform: translateX(0);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-links a {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 0;
  transition:
    color 0.22s,
    padding-left 0.28s var(--ease);
  letter-spacing: -0.02em;
}

.nav__mobile-links a:hover {
  color: var(--white);
  padding-left: 10px;
}
.nav__mobile-links a.active {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 10px;
}

.nav__mobile-contact {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.nav__mobile-contact p {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.nav__mobile-contact a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

/* Responsive — Nav */
@media (max-width: 1024px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
  }
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav__account {
    display: none;
  }
}

/* Backdrop — dims page behind the mobile nav panel */
.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.nav__backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* In-panel close button */
.nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav__close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

/* Small-phone adjustments ≤380px */
@media (max-width: 380px) {
  .nav__logo img {
    height: 44px;
  }
  .nav__mobile {
    padding: 56px 28px 40px;
  }
  .nav__mobile-links a {
    font-size: 1.65rem;
    padding: 8px 0;
  }
}

/* Short-viewport adjustments — Nest Hub, landscape tablets (≤700px tall) */
@media (max-height: 700px) {
  .nav__mobile {
    justify-content: flex-start;
    padding: 56px 44px 32px;
  }
  .nav__mobile-links {
    gap: 0;
  }
  .nav__mobile-links a {
    font-size: 1.4rem;
    padding: 7px 0;
  }
  .nav__mobile-contact {
    margin-top: 24px;
    padding-top: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════════════════════════ */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.container--xl { max-width: var(--wxl); }
.section {
  padding: var(--section-py) 0;
}
.section--dark     { background: var(--dark); }
.section--charcoal { background: var(--charcoal); }
.section--rich     { background: var(--rich-black); }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
.display-xl {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.display-md {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.display-sm {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.overline::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.body-lg {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--body-text);
}

.body-sm {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

.text-blue {
  color: var(--blue);
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 30px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: all 0.26s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary — blue gradient */
.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--glow);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-lg);
  filter: brightness(1.08);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Outline white */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  background: var(--blue-dim);
}

/* Blue outline */
.btn-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-border);
}
.btn-blue:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

/* Ghost */
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Dark (for coloured bg) */
.btn-dark {
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.btn-dark:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(-2px);
}

/* Sizes */
.btn-lg {
  padding: 16px 44px;
  font-size: 1rem;
}
.btn-sm {
  padding: 9px 20px;
  font-size: 0.8rem;
}
.btn--full { width: 100%; }

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.28s var(--ease);
  cursor: pointer;
}
.link-arrow::after {
  content: "→";
}
.link-arrow:hover {
  gap: 14px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════ */
.section-header {
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-header h2 {
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   PAGE CTA — shared pre-footer section
   ═══════════════════════════════════════════════════════════ */
.page-cta {
  position: relative;
  text-align: center;
  padding: var(--section-py) var(--px);
  background: var(--dark);
  overflow: hidden;
}
.page-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--blue-border) 50%,
    transparent 100%
  );
}
.page-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 55% at 50% 0%,
    rgba(1, 149, 255, 0.07) 0%,
    transparent 68%
  );
  pointer-events: none;
}
.page-cta__inner {
  position: relative;
  z-index: 1;
}
.page-cta__icon {
  font-size: 2.5rem;
  color: var(--blue);
  opacity: 0.75;
  margin-bottom: 18px;
  line-height: 1;
}
.page-cta__icon--emoji {
  font-size: 3rem;
  color: inherit;
  opacity: 1;
}
.page-cta__overline {
  justify-content: center;
}
.page-cta__title {
  margin-top: 14px;
  margin-bottom: 18px;
}
.page-cta__title:first-child {
  margin-top: 0;
}
.page-cta__text {
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-cta__footnote {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta__footnote--lg {
  font-size: 0.85rem;
  margin-top: 20px;
}
.page-cta__btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  gap: 12px;
}
.page-cta__btn--whatsapp:hover {
  background: var(--whatsapp-dk);
  color: var(--white);
}
.page-cta__form {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.page-cta__form input {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 13px 22px;
  outline: none;
  transition: border-color 0.25s;
}
.page-cta__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.page-cta__form input:focus {
  border-color: var(--blue);
}

@media (max-width: 640px) {
  .page-cta__form {
    flex-direction: column;
  }
  .page-cta__form input {
    border-radius: var(--r-md);
  }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.4s;
}

.stagger-grid [data-reveal]:nth-child(1) {
  transition-delay: 0.04s;
}
.stagger-grid [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger-grid [data-reveal]:nth-child(3) {
  transition-delay: 0.12s;
}
.stagger-grid [data-reveal]:nth-child(4) {
  transition-delay: 0.16s;
}
.stagger-grid [data-reveal]:nth-child(5) {
  transition-delay: 0.2s;
}
.stagger-grid [data-reveal]:nth-child(6) {
  transition-delay: 0.24s;
}
.stagger-grid [data-reveal]:nth-child(7) {
  transition-delay: 0.28s;
}
.stagger-grid [data-reveal]:nth-child(8) {
  transition-delay: 0.32s;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS (keyframes + helpers)
   ═══════════════════════════════════════════════════════════ */
.fade-in-up {
  animation: fadeUp 0.8s var(--ease-out) forwards;
  opacity: 0;
}
.fade-in-up-d1 {
  animation-delay: 0.15s;
}
.fade-in-up-d2 {
  animation-delay: 0.28s;
}
.fade-in-up-d3 {
  animation-delay: 0.38s;
}
.fade-in-up-d4 {
  animation-delay: 0.52s;
}
.fade-in-up-d5 {
  animation-delay: 0.66s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}
.fade-in-d1 {
  animation-delay: 0.3s;
}
.fade-in-d2 {
  animation-delay: 0.6s;
}
.fade-in-d3 {
  animation-delay: 0.9s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Split headline lines */
.split-line {
  overflow: hidden;
  display: block;
}

.split-line-inner {
  display: block;
  transform: translateY(105%);
  animation: splitUp 0.9s var(--ease-out) forwards;
}
.split-line:nth-child(2) .split-line-inner {
  animation-delay: 0.1s;
}
.split-line:nth-child(3) .split-line-inner {
  animation-delay: 0.2s;
}

@keyframes splitUp {
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes scrollBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

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

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9000;
  transform-origin: top;
  animation: pageReveal 0.65s var(--ease-out) forwards;
}
@keyframes pageReveal {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-bar__item {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.stats-bar__item:last-child {
  border-right: none;
}
.stats-bar__item:hover {
  background: var(--blue-dim);
}

.stats-bar__number {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.stats-bar__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive — Stats Bar */
@media (max-width: 1024px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar__item:nth-child(2) {
    border-right: none;
  }
  .stats-bar__item:nth-child(3) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .stats-bar__item:nth-child(n) {
    border-right: 1px solid var(--border);
  }
  .stats-bar__item:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 480px) {
  .stats-bar__item {
    padding: 32px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CARD
   ═══════════════════════════════════════════════════════════ */
.service-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: var(--charcoal);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.32s,
    transform 0.4s var(--ease),
    box-shadow 0.4s;
  backdrop-filter: blur(6px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--grad);
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  transition: right 0.5s var(--ease);
}

.service-card:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.service-card:hover::before {
  right: 0;
}

.service-card__number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-card__icon {
  width: 50px;
  height: 50px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.35rem;
  transition:
    background 0.28s,
    transform 0.28s,
    box-shadow 0.28s;
}
.service-card:hover .service-card__icon {
  transform: scale(1.08);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-card__tag {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  transition:
    background 0.22s,
    color 0.22s,
    border-color 0.22s;
}
.service-card:hover .service-card__tag {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  color: var(--blue);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 13px 16px;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  outline: none;
  resize: none;
  -webkit-appearance: none;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-control:focus {
  border-color: var(--blue);
  background: rgba(1, 149, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(1, 149, 255, 0.1);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 42px;
  cursor: pointer;
}
select.form-control option {
  background: #fff;
  color: #111;
}

/* ═══════════════════════════════════════════════════════════
   18. SCROLL INDICATOR
   ═══════════════════════════════════════════════════════════ */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBob 2.5s ease-in-out infinite;
  z-index: 5;
}

.scroll-indicator span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.scroll-indicator__line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  border-radius: var(--r-pill);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (inner pages shared)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 64px) var(--px) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.28) saturate(0.65);
  transition: transform 10s ease;
}
.page-hero:hover .page-hero__img {
  transform: scale(1.04);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.22) 52%,
      transparent 100%
    ),
    linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, transparent 65%);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.page-hero__badge {
  position: absolute;
  top: calc(var(--nav-h) + 24px);
  right: var(--px);
  font-size: clamp(5rem, 15vw, 15rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.page-hero__inner {
  max-width: var(--w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.page-hero__inner h1 {
  margin-top: 14px;
}
.page-hero__inner h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */ /* FOOTER */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: clamp(44px, 8vw, 80px) 0 36px;
}

/* GRID */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: start;
}

/* BRAND */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__logo img {
  height: 50px;
  width: auto;
}

.footer__tagline {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 280px;
}

/* SUBSCRIBE */
.footer__subscribe {
  display: flex;
  margin-top: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  max-width: 320px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.footer__subscribe:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 149, 255, 0.1);
}

.footer__subscribe input {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.8rem;
}

.footer__subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer__subscribe button {
  padding: 0 16px;
  background: var(--blue);
  border: none;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s;
}

.footer__subscribe button:hover {
  background: #0077cc;
}

/* COLUMNS */
.footer__col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition:
    color 0.22s,
    padding-left 0.22s;
}

.footer__col ul a:hover {
  color: var(--white);
  padding-left: 5px;
}

/* CONTACT */
.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.footer__contact-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.footer__contact-value {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.22s;
}

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

/* SOCIAL ICONS */
.footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__socials--contact {
  margin-top: 18px;
}

.footer__socials a {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  transition: all 0.22s ease;
}

.footer__socials a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

/* FOOTER BOTTOM */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.22);
}

.footer__bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.22s;
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.55);
}

.footer__credit {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.22);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════
   22. TOAST
   ═══════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 13px 22px;
  background: var(--dark);
  border: 1px solid var(--blue-border);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(100% + 60px));
  visibility: hidden;
  transition:
    transform 0.4s var(--ease-out),
    visibility 0s 0.4s;
}
.toast.show {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.4s var(--ease-out),
    visibility 0s 0s;
}

@media (max-width: 480px) {
  .toast {
    right: 12px;
    left: 12px;
    bottom: 16px;
    max-width: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   INDEX PAGE
   ═══════════════════════════════════════════════════════════ */
/* INDEX — HERO */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Vimeo iframe fills entire hero */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* prevent iframe stealing mouse */
  overflow: hidden;
}

/* The iframe is scaled up to always cover, centred */
.hero__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 aspect at full height */
  height: 100vh;
  height: 100svh;
  min-width: 100%;
  min-height: 56.25vw; /* 16:9 aspect at full width */
  transform: translate(-50%, -50%);
  border: none;
}

/* Gradient overlay — dark at bottom & left, lighter at top-right */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.26) 45%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, transparent 65%);
}

/* Vignette edges */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

/* Content sits on top */
.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 var(--px);
  max-width: var(--wxl);
  width: 100%;
  margin: 0 auto;
}

/* Live pill badge (matches reference tagline bar) */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 10px;
  background: rgba(1, 149, 255, 0.12);
  border: 1px solid rgba(1, 149, 255, 0.3);
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--grad);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero__badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Main headline */
.hero__headline {
  margin-bottom: 22px;
}

.hero__headline .display-xl {
  color: var(--white);
  display: block;
}

.hero__headline .display-xl.blue {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub text — matches reference short paragraph style */
.hero__sub {
  max-width: 720px;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* CTA row */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Showreel link matches reference "View Our Drone Showreel" style */
.hero__showreel {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.22s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hero__showreel:hover {
  color: var(--blue);
}

/* Hero video lightbox */
.hero-video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  padding: 16px;
}
.hero-video-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.hero-video-lightbox__frame {
  width: min(100%, 1500px);
  max-width: 99vw;
  max-height: 95vh;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  transform: scale(0.95);
  opacity: 0;
}
.hero-video-lightbox.active .hero-video-lightbox__frame {
  transform: scale(1);
  opacity: 1;
}
.hero-video-lightbox iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transition: opacity 0.4s ease;
  opacity: 0;
}
.hero-video-lightbox.active iframe {
  opacity: 1;
}
.hero-video-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.hero-video-lightbox__close:hover {
  background: var(--blue-dim);
  color: var(--blue);
}

/* Right-side reel column (desktop) */
.hero__reel {
  position: absolute;
  right: var(--px);
  bottom: clamp(80px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.hero__reel-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
}

@media (max-width: 768px) {
  .hero__reel { display: none; }
}

/* PLAY BUTTON */
.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(1, 149, 255, 0.18);
  border: 1.5px solid rgba(1, 149, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.play-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(1, 149, 255, 0.3);
  animation: pulse 2.2s ease infinite;
}
.play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--blue);
}
.play-btn svg path {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.play-btn:hover {
  background: var(--grad);
  transform: scale(1.1);
  box-shadow: var(--glow);
}
.play-btn:hover svg {
  fill: var(--white);
  color: var(--white);
}

/* MARQUEE */
.marquee-section {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--charcoal);
}

.marquee-track {
  display: flex;
  gap: 52px;
  animation: marqueeAnim 32s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  transition: color 0.28s;
}
.marquee-item:hover {
  color: rgba(255, 255, 255, 0.45);
}

.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
  flex-shrink: 0;
}

/* INDEX — ABOUT STRIP */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: rgba(1, 149, 255, 0.08);
  overflow: hidden;
}

/* Corner frames */
.about-visual::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 80px;
  height: 80px;
  border-top: 2.5px solid var(--blue);
  border-left: 2.5px solid var(--blue);
  border-radius: var(--r-sm) 0 0 0;
  opacity: 0.45;
}
.about-visual::after {
  content: "";
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 80px;
  height: 80px;
  border-bottom: 2.5px solid var(--blue);
  border-right: 2.5px solid var(--blue);
  border-radius: 0 0 var(--r-sm) 0;
  opacity: 0.45;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--grad);
  color: var(--white);
  padding: 20px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--glow-lg);
  text-align: center;
  min-width: 130px;
}
.about-badge__num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.about-badge__txt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.9;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* INDEX — SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* INDEX — INDUSTRIES */
.industries-section {
  background: var(--charcoal);
}

.industry-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.industry-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-tabs::-webkit-scrollbar {
  display: none;
}

.industry-tab {
  padding: 13px 26px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.22s,
    border-color 0.22s,
    background 0.22s;
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.industry-tab:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.industry-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--blue-dim);
}

@media (max-width: 1024px) {
  .industry-panel__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .industry-tab {
    padding: 12px 18px;
  }
}

.industry-img {
  aspect-ratio: 4/3;
  background: var(--dark);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(1, 149, 255, 0.1);
  border: 1px solid var(--border);
  overflow: hidden;
}

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.industry-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}
.industry-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

/* INDEX — PROCESS SECTION */
.process-section {
  background: var(--dark);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child {
  border-bottom: none;
}

.process-step__num {
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.28;
  line-height: 1;
  min-width: 76px;
  letter-spacing: -0.04em;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 10px;
  }
  .process-step__num {
    font-size: 2.2rem;
    min-width: auto;
  }
}

.process-step__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
}
.process-step__content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

/* CLIENTS SECTION */

.clients-section {
  padding: var(--section-py) 0;
  background: var(--rich-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Intro */
.clients-intro {
  text-align: center;
  margin-bottom: 60px;
}

.clients-intro p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 80px;
  row-gap: 50px;
  align-items: center;

  width: 100%;
  max-width: var(--wxl);
  margin: 0 auto;

  justify-items: start;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.client-logo-card img {
  max-width: 160px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;

  filter: grayscale(1) opacity(0.6);

  transition:
    filter 0.35s var(--ease),
    transform 0.28s var(--ease);
}

.client-logo-card:hover img {
  filter: none;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .clients-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 50px;
    row-gap: 40px;
  }
}

@media (max-width: 768px) {
  .clients-logo-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
  }
}

@media (max-width: 480px) {
  .clients-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 24px;
  }

  .client-logo-card img {
    max-height: 40px;
  }
}

/* FEATURED WORK CAROUSEL */
.featured-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 13.33px); /* 3 per row */
  scroll-snap-align: center;
  min-width: 0;
}

@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .carousel-item {
    flex: 0 0 100%;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-item {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--black);
}

.video-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-item:hover .pf-item__overlay {
  opacity: 1;
}

.video-item.is-playing .pf-item__overlay {
  opacity: 0;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(1, 149, 255, 0.25);
}

/* GOOGLE REVIEWS SECTION */
.reviews-section {
  background: var(--charcoal);
}

/* Google badge at top */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.google-badge__logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.google-badge__text {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.google-badge__rating {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
}

.google-badge__stars {
  color: var(--google-star);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

/* Individual review card */
.review-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.review-card:hover {
  border-color: var(--blue-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.review-card__meta {
  flex: 1;
}

.review-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.review-card__date {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 1px;
}

/* Google G icon */
.review-card__google {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.5;
}

.review-card__stars {
  color: var(--google-star);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.review-card__text {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

/* "Read more on Google" button */
.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}

.reviews-cta__text {
  font-size: 0.875rem;
  color: var(--muted);
}

.reviews-cta__text strong {
  color: var(--white);
  font-weight: 700;
}

/* Responsive — Reviews */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */
.about-hero-bg {
  /* Replace with actual photo background */
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1a2a 100%);
}

/* Story grid */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--dark);
  display: block;
}

/* Corner frame accents */
.story-visual::before,
.story-visual::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
}

.story-visual::before {
  top: -14px;
  left: -14px;
  border-top: 2.5px solid var(--blue);
  border-left: 2.5px solid var(--blue);
  border-radius: var(--r-sm) 0 0 0;
  opacity: 0.5;
}

.story-visual::after {
  bottom: -14px;
  right: -14px;
  border-bottom: 2.5px solid var(--blue);
  border-right: 2.5px solid var(--blue);
  border-radius: 0 0 var(--r-sm) 0;
  opacity: 0.5;
}

.story-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--grad);
  color: var(--white);
  padding: 20px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--glow-lg);
  text-align: center;
  min-width: 130px;
  z-index: 2;
}

.story-badge__num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.story-badge__txt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 3px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.pillar {
  padding: 18px 20px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    border-color 0.25s,
    background 0.25s;
}
.pillar:hover {
  border-color: var(--blue-border);
  background: var(--blue-dim);
}
.pillar__icon {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.pillar__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.pillar__desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  padding: 36px 28px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease);
}

.value-card:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  transform: translateY(-4px);
}

.value-card__num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(1, 149, 255, 0.04);
  line-height: 1;
  letter-spacing: -0.04em;
}

.value-card__icon {
  width: 46px;
  height: 46px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition:
    background 0.28s,
    transform 0.28s;
}

.value-card:hover .value-card__icon {
  transform: scale(1.05);
}

.value-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.value-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.72;
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.why-item > *:not(.why-item__icon) {
  flex: 1;
  min-width: 0;
}

.why-item:last-child {
  border-bottom: none;
}

.why-item__icon {
  width: 42px;
  height: 42px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition:
    background 0.25s,
    transform 0.25s;
}

.why-item:hover .why-item__icon {
  transform: scale(1.05);
}

.why-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.why-item__desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

/* Why visual */
.why-visual {
  position: relative;
}

.why-visual__img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: rgba(1, 149, 255, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
}

.why-visual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-stat {
  position: absolute;
  background: var(--grad);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--glow-lg);
  text-align: center;
  min-width: 100px;
}

.why-stat--tl {
  top: -12px;
  left: -12px;
}
.why-stat--br {
  bottom: -12px;
  right: -12px;
}

.why-stat__num {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.why-stat__txt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 2px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  transition: transform 0.35s var(--ease);
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-card__img {
  transform: scale(1.02);
}

.team-card__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.team-card:hover .team-card__img::after {
  transform: scaleX(1);
}

.team-card__person {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 3px;
}

.team-card__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-bottom: 3px;
}

.team-card__role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
}

/* Milestones */
.milestone-list {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}

.milestone-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.milestone-item:last-child {
  border-bottom: none;
}

.milestone-year {
  font-size: 1.55rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.milestone-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.milestone-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.68;
}

/* Responsive — About page */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-visual__img {
    aspect-ratio: 16 / 9;
    font-size: 4rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    gap: 32px;
  }
  .about-strip {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .story-badge {
    right: 12px;
    bottom: 12px;
  }
  .about-badge {
    right: 12px;
    bottom: 12px;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .milestone-item {
    grid-template-columns: 72px 1fr;
    gap: 18px;
  }
  .milestone-year {
    font-size: 1.3rem;
  }
  .why-stat--tl {
    top: 0;
    left: 0;
  }
  .why-stat--br {
    bottom: 0;
    right: 0;
  }
}

@media (max-width: 640px) {
  .value-card {
    padding: 24px 20px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .why-stat {
    padding: 10px 14px;
    min-width: 72px;
  }
  .why-stat__num {
    font-size: 1.3rem;
  }
  .why-stat--tl {
    top: 10px;
    left: 10px;
  }
  .why-stat--br {
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════ */
/*  SERVICES PAGE — SUB-NAV  */
.services-subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: var(--rich-black);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.services-subnav::-webkit-scrollbar {
  display: none;
}

.services-subnav__inner {
  display: flex;
  align-items: stretch;
  max-width: var(--wxl);
  margin: 0 auto;
  padding: 0 var(--px);
}

.services-subnav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.22s,
    border-color 0.22s,
    background 0.22s;
  text-decoration: none;
}

.services-subnav__link:hover,
.services-subnav__link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--blue-dim);
}

.services-subnav__num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .services-subnav__link {
    padding: 13px 14px;
    font-size: 0.75rem;
  }
}

/* Responsive — Services page */
@media (max-width: 768px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
  }
  .service-hero-card {
    aspect-ratio: 3/2;
  }
  .add-services-grid {
    grid-template-columns: 1fr;
    border-radius: var(--r-md);
  }
  .add-service-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .add-service-item:last-child {
    border-bottom: none;
  }
}

/* Individual service deep-dive sections */
.service-detail {
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:nth-child(even) {
  background: var(--charcoal);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Flip layout for even items */
.service-detail:nth-child(even) .service-detail__grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail__grid > * {
  direction: ltr;
}

.service-detail__visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
}

.service-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image */
.service-detail__visual--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(1, 149, 255, 0.08);
}

.service-detail__badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--grad);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--glow);
}

.service-detail__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(1, 149, 255, 0.15);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.service-detail__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.service-detail__desc {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.82;
  margin-bottom: 24px;
}

.service-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 32px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.58);
}

.deliverable-item::before {
  content: "→";
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Add-on services strip */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.addon-item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition:
    background 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.addon-item:last-child {
  border-right: none;
}

.addon-item:hover {
  background: rgba(1, 149, 255, 0.06);
}

.addon-item__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--blue);
  transition:
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    color 0.28s var(--ease);
}

.addon-item__icon i {
  display: block;
  line-height: 1;
}

.addon-item:hover .addon-item__icon {
  background: rgba(1, 149, 255, 0.18);
  border-color: rgba(1, 149, 255, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(1, 149, 255, 0.18);
  color: var(--blue-lt);
}

.addon-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.addon-item__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.68;
}

@media (max-width: 1024px) {
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .addon-item {
    border-bottom: 1px solid var(--border);
  }

  .addon-item:nth-child(2n) {
    border-right: none;
  }

  .addon-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }

  .addon-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .addon-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail:nth-child(even) .service-detail__grid {
    direction: ltr;
  }
}

@media (max-width: 480px) {
  .service-deliverables {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO PAGE
   ═══════════════════════════════════════════════════════════ */
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-button {
  padding: 9px 22px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.42);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition:
    color 0.22s,
    border-color 0.22s,
    background 0.22s,
    transform 0.2s;
}

.filter-button.active,
.filter-button:hover {
  color: var(--blue);
  border-color: var(--blue-border);
  background: var(--blue-dim);
  transform: translateY(-1px);
}

/* Portfolio project gallery section (custom padding + charcoal bg) */
.portfolio-gallery {
  padding: 5rem var(--px);
  background: var(--charcoal);
}

/* Inline spacer used between content blocks in portfolio articles */
.spacer-xl { margin-bottom: 80px; }

/* Masonry grid — shared for portfolio and project galleries */
.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
  grid-auto-rows: 320px;
  margin-bottom: 3rem;
}

/* Responsive — Portfolio & Gallery */
@media (max-width: 1024px) {
  .portfolio-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
  }
  .portfolio-masonry .pf-item {
    grid-column: span 1 !important;
  }
}

@media (max-width: 640px) {
  .portfolio-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 10px;
  }
  .case-study__results {
    grid-template-columns: 1fr 1fr;
  }
}

.pf-item {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-item.hide {
  display: none;
}

.blog-card.hide {
  display: none;
}

/* Gallery images */
.pf-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease);
}

.pf-item--wide {
  grid-column: span 8;
}
.pf-item--half {
  grid-column: span 6;
}
.pf-item--third {
  grid-column: span 4;
}
.pf-item--full {
  grid-column: span 12;
}

/* Gallery items without modifiers use nth-child distribution */
.portfolio-masonry
  .pf-item:nth-child(3n + 1):not(.pf-item--wide):not(.pf-item--half):not(
    .pf-item--third
  ):not(.pf-item--full) {
  grid-column: span 4;
}

.portfolio-masonry
  .pf-item:nth-child(3n + 2):not(.pf-item--wide):not(.pf-item--half):not(
    .pf-item--third
  ):not(.pf-item--full) {
  grid-column: span 4;
}

.portfolio-masonry
  .pf-item:nth-child(3n):not(.pf-item--wide):not(.pf-item--half):not(
    .pf-item--third
  ):not(.pf-item--full) {
  grid-column: span 4;
}

.pf-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease);
}

.pf-item__img-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.pf-item:hover .pf-item__img,
.pf-item > img:hover {
  transform: scale(1.06);
}

.pf-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pf-item__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.38s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: inherit;
}

.pf-item:hover .pf-item__overlay {
  opacity: 1;
}

.pf-item__cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
}

.pf-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.pf-item__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.58;
}

.pf-item__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap 0.25s;
}

.pf-item__link:hover {
  gap: 12px;
}

/* WEBSITES SECTION */
.websites-section {
  background: var(--charcoal);
}

.websites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Each card */
.site-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}

.site-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* Browser chrome bar */
.site-card__browser {
  background: var(--mid);
  border-bottom: 1px solid var(--border);
}

.site-card__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.site-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.site-card__dot--red {
  background: #ff5f57;
}
.site-card__dot--yellow {
  background: #ffbd2e;
}
.site-card__dot--green {
  background: #28c840;
}

.site-card__url {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.28);
  font-family: monospace;
  margin-left: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The screenshot area */
.site-card__screen {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
}

.site-card__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s var(--ease);
}

.site-card:hover .site-card__screen img {
  transform: translateY(-5%);
}

/* Empty / placeholder screen */
.site-card__screen--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(1, 149, 255, 0.15);
  font-size: 2.5rem;
}

.site-card__screen--empty span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.14);
}

/* Card body */
.site-card__body {
  padding: 22px 22px 26px;
}

.site-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.site-card__industry {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.site-card__year {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
}

.site-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.site-card__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: 16px;
}

.site-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  opacity: 0.5;
  transition:
    opacity 0.22s,
    gap 0.22s,
    color 0.22s;
  text-decoration: none;
}

.site-card:hover .site-card__link {
  opacity: 1;
  gap: 10px;
}

.site-card__link--blue {
  color: var(--blue);
  opacity: 1;
}
.site-card__link--blue:hover {
  gap: 10px;
}

/* Placeholder card has dashed border */
.site-card--placeholder {
  border-style: dashed;
}
.site-card--placeholder:hover {
  border-color: var(--blue-border);
}

/* Portfolio item — make the whole card a link */
.pf-item__link-wrap {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.pf-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap 0.25s;
}

.pf-item:hover .pf-item__cta {
  gap: 12px;
}

@media (max-width: 1024px) {
  .websites-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pf-item__overlay {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .pf-item__desc {
    display: none;
  }
}

@media (max-width: 480px) {
  .portfolio-masonry {
    grid-auto-rows: 200px;
  }
}

@media (max-width: 600px) {
  .websites-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   PROJECT PAGES
   ═══════════════════════════════════════════════════════════ */
/* ── Hero: full-height video (mirrors index.php hero exactly) ── */
.project-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.project-hero__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  height: 100svh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: none;
}

.project-hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.project-hero__image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.28) 50%,
      rgba(0, 0, 0, 0.06) 100%
    ),
    linear-gradient(to right, rgba(0, 0, 0, 0.58) 0%, transparent 65%);
}

.project-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    transparent 52%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

/* Blue accent line at bottom — matches index hero */
.project-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  z-index: 5;
}

.project-hero__content {
  position: relative;
  z-index: 5;
  padding: 0 var(--px) 80px;
  width: 100%;
  max-width: var(--wxl);
  margin: 0 auto;
}

/* ── Breadcrumb trail (replaces the badge pill) ── */
.pj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 2px solid var(--blue);
}

.pj-breadcrumb a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}
.pj-breadcrumb a:hover {
  color: var(--blue);
}

.pj-breadcrumb__sep {
  font-size: 0.55rem;
  opacity: 0.4;
}

.pj-breadcrumb__current {
  color: var(--blue);
  font-weight: 600;
}

/* ── Title block (replaces the old h1) ── */
.pj-hero-title {
  margin-bottom: 20px;
}

/* Small project index number above the name */
.pj-hero-title__index {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 10px;
}

.pj-hero-title__name {
  display: block;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--white);
}

.pj-hero-title__name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* ── Descriptor line (replaces the body-lg paragraph) ── */
.pj-hero-desc {
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
  max-width: 480px;
  letter-spacing: 0.01em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pj-breadcrumb {
    margin-bottom: 22px;
  }
  .pj-hero-title__name {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
  .pj-hero-desc {
    font-size: 0.82rem;
    max-width: 100%;
  }
}

.project-hero__content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 18px 0 24px;
}

.project-hero__content h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Meta pills row */
.hero-meta {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.hero-meta__item {
  padding: 0 32px 0 0;
  margin-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-meta__item:last-child {
  border-right: none;
}

.hero-meta__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.hero-meta__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* ── Body layout: content + sticky sidebar ── */
.project-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  max-width: var(--w);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--px);
}

/* ── Section divider line ── */
.section-rule {
  width: 56px;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-pill);
  margin: 44px 0;
}

/* ── Deliverables list ── */
.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0;
}

.deliverable {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.deliverable:first-child {
  padding-top: 0;
}
.deliverable:last-child {
  border-bottom: none;
}

.deliverable__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-top: 2px;
  transition:
    background 0.25s,
    transform 0.25s;
}

.deliverable:hover .deliverable__icon {
  background: rgba(1, 149, 255, 0.2);
  transform: scale(1.06);
}

.deliverable__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.deliverable__desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

/* ── Inline video — "standalone interactive" ── */
.inline-video-block {
  margin: 44px 0;
}

.inline-video-block__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.inline-video-block__label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-pill);
}

.inline-video-block__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* video-item already fully styled in style.css */

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 28px 0;
}

.stat-cell {
  background: var(--charcoal);
  padding: 32px 28px;
  transition: background 0.28s;
}

.stat-cell:hover {
  background: var(--blue-dim);
}

.stat-cell__num {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-cell__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

/* ── Quote / impact callout ── */
.callout-block {
  background: var(--dark);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 28px 32px;
  margin: 36px 0;
}

.callout-block p {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin: 0;
}

/* ── Sidebar card ── */
.sidebar-card {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  overflow: hidden;
}

.sidebar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-pill) 0 0 0;
  transition: right 0.5s var(--ease);
}

.sidebar-card:hover::before {
  right: 0;
}

.sidebar-card__heading {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.scope-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid var(--border);
  transition:
    color 0.2s,
    padding-left 0.22s;
}

.scope-list li:last-child {
  border-bottom: none;
}

.scope-list li:hover {
  color: var(--white);
  padding-left: 4px;
}

.scope-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

/* ─── LIGHTBOX ─── */
.project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.project-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.project-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  max-height: 90svh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}

.project-lightbox.active {
  touch-action: none;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-lt);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s;
  z-index: 9001;
}

.project-lightbox__close:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  color: var(--blue);
}

.project-lightbox__prev,
.project-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-lt);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s;
  z-index: 9001;
}

.project-lightbox__prev {
  left: 28px;
}

.project-lightbox__next {
  right: 28px;
}

.project-lightbox__prev:hover,
.project-lightbox__next:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  color: var(--blue);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .project-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .project-body aside {
    display: none;
  }
}

@media (max-width: 768px) {
  .project-hero__content {
    padding-bottom: 56px;
  }
  .hero-meta {
    gap: 0;
    flex-wrap: wrap;
  }
  .hero-meta__item {
    padding: 12px 18px 12px 0;
    margin-right: 18px;
    margin-bottom: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .project-hero__content {
    padding-bottom: 40px;
  }
  .hero-meta {
    margin-top: 20px;
    padding-top: 16px;
  }
  .hero-meta__item {
    padding-right: 16px;
    margin-right: 16px;
  }
  .pj-breadcrumb {
    margin-bottom: 16px;
  }
  .pj-hero-title {
    margin-bottom: 14px;
  }
}

/* Landscape / short-viewport devices (Nest Hub 600px tall, landscape phones) */
@media (max-height: 650px) {
  .project-hero {
    min-height: 0;
  }
  .project-hero__content {
    padding-bottom: 36px;
  }
  .hero-meta {
    margin-top: 20px;
    padding-top: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════
   BLOG PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Shared tag + meta atoms ── */
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.blog-date,
.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Featured article card ── */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.3s,
    box-shadow 0.35s,
    transform 0.35s var(--ease);
}

.blog-featured:hover {
  border-color: var(--blue-border);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.blog-featured__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
}

.blog-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.blog-featured:hover .blog-featured__img-wrap img {
  transform: scale(1.05);
}

.blog-featured__body {
  background: var(--charcoal);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-featured__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.blog-featured__excerpt {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.75;
}

.blog-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  transition: gap 0.25s;
}

.blog-featured:hover .blog-featured__cta {
  gap: 14px;
}

/* ── Filter bar ── */
.blog-filter-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 44px;
}
.blog-filter-bar .filter-group { margin-bottom: 0; }

/* ── Article grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}

.blog-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-card__img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark);
}

.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.blog-card:hover .blog-card__img-wrap img {
  transform: scale(1.06);
}

.blog-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card__title a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.22s;
}

.blog-card__title a:hover {
  color: var(--blue);
}

.blog-card__excerpt {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.25s;
}

.blog-card:hover .blog-card__cta {
  gap: 12px;
}

/* ── Pagination ── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.blog-pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.22s;
}

.blog-pagination__btn:hover:not(:disabled) {
  color: var(--blue);
  border-color: var(--blue-border);
  background: var(--blue-dim);
}

.blog-pagination__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.blog-pagination__pages {
  display: flex;
  gap: 6px;
}

.blog-pagination__page {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.22s;
}

.blog-pagination__page:hover,
.blog-pagination__page.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Responsive blog */
@media (max-width: 1024px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured__img-wrap {
    aspect-ratio: 16 / 7;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured__body {
    padding: 28px 24px;
  }
  .contact-map-wrap {
    padding: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
       BLOG ARTICLE PAGES
    ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.article-hero {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) var(--px) 72px;
  overflow: hidden;
}

.article-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.32) saturate(0.7);
  transition: transform 10s ease;
  display: block;
}

.article-hero:hover .article-hero__img {
  transform: scale(1.03);
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.28) 55%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
}

/* Bottom blue accent line — consistent with all inner pages */
.article-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.article-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--w);
  margin: 0 auto;
  width: 100%;
}

.article-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
}
.article-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.article-hero__breadcrumb a:hover {
  color: var(--blue);
}
.article-hero__breadcrumb i {
  font-size: 0.5rem;
  opacity: 0.5;
}

.article-hero__title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 820px;
  margin: 16px 0 28px;
}
.article-hero__title span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-hero__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* ── Main layout: article + sidebar ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  max-width: var(--w);
  margin: 0 auto;
  padding: 72px var(--px) 100px;
  align-items: start;
}

/* ── Article prose body ── */
.article-body {
  min-width: 0; /* prevent grid blowout */
}

.article-intro {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  margin-bottom: 48px;
}

/* Section headings inside article */
.article-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--white);
  margin: 52px 0 20px;
}
.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body p {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}
.article-body p:last-child {
  margin-bottom: 0;
}

/* Numbered industry cards */
.industry-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 28px 0 48px;
}

.industry-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color 0.28s,
    transform 0.28s var(--ease),
    box-shadow 0.28s;
}
.industry-item:hover {
  border-color: var(--blue-border);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.industry-item__num {
  background: var(--blue-dim);
  border-right: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  min-height: 60px;
}

.industry-item__body {
  padding: 18px 22px;
}

.industry-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.industry-item__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

/* In-article image grid */
.article-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 44px 0;
  border-radius: var(--r-md);
  overflow: hidden;
}
.article-img-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s var(--ease),
    filter 0.4s;
  filter: brightness(0.88);
}
.article-img-grid img:hover {
  transform: scale(1.04);
  filter: brightness(1);
}

/* CTA banner inside article */
.article-cta-banner {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 32px 36px;
  margin: 52px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.article-cta-banner__icon {
  font-size: 2rem;
  color: var(--blue);
  flex-shrink: 0;
  opacity: 0.8;
}
.article-cta-banner__text {
  flex: 1;
  min-width: 220px;
}
.article-cta-banner__text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.article-cta-banner__text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0;
}

/* USP list "What sets us apart" */
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 28px 0 48px;
}
.usp-item {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    border-color 0.28s,
    background 0.28s;
}
.usp-item:hover {
  border-color: var(--blue-border);
  background: var(--dark);
}
.usp-item__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition:
    background 0.25s,
    transform 0.25s;
}
.usp-item:hover .usp-item__icon {
  background: rgba(1, 149, 255, 0.2);
  transform: scale(1.08);
}
.usp-item__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.usp-item__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

/* Article divider */
.article-rule {
  width: 56px;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-pill);
  margin: 52px 0;
}

/* Share bar */
.article-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 56px;
}
.article-share__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    color 0.22s,
    border-color 0.22s,
    background 0.22s;
}
.article-share__btn:hover {
  color: var(--blue);
  border-color: var(--blue-border);
  background: var(--blue-dim);
}
.article-share__btn i {
  font-size: 0.9rem;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.post-nav__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.28s,
    background 0.28s,
    transform 0.28s var(--ease);
}
.post-nav__item:hover {
  border-color: var(--blue-border);
  background: var(--dark);
  transform: translateY(-2px);
}
.post-nav__item--next {
  justify-content: flex-end;
  text-align: right;
}
.post-nav__thumb {
  width: 64px;
  height: 48px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.post-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-nav__dir {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
}
.post-nav__dir i {
  font-size: 0.55rem;
}
.post-nav__category {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.post-nav__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* ── SIDEBAR ── */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  overflow: hidden;
  position: relative;
}
/* Animated top-bar on hover */
.sidebar-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--grad);
  transition: right 0.5s var(--ease);
}
.sidebar-widget:hover::before {
  right: 0;
}

.sidebar-widget__heading {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* TOC */
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.toc-list li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition:
    color 0.2s,
    padding-left 0.22s;
  line-height: 1.4;
}
.toc-list li:last-child a {
  border-bottom: none;
}
.toc-list li a:hover {
  color: var(--blue);
  padding-left: 4px;
}
.toc-list li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Author widget */
.author-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.author-widget__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--blue-border);
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue);
  flex-shrink: 0;
}
.author-widget__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.author-widget__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}
.author-widget__bio {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.sidebar-widget:has(.author-widget) .sidebar-widget__heading {
  text-align: center;
}

/* Related posts */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.related-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.22s;
}
.related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.related-item:hover {
  opacity: 0.75;
}
.related-item__thumb {
  width: 68px;
  height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dark);
}
.related-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-item__cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.related-item__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* Drone services CTA widget */
.cta-widget {
  background: linear-gradient(
    135deg,
    rgba(1, 149, 255, 0.14) 0%,
    rgba(0, 198, 255, 0.06) 100%
  );
  border-color: var(--blue-border);
  text-align: center;
}
.cta-widget__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.cta-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cta-widget p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .article-hero {
    min-height: 65vh;
    min-height: 65svh;
    padding-bottom: 52px;
  }
  .article-hero__title {
    font-size: clamp(1.7rem, 7vw, 2.8rem);
  }
  .article-img-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .article-img-grid img {
    aspect-ratio: 16/9;
  }
  .post-nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  .article-cta-banner {
    flex-direction: column;
    gap: 18px;
  }
  .industry-item {
    grid-template-columns: 42px 1fr;
  }
}

@media (max-width: 480px) {
  .article-layout {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .article-hero__breadcrumb {
    display: none;
  }
  .article-share {
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════
   HIRE PAGE (Equipment Rental)
   ═══════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. INTRO SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hire-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hire-intro__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hire-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.hire-feature:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
}
.hire-feature__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hire-feature__text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hire-feature__text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. HOW IT WORKS STEPS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hire-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hire-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease);
}
.hire-step:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
}
.hire-step__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(1, 149, 255, 0.05);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hire-step__icon {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.hire-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.hire-step__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. CATALOGUE — NAV BAR + GRID + CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Sticky category nav */
.hire-cat-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 89;
  background: var(--rich-black);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
}

.hire-cat-nav__inner {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 var(--px);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.hire-cat-nav__inner::-webkit-scrollbar {
  display: none;
}

/* Scroll arrow buttons */
.hire-cat-scroll-btn {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.hire-cat-scroll-btn--left  { background: linear-gradient(to right, var(--rich-black) 60%, transparent); }
.hire-cat-scroll-btn--right { background: linear-gradient(to left,  var(--rich-black) 60%, transparent); }
.hire-cat-scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.hire-cat-scroll-btn:hover { color: var(--white); }

.hire-cat-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  border-radius: 0;
  background: none;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.hire-cat-btn i {
  font-size: 0.82rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.hire-cat-btn:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
}
.hire-cat-btn:hover i {
  opacity: 1;
}
.hire-cat-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--blue-dim);
}
.hire-cat-btn.active i {
  opacity: 1;
}

/* Grid */
.hire-catalogue {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

/* Card */
.hire-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.hire-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}
.hire-card.hidden {
  display: none;
}

/* Card "in cart" highlight */
.hire-card.in-cart {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

/* Card image */
.hire-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
  flex-shrink: 0;
}
.hire-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.hire-card:hover .hire-card__img img {
  transform: scale(1.06);
}

/* Pill label */
.hire-card__cat-pill,
.hire-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Availability pill */
.hire-card__img .hire-avail-pill {
  position: absolute;
  top: 12px;
  right: 12px;
}
.hire-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hire-avail-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hire-avail-pill--yes {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--clr-success-lt);
}
.hire-avail-pill--yes::before {
  background: var(--clr-success-lt);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
}
.hire-avail-pill--no {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--clr-error-lt);
}
.hire-avail-pill--no::before {
  background: var(--clr-error-lt);
}

/* Badge */
.hire-card__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  color: var(--blue);
}
.hire-card__badge--amber {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: var(--clr-warning-lt);
}

/* Card body */
.hire-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.hire-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hire-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1;
}
.hire-spec-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  line-height: 1;
}

/* Card footer */
.hire-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hire-card__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hire-card__rate {
  font-size: 0.78rem;
  color: var(--muted);
}
.hire-card__rate strong {
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
}
.hire-card__per {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Add-to-cart button (class used by both HTML attr & JS) ── */
/* NOTE: hire.php uses class="hire-card__cta cart-add-btn" so both classes
   are on the same element. All visual state is driven here. */
.cart-add-btn,
.hire-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}
.cart-add-btn:hover,
.hire-card__cta:hover {
  background: rgba(1, 149, 255, 0.15);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
/* Added state — green */
.cart-add-btn.added,
.hire-card__cta.added {
  background: rgba(34, 197, 94, 0.12);
  border-color: var(--clr-success);
  color: var(--clr-success);
}
/* Hover on added — hint at removal with red */
.cart-add-btn.added:hover,
.hire-card__cta.added:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--clr-error);
  color: var(--clr-error);
}
/* Unavailable */
.cart-add-btn--unavail,
.hire-card__cta--unavail {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

/* Catalogue empty state */
.catalogue-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted, #888);
}
.catalogue-empty i {
  font-size: 2.5rem;
  opacity: 0.25;
  margin-bottom: 16px;
  display: block;
}
.catalogue-empty p {
  font-size: 0.9rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. LEGACY HIRE GRID (older hire-item blocks — kept for compat)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hire-category {
  margin-bottom: 64px;
}
.hire-category:last-child {
  margin-bottom: 0;
}
.hire-category__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.hire-category__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.hire-category__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hire-item {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.hire-item:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.hire-item__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark);
}
.hire-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.hire-item:hover .hire-item__img-wrap img {
  transform: scale(1.05);
}
.hire-item__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hire-item__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hire-item__specs {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.55;
}
.hire-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hire-item__rate {
  font-size: 0.82rem;
  color: var(--muted);
}
.hire-item__rate strong {
  color: var(--white);
  font-weight: 700;
}
.hire-item__btn {
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    background 0.22s,
    color 0.22s;
}
.hire-item__btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* Hire enquiry form card */
.hire-form-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 44px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. NAV CART BUTTON & BADGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.14s;
}
.nav__cart:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.06);
}
.nav__cart:active {
  transform: scale(0.88);
}

.nav__cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. CART DRAWER — overlay + shell
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--charcoal, #1a1a1a);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* bk-panel slides inside this */
}
.cart-drawer.open {
  transform: translateX(0);
}

/* Inner: flex column, does NOT scroll itself */
.cart-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: hidden; /* scroll happens in cart-scroll-zone only */
  padding: 0;
}

/* Header — sticky at top */
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: var(--charcoal, #1a1a1a);
}
.cart-drawer__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-drawer__title i {
  color: var(--blue);
}
.cart-drawer__close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--muted, #999);
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 1rem;
  transition:
    color 0.2s,
    background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. STEP INDICATOR (Cart → Details)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 0;
  flex-shrink: 0;
}
.cart-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-step.active {
  color: var(--blue);
}
.cart-step i {
  font-size: 0.72rem;
}
.cart-step-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.6rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. CART SCROLL ZONE — dates + operators + items scroll here
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-scroll-zone {
  flex: 1;
  overflow-y: auto;
  min-height: 0; /* critical for flex scroll */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. DATE PICKER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-dates {
  padding: 16px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cart-date-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-date-group label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-date-group label i {
  color: var(--blue);
  font-size: 0.75em;
}
.cart-date-group input[type="date"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: var(--white);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  color-scheme: dark;
}
.cart-date-group input[type="date"]:focus {
  outline: none;
  border-color: var(--blue);
}
.cart-dates__note {
  grid-column: 1 / -1;
  font-size: 0.74rem;
  color: var(--blue);
  text-align: center;
  margin: 0;
  min-height: 1.1em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. OPERATOR MULTI-SELECT + QUANTITY STEPPER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-operator {
  padding: 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Label paragraph (not a <label> element in the new markup) */
.cart-operator__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.cart-operator__label i {
  color: var(--blue);
  font-size: 0.75em;
}

.cart-operator__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Each operator row */
.cart-op-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.cart-op-row:has(input:checked) {
  background: rgba(1, 149, 255, 0.07);
  border-color: var(--blue-border);
}
.cart-op-row:hover {
  background: rgba(255, 255, 255, 0.07);
}
.cart-op-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}
.cart-op-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cart-op-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.cart-op-rate {
  font-size: 0.67rem;
  color: var(--blue);
}

/* Quantity stepper — visible only when checkbox ticked */
.cart-op-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.op-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition:
    background 0.15s,
    border-color 0.15s;
  padding: 0;
}
.op-qty-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.op-qty-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  min-width: 18px;
  text-align: center;
}
.cart-op-note {
  font-size: 0.69rem;
  color: var(--muted, #888);
  margin: 0;
  line-height: 1.4;
  min-height: 1em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. CART ITEMS LIST
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-items {
  padding: 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 60px;
  /* no flex:1 — the scroll zone handles height */
}

.cart-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px 0;
  color: var(--muted, #888);
}
.cart-empty i {
  font-size: 2rem;
  opacity: 0.3;
}
.cart-empty p {
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  transition: background 0.2s;
}
.cart-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.cart-item__img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__cat {
  font-size: 0.7rem;
  color: var(--muted, #888);
}
.cart-item__price {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
}
.cart-item__remove {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: var(--muted, #888);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition:
    color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}
.cart-item__remove:hover {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. CART SUMMARY — sticky above CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-summary {
  flex-shrink: 0;
  margin: 12px 20px 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted, #888);
}
.cart-summary__total {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--white);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2px;
}
.cart-summary__deposit {
  font-size: 0.76rem;
  color: var(--blue);
}

/* Operator row — hidden until operators selected */
#summaryOpRow {
  display: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. CART CTA — sticky at very bottom
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-cta {
  flex-shrink: 0;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--charcoal, #1a1a1a);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cart-cta__checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-cta__note {
  font-size: 0.72rem;
  color: var(--muted, #888);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.cart-cta__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--whatsapp);
  text-decoration: none;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.cart-cta__whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
}
.cart-cta__whatsapp i {
  font-size: 1.05rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. BOOKING DETAILS PANEL (Step 2 — slides over the cart)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bk-panel {
  position: absolute;
  inset: 0;
  background: var(--charcoal, #1a1a1a);
  z-index: 10;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
.bk-panel.open {
  transform: translateX(0);
}

.bk-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: var(--charcoal, #1a1a1a);
}
.bk-panel__back {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--muted, #999);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  flex-shrink: 0;
}
.bk-panel__back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.bk-panel__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* Scrollable form inside panel */
.bk-form {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  display: flex;
  flex-direction: column;
}

/* Section dividers */
.bk-section {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bk-section:last-of-type {
  border-bottom: none;
}

.bk-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bk-section__label i {
  color: var(--blue);
}
.bk-section__note {
  font-size: 0.74rem;
  color: var(--muted, #888);
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Fields */
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.bk-field:last-child {
  margin-bottom: 0;
}
.bk-field label {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--muted, #aaa);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.bk-field input[type="text"],
.bk-field input[type="email"],
.bk-field input[type="tel"],
.bk-field input[type="url"],
.bk-field input[type="date"],
.bk-field input[type="time"],
.bk-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: var(--white);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  color-scheme: dark;
}
.bk-field input:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.bk-field input.bk-invalid,
.bk-field textarea.bk-invalid {
  border-color: #ff4444;
}
.bk-field textarea {
  resize: vertical;
  min-height: 68px;
}

.bk-hint {
  font-size: 0.67rem;
  font-weight: 400;
  color: var(--muted, #888);
}
.bk-req {
  color: #ff6b6b;
  margin-left: 1px;
}

/* Two-col grid inside panel */
.bk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Radio group */
.bk-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.bk-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--white);
  transition:
    background 0.18s,
    border-color 0.18s;
}
.bk-radio:has(input:checked) {
  background: rgba(1, 149, 255, 0.07);
  border-color: var(--blue-border);
}
.bk-radio:hover {
  background: rgba(255, 255, 255, 0.07);
}
.bk-radio input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin: 0;
}

/* File attach button */
.bk-file-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 0.8rem;
  color: var(--muted, #aaa);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.bk-file-btn:hover {
  border-color: var(--blue);
  color: var(--white);
}
.bk-file-btn i {
  color: var(--blue);
}

/* Agreement checkboxes */
.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.77rem;
  color: var(--muted, #aaa);
  line-height: 1.45;
  cursor: pointer;
  margin-bottom: 8px;
}
.bk-check:last-child {
  margin-bottom: 0;
}
.bk-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}
.bk-check a {
  color: var(--blue);
  text-decoration: none;
}
.bk-check a:hover {
  text-decoration: underline;
}
.bk-check input.bk-invalid {
  outline: 2px solid #ff4444;
  outline-offset: 2px;
}

/* Submit area */
.bk-submit {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bk-success {
  display: none; /* shown via JS style.display = 'flex' after booking */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  height: 100%;
}
.bk-success__icon {
  font-size: 56px;
  color: var(--clr-success);
}
.bk-success__heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}
.bk-success__ref {
  font-size: 0.95rem;
  color: var(--text-muted, #6b7280);
  margin: 0;
}
.bk-success__note {
  font-size: 0.875rem;
  color: var(--text-muted, #6b7280);
  max-width: 280px;
  margin: 0;
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. LOGIN PROMPT SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1200px) {
  .hire-catalogue {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .hire-cat-btn {
    padding: 14px 18px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .hire-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hire-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hire-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hire-catalogue {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hire-cat-btn {
    padding: 13px 16px;
    font-size: 0.72rem;
  }
  .hire-card__name {
    font-size: 0.88rem;
  }
  .bk-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hire-intro__features {
    grid-template-columns: 1fr;
  }
  .hire-grid {
    grid-template-columns: 1fr;
  }
  .hire-steps {
    grid-template-columns: 1fr;
  }
  .hire-form-card {
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .hire-catalogue {
    grid-template-columns: 1fr;
  }
  .hire-cat-nav__inner {
    padding: 0 8px;
  }
  .hire-cat-scroll-btn {
    width: 32px;
  }
  .hire-cat-btn {
    padding: 12px 14px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .cart-dates {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100vw;
  }
}

/* ═══════════════════════════════════════════════════════════
   CAREERS PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Intro + perks ── */
.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.careers-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.careers-perk {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease);
}

.careers-perk:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  transform: translateY(-3px);
}

.careers-perk__icon {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.careers-perk h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.careers-perk p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ── Role cards ── */
.careers-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.careers-role {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color 0.3s,
    box-shadow 0.35s;
}

.careers-role:hover {
  border-color: var(--blue-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.careers-role__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.careers-role__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.careers-role__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.careers-role__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.careers-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.careers-badge--full {
  background: rgba(34, 197, 94, 0.12);
  color: var(--clr-success-lt);
  border: 1px solid rgba(34, 197, 94, 0.22);
}
.careers-badge--contract {
  background: rgba(251, 191, 36, 0.12);
  color: var(--clr-warning-lt);
  border: 1px solid rgba(251, 191, 36, 0.22);
}
.careers-badge--location {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}

.careers-role__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.72;
}

.careers-role__requirements h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.careers-role__requirements ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.careers-role__requirements li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.careers-role__requirements li::before {
  content: "→";
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.careers-role__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.careers-role__posted {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── Speculative application block ── */
.careers-speculative {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  flex-wrap: wrap;
}

.careers-speculative__icon {
  font-size: 2rem;
  color: var(--blue);
  opacity: 0.6;
  flex-shrink: 0;
}

.careers-speculative > div {
  flex: 1;
  min-width: 200px;
}

.careers-speculative h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.careers-speculative p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

/* Responsive careers */
@media (max-width: 1024px) {
  .careers-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .careers-roles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .careers-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .careers-role {
    padding: 24px 20px;
  }
  .careers-speculative {
    padding: 20px;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Contact info strip (4 columns at full wxl width) ── */
.contact-strip {
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.contact-strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
}
.contact-strip__item:last-child {
  border-right: none;
}
.contact-strip__item:hover {
  background: var(--blue-dim);
}

.contact-strip__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-strip__item:hover .contact-strip__icon {
  transform: scale(1.18);
}

.contact-strip__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 3px;
}

.contact-strip__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* ── Main content: form left, sidebar right ── */
.contact-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* ── Form card ── */
.contact-form-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 52px 48px;
}

/* ── Sidebar ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-sidebar__block {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
}

.contact-sidebar__heading {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

/* Social cards grid (2×3) */
.contact-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 10px 18px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}
.contact-social-card:hover {
  transform: translateY(-3px);
}

.contact-social-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.contact-social-card:hover .contact-social-card__icon-wrap {
  transform: scale(1.1);
}

.contact-social-card__icon {
  font-size: 1.2rem;
  color: var(--muted);
}

.contact-social-card__name {
  font-size: 0.69rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 0.25s;
}
.contact-social-card:hover .contact-social-card__name {
  color: var(--white);
}

/* Brand colours — icon always tinted, card + icon-wrap deepen on hover */
.contact-social-card--wa .contact-social-card__icon  { color: #25D366; }
.contact-social-card--wa:hover { border-color: rgba(37,211,102,.35); background: rgba(37,211,102,.07); }
.contact-social-card--wa:hover .contact-social-card__icon-wrap { background: rgba(37,211,102,.18); }

.contact-social-card--ig .contact-social-card__icon  { color: #E1306C; }
.contact-social-card--ig:hover { border-color: rgba(225,48,108,.35); background: rgba(225,48,108,.08); }
.contact-social-card--ig:hover .contact-social-card__icon-wrap { background: rgba(225,48,108,.18); }

.contact-social-card--yt .contact-social-card__icon  { color: #FF0000; }
.contact-social-card--yt:hover { border-color: rgba(255,0,0,.35); background: rgba(255,0,0,.08); }
.contact-social-card--yt:hover .contact-social-card__icon-wrap { background: rgba(255,0,0,.18); }

.contact-social-card--tt .contact-social-card__icon  { color: rgba(255,255,255,.8); }
.contact-social-card--tt:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.contact-social-card--tt:hover .contact-social-card__icon-wrap { background: rgba(255,255,255,.12); }

.contact-social-card--fb .contact-social-card__icon  { color: #1877F2; }
.contact-social-card--fb:hover { border-color: rgba(24,119,242,.35); background: rgba(24,119,242,.08); }
.contact-social-card--fb:hover .contact-social-card__icon-wrap { background: rgba(24,119,242,.18); }

.contact-social-card--li .contact-social-card__icon  { color: #0A66C2; }
.contact-social-card--li:hover { border-color: rgba(10,102,194,.35); background: rgba(10,102,194,.08); }
.contact-social-card--li:hover .contact-social-card__icon-wrap { background: rgba(10,102,194,.18); }

.contact-social-card--google .contact-social-card__icon { color: #4285F4; }
.contact-social-card--google:hover { border-color: rgba(66,133,244,.35); background: rgba(66,133,244,.08); }
.contact-social-card--google:hover .contact-social-card__icon-wrap { background: rgba(66,133,244,.18); }

/* Promise block */
.contact-promise {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-promise__icon {
  width: 42px;
  height: 42px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-promise__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.contact-promise__text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

/* Trust badges */
.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.contact-trust__icon {
  color: var(--blue);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* ── Multi-step form ── */
.form-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.form-steps__item {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.form-steps__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.form-steps__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.form-steps__line {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 20px;
}
.form-steps__item--active .form-steps__dot {
  border-color: var(--blue);
  background: var(--blue-dim);
  color: var(--blue);
}
.form-steps__item--active .form-steps__label {
  color: var(--white);
}
.form-steps__item--done .form-steps__dot {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.form-steps__item--done .form-steps__label {
  color: var(--blue);
}

.form-panel {
  animation: panelFadeIn 0.3s ease;
}
.form-panel--hidden {
  display: none;
}
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.js-form-back {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px 14px;
  transition: color 0.2s;
  font-family: inherit;
}
.js-form-back:hover {
  color: var(--white);
}

/* ── Form sections ── */
.form-section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.form-section:first-child {
  padding-top: 0;
  border-top: none;
}
.form-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.form-section__num {
  width: 30px;
  height: 30px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.form-section__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ── Service checkboxes ── */
.service-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}
.service-check {
  position: relative;
  display: block;
  cursor: pointer;
}
.service-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.service-check__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  user-select: none;
  line-height: 1.3;
}
.service-check__label i {
  font-size: 0.85rem;
  color: var(--blue);
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.service-check input:checked + .service-check__label {
  border-color: var(--blue);
  background: var(--blue-dim);
  color: var(--white);
}
.service-check input:checked + .service-check__label i {
  opacity: 1;
}
.service-check-grid.svc-error .service-check__label {
  border-color: rgba(255, 68, 68, 0.5);
}

/* ── Terms row ── */
.contact-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  line-height: 1.5;
}
.contact-terms-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  min-width: 15px;
  accent-color: var(--blue);
  cursor: pointer;
  margin-top: 2px;
}
.contact-terms-row a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.contact-terms-row a:hover {
  text-decoration-color: var(--blue);
}

/* ── Full-width map ── */
.contact-map-wrap {
  padding: 0 var(--px);
  max-width: var(--w);
  margin: 0 auto;
  margin-bottom: 100px;
}

.contact-map-full {
  position: relative;
  height: 520px;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map-full iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: invert(92%) hue-rotate(180deg) saturate(0.9);
}

/* Overlay card sitting on top of the map */
.contact-map-card {
  position: absolute;
  bottom: 32px;
  left: 40px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.contact-map-card__icon {
  width: 42px;
  height: 42px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-map-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.contact-map-card__address {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-map-card__link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.22s;
}
.contact-map-card__link:hover {
  gap: 10px;
}

/* ── WhatsApp CTA strip ── */
.contact-wa-strip {
  background: #128c3f;
  padding: 28px var(--px);
}

.contact-wa-strip__inner {
  max-width: var(--wxl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-wa-strip__icon {
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-wa-strip__text {
  flex: 1;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.contact-wa-strip__text strong {
  color: var(--white);
}

.contact-wa-strip__btn {
  background: var(--white);
  color: #128c3f;
  font-weight: 700;
  border: none;
  flex-shrink: 0;
}
.contact-wa-strip__btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #128c3f;
}

/* ═══════════════════════════════════════════════════════════
   CONNECT HUB
   ═══════════════════════════════════════════════════════════ */
.connect-hub-section {
  padding-bottom: 80px;
}

.connect-hub__direct {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.connect-hub__social {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}

.connect-card--lg {
  padding: 40px 24px;
  min-height: 140px;
}

.connect-card:not(.connect-card--lg) {
  padding: 26px 16px;
}

.connect-card:hover {
  transform: translateY(-3px);
}

.connect-card__icon {
  font-size: 1.7rem;
  transition: color 0.25s;
}

.connect-card--lg .connect-card__icon {
  font-size: 2.2rem;
}

.connect-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* Brand colour hovers */
.connect-card--wa   .connect-card__icon { color: #25D366; }
.connect-card--wa:hover { border-color: rgba(37,211,102,.35); background: rgba(37,211,102,.08); }

.connect-card--email .connect-card__icon { color: var(--blue); }
.connect-card--email:hover { border-color: var(--blue-border); background: var(--blue-dim); }

.connect-card--call  .connect-card__icon { color: var(--blue); }
.connect-card--call:hover  { border-color: var(--blue-border); background: var(--blue-dim); }

.connect-card--ig   .connect-card__icon { color: #E1306C; }
.connect-card--ig:hover   { border-color: rgba(225,48,108,.35); background: rgba(225,48,108,.08); }

.connect-card--yt   .connect-card__icon { color: #FF0000; }
.connect-card--yt:hover   { border-color: rgba(255,0,0,.35); background: rgba(255,0,0,.08); }

.connect-card--tt   .connect-card__icon { color: rgba(255,255,255,.85); }
.connect-card--tt:hover   { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }

.connect-card--fb   .connect-card__icon { color: #1877F2; }
.connect-card--fb:hover   { border-color: rgba(24,119,242,.35); background: rgba(24,119,242,.08); }

.connect-card--li   .connect-card__icon { color: #0A66C2; }
.connect-card--li:hover   { border-color: rgba(10,102,194,.35); background: rgba(10,102,194,.08); }

.connect-card--maps .connect-card__icon { color: #EA4335; }
.connect-card--maps:hover { border-color: rgba(234,67,53,.35); background: rgba(234,67,53,.08); }

/* ── Contact responsive ── */
@media (max-width: 1024px) {
  .contact-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-strip__item:nth-child(2) {
    border-right: none;
  }
  .contact-strip__item:nth-child(3) {
    border-top: 1px solid var(--border);
  }
  .contact-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-strip__grid {
    grid-template-columns: 1fr;
  }
  .contact-strip__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .contact-strip__item:last-child {
    border-bottom: none;
  }
  .contact-form-card {
    padding: 28px 22px;
  }
  .contact-map-full {
    height: 380px;
  }
  .contact-map-card {
    left: 16px;
    bottom: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-social-grid {
    grid-template-columns: 1fr;
  }
  .connect-hub__social {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .connect-hub__direct {
    grid-template-columns: 1fr;
  }
  .connect-hub__social {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wa-strip__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES — SHARED LAYOUT
   Used by: faqs.php, privacy.php, terms.php
   ═══════════════════════════════════════════════════════════ */

/* Compact hero variant (no background photo; pure dark gradient) */
.page-hero--compact {
  min-height: 38vh;
  background: var(--rich-black);
}

/* Breadcrumb trail */
.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}
.legal-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.legal-breadcrumb a:hover {
  color: var(--blue);
}
.legal-breadcrumb i {
  font-size: 0.55rem;
  color: var(--border-lt);
}
.legal-breadcrumb span {
  color: var(--white);
}

/* "Last updated" line under hero h1 */
.legal-updated {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Outer wrapper (provides side padding + centres everything) ── */
.legal-layout {
  padding: var(--section-py) var(--px);
}

/* ── Two-column grid: sidebar (240px fixed) + content (flex) ── */
.legal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
  max-width: var(--w);
  margin: 0 auto;
}

/* ────────────────────────────────────────────────────────── */
/*  SIDEBAR NAV                                              */
/* ────────────────────────────────────────────────────────── */
.legal-nav {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-nav__label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
  margin-top: 20px;
  padding-left: 14px;
}
.legal-nav:first-child .legal-nav__label:first-child {
  margin-top: 0;
}

.legal-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    padding-left 0.2s;
  line-height: 1.4;
}
.legal-nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  padding-left: 18px;
}
.legal-nav__link.active {
  color: var(--blue);
  border-left-color: var(--blue);
  background: var(--blue-dim);
  font-weight: 600;
  padding-left: 18px;
}

.legal-nav__related {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* CTA block inside nav (FAQs page) */
.legal-nav__cta {
  margin-top: 24px;
  padding: 18px 14px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-nav__cta p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ────────────────────────────────────────────────────────── */
/*  FAQ ACCORDION                                            */
/* ────────────────────────────────────────────────────────── */
.faq-section {
  margin-bottom: 64px;
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.faq-section:last-of-type {
  margin-bottom: 0;
}

/* Section header (icon + title above the accordion list) */
.faq-section__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.faq-section__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* List of accordion items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Individual <details> item */
.faq-item {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.faq-item[open],
.faq-item:hover {
  border-color: var(--blue-border);
}
.faq-item[open] {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* The clickable question row */
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
  line-height: 1.45;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item[open] .faq-item__q {
  color: var(--blue);
}

/* Chevron icon — rotates when open */
.faq-item__chevron {
  color: var(--muted);
  flex-shrink: 0;
  font-size: 0.75rem;
  transition:
    transform 0.3s var(--ease),
    color 0.2s;
}
.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

/* Answer panel */
/* Answer panel */
.faq-item__a {
  overflow: hidden;
  padding: 18px 24px 22px;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.faq-item__a p + p {
  margin-top: 12px;
}
.faq-item__a a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-item__a a:hover {
  color: var(--blue-lt);
}

/* "Still have questions" CTA block at the bottom */
.faq-cta {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 36px;
  background: var(--charcoal);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-lg);
  margin-top: 56px;
  flex-wrap: wrap;
}
.faq-cta__icon {
  font-size: 2rem;
  color: var(--blue);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-cta > div:nth-child(2) {
  flex: 1;
  min-width: 200px;
}
.faq-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.faq-cta p {
  font-size: 0.87rem;
  color: var(--body-text);
  line-height: 1.7;
}

/* ────────────────────────────────────────────────────────── */
/*  LEGAL PROSE (Privacy Policy + Terms & Conditions)        */
/* ────────────────────────────────────────────────────────── */
.legal-content {
  min-width: 0; /* prevents grid blowout */
}

/* Full prose wrapper */
.legal-prose {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--body-text);
}

/* Lead paragraph (intro at top of privacy policy) */
.legal-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Each major section */
.legal-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.legal-section:last-child {
  margin-bottom: 0;
}

/* Section heading with numbered accent */
.legal-section__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-section__num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  flex-shrink: 0;
}

/* Bullet list inside prose */
.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--body-text);
}
.legal-list li::before {
  content: "→";
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Ordered list inside clauses */
.legal-ordered-list {
  list-style: none;
  counter-reset: clause-item;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.legal-ordered-list li {
  counter-increment: clause-item;
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.75;
  padding: 10px 14px;
  border-left: 2px solid var(--border);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.legal-ordered-list li::before {
  content: counter(clause-item) ".";
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 18px;
}
.legal-ordered-list li strong {
  color: var(--white);
}

/* ── Part header (Terms & Conditions multi-part separator) ── */
.legal-part-header {
  padding: 28px 28px 24px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 28px;
}
.legal-part-num {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin-bottom: 10px;
}
.legal-part-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.legal-part-intro {
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.75;
  max-width: 620px;
}
.legal-part-intro a {
  color: var(--blue);
}

/* ── Individual clause within a part ── */
.legal-clause {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-clause:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-clause__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.legal-clause__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: lowercase;
  flex-shrink: 0;
}

/* ── Contact block inside legal prose ── */
.legal-contact-block {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.legal-contact-block__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.legal-contact-block__item:hover {
  border-color: var(--blue-border);
  background: var(--blue-dim);
}
.legal-contact-block__item i {
  color: var(--blue);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}
.legal-contact-block__item a {
  color: var(--white);
}

/* ────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                               */
/* ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .legal-body {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .legal-body {
    grid-template-columns: 1fr;
  }

  /* On mobile the sidebar becomes a horizontal scroll strip at top */
  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    background: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 8px;
  }
  .legal-nav::-webkit-scrollbar {
    display: none;
  }

  .legal-nav__label,
  .legal-nav__related,
  .legal-nav__cta {
    display: none;
  }

  .legal-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .legal-nav__link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--r-sm);
    padding: 8px 14px;
  }
  .legal-nav__link.active {
    border-left-color: transparent;
    border-bottom-color: var(--blue);
    padding-left: 14px;
  }
  .legal-nav__link:hover {
    padding-left: 14px;
  }

  .faq-cta {
    flex-direction: column;
    gap: 16px;
  }
  .legal-contact-block {
    flex-direction: column;
  }
  .legal-part-header {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .legal-layout {
    padding: 48px var(--px);
  }
  .faq-item__q {
    padding: 16px 18px;
    font-size: 0.88rem;
  }
  .faq-item__a {
    padding: 14px 18px 18px;
  }
  .legal-section__title {
    font-size: 1.05rem;
  }
}
