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

:root {
  --gold: #DEAE17;
  --gold-hover: #f0c330;
  --gold-deep: #8f6a08;
  --gold-sheen: rgba(255, 224, 127, 0.34);
  --black: #000000;
  --dark: #0a0a0a;
  --dark-card: #111111;
  --dark-card-border: #1a1a1a;
  --surface-1: #0c0c10;
  --surface-2: #13131a;
  --surface-3: #191922;
  --surface-border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #cccccc;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(222,174,23,0.08) 0%, rgba(222,174,23,0) 26%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #050505 0%, #07070a 24%, #09090d 100%);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(222,174,23,0.06) 0%, rgba(222,174,23,0) 24%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 20%),
    radial-gradient(circle at 52% 60%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 24%);
  pointer-events: none;
  z-index: -1;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  padding: 12px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--light-gray);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.nav-cta,
.nav-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3c63b 0%, #d7a30c 52%, #9a7208 100%);
  color: var(--black);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-heading);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 16px 38px rgba(165,119,4,0.24);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 36%);
  pointer-events: none;
}

.nav-links a.nav-cta:hover,
.nav-cta:hover {
  color: var(--black);
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.36), 0 20px 44px rgba(165,119,4,0.3);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  isolation: isolate;
  background: transparent;
}

.hero::before {
  content: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.05) brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.46) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(222,174,23,0.1);
  border: 1px solid rgba(222,174,23,0.25);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-nowrap {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 .highlight {
  color: var(--gold);
  font-style: italic;
}

.hero h1 .hero-flip-word {
  display: inline-block;
  min-width: 8.2ch;
  color: var(--white);
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.hero-flip-word.is-flipping-out {
  animation: heroFlipOut 340ms cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

.hero-flip-word.is-flipping-in {
  animation: heroFlipIn 420ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFlipOut {
  0% {
    transform: perspective(700px) rotateX(0deg) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: perspective(700px) rotateX(88deg) translateY(-0.18em);
    opacity: 0;
    filter: blur(6px);
  }
}

@keyframes heroFlipIn {
  0% {
    transform: perspective(700px) rotateX(-88deg) translateY(0.18em);
    opacity: 0;
    filter: blur(6px);
  }
  100% {
    transform: perspective(700px) rotateX(0deg) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flip-word {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3c63b 0%, #d8a30c 50%, #9b7308 100%);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 18px 46px rgba(165,119,4,0.28);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 22px 54px rgba(165,119,4,0.32);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(222,174,23,0.12) 0%, rgba(222,174,23,0.04) 100%);
  transform: translateY(-2px);
}

/* ========== CLIENTS ========== */
.clients-section {
  padding: 34px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: transparent;
}


.clients-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--light-gray);
}

.clients-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(222,174,23,0.5);
}

.clients-carousel {
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientScroll 82s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.clients-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding: 6px 9px;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 72px;
  padding: 8px 10px;
}

.client-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  transform-origin: center;
  opacity: 0.98;
}

.clients-section.is-animating .clients-track {
  animation-play-state: running;
}

@keyframes clientScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== INTRO PANEL ========== */
.intro-section {
  padding: 44px 0 10px;
}

.intro-section .container {
  max-width: 1560px;
}

.intro-panel {
  position: relative;
  overflow: hidden;
  padding: 78px 72px;
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 78% 82%, rgba(222,174,23,0.08) 0%, rgba(222,174,23,0) 22%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(135deg, #0f1014 0%, #08090c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 30px 70px rgba(0,0,0,0.26);
}

.intro-panel::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.intro-kicker {
  max-width: 820px;
  margin: 0 auto 26px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.intro-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: #f0f0f0;
}

.intro-title span {
  color: var(--gold);
  font-style: italic;
}

.intro-copy {
  max-width: 900px;
  margin: 0 auto 34px;
  font-size: 1.22rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.intro-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 24px;
  border-radius: 999px;
  background: rgba(10,10,12,0.86);
  border: 1px solid rgba(222,174,23,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 3px rgba(222,174,23,0.08);
  animation: introPillFloat 4.8s ease-in-out infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.intro-pill::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(222,174,23,0) 0%, rgba(222,174,23,0.18) 50%, rgba(222,174,23,0) 100%);
  opacity: 0;
  transform: translateX(-18%);
  animation: introPillSheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.intro-pill span {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.3s ease, transform 0.3s ease;
}

.intro-pill strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3c63b 0%, #d8a30c 52%, #9b7308 100%);
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.intro-pill strong img {
  display: block;
  height: 22px;
  width: auto;
  filter: brightness(0);
  transition: transform 0.35s ease;
}

@keyframes introPillFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 3px rgba(222,174,23,0.08), 0 12px 28px rgba(0,0,0,0.18);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 3px rgba(222,174,23,0.12), 0 18px 36px rgba(0,0,0,0.24);
  }
}

@keyframes introPillSheen {
  0%, 100% {
    opacity: 0;
    transform: translateX(-18%);
  }
  35% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.38;
    transform: translateX(18%);
  }
  65% {
    opacity: 0.18;
  }
}

.intro-pill:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.02);
  background: rgba(12,12,15,0.94);
  border-color: rgba(242, 196, 51, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 0 4px rgba(222,174,23,0.12),
    0 18px 42px rgba(0,0,0,0.32);
}

