/* ==========================================================================
   Nabeel AND Computers — stylesheet
   Design tokens, colours, fonts and effects carried over from the
   reference build (dark plum base, orange primary, blue accent,
   Sora headings / Manrope body).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --background: oklch(16% 0.045 305);
  --foreground: oklch(96% 0.01 300);

  --card: oklch(20% 0.05 305);
  --card-foreground: oklch(96% 0.01 300);

  --primary: oklch(70% 0.19 45);
  --primary-foreground: oklch(16% 0.045 305);

  --secondary: oklch(24% 0.055 305);
  --secondary-foreground: oklch(96% 0.01 300);

  --muted: oklch(24% 0.05 305);
  --muted-foreground: oklch(72% 0.03 300);

  --accent: oklch(62% 0.17 240);
  --accent-foreground: oklch(98% 0.005 240);

  --border: oklch(100% 0 0 / 0.1);
  --input: oklch(100% 0 0 / 0.14);
  --ring: oklch(70% 0.19 45);

  --brand-orange: oklch(70% 0.19 45);
  --brand-blue: oklch(62% 0.17 240);

  --surface: oklch(19% 0.05 305);
  --surface-2: oklch(23% 0.055 305);

  --whatsapp: #25d366;

  --radius: 0.875rem;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --font-display: "Sora", var(--font-sans);

  --header-h: 4.5rem;
  --shadow-glow: 0 10px 35px -8px rgba(37, 211, 102, 0.7);

  /* hex fallbacks for browsers without oklch() */
  --background-fb: #150e1b;
  --foreground-fb: #f4eef7;
  --primary-fb: #f08a3c;
  --accent-fb: #4d8ce0;
  --surface-fb: #1c1424;
  --muted-foreground-fb: #b4a4bf;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* figure carries a 1em 40px UA margin — clear it, or every card is 40px
   wider than declared and the carousel loop drifts. */
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-inline: auto;
  padding-inline: 1.25rem;
}

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

.section-pad {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.bg-surface {
  background-color: var(--surface);
}

.border-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.text-muted {
  color: var(--muted-foreground);
}

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

.mx-auto {
  margin-inline: auto;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.text-gradient {
  background: linear-gradient(100deg, var(--brand-orange), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    background-color 0.2s ease;
}

.btn svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  border: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--surface) 60%, transparent);
  color: var(--foreground);
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-weight: 600;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background-color: transparent;
  transition: background-color 0.5s ease, border-color 0.5s ease,
    backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: color-mix(in oklab, var(--background) 85%, transparent);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 2.75rem;
  width: auto;
  border-radius: 0.375rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link svg {
  flex: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* Between the drawer breakpoint and full width the nav shares one row with the
   logo and the CTA. Tighten it here rather than let it collide with them.
   Declared after the base rule so the smaller size actually applies. */
@media (min-width: 768px) and (max-width: 1023px) {
  .main-nav {
    gap: 0.875rem;
  }

  .nav-link {
    font-size: 0.8125rem;
  }
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--foreground);
}

.nav-link:hover svg,
.nav-link.is-active svg {
  opacity: 1;
  color: var(--primary);
}

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

.nav-toggle {
  display: inline-flex;
  color: var(--foreground);
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--background) 97%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  padding: 0.75rem 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* Scoped to the list so the CTA below keeps the normal .btn styling. */
.mobile-menu ul a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-menu ul a svg {
  flex: none;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.mobile-menu ul a:hover,
.mobile-menu ul a.is-active {
  color: var(--foreground);
}

.mobile-menu ul a:hover svg,
.mobile-menu ul a.is-active svg {
  color: var(--primary);
  opacity: 1;
}

.mobile-menu ul a.is-active {
  color: var(--primary);
}

/* Mobile services submenu accordion */
.mobile-menu ul li.nav-has-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.mobile-menu ul li.nav-has-sub > a {
  flex: 1;
  border-bottom: none;
}

.mobile-menu ul li.nav-has-sub {
  border-bottom: 1px solid var(--border);
}

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.75rem;
  flex: none;
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-sub-toggle:hover {
  color: var(--primary);
}

.nav-sub-toggle svg {
  transition: transform 0.25s ease;
}

.nav-has-sub.is-open .nav-sub-toggle svg {
  transform: rotate(45deg);
  color: var(--primary);
}

.mobile-menu ul .mobile-sub {
  display: none;
  width: 100%;
}

.mobile-menu ul li.nav-has-sub.is-open .mobile-sub {
  display: block;
}

.mobile-sub li a {
  padding: 0.75rem 0.25rem 0.75rem 2.5rem !important;
  font-size: 0.925rem;
  font-weight: 450;
}

/* ---- Testimonials carousel ---- */
.t-layout > * {
  min-width: 0;
}

.t-carousel {
  overflow: hidden;
  max-width: 100%;
}

.t-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2.2fr;
  gap: 3rem;
  align-items: center;
}

.t-intro .lead {
  margin-top: 0.75rem;
}

.t-viewport {
  overflow: hidden;
}

.t-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.t-slide {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.t-slide:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--primary) 35%, var(--border));
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
}