.intro-pill:hover::before {
  animation-play-state: paused;
  opacity: 0.38;
}

.intro-pill:hover span:first-child {
  color: rgba(255,255,255,0.94);
  transform: translateX(-2px);
}

.intro-pill:hover span:last-child {
  color: var(--white);
  transform: translateX(2px);
}

.intro-pill:hover strong {
  transform: scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 10px 22px rgba(165,119,4,0.28);
  filter: brightness(1.03);
}

.intro-pill:hover strong img {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .intro-pill,
  .intro-pill::before {
    animation: none;
  }
}

/* ========== MARQUEE ========== */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track.reverse { animation-direction: reverse; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  white-space: nowrap;
  padding: 0 40px;
  color: rgba(255,255,255,0.06);
  letter-spacing: -1px;
  text-transform: uppercase;
}

.marquee-item .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 24px;
  vertical-align: middle;
}

/* ========== SERVICES ========== */
.services {
  padding: 120px 0;
  position: relative;
  background: transparent;
}

.services-intro {
  max-width: 1200px;
}

.bento-wrap {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BENTO GRID ========== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 340px;
  gap: 18px;
  width: 100%;
}

.bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  cursor: pointer;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  text-decoration: none;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.bento-top {
  grid-column: span 3;
}

.bento-square {
  grid-column: span 2;
}

.bento-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.42) contrast(1.06);
  transform: scale(1.04);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.68) 100%);
  transition: background 0.4s;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
  border-color: rgba(222,174,23,0.22);
}

.bento-card:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.52) 100%);
}

.bento-card:hover .bento-media {
  filter: brightness(0.9) contrast(1.05);
  transform: scale(1.08);
}

.bento-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.bento-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  max-width: min(360px, 62%);
}

.bento-subtext {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
  text-wrap: balance;
}

.bento-card:not(.bento-top) .bento-copy {
  max-width: 70%;
}

.dealerhub-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(222,174,23,0.16) 0%, rgba(222,174,23,0) 24%),
    linear-gradient(135deg, #0c1118 0%, #111925 46%, #171f2b 100%);
}

.dealerhub-card::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.52) 100%);
}

.dealerhub-card .bento-copy {
  max-width: 250px;
}

.dealerhub-image {
  object-position: center;
  transform: scale(1.02);
}

.bento-card:hover .bento-label {
  color: var(--gold);
  text-shadow: 0 4px 12px rgba(0,0,0,0.65), 0 10px 30px rgba(0,0,0,0.45);
  transform: translateY(-1px);
}

.myturn-card {
  background:
    radial-gradient(circle at 18% 16%, rgba(110,255,194,0.32) 0%, rgba(110,255,194,0) 34%),
    linear-gradient(135deg, #0d1518 0%, #132329 45%, #18353b 100%);
}

.myturn-card::before {
  background: linear-gradient(180deg, rgba(6,10,11,0.42) 0%, rgba(6,10,11,0.58) 100%);
}

.myturn-card::after {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -12%;
  width: 70%;
  height: 70%;
  background: url('/public/images/myturn-logo.png') no-repeat center / contain;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.myturn-card:hover::after {
  opacity: 0.14;
  transform: translateY(-4px);
}

.myturn-card .bento-label {
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.myturn-card .bento-copy {
  max-width: 190px;
}

.myturn-card .bento-subtext {
  white-space: nowrap;
}

.myturn-card .bento-arrow {
  border-color: rgba(255,255,255,0.5);
}

.myturn-card .bento-arrow svg {
  stroke: var(--white);
}

.myturn-phone {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 150px;
  height: 226px;
  border-radius: 28px;
  padding: 8px;
  background: #080a0b;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.38);
  filter: brightness(0.58) contrast(1.02);
  transform: rotate(0deg) translateX(0);
  transform-origin: center;
  transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
  z-index: 2;
}

.myturn-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 21px;
  padding: 14px 11px 11px;
  background: linear-gradient(180deg, rgba(27,35,38,0.98) 0%, rgba(16,23,25,0.98) 100%);
}

.myturn-notch {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  margin: 0 auto 10px;
  background: rgba(255,255,255,0.14);
}

.myturn-kicker {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

.myturn-user {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--white);
}

.myturn-summary {
  margin-top: 12px;
  padding: 10px 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(110,255,194,0.95) 0%, rgba(48,214,173,0.92) 100%);
  color: #082018;
  box-shadow: 0 10px 24px rgba(110,255,194,0.22);
}

.myturn-summary-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.myturn-summary-value {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
}

.myturn-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.myturn-listing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}

.myturn-listing-title {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--white);
}

.myturn-listing-meta {
  margin-top: 3px;
  font-size: 0.54rem;
  color: rgba(255,255,255,0.48);
}

.myturn-status {
  flex-shrink: 0;
  padding: 5px 6px;
  border-radius: 999px;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a241c;
  background: rgba(110,255,194,0.92);
}

.myturn-card:hover .myturn-phone {
  filter: brightness(1) contrast(1.02);
  transform: rotate(-10deg) translateX(-10px) translateY(-2px);
  box-shadow: 0 30px 76px rgba(0,0,0,0.42);
}


.myturn-card:hover::before {
  background: linear-gradient(180deg, rgba(6,10,11,0.16) 0%, rgba(6,10,11,0.34) 100%);
}

.bento-card.bento-large {
  /* large cards span the wider column — default via grid placement */
}

.bento-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s, border-color 0.3s;
}

.bento-card:hover .bento-arrow {
  background: var(--gold);
  border-color: var(--gold);
}

.bento-card:hover .bento-arrow svg {
  stroke: var(--black);
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .bento-top,
  .bento-square {
    grid-column: auto;
  }

  .intro-section {
    padding: 34px 0 6px;
  }

  .intro-panel {
    padding: 48px 28px;
    border-radius: 28px;
  }

  .intro-panel::before {
    inset: 10px;
    border-radius: 22px;
  }

  .intro-kicker,
  .intro-copy {
    font-size: 1rem;
  }

  .intro-title {
    letter-spacing: -2px;
  }

  .intro-pill {
    gap: 12px;
    padding: 10px 12px 10px 18px;
  }

  .intro-pill strong {
    min-width: 112px;
    min-height: 48px;
  }

  .intro-pill strong img {
    height: 18px;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto 60px;
}

.services-intro .reveal,
.case-studies .reveal,
.results-header,
.testimonials-header,
.cta-inner {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background:
    radial-gradient(circle at top right, rgba(222,174,23,0.08) 0%, rgba(222,174,23,0) 24%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(222,174,23,0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(222,174,23,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.service-link:hover { gap: 12px; }

.service-link svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

/* ========== STATS / RESULTS ========== */
.results {
  padding: 100px 0;
  background: transparent;
  position: relative;
}

.results::before {
  content: none;
}

.results-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.results-header .section-subtitle {
  margin: 0 auto;
}

.results-wrap {
  width: min(100%, calc(100vw - 32px));
  max-width: 1920px;
  margin: 0 auto;
}

.results-showcase {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-item {
  position: relative;
  padding: 34px 24px 30px;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -2px;
  color: var(--gold);
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}

.results-media,
.results-panel {
  min-height: 580px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.results-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 78% 18%, rgba(222,174,23,0.18) 0%, rgba(222,174,23,0) 24%),
    linear-gradient(135deg, rgba(24,24,30,0.98) 0%, rgba(10,10,12,0.98) 100%);
}

.results-media-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 28px;
}

.results-media-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.84);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(160deg, #14151b 0%, #09090c 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

.results-media-asset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.results-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  background: #050505;
  filter: none;
}

.results-media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 34%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 90px);
  opacity: 0.55;
}

.results-media-frame::after {
  content: none;
}

.results-media-glow {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(222,174,23,0.3) 0%, rgba(222,174,23,0.08) 34%, rgba(222,174,23,0) 72%);
  filter: blur(6px);
}

.results-media-copy {
  position: absolute;
  left: 40px;
  bottom: 36px;
  z-index: 2;
  max-width: 420px;
}

.results-media-copy p {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

.results-media-copy h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.8px;
}

.results-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.012) 100%),
    linear-gradient(135deg, rgba(18,18,24,0.98) 0%, rgba(8,8,10,0.98) 100%);
}

.results-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results-panel-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.results-panel-nav {
  display: flex;
  gap: 10px;
}

.results-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.results-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.results-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(222,174,23,0.35);
  background: rgba(222,174,23,0.08);
}

.results-stat-display {
  margin: auto 0;
}