.t-slide blockquote {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
  flex: 1;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.t-person img {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  flex: none;
  border: 2px solid color-mix(in oklab, var(--primary) 40%, transparent);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}

.t-who {
  min-width: 0;
}

.t-name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
}

.t-role {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.t-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #f5a623;
}

.t-stars svg {
  width: 1rem;
  height: 1rem;
}

.t-arrows {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.t-arrow {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.t-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.t-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.t-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: color-mix(in oklab, var(--foreground) 25%, transparent);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.t-dot.is-active {
  width: 1.75rem;
  background: var(--primary);
}

@media (max-width: 1024px) {
  .t-layout { grid-template-columns: 1fr; gap: 2rem; }
  .t-slide { flex-basis: calc((100% - 1.25rem) / 2); }
}

@media (max-width: 640px) {
  .t-slide { flex-basis: 100%; }
}

/* ---- Gallery page ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.is-loaded {
  opacity: 1;
  transform: scale(1);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item.is-loaded:hover img {
  transform: scale(1.05);
}

.gallery-empty {
  text-align: center;
  color: var(--muted-foreground);
  padding: 3rem 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* No divider under the last item — the CTA follows it. */
.mobile-menu ul li:last-child a {
  border-bottom: 0;
}

/* The CTA sits under the list, sized to its own content and centred. Full
   width read as a stretched banner running to the right edge. */
.mobile-cta {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.25rem 1.75rem;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--background),
    color-mix(in oklab, var(--background) 80%, transparent),
    color-mix(in oklab, var(--background) 30%, transparent)
  );
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    var(--background),
    transparent,
    color-mix(in oklab, var(--background) 60%, transparent)
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 7rem 5rem;
}

.hero-copy {
  max-width: 42rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background-color: var(--primary);
  animation: glow-pulse 4s ease-in-out infinite;
}

.hero h1 {
  margin-top: 1.5rem;
}

.hero .lead {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background-color: var(--surface);
  padding-block: 1.5rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  --marquee-distance: calc(-8 * (8rem + 4.5rem)); /* one full set */
  animation: marquee 42s linear infinite;
}

/* Each half of the track. Spacing is margin-right (not `gap`) so the two halves
   are identical and the loop has no seam. */
.marquee-set {
  display: flex;
  align-items: center;
}

/* Fixed-width slots keep the logos on an even rhythm and let the loop distance
   above be computed exactly. Swap a file in assets/img/logos/ to change one. */