.results-stat-label {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.results-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.results-stat-copy {
  max-width: 320px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.results-stat-list {
  display: grid;
  gap: 10px;
}

.results-stat-pill {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.72);
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.results-stat-pill:hover,
.results-stat-pill.is-active {
  border-color: rgba(222,174,23,0.28);
  background: rgba(222,174,23,0.08);
  color: var(--white);
}

.results-stat-pill.is-active {
  transform: translateX(4px);
}

/* ========== CASE STUDIES ========== */
.case-studies {
  padding: 120px 0;
  position: relative;
  background: transparent;
}

.cases-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 26px;
}

.cases-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display: grid;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cases-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cases-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(222,174,23,0.28);
  background: rgba(222,174,23,0.08);
}

.cases-wrap {
  width: min(100%, calc(100vw - 32px));
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
}

.cases-track {
  display: flex;
  gap: 24px;
  overflow: visible;
  padding: 4px 0 8px;
  will-change: transform;
  user-select: none;
  cursor: inherit;
}

.cases-wrap.is-dragging {
  cursor: grabbing;
}

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


.case-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  min-width: 390px;
  width: 390px;
  flex: 0 0 390px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222,174,23,0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.case-image {
  aspect-ratio: 1 / 1;
  height: auto;
  background:
    radial-gradient(circle at 78% 20%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 22%),
    linear-gradient(135deg, rgba(222,174,23,0.18), rgba(222,174,23,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(222,174,23,0.2);
  letter-spacing: -1px;
  position: relative;
  overflow: hidden;
}

.case-image img,
.case-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-image--rohin img {
  object-position: center 35%;
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--dark-card) 100%);
}

.case-body {
  padding: 28px 32px 32px;
  text-align: center;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: minmax(54px, auto) minmax(58px, auto) minmax(104px, 1fr) auto;
  align-items: start;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
  align-content: start;
}

.case-tag {
  display: inline-block;
  background: rgba(222,174,23,0.1);
  color: var(--gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.case-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  text-align: center;
  text-transform: uppercase;
  align-self: start;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  align-self: start;
}

.case-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  align-self: end;
  min-height: 72px;
}

.case-stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: -1px;
}

.case-stat-text {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.4;
  text-align: center;
}

.next-story-card {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(180deg, #f1c128 0%, #deae17 100%);
  color: var(--black);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.next-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.next-story-card .section-label {
  color: rgba(0,0,0,0.72);
}

.next-story-card .section-label::before {
  background: rgba(0,0,0,0.72);
}

.next-story-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2.5px;
  color: var(--black);
}

.next-story-card p {
  max-width: 440px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0,0,0,0.78);
}

.next-story-pill {
  align-self: flex-start;
  background: rgba(9,9,12,0.92);
  border-color: rgba(0,0,0,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 3px rgba(0,0,0,0.08);
}

.next-story-media {
  display: flex;
  align-items: stretch;
}

.next-story-frame {
  position: relative;
  width: 100%;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 24%),
    linear-gradient(160deg, rgba(22,22,28,0.92) 0%, rgba(8,8,10,0.96) 100%);
  border: 1px solid rgba(0,0,0,0.12);
}

.next-story-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.44);
}

.next-story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 120px 0;
  background: transparent;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-rows {
  display: grid;
  gap: 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.testimonials-row {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 8px 24px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.row-left .testimonials-track {
  animation: testimonials-left 75s linear infinite;
}

.row-right .testimonials-track {
  animation: testimonials-right 75s linear infinite;
}

.testimonials-row:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(135deg, rgba(18,18,24,0.94) 0%, rgba(9,9,12,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px 32px;
  width: 360px;
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(222,174,23,0.22);
  box-shadow: 0 20px 45px rgba(0,0,0,0.28);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 24px;
  font-style: italic;
  flex: 1 1 auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(222,174,23,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.35;
  margin-top: 3px;
}

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

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

/* ========== WHY CHOOSE ========== */
.why-choose-section {
  padding: 120px 0 48px;
  background: linear-gradient(180deg, #090909 0%, #0d0d12 100%);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-choose-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.1rem, 8vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -3px;
}

.why-choose-title span {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
}

.why-choose-board {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  overflow: hidden;
}

.why-choose-head,
.why-choose-row {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) repeat(3, minmax(120px, 0.9fr));
  align-items: stretch;
}

.why-choose-head {
  background: rgba(255,255,255,0.015);
}

.why-choose-head > div,
.why-choose-row > div {
  padding: 24px 22px;
}

.why-choose-head > div {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  text-align: center;
}

.why-choose-head > div:first-child {
  text-align: left;
}

.why-choose-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
}

.why-choose-badge {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 16px 40px rgba(222,174,23,0.22);
}

.why-choose-row {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.why-choose-feature {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

.why-choose-cell {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,0.06);
}

.why-choose-cell svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-choose-cell.yes svg {
  stroke: #95ff45;
}

.why-choose-cell.no svg {
  stroke: rgba(255,255,255,0.5);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 8px 0 72px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #f0bf25 0%, #deae17 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 82% 22%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 16%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  padding: 64px 32px 52px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -3px;
  line-height: 0.96;
  margin-bottom: 22px;
  text-transform: uppercase;
  color: var(--black);
}

.cta-inner h2 .highlight {
  color: var(--black);
  font-style: italic;
}

.cta-inner p {
  max-width: 660px;
  margin: 0 auto 34px;
  font-size: 1.08rem;
  color: rgba(0,0,0,0.78);
  line-height: 1.7;
}

.cta-floating {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: rgba(0,0,0,0.8);
  letter-spacing: -0.5px;
  backdrop-filter: blur(14px);
}

.cta-floating-left {
  top: 10px;
  left: 4%;
}

.cta-floating-right {
  top: 18px;
  right: 6%;
}

.cta-floating-bottom {
  bottom: 10px;
  right: 14%;
}

.cta-section .section-label {
  color: rgba(0,0,0,0.72);
}

.cta-section .section-label::before {
  background: rgba(0,0,0,0.72);
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, #111111 0%, #050505 100%);
  color: var(--white);
  border-color: rgba(0,0,0,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 44px rgba(0,0,0,0.22);
}

.cta-section .btn-primary::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 44%);
}

.cta-section .btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 22px 48px rgba(0,0,0,0.26);
}

/* ========== CONTACT FORM ========== */
.contact {
  padding: 100px 0;
  background: transparent;
}

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

.contact-info h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(222,174,23,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.contact-detail h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 24px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option { background: var(--dark); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-submit:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand .logo img {
  height: 44px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover { background: rgba(222,174,23,0.15); }

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--light-gray);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .bento-top,
  .bento-square {
    grid-column: span 1;
  }

  .results-showcase {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .results-media,
  .results-panel {
    min-height: 420px;
  }
  .next-story-card {
    grid-template-columns: 1fr;
  }
  .next-story-frame {
    min-height: 360px;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dealerhub-card {
    display: flex;
  }
  .dealerhub-card .bento-copy {
    max-width: 100%;
  }
  .why-choose-head,
  .why-choose-row {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(90px, 0.8fr));
  }
}

@media (max-width: 768px) {
  .intro-section .container { padding: 0 16px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    padding: 30px 24px;
    gap: 24px;
  }

  .services-intro { padding: 0 20px; }
  .bento-wrap {
    width: 100%;
    padding: 0 12px;
  }
  .bento-grid { grid-auto-rows: 250px; gap: 14px; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { letter-spacing: -1px; }
  .clients-section { padding: 28px 0 20px; }
  .clients-label { margin-bottom: 18px; font-size: 0.72rem; letter-spacing: 1.4px; }
  .clients-track { gap: 14px; padding: 4px 18px; }
  .client-logo-card { min-width: 170px; height: 82px; padding: 10px 12px; }
  .services, .case-studies, .cta-section, .why-choose-section, .faq-section { padding: 80px 0; }
  .cases-wrap {
    width: 100%;
    padding: 0 12px;
  }
  .cases-track {
    gap: 16px;
  }
  .case-card {
    min-width: min(82vw, 340px);
    width: min(82vw, 340px);
    flex-basis: min(82vw, 340px);
  }
  .cases-carousel-controls {
    justify-content: center;
  }
  .results-showcase {
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .results-media,
  .results-panel {
    min-height: auto;
  }
  .results-media {
    min-height: 320px;
  }
  .results-panel {
    padding: 22px;
  }
  .results-media-copy {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .results-stat-number {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
  .results-stat-list {
    grid-template-columns: 1fr;
  }
  .next-story-card {
    padding: 24px;
    border-radius: 26px;
  }
  .next-story-frame {
    min-height: 280px;
  }
  .next-story-pill {
    width: 100%;
    justify-content: center;
  }
  .dealerhub-card .bento-copy {
    max-width: 100%;
  }
  .testimonials-row {
    padding: 0 16px;
  }
  .clients-carousel {
    mask-image: none;
  }
  .testimonials-track {
    gap: 16px;
  }
  .testimonial-card {
    width: 300px;
    flex-basis: 300px;
    padding: 28px 24px;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .why-choose-title { letter-spacing: -2px; }
  .why-choose-board { border-radius: 24px; overflow-x: auto; }
  .why-choose-head,
  .why-choose-row {
    min-width: 760px;
  }
  .faq-list { padding: 4px 20px; border-radius: 22px; }
}

/* ========== PAGE HERO (for inner pages) ========== */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.page-hero::before {
  content: none;
}

.page-hero .hero-badge { margin-bottom: 20px; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.page-hero h1 .highlight {
  color: var(--gold);
  font-style: italic;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.meta-ads-page .results,
.meta-ads-page .content-section,
.meta-ads-page .faq-section {
  background: transparent;
}

.meta-ads-page .content-section.alt {
  background: transparent;
}

.meta-ads-page .content-visual,
.meta-ads-page .process-step,
.meta-ads-page .stat-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border-color: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.meta-ads-page .content-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.meta-faq-section {
  padding-top: 28px;
  padding-bottom: 110px;
}

.meta-ads-page .content-visual {
  min-height: 550px;
  padding: 0;
  aspect-ratio: 16 / 10;
}

.meta-ads-page .content-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.meta-hero-layout,
.service-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.meta-hero-copy,
.service-hero-copy {
  max-width: 700px;
}

.meta-hero-visual,
.service-hero-visual {
  position: relative;
}

.meta-hero-frame,
.service-hero-frame {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.meta-hero-frame img,
.service-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.18));
}

.service-page .results,
.service-page .content-section,
.service-page .services,
.service-page .faq-section {
  background: transparent;
}

.service-page .content-section.alt {
  background: transparent;
}

.service-page .content-visual,
.service-page .process-step,
.service-page .service-card,
.service-page .stat-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border-color: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.service-page .content-section,
.service-page .services {
  padding-top: 88px;
  padding-bottom: 88px;
}

.service-faq-section {
  padding-top: 28px;
  padding-bottom: 110px;
}

/* ========== FEATURES LIST ========== */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(222,174,23,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: #DEAE17;
  fill: none;
  stroke-width: 1.5;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== CONTENT SECTIONS (alternating) ========== */
.content-section {
  padding: 100px 0;
}

.content-section.alt { background: var(--dark); }

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

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text .section-label { margin-bottom: 12px; }

.content-text h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.content-text p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-text ul {
  list-style: none;
  margin-bottom: 28px;
}

.content-text ul li {
  font-size: 0.9rem;
  color: var(--light-gray);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.content-visual {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.content-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(222,174,23,0.08), transparent);
  pointer-events: none;
}

.content-visual .placeholder-icon {
  font-size: 5rem;
  opacity: 0.15;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--gold);
}

.content-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.content-visual:has(> .content-visual-img) {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.content-visual:has(> .content-visual-img)::before {
  display: none;
}

.content-visual .content-visual-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* ========== PRICING CARDS ========== */
.pricing-section {
  padding: 120px 0;
  background: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 24px;
  padding: 44px 36px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(222,174,23,0.06) 0%, var(--dark-card) 40%);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  padding: 6px 20px;
  border-radius: 0 0 12px 12px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .pricing-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount .currency {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
}

.pricing-amount .price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3rem;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
}

.pricing-amount .period {
  font-size: 0.85rem;
  color: var(--gray);
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--light-gray);
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.pricing-btn.primary {
  background: var(--gold);
  color: var(--black);
}

.pricing-btn.primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.pricing-btn.outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}

.pricing-btn.outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ========== TEAM GRID ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 300px));
  gap: 28px;
  margin-top: 60px;
  justify-content: center;
}

.team-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.team-card:hover { transform: translateY(-6px); }

.team-photo {
  aspect-ratio: 13 / 14;
  background: linear-gradient(135deg, rgba(222,174,23,0.12), rgba(222,174,23,0.03));
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--gold);
}

/* ========== PROCESS STEPS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  padding: 40px 28px;
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 20px;
  transition: transform 0.3s;
}

.process-step:hover { transform: translateY(-4px); }

.process-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 16px;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ========== VALUES GRID ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.3s;
}

.value-card:hover { transform: translateY(-4px); }

.value-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-card h3 span {
  font-size: 1.4rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ========== FAQ ========== */
.faq-section {
  padding: 40px 0 120px;
  background: transparent;
}

.faq-header {
  text-align: center;
}

.faq-list {
  max-width: 1020px;
  margin: 38px auto 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.012) 100%);
  padding: 0 24px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  cursor: pointer;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(222,174,23,0.26);
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.016) 100%);
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

/* Animating grid-template-rows to 1fr expands to the answer's natural height.
   The previous fixed max-height clipped longer answers on narrow screens, and
   silently - so any FAQ answer that grew past the cap lost its tail. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer > * {
  overflow: hidden;
  min-height: 0;
  transition: padding 0.3s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > * {
  padding-bottom: 24px;
}

.faq-answer p {
  max-width: 780px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* ========== CONTACT PAGE ========== */
.contact-page { padding: 0 0 100px; }

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

/* ========== RESPONSIVE ADDITIONS ========== */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-grid.reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .meta-hero-layout,
  .service-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .meta-hero-copy,
  .service-hero-copy {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-hero { padding: 130px 0 60px; }
  .pricing-section { padding: 80px 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .contact-page .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ========== NAV DROPDOWN ========== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
}

.nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--dark-card-border);
  border-radius: 14px;
  padding: 12px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown-item-disabled {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  color: rgba(255,255,255,0.42);
  cursor: default;
}

.dropdown-menu a:hover {
  background: rgba(222,174,23,0.1);
  color: var(--gold);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0 0 0 16px;
    min-width: auto;
  }
  .nav-dropdown:hover .dropdown-menu {
    transform: none;
  }
}