.marquee-set img {
  flex: 0 0 auto;
  width: 8rem;
  height: 3.25rem;
  object-fit: contain;
  margin-right: 4.5rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

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

.marquee:hover .marquee-set img {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   9. Sections
   -------------------------------------------------------------------------- */
.section-head {
  max-width: 40rem;
}

.section-head h2 {
  margin-top: 0.75rem;
}

.section-head .lead {
  margin-top: 1rem;
}

.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card-glow {
  position: relative;
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-glow:hover {
  border-color: color-mix(in oklab, var(--brand-orange) 55%, transparent);
  transform: translateY(-6px);
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Service card */
.service-card {
  padding: 1.75rem;
  height: 100%;
}

.service-card .icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.service-card .explore {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

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

.service-card .explore svg {
  transition: transform 0.2s ease;
}

/* Feature card (why choose us) */
.feature-card {
  padding: 2rem;
  height: 100%;
  text-align: center;
}

.feature-card .icon-circle {
  margin-inline: auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background-color: color-mix(in oklab, var(--accent) 15%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   Testimonials — spotlight carousel
   One review at a time. Slides share a single grid cell so the card height is
   set by the tallest quote and never jumps between reviews.
   -------------------------------------------------------------------------- */
.spotlight {
  margin-top: 3.5rem;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .spotlight-card {
    padding: 3rem;
  }
}

.spotlight-stage {
  display: grid;
}

.spotlight-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: 2rem;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.spotlight-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (min-width: 768px) {
  .spotlight-slide {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

/* Gradient ring around the portrait */
.spotlight-photo {
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
  margin-inline: auto;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--brand-orange), var(--brand-blue));
}

@media (min-width: 768px) {
  .spotlight-photo {
    width: 11rem;
    height: 11rem;
    margin-inline: 0;
  }
}

.spotlight-photo img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background-color: var(--surface-2);
  display: block;
}

.spotlight-mark {
  color: var(--primary);
  opacity: 0.9;
}

.spotlight-slide blockquote {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-wrap: pretty;
}

.spotlight-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.spotlight-meta .who {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
}

.spotlight-meta .role {
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* Auto-advance progress line */
.spotlight-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background-color: color-mix(in oklab, var(--foreground) 7%, transparent);
}

.spotlight-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
  animation: spotlight-progress var(--spotlight-interval, 7s) linear forwards;
}

.spotlight.is-paused .spotlight-progress span {
  animation-play-state: paused;
}

/* Controls */
.spotlight-controls {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.spotlight-thumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spotlight-thumb {
  width: 2.75rem;
  height: 2.75rem;
  padding: 2px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease;
}

.spotlight-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background-color: var(--surface-2);
  display: block;
}

.spotlight-thumb:hover {
  opacity: 0.85;
  filter: grayscale(0);
}

.spotlight-thumb.is-active {
  opacity: 1;
  filter: none;
  border-color: var(--primary);
  transform: scale(1.06);
}

.spotlight-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.spotlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.spotlight-btn:hover {
  color: var(--foreground);
  border-color: color-mix(in oklab, var(--primary) 55%, transparent);
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

/* The pause button swaps its icon depending on state */
.spotlight-btn .icon-play {
  display: none;
}

.spotlight.is-paused [data-spotlight-pause] .icon-pause {
  display: none;
}

.spotlight.is-paused [data-spotlight-pause] .icon-play {
  display: inline-flex;
}

.spotlight-count {
  min-width: 3.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}

.spotlight-count [data-spotlight-current] {
  color: var(--foreground);
  font-weight: 700;
}

.spotlight-count .sep {
  margin-inline: 0.25rem;
  opacity: 0.5;
}

@keyframes spotlight-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   11. Call-to-action panel
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  background-color: var(--surface);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-panel {
    padding: 4rem;
  }
}

.cta-panel .glow {
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background-color: color-mix(in oklab, var(--primary) 25%, transparent);
  filter: blur(64px);
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
}

.cta-panel .headset {
  margin-inline: auto;
  color: var(--accent);
  animation: float 7s ease-in-out infinite;
}

.cta-panel h2 {
  margin-top: 1.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
}

.cta-panel p {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: var(--muted-foreground);
}

.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   12. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--primary) 22%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -16rem;
  left: -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--accent) 20%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

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

.service-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 16ch;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 20ch;
}

.page-hero .lead {
  margin-top: 1.25rem;
  max-width: 44rem;
}

/* Service hero: heading on the left, image on the right. With no image the
   grid stays a single column, so the text keeps the full width. */
.service-hero {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .service-hero.has-media {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   24. Lottie hero panels — glassmorphic cards + glowing ambient
   -------------------------------------------------------------------------- */

/* --- shared grid for all page-hero layouts --- */
/* --- shared grid for all page-hero layouts --- */
.hero-grid,
.page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
  }
}

/* --- visual column --- */
.hero-visual,
.page-hero-visual,
.service-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- glassmorphic lottie card --- */
.hero-lottie-card,
.page-lottie-card,
.service-lottie-card {
  position: relative;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 1 / 1;
  max-height: 260px;
  border-radius: 1.5rem;
  background-color: color-mix(in oklab, var(--surface) 55%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 50px -12px rgb(168 85 247 / 0.28),
    0 25px 50px -12px rgb(0 0 0 / 0.5),
    inset 0 0 30px -5px rgb(168 85 247 / 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* --- ambient glow behind the card --- */
.lottie-glow {
  position: absolute;
  inset: -25%;
  z-index: 0;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--primary) 30%, transparent) 0%,
    color-mix(in oklab, var(--accent) 18%, transparent) 45%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}

/* --- lottie-player sizing --- */
.hero-lottie-card lottie-player,
.page-lottie-card lottie-player,
.service-lottie-card lottie-player {
  position: relative;
  z-index: 1;
  width: 80%;
  height: 80%;
  pointer-events: none;
}

/* --- floating badges --- */
.hero-floating-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: color-mix(in oklab, var(--surface) 72%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 28%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--foreground);
  white-space: nowrap;
}

.badge-top {
  top: -0.5rem;
  right: -0.5rem;
}

.badge-bottom {
  bottom: -0.5rem;
  left: -0.5rem;
}

.pulse-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background-color: var(--primary);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* --- service hero with lottie (no photo) --- */
.service-hero.has-lottie {
  grid-template-columns: 1fr 0.7fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .service-hero.has-lottie {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .service-hero.has-lottie .reveal {
    max-width: 28ch;
  }
}

/* Banner image on a single service page. */
.service-figure {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface);
  box-shadow: 0 30px 70px -35px rgb(0 0 0 / 0.85);
}

/* Fades the foot of the photo into the page so it reads as part of the
   background rather than a pasted-in rectangle. */
.service-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 62%,
    color-mix(in oklab, var(--background) 55%, transparent) 100%
  );
}