/* ========== LEGAL PAGES ========== */
.legal-section {
  padding: 0 0 110px;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.5px;
  color: var(--white);
  margin: 48px 0 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 18px;
}

.legal-content a {
  color: var(--gold);
}

.legal-content a:hover {
  color: var(--gold-hover);
}

.legal-content strong {
  color: var(--white);
  font-weight: 600;
}

/* ========== CONTACT FORM: HONEYPOT & STATUS ========== */

/* Hidden from people without display:none, which some bots skip over. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 1.4em;
}

.form-status.is-success { color: #22c55e; }
.form-status.is-error   { color: #f87171; }
.form-status a          { color: var(--gold); text-decoration: underline; }

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-detail a {
  color: inherit;
  transition: color 0.2s ease;
}

.contact-detail a:hover {
  color: var(--gold);
}

/* ========== KEY FACTS (answer-first block) ========== */
/* A scannable summary that doubles as the passage search engines and AI answer
   engines quote. Deliberately plain markup - <dl> of label/value pairs - so it
   survives being extracted from the page. */

.key-facts {
  padding: 40px 0 20px;
}

.key-facts-panel {
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 44px 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.key-facts-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  color: var(--white);
}

.key-facts-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin: 0 0 32px;
  max-width: 78ch;
}

.key-facts-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.key-fact {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: 8px 28px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.key-fact dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.key-fact dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--light-gray);
}

@media (max-width: 768px) {
  .key-facts {
    padding: 24px 0 8px;
  }

  .key-facts-panel {
    padding: 28px 22px 30px;
    border-radius: 18px;
  }

  .key-facts-lead {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .key-fact {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
}

/* ==========================================================================
   CONTENT HUB
   Industry pages, guides, location pages and case studies.
   ========================================================================== */

/* Hero for pages with no supporting image. Without this the copy hugs the left
   edge and leaves the right half of a 1200px container empty - which is what
   made the 404 page look unbalanced. */
.page-hero--narrow .service-hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero--narrow .hero-buttons {
  justify-content: center;
}

/* Long-form body copy. A wide measure is the fastest way to make an article
   unreadable, so prose is capped well below the container width. */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 22px;
  color: var(--white);
}

.prose p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin: 0 0 20px;
}

.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--white); font-weight: 600; }

.prose a,
.faq-answer a,
.key-fact dd a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(222, 174, 23, 0.35);
  transition: border-color 0.2s, color 0.2s;
}

.prose a:hover,
.faq-answer a:hover,
.key-fact dd a:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}

/* --- clickable service card variant, used on the hub pages --------------- */

.service-card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.service-card--link h3 { color: var(--white); }

.service-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-card-more svg { transition: transform 0.3s; }

.service-card--link:hover .service-card-more svg {
  transform: translateX(4px);
}

/* --- case study grid ----------------------------------------------------- */

.case-grid-section { padding: 80px 0; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.case-grid-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.case-grid-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222, 174, 23, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.case-grid-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.case-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-grid-card:hover .case-grid-image img { transform: scale(1.04); }

.case-grid-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-grid-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 14px 0 10px;
  color: var(--white);
}

.case-grid-body p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--light-gray);
  margin: 0 0 20px;
}

.case-grid-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.case-grid-stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}

.case-grid-stat-text {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.35;
}

/* --- case study detail --------------------------------------------------- */

.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 48px;
  align-items: start;
}

.case-detail-main h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 20px;
  color: var(--white);
}

.case-detail-main p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin: 0 0 20px;
}

.case-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.case-service-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(222, 174, 23, 0.35);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.case-service-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.case-detail-side {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
  position: sticky;
  top: 100px;
}

.case-detail-stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
}

.case-detail-stat-text {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-top: 8px;
}

.case-detail-meta {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-detail-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.case-detail-meta dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0;
}