.service-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--foreground);
}

/* --------------------------------------------------------------------------
   13. Detail / prose blocks
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1.35fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.prose h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.prose p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.check-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.875rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.check-list .tick {
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Sticky sidebar */
.side-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.side-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.side-card h3 svg {
  color: var(--primary);
  flex-shrink: 0;
}

.side-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.side-card .btn {
  margin-top: 1.25rem;
}

@media (min-width: 1024px) {
  .side-sticky {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* The sticky sidebar is a plain block, and its cards space themselves with an
   inline margin-top (see the service pages). So the map brings its own margin
   rather than the container gaining a grid gap, which would double the spacing
   between those existing cards. */
.side-sticky .map-embed {
  margin-top: 1.5rem;
}

/* A sticky column taller than the viewport gets its bottom edge stuck below the
   fold, permanently out of reach. The card is fixed content, so the map is the
   only thing that can give: size it from the viewport instead of a fixed ratio. */
@media (min-width: 1024px) {
  .side-sticky .map-embed iframe {
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(9rem, 32vh, 22rem);
    height: clamp(9rem, 32dvh, 22rem);
  }
}

.side-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.side-list a:hover {
  background-color: var(--surface-2);
  color: var(--foreground);
}

.side-list a.is-current {
  background-color: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Steps / process
   -------------------------------------------------------------------------- */
.steps {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
}

.step .num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.step h3 {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq {
  margin-top: 3rem;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .chev {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq details[open] summary .chev {
  transform: rotate(180deg);
}

.faq .answer {
  padding: 0 1.375rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   16. Contact blocks
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.contact-card {
  padding: 1.75rem;
  height: 100%;
}

.contact-card .icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h3 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.contact-card p,
.contact-card a.value {
  margin-top: 0.5rem;
  display: block;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.contact-card a.value:hover {
  color: var(--accent);
}

/* Contact form + opening hours / map sidebar */
.contact-split {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-split {
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.form-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .form-card {
    padding: 2.5rem;
  }
}

.form-title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.form-intro {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.contact-form {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.field-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field .req {
  color: var(--primary);
}

.field .opt {
  font-weight: 400;
  color: var(--muted-foreground);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  background-color: color-mix(in oklab, var(--background) 55%, transparent);
  border: 1px solid var(--input);
  border-radius: 0.75rem;
  padding: 0.8125rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b4a4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

.field select option {
  background-color: var(--surface);
  color: var(--foreground);
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 22%, transparent);
}

/* Validation */
.field-error {
  display: none;
  font-size: 0.75rem;
  color: #ff8f8f;
}

.field.has-error .field-error {
  display: block;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #ff8f8f;
}

/* Honeypot — off-screen, never shown to a real visitor */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form-actions .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.form-status {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.form-status.is-ok {
  color: #7ee2a8;
}

.form-status.is-error {
  color: #ff8f8f;
}

.side-stack {
  display: grid;
  gap: 1.5rem;
}

.hours-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.hours-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list .day {
  color: var(--muted-foreground);
}

.hours-list .time {
  font-weight: 600;
}

/* Free Google Maps embed — the keyless /maps/embed?pb= form. No API key, no
   billing account. `loading="lazy"` keeps it off the critical path: the frame
   only fetches once the sidebar scrolls into view. */
.map-embed {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface-2);
  padding: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 13rem;
  /* In the single-column layout the sidebar goes full width; without a cap a
     4/3 map would be 626px tall on a tablet. */
  max-height: 22rem;
  border: 0;
  border-radius: 0.625rem;
  background-color: var(--surface-2);
}

/* --------------------------------------------------------------------------
   17. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.stat {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background-color: var(--surface);
}

.stat .value {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.stat .label {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
    gap: 2.5rem;
  }
}

.footer-grid img {
  height: 3.5rem;
  width: auto;
  border-radius: 0.375rem;
}

.footer-grid .about {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.footer-grid h3 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.footer-grid ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-grid ul a:hover {
  color: var(--foreground);
}

.footer-grid .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-grid .contact-row svg {
  flex-shrink: 0;
  color: var(--accent);
}

.footer-grid .contact-row.center {
  align-items: center;
}

.footer-grid .contact-row svg.mt {
  margin-top: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   19. Floating WhatsApp button
   -------------------------------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 999px;
  background-color: var(--whatsapp);
  padding: 1rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s ease;
}

.wa-fab:hover {
  transform: scale(1.1);
}

.wa-fab svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
}

.wa-fab .wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  transition: max-width 0.3s ease, margin-left 0.3s ease;
}

.wa-fab:hover .wa-label {
  max-width: 10rem;
  margin-left: 0.5rem;
}

/* --------------------------------------------------------------------------
   20. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Keyframes
   -------------------------------------------------------------------------- */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--marquee-distance, -50%));
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   22. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  /* The brand strip is decorative. Stop it outright rather than speeding it up —
     a near-zero duration would snap the track to its end and hide the first set. */
  .marquee-track {
    animation: none !important;
  }

  .marquee-set[aria-hidden="true"] {
    display: none;
  }

  /* The testimonial spotlight does not auto-advance under reduced motion
     (main.js checks the same query), so the progress line is meaningless. */
  .spotlight-progress {
    display: none;
  }

  .spotlight-slide {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   23. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .wa-fab,
  .marquee {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ---- Theme toggle + light mode ---- */
:root {
  --bg-base: #1a0f18; --text-main: #f0e6ec; --card-bg: rgba(255,255,255,0.06);
  --primary: #e78c2a; --accent: #6fa8dc;
}
[data-theme="light"] { --bg-base: #f7f2ea; --text-main: #2a181a; --card-bg: rgba(42,24,26,0.04); --primary: #e07b18; --accent: #4a7fa8; }
.theme-toggle { background:transparent; border:1.5px solid var(--primary); color:var(--primary); border-radius:50%; width:2.6rem; height:2.6rem; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; font-size:1.1rem; transition:.2s; }
.theme-toggle:hover { background:var(--primary); color:#fff; }

/* ---- Light theme overrides (matches existing oklch system) ---- */
[data-theme="light"] {
  --background: oklch(96% 0.02 300);
  --foreground: oklch(16% 0.045 305);
  --card: oklch(92% 0.03 300);
  --card-foreground: oklch(16% 0.045 305);
  --primary: oklch(65% 0.18 45);
  --primary-foreground: oklch(96% 0.02 300);
  --secondary: oklch(90% 0.05 305);
  --secondary-foreground: oklch(16% 0.045 305);
  --muted: oklch(88% 0.03 300);
  --muted-foreground: oklch(30% 0.05 305);
  --accent: oklch(55% 0.15 240);
  --accent-foreground: oklch(98% 0.005 240);
  --border: oklch(20% 0.05 305 / 0.12);
  --input: oklch(20% 0.05 305 / 0.14);
  --ring: oklch(65% 0.18 45);
  --surface: oklch(94% 0.02 300);
  --surface-2: oklch(88% 0.03 305);
  --brand-orange: oklch(65% 0.18 45);
  --brand-blue: oklch(55% 0.15 240);
  --background-fb: #f5efe8;
  --foreground-fb: #2a181a;
  --primary-fb: #e07b18;
  --accent-fb: #4a7fa8;
  --surface-fb: #efe9db;
  --muted-foreground-fb: #4a3a48;
  --shadow-glow: 0 10px 35px -8px rgba(224,123,24,0.35);
}
.theme-btn { background:transparent; border:1.5px solid var(--primary); color:var(--primary); border-radius:50%; width:2.6rem; height:2.6rem; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:.2s; }
.theme-btn:hover { background:var(--primary); color:var(--primary-foreground); }
.theme-btn svg { width:1.2rem; height:1.2rem; }

/* ---- Logo toggle ---- */
.logo-light { display:none; }
[data-theme="light"] .logo-light { display:inline; }
[data-theme="light"] .logo-dark { display:none; }

/* ---- Services dropdown ---- */
.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown { display:none; position:absolute; top:calc(100% + 0.55rem); left:0; min-width:18rem; background:color-mix(in oklab, var(--surface) 92%, transparent); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:1rem; padding:0.75rem 0.25rem; box-shadow:0 20px 50px rgba(0,0,0,0.35); z-index:50; flex-direction:column; gap:0.15rem; }
.nav-dropdown::before { content:""; position:absolute; top:-0.7rem; left:0; right:0; height:0.7rem; }
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown, .nav-dropdown:hover { display:flex; }
.nav-dropdown a { display:block; padding:0.55rem 0.75rem; border-radius:0.5rem; font-size:0.85rem; font-weight:500; color:var(--foreground); transition:.15s; white-space:nowrap; }
.nav-dropdown a:hover { background:color-mix(in oklab, var(--primary) 15%, transparent); color:var(--primary); }