.case-detail-meta dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--light-gray);
  text-align: right;
}

.case-detail-meta dd a { color: var(--gold); text-decoration: none; }
.case-detail-meta dd a:hover { text-decoration: underline; }

/* --- pull quote ---------------------------------------------------------- */

.case-quote {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 48px;
  border: 1px solid rgba(222, 174, 23, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(222, 174, 23, 0.07) 0%, rgba(222, 174, 23, 0) 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
  text-align: center;
}

.case-quote blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--white);
}

.case-quote figcaption {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-quote-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--gold);
}

.case-quote-role {
  font-size: 0.86rem;
  color: var(--gray);
}

/* --- footer now carries five columns ------------------------------------- */

.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

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

@media (max-width: 1024px) {
  .case-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-detail-side { position: static; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .case-grid-section { padding: 48px 0; }
  .case-quote { padding: 30px 24px; }
  .prose p { font-size: 0.98rem; }
  .case-detail-stat-number { font-size: 2.8rem; }
  .page-hero--narrow .service-hero-copy { text-align: left; }
  .page-hero--narrow .hero-buttons { justify-content: flex-start; }
}

/* ==========================================================================
   DESIGN POLISH
   404 recovery links, key-facts treatment, FAQ states, and a11y focus rings.
   ========================================================================== */

/* --- 404 recovery links --------------------------------------------------
   The copy says "try one of these instead", so there had better be some. */

.error-hero .service-hero-copy { margin-bottom: 56px; }

.error-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.error-links a {
  display: block;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.error-links a span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--white);
}

.error-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(222, 174, 23, 0.4);
}

.error-links a:hover span { color: var(--gold); }

/* --- key facts: give the panel some of the brand back ---------------------
   It was deliberately plain for extraction. Plain markup and plain visuals are
   not the same requirement, so the <dl> structure is untouched. */

.key-facts-panel {
  position: relative;
  overflow: hidden;
}

/* Gold hairline along the top edge, echoing .service-card */
.key-facts-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(222, 174, 23, 0) 72%);
}

.key-facts-lead {
  padding-left: 18px;
  border-left: 2px solid rgba(222, 174, 23, 0.45);
}

.key-fact {
  transition: background 0.25s;
  border-radius: 8px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
}

.key-fact:hover { background: rgba(255, 255, 255, 0.022); }

.key-fact dd { color: rgba(255, 255, 255, 0.78); }

/* --- FAQ: clearer open state and hierarchy ------------------------------- */

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.open {
  border-color: rgba(222, 174, 23, 0.32);
  background:
    radial-gradient(circle at top left, rgba(222, 174, 23, 0.05) 0%, rgba(222, 174, 23, 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.014) 100%);
}

.faq-item.open .faq-question { color: var(--gold); }

.faq-question { transition: color 0.25s; }
.faq-question:hover { color: var(--gold-hover); }

/* --- accessibility: visible focus ----------------------------------------
   The site had no focus styling at all, so keyboard users had no idea where
   they were. :focus-visible keeps it off mouse clicks. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard and screen-reader users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 22px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* --- respect reduced-motion ----------------------------------------------
   The reveal animations and marquees are decorative; honour the OS setting. */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .error-hero .service-hero-copy { margin-bottom: 36px; }
  .error-links { grid-template-columns: 1fr; }
}

/* Locations row. These pages would otherwise be orphaned - in the sitemap but
   linked from nowhere, which is a weak crawl signal and no link equity. */
.footer-locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 22px 0 0;
  margin-bottom: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
}

.footer-locations span {
  color: var(--gray);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.footer-locations a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-locations a:hover { color: var(--gold); }

/* --- nav breakpoint ------------------------------------------------------
   The desktop nav needs ~980px for the logo plus seven items. The hamburger
   only appeared at 768px, so between 769px and ~930px the nav overflowed the
   container and "LET'S TALK" was clipped by body{overflow-x:hidden} - visible
   on tablets in landscape and small laptops. Switch to the mobile menu while
   there is still room for it.

   These duplicate the rules in the 768px block deliberately: they must apply
   across the wider range, and being later in the file they win at both. */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px 24px;
    gap: 24px;
  }

  /* Dropdowns cannot hover open on touch, so show them inline when the
     mobile menu is open rather than leaving their links unreachable. */
  .nav-links.open .nav-dropdown {
    width: 100%;
  }

  .nav-links.open .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    margin-top: 14px;
    padding: 14px 0 0 16px;
    background: none;
    border: none;
    border-left: 1px solid rgba(222, 174, 23, 0.3);
    border-radius: 0;
    backdrop-filter: none;
  }

  .nav-links.open .nav-dropdown > a svg { display: none; }
}
