/* ============== RESET & BASE ============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #ef2d2c;
  --cream: #f4f1ec;
  --cream-light: #faf8f5;
  --white: #ffffff;
  --ink: #1a1a1a;
  --text: #2a2a2a;
  --text-mid: #6a6a6a;
  --text-light: #9a9a9a;
  --border: #e0dbd2;
  --border-soft: #ece7de;
  --green: #16a34a;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable;
}

body {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  font-size: 15px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ============== TYPOGRAPHY ============== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

/* ============== LOGO (used in footer) ============== */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--ink);
  border-radius: 6px;
  position: relative;
  display: grid;
  place-items: center;
}

.logo-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-weight: 600;
}

.logo-text small {
  font-size: 10px;
  color: var(--text-mid);
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ============== HERO LOGO (top of left column) ============== */
.hero-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  transition: opacity 0.25s ease;
}

.hero-logo:hover {
  opacity: 0.85;
}

.hero-logo img {
  height: 72px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 768px) {
  .hero-logo {
    margin-bottom: 22px;
  }

  .hero-logo img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-logo img {
    height: 52px;
  }
}

/* ============== HERO (Premium Split-Screen) ============== */
.hero {
  --hatch-gap: 64px;
  --hatch-line: rgba(17, 17, 17, 0.05);
  padding: 32px 0 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--hatch-line) 0,
      var(--hatch-line) 1px,
      transparent 1px,
      transparent var(--hatch-gap)
    ),
    repeating-linear-gradient(
      -45deg,
      var(--hatch-line) 0,
      var(--hatch-line) 1px,
      transparent 1px,
      transparent var(--hatch-gap)
    );
}

/* Soft vignette: fades the crosshatch around content for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 50% at 50% 50%,
      rgba(244, 241, 236, 0.75),
      transparent 75%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 65%,
      rgba(244, 241, 236, 0.9) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border) 30%,
    var(--border) 70%,
    transparent
  );
  opacity: 0.6;
  z-index: 1;
}

/* Decorative background orbs (red glow accents) */
.hero-bg-orb,
.hero-bg-orb-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-orb {
  top: -200px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(239, 45, 44, 0.14),
    rgba(239, 45, 44, 0.04) 40%,
    transparent 65%
  );
  filter: blur(8px);
}

.hero-bg-orb-2 {
  bottom: -220px;
  left: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(239, 45, 44, 0.08),
    rgba(239, 45, 44, 0.02) 45%,
    transparent 70%
  );
  filter: blur(10px);
}

@media (max-width: 640px) {
  .hero {
    --hatch-gap: 48px;
  }

  .hero-bg-orb {
    width: 380px;
    height: 380px;
    top: -140px;
    right: -120px;
  }

  .hero-bg-orb-2 {
    width: 320px;
    height: 320px;
    bottom: -140px;
    left: -100px;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 12px 0;
}

@media (max-width: 960px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
    padding: 24px 0 16px;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 30px;
  letter-spacing: 0.005em;
}

.hero-meta .live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: livepulse 2s infinite;
}

@keyframes livepulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.08);
  }
}

.hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero h1 .hl {
  color: var(--red);
  font-style: normal;
}

.hero h1 .hero-tagline {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-mid);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 540px;
  margin-bottom: 38px;
}

.hero-sub .accent {
  color: var(--ink);
  font-weight: 500;
}

/* ---- Right: premium form card ---- */
.hero-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 12px 32px rgba(17, 17, 17, 0.05),
    0 32px 60px -22px rgba(17, 17, 17, 0.08);
  position: relative;
}

.hero-form::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 45, 44, 0.4),
    transparent
  );
}

.hero-form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-form-title .hl {
  color: var(--red);
}

.hero-form-sub {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 10.5px;
  color: var(--text-mid);
  margin-bottom: 7px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.field input::placeholder {
  color: var(--text-light);
}

.field input:focus,
.field select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(239, 45, 44, 0.08);
}

.field-hint {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-light);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* Matches the visual treatment of the native <label> rule above —
   used on the multi-select question where the wrapper is a <span>
   so the children's own <label class="service-pill"> elements can
   handle their own click handling without nesting label-in-label. */
.field-label {
  display: block;
  font-size: 10.5px;
  color: var(--text-mid);
  margin-bottom: 7px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== Multi-select dropdown =====
   Custom dropdown that wraps a list of checkbox <label>s. The
   trigger button mirrors a native input visually so it sits in
   the form like any other field. The panel is hidden until JS
   toggles `aria-expanded="true"` on the trigger and removes the
   `hidden` attribute on the panel. */
.multiselect {
  position: relative;
}

.multiselect-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.multiselect-trigger:hover {
  border-color: var(--text-light);
}

.multiselect-trigger:focus-visible,
.multiselect[data-open="true"] .multiselect-trigger {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(239, 45, 44, 0.08);
}

.multiselect-trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Empty-state text (placeholder) is rendered in the lighter input
   colour; once the JS swaps in a real selection count, the inline
   colour overrides this back to --ink. */
.multiselect-trigger-text:empty::before,
.multiselect-trigger-text[data-empty="true"] {
  color: var(--text-light);
}

.multiselect-chevron {
  flex-shrink: 0;
  color: var(--text-mid);
  transition: transform 0.2s ease;
}

.multiselect[data-open="true"] .multiselect-chevron {
  transform: rotate(180deg);
}

.multiselect-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  /* contain: stops the wheel from chaining out to the page once
     the panel hits its top/bottom edge. Combined with the
     data-lenis-prevent attribute on the panel, this keeps the
     wheel inside the dropdown rather than being captured by the
     Lenis smooth-scroll loop. */
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px -10px rgba(17, 17, 17, 0.18);
  padding: 6px;
  /* Smooth scrollbar in panel — keep restrained, this is small UI. */
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.multiselect-panel::-webkit-scrollbar {
  width: 8px;
}

.multiselect-panel::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* Selector is scoped under .multiselect-panel so its specificity
   (0,2,0) beats the `.field label` rule above (0,1,1) — otherwise
   options inherit display:block + uppercase + 10.5px from the field
   label treatment, which stacks the checkbox above the label. */
.multiselect-panel .multiselect-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0;
  transition: background 0.15s ease;
}

.multiselect-panel .multiselect-option:hover {
  background: var(--cream-light);
}

.multiselect-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Visible checkbox indicator — square with a centred check that
   only renders when the sibling input is :checked. */
.multiselect-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  display: grid;
  place-items: center;
  position: relative;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.multiselect-check::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.multiselect-option input:checked ~ .multiselect-check {
  background: var(--red);
  border-color: var(--red);
}

.multiselect-option input:checked ~ .multiselect-check::after {
  opacity: 1;
}

.multiselect-option input:focus-visible ~ .multiselect-check {
  box-shadow: 0 0 0 3px rgba(239, 45, 44, 0.18);
}

.multiselect-label {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.form-btn {
  width: 100%;
  padding: 15px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  transition:
    background 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.form-btn svg {
  transition: transform 0.28s ease;
}

.form-btn:hover {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(239, 45, 44, 0.22);
}

.form-btn:hover svg {
  transform: translateX(3px);
}

.form-btn:disabled,
.form-btn[disabled] {
  background: #c9c9c9;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.form-btn:disabled:hover,
.form-btn[disabled]:hover {
  background: #c9c9c9;
  transform: none;
  box-shadow: none;
}

.form-btn:disabled svg,
.form-btn[disabled] svg {
  transform: none;
}

.form-btn.is-loading {
  cursor: progress;
  background: var(--ink);
  color: var(--white);
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnspin 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes btnspin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-spinner {
    animation-duration: 1.6s;
  }
}

/* GSAP hide-pre-animation — TEMP DISABLED FOR DEBUG */
.hero-anim {
  opacity: 1;
  transform: none;
}

/* ============== SECTION BASE ============== */
.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

.section-head {
  margin-bottom: 40px;
  max-width: 720px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.section-head .sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-top: 12px;
  max-width: 600px;
  line-height: 1.55;
}

/* ============== INDUSTRY VERTICALS (Premium Grid) ============== */
.industries {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
  border-top: 1px solid var(--border-soft);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ambient red glow — soft radial gradients layered for depth */
.industries::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 55%,
      rgba(239, 45, 44, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(239, 45, 44, 0.05) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 20% 30%,
      rgba(239, 45, 44, 0.04) 0%,
      transparent 40%
    );
  pointer-events: none;
  z-index: 0;
}

/* Subtle noise texture for premium grain */
.industries::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.045;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.industries > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .industries {
    padding: 40px 0;
  }
}

.industries-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}

@media (max-width: 880px) {
  .industries-head {
    gap: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .industries-head h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .industries-head-sub {
    font-size: 13.5px;
    line-height: 1.55;
  }
}

.industries-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.industries-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}

.industries-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}

.industries-head h2 .hl {
  color: var(--red);
}

.industries-head-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0;
}

/* ============== INDUSTRIES — ORBITAL DIAGRAM ============== */
/* Responsive orbit sized via --orbit-size so everything inside
   (radius, items, icons, labels, center padding) scales with it. */
.industries-orbit {
  display: block;
  position: relative;
  --orbit-size: min(82vmin, 480px);
  width: var(--orbit-size);
  height: var(--orbit-size);
  max-width: 100%;
  margin: 8px auto 0;
  --r: calc(var(--orbit-size) * 0.38);
}

@media (min-width: 961px) {
  .industries-orbit {
    --orbit-size: min(56vh, 520px);
  }
}

/* Stage: heading on the left, orbital diagram on the right (desktop).
   Stacks vertically on tablet/mobile — heading on top, orbit below. */
.industries-stage {
  margin-bottom: 24px;
  position: relative;
}

@media (min-width: 961px) {
  .industries-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .industries-stage .industries-head {
    margin-bottom: 0;
  }

  .industries-stage .industries-orbit {
    margin: 0;
    justify-self: end;
  }
}

/* Hide inner 4-item ring on small screens — outer 8 stay readable */
@media (max-width: 720px) {
  .orbit-items-rotor-inner {
    display: none;
  }
}

/* Concentric guide rings */
.industries-orbit::before,
.industries-orbit::after,
.orbit-ring-mid {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.industries-orbit::before {
  width: 100%;
  height: 100%;
}

.industries-orbit::after {
  width: 66%;
  height: 66%;
}

.orbit-ring-mid {
  width: 83%;
  height: 83%;
}

/* Center logo — strong focal core with layered glow.
   Single child (img) is centered via grid place-items. */
.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 232, 232, 0.95) 55%,
    rgba(255, 210, 210, 0.85) 100%
  );
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(239, 45, 44, 0.15),
    0 30px 60px -20px rgba(17, 17, 17, 0.22),
    0 0 80px 8px rgba(239, 45, 44, 0.22),
    0 0 160px 40px rgba(239, 45, 44, 0.12);
  padding: clamp(10px, calc(var(--orbit-size) * 0.04), 26px);
  z-index: 3;
}

.orbit-center img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Seamless pulse rings — three rings staggered so a wave is always
   expanding outward. Starts invisible-small, grows to invisible-large
   with no snap back, so the loop reads as continuous flow. */
.industries-orbit .orbit-center-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(239, 45, 44, 0.5);
  transform: translate(-50%, -50%);
  animation: orbit-core-pulse 4.5s cubic-bezier(0.25, 0.5, 0.4, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

.industries-orbit .orbit-center-pulse:nth-of-type(2) {
  animation-delay: -1.5s;
}

.industries-orbit .orbit-center-pulse:nth-of-type(3) {
  animation-delay: -3s;
}

@keyframes orbit-core-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  12% {
    opacity: 0.55;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* Industry items positioned around the orbit.
   --r-mult lets inner-orbit items sit at a smaller radius.
   Width scales with --orbit-size so they don't overflow on mobile. */
.orbit-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(78px, calc(var(--orbit-size) * 0.2), 132px);
  transform: translate(
    calc(-50% + var(--r) * var(--r-mult, 1) * sin(var(--angle))),
    calc(-50% - var(--r) * var(--r-mult, 1) * cos(var(--angle)))
  );
  text-align: center;
}

/* Inner wrapper carries the flex layout AND the counter-rotation
   so labels stay upright while the parent rotor revolves. */
.orbit-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.orbit-item .oi-icon {
  width: clamp(40px, calc(var(--orbit-size) * 0.088), 58px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow:
    0 12px 26px -10px rgba(17, 17, 17, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.45);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}

.orbit-item .oi-icon svg {
  width: clamp(16px, calc(var(--orbit-size) * 0.034), 22px);
  height: clamp(16px, calc(var(--orbit-size) * 0.034), 22px);
}

.orbit-item .oi-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(10.5px, calc(var(--orbit-size) * 0.02), 13.5px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}

/* Shared rotor animation used by the industry-item orbits.
   Counter-clockwise consumers reverse the direction via the
   animation shorthand below instead of duplicating the keyframe. */
@keyframes orbit-revolve {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Two rotating orbits for the industry icons themselves */
.orbit-items-rotor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-items-rotor > .orbit-item {
  pointer-events: auto;
}

.orbit-items-rotor-outer {
  animation: orbit-revolve 90s linear infinite;
}

.orbit-items-rotor-outer .orbit-item-content {
  animation: orbit-revolve 90s linear infinite reverse;
}

.orbit-items-rotor-inner {
  animation: orbit-revolve 60s linear infinite reverse;
}

.orbit-items-rotor-inner .orbit-item-content {
  animation: orbit-revolve 60s linear infinite;
}

/* Items on the inner orbit are visually smaller */
.orbit-item--inner {
  width: clamp(64px, calc(var(--orbit-size) * 0.16), 104px);
}

.orbit-item--inner .oi-icon {
  width: clamp(32px, calc(var(--orbit-size) * 0.067), 44px);
  aspect-ratio: 1;
  box-shadow:
    0 8px 18px -8px rgba(17, 17, 17, 0.16),
    0 0 0 5px rgba(255, 255, 255, 0.4);
}

.orbit-item--inner .oi-icon svg {
  width: clamp(13px, calc(var(--orbit-size) * 0.027), 18px);
  height: clamp(13px, calc(var(--orbit-size) * 0.027), 18px);
}

.orbit-item--inner .oi-name {
  font-size: clamp(9.5px, calc(var(--orbit-size) * 0.017), 11px);
  line-height: 1.25;
}

/* Drifting ambient particles within the orbit area */
.orbit-particle {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(239, 45, 44, 0.7);
  box-shadow: 0 0 8px 1.5px rgba(239, 45, 44, 0.4);
  animation: orbit-particle-drift var(--d, 9s) ease-in-out var(--delay, 0s)
    infinite;
  pointer-events: none;
}

@keyframes orbit-particle-drift {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.25;
  }

  50% {
    transform: translate(var(--dx, 20px), var(--dy, -15px));
    opacity: 0.85;
  }
}

/* Glowing radial line that appears on hover — points from item to center.
   Length is 70% of the orbit radius so it scales naturally with size. */
.orbit-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: calc(var(--r) * var(--r-mult, 1) * 0.7);
  background: linear-gradient(
    to bottom,
    rgba(239, 45, 44, 0.6) 0%,
    rgba(239, 45, 44, 0.15) 70%,
    transparent 100%
  );
  transform: translate(-50%, 0) rotate(var(--angle));
  transform-origin: top center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: -1;
}

.orbit-item:hover::before {
  opacity: 1;
}

/* Stronger hover lift on the icon */
.orbit-item:hover .oi-icon {
  transform: translateY(-6px) scale(1.08);
  border-color: rgba(239, 45, 44, 0.5);
  color: var(--red);
  box-shadow:
    0 20px 36px -12px rgba(239, 45, 44, 0.4),
    0 0 0 8px rgba(255, 255, 255, 0.7),
    0 0 30px rgba(239, 45, 44, 0.35);
}

/* Dim siblings when one item is hovered (modern browsers) */
.industries-orbit:has(.orbit-item:hover) .orbit-item:not(:hover) .oi-icon,
.industries-orbit:has(.orbit-item:hover) .orbit-item:not(:hover) .oi-name {
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-items-rotor,
  .orbit-items-rotor .orbit-item-content,
  .orbit-particle,
  .orbit-center-pulse {
    animation: none;
  }
}

/* ============== WHAT IS CREZVATIC (Editorial intro) ============== */
.about-section {
  background: var(--cream-light);
  padding: 88px 0;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

.about-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 32px;
}

.about-section h2 .hl {
  color: var(--red);
}

.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-body p strong {
  color: var(--ink);
  font-weight: 600;
}

.about-body .about-punchline {
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  padding-left: 20px;
  border-left: 2px solid var(--red);
  margin-top: 12px;
  letter-spacing: -0.005em;
}

@media (max-width: 768px) {
  .about-section {
    padding: 64px 0;
  }

  .about-section h2 {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 56px 0;
  }

  .about-body p {
    font-size: 15.5px;
  }

  .about-body .about-punchline {
    padding-left: 16px;
  }
}

/* ============== SERVICES (Premium Editorial Grid) ============== */
.services-section {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
  border-top: 1px solid var(--border-soft);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient red glow — same family as the industries section,
   but lighter so it doesn't compete with the bento cards. */
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(239, 45, 44, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(239, 45, 44, 0.04) 0%,
      transparent 35%
    );
  pointer-events: none;
  z-index: 0;
}

.services-section > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .services-section {
    padding: 72px 0;
  }
}

.services-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 44px;
}

.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.services-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}

.services-section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}

.services-section-head h2 .hl {
  color: var(--red);
}

.services-head-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0;
}

/* Stage wraps the grid + the orb/path overlay so the SVG and the
   traveling orb live in the same local coordinate space as the cards.
   Same setup as .process-timeline. */
.services-stage {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* Tablet: drop to 3 columns */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small tablet / large phone: 2-col grid */
@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === 4-col snake layout ===
   Row 1: 1 → 2 → 3 → 4
   Row 2: 8 ← 7 ← 6 ← 5   (cards 5–8 reversed via CSS order)
   Row 3: 9 → 10 → 11 → 12
   Row 4: empty, empty, 14, 13   (cards 13, 14 pinned to the right
                                  side so the snake drops cleanly
                                  from col 4 / card 12 down to card
                                  13 and steps left to card 14)

   Every card needs an explicit `order` value here — if some cards
   stay at the default `order: 0`, they slot in before the ones we
   explicitly numbered, scrambling the layout. data-num is zero-padded
   in the markup ("05", "06", …), so attribute selectors include
   the leading zero. */
@media (min-width: 1101px) {
  .svc-card[data-num="01"] {
    order: 1;
  }
  .svc-card[data-num="02"] {
    order: 2;
  }
  .svc-card[data-num="03"] {
    order: 3;
  }
  .svc-card[data-num="04"] {
    order: 4;
  }
  .svc-card[data-num="08"] {
    order: 5;
  }
  .svc-card[data-num="07"] {
    order: 6;
  }
  .svc-card[data-num="06"] {
    order: 7;
  }
  .svc-card[data-num="05"] {
    order: 8;
  }
  .svc-card[data-num="09"] {
    order: 9;
  }
  .svc-card[data-num="10"] {
    order: 10;
  }
  .svc-card[data-num="11"] {
    order: 11;
  }
  .svc-card[data-num="12"] {
    order: 12;
  }
  /* Pin to row 4 explicitly — without grid-row the auto-flow cursor
       advances past row 4 col 4 after placing card 13, which would
       otherwise push card 14 down to row 5. */
  .svc-card[data-num="13"] {
    order: 13;
    grid-row: 4;
    grid-column: 4;
  }
  .svc-card[data-num="14"] {
    order: 14;
    grid-row: 4;
    grid-column: 3;
  }
}

/* === 3-col snake (721–1100px) — 14 cards arranged as 3,3,3,3,2 ===
   Row 1: 1 → 2 → 3
   Row 2: 6 ← 5 ← 4   (cards 4–6 reversed)
   Row 3: 7 → 8 → 9
   Row 4: 12 ← 11 ← 10 (cards 10–12 reversed)
   Row 5: 13 → 14, col 3 empty */
@media (min-width: 721px) and (max-width: 1100px) {
  .svc-card[data-num="01"] {
    order: 1;
  }
  .svc-card[data-num="02"] {
    order: 2;
  }
  .svc-card[data-num="03"] {
    order: 3;
  }
  .svc-card[data-num="06"] {
    order: 4;
  }
  .svc-card[data-num="05"] {
    order: 5;
  }
  .svc-card[data-num="04"] {
    order: 6;
  }
  .svc-card[data-num="07"] {
    order: 7;
  }
  .svc-card[data-num="08"] {
    order: 8;
  }
  .svc-card[data-num="09"] {
    order: 9;
  }
  .svc-card[data-num="12"] {
    order: 10;
  }
  .svc-card[data-num="11"] {
    order: 11;
  }
  .svc-card[data-num="10"] {
    order: 12;
  }
  .svc-card[data-num="13"] {
    order: 13;
  }
  .svc-card[data-num="14"] {
    order: 14;
  }
}

/* === 2-col snake (≤720px) — 14 cards arranged as 7 rows of 2 ===
   Every other row reverses: 1·2 / 4·3 / 5·6 / 8·7 / 9·10 / 12·11 / 13·14 */
@media (max-width: 720px) {
  .svc-card[data-num="01"] {
    order: 1;
  }
  .svc-card[data-num="02"] {
    order: 2;
  }
  .svc-card[data-num="04"] {
    order: 3;
  }
  .svc-card[data-num="03"] {
    order: 4;
  }
  .svc-card[data-num="05"] {
    order: 5;
  }
  .svc-card[data-num="06"] {
    order: 6;
  }
  .svc-card[data-num="08"] {
    order: 7;
  }
  .svc-card[data-num="07"] {
    order: 8;
  }
  .svc-card[data-num="09"] {
    order: 9;
  }
  .svc-card[data-num="10"] {
    order: 10;
  }
  .svc-card[data-num="12"] {
    order: 11;
  }
  .svc-card[data-num="11"] {
    order: 12;
  }
  .svc-card[data-num="13"] {
    order: 13;
  }
  .svc-card[data-num="14"] {
    order: 14;
  }
}

/* Swipe hint is no longer used — phones now show the cards as a
   2-col vertical grid so the orb animation runs at every breakpoint. */
.services-swipe-hint {
  display: none;
}

/* Glass card — frosty translucent panel so the orb's red glow bleeds
   through as it passes underneath. Matches the .process-card values
   (0.55 white, 18px blur, 140% saturate) so both sections feel like
   the same material. */
.svc-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition:
    border-color 0.35s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.svc-num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.svc-icon {
  width: 34px;
  height: 34px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.svc-card h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.svc-preview {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* ===== In-grid CTA tile =====
   Sits on the left edge of the services grid spanning 2 columns at
   every breakpoint. Text + link are vertically centered as a group
   inside the tile. Filled red so it stands out from the frosty
   white svc-cards and reads unambiguously as a call to action. */
.svc-cta {
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 170px;
  color: #fff;
  /* order: 15 keeps the CTA after all 14 svc-cards at every
     breakpoint — cards use order 1–14, so a higher value here
     guarantees the CTA renders last in flex/grid auto-flow. */
  order: 15;
  grid-column: 1 / span 2;
  box-shadow: 0 12px 28px -14px rgba(239, 45, 44, 0.5);
}

.svc-cta-line {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.svc-cta .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.28s ease;
  align-self: flex-start;
}

.svc-cta .cta svg {
  transition:
    transform 0.28s ease,
    color 0.28s ease;
}

.svc-cta .cta:hover svg {
  transform: translateX(3px);
}

/* 4-col layout: pin to row 4 cols 1–2 — cards 14, 13 occupy cols
   3 and 4 on the same row, so the CTA fills the visible left half. */
@media (min-width: 1101px) {
  .svc-cta {
    grid-row: 4;
  }
}

@media (max-width: 720px) {
  .svc-cta {
    align-items: center;
    text-align: center;
    min-height: 0;
    padding: 14px 16px;
    gap: 8px;
  }
  .svc-cta .cta {
    align-self: center;
  }
}

/* === Services traveling-orb timeline (mirrors the onboarding section) === */
.services-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.services-path-track {
  fill: none;
  stroke: rgba(239, 45, 44, 0.12);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-path-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(239, 45, 44, 0.45));
}

.services-orb {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  top: 0;
  left: 0;
  pointer-events: none;
  /* Sits behind the cards (grid is z-index 1) so the glow seeps
       through each card's backdrop-filter as it passes underneath. */
  z-index: 0;
  box-shadow:
    0 0 28px 10px rgba(239, 45, 44, 0.6),
    0 0 60px 20px rgba(239, 45, 44, 0.28),
    inset 0 0 8px rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
}

.services-orb.visible {
  opacity: 1;
}

.services-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 45, 44, 0.3), transparent 70%);
  animation: orbHalo 2s ease-in-out infinite;
}

/* Card active state — matches .process-card.active. The background
   bumps up only to 0.78 (not full opaque) so the orb's red glow is
   still visible bleeding through the card while it's right behind. */
.svc-card.active {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(239, 45, 44, 0.35);
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(239, 45, 44, 0.12),
    0 18px 40px -16px rgba(17, 17, 17, 0.14),
    0 0 40px -10px rgba(239, 45, 44, 0.22);
}

.svc-card.active .svc-icon {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.svc-card.active .svc-num {
  color: var(--red);
  text-shadow: 0 0 14px rgba(239, 45, 44, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .services-orb::before {
    animation: none;
  }
}

/* ============== PROCESS (Cinematic Onboarding Timeline) ============== */
.process {
  background: var(--cream-light);
  padding: 100px 0;
  position: relative;
  /* overflow: clip (not hidden) — clip kills the visible overflow
       from card slide-ins without creating a scroll container, which
       is what would otherwise break the position: sticky pin inside
       .process-sticky on desktop. Hidden = scroll container, clip = not. */
  overflow: clip;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

@media (max-width: 768px) {
  .process {
    padding: 72px 0;
  }
}

.process-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 52px;
  align-items: end;
}

@media (max-width: 880px) {
  .process-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 44px;
  }
}

.process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.process-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}

.process-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}

.process-head h2 .hl {
  color: var(--red);
}

/* Heading-end period — static red glyph with a soft red glow, no
   pulse. Kept as a small accent so the H2 still feels finished. */
.heading-orb {
  display: inline-block;
  color: var(--red);
  font-weight: 900;
  margin-left: 0.05em;
  text-shadow:
    0 0 16px rgba(239, 45, 44, 0.55),
    0 0 32px rgba(239, 45, 44, 0.25);
}

/* `orbHalo` keyframe still used by .services-orb::before further up */

/* ===== Standard stacked layout =====
   The section flows as a normal block at its natural content height.
   Cards reveal once via IntersectionObserver when the grid scrolls
   into view, then stay shown — no scroll-pinned reveal. */
.process-pin-wrap {
  position: relative;
}

.process-sticky {
  position: relative;
}

@media (min-width: 961px) {
  .process-cta-wrap {
    padding-top: 56px;
  }
}

.process-timeline {
  position: relative;
  height: max-content;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Drop backdrop-filter on small screens — the section background
     is a flat cream colour so the blur buys nothing visually but costs
     a full-section composite layer on low-end phones, which makes
     scroll janky. */
  .process-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Desktop 3-col only: visually reorder row 2 as 6 ← 5 ← 4 so the
   journey reads top-LTR / bottom-RTL. DOM order stays numerical, so
   tablet (2-col) and mobile (1-col) get a natural top-down flow. */
@media (min-width: 961px) {
  .process-card:nth-child(4) {
    order: 6;
  }
  .process-card:nth-child(5) {
    order: 5;
  }
  .process-card:nth-child(6) {
    order: 4;
  }
}

.process-card {
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 224px;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 45, 44, 0.35);
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(239, 45, 44, 0.12),
    0 18px 40px -16px rgba(17, 17, 17, 0.14),
    0 0 40px -10px rgba(239, 45, 44, 0.22);
}

.process-card:hover .pc-num {
  color: var(--red);
  text-shadow: 0 0 14px rgba(239, 45, 44, 0.28);
}

.pc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 14px;
}

.pc-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition:
    color 0.5s ease,
    text-shadow 0.5s ease;
}

.process-card h4 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.22;
  margin-bottom: 12px;
  color: var(--ink);
}

.process-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

/* ============== TESTIMONIALS (Premium Light Quote Grid) ============== */
.testimonials {
  background: var(--cream-light);
  color: var(--ink);
  padding: 96px 0;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

@media (max-width: 768px) {
  .testimonials {
    padding: 72px 0;
  }
}

.testimonials-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 48px;
}

.testimonials-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}

.testimonials-head h2 .hl {
  color: var(--red);
}

.testimonials-head-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0;
}

/* === Testimonials Carousel === */
.testimonials-carousel {
  position: relative;
}

.test-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 14px;
  padding: 4px 4px 8px;
}

.test-cards::-webkit-scrollbar {
  display: none;
}

.test-cards::after {
  content: "";
  flex: 0 0 4px;
}

.test-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
  flex: 0 0 calc((100% - 28px) / 3);
  scroll-snap-align: start;
  min-width: 0;
  height: auto;
}

@media (max-width: 1024px) {
  .test-card {
    flex: 0 0 calc((100% - 14px) / 2);
  }
}

@media (max-width: 640px) {
  .test-card {
    flex: 0 0 86%;
    max-width: 360px;
  }
}

.test-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(239, 45, 44, 0.035),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.test-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -16px rgba(17, 17, 17, 0.14);
}

.test-card:hover::before {
  opacity: 1;
}

.test-quote {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--red);
  font-size: 56px;
  line-height: 0.6;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  user-select: none;
}

.test-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.test-attr {
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* Brand mark on the right of each testimonial. By default the
   plate is transparent so colored / dark logos sit cleanly
   against the white card. The `--dark` modifier opts in to a
   dark backdrop for logos whose mark is white. */
.test-avatar {
  order: 2;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.test-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Dark plate — only for logos that would otherwise vanish on
   white (e.g. Glow Garden's all-white mark). */
.test-avatar--dark {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px -4px rgba(17, 17, 17, 0.18);
}

/* Soft grey plate — for logos that need a subtle backdrop to
   separate from the white card (e.g. Glow Garden). */
.test-avatar--grey {
  background: #d4d0c6;
  border: 1px solid rgba(17, 17, 17, 0.04);
}

/* Brands whose mark fills its own bounding box edge-to-edge
   (e.g. Car Planet) — shrink them with extra inner padding. */
.test-avatar--tight img {
  padding: 10px;
}

/* Extra-tight — for marks that still look too big at --tight
   (e.g. Glow Garden's circular badge inside its dark plate). */
.test-avatar--xtight img {
  padding: 14px;
}

.test-card:hover .test-avatar {
  transform: translateY(-1px);
}

.test-card:hover .test-avatar--dark {
  border-color: rgba(239, 45, 44, 0.5);
  box-shadow:
    0 4px 12px -4px rgba(17, 17, 17, 0.22),
    0 0 0 4px rgba(239, 45, 44, 0.1);
}

@media (max-width: 640px) {
  .test-avatar {
    width: 52px;
    height: 52px;
    border-radius: 9px;
  }

  .test-avatar img {
    padding: 3px;
  }

  .test-avatar--tight img {
    padding: 8px;
  }

  .test-avatar--xtight img {
    padding: 12px;
  }
}

.test-attr-who {
  line-height: 1.3;
}

.test-attr-who strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.test-attr-who span {
  font-size: 11px;
  color: var(--text-mid);
}

/* ============== BRAND MARQUEE ============== */
.brands {
  background: var(--cream-light);
  padding: 72px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.brands-eyebrow {
  position: relative;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 104px;
  margin-bottom: 56px;
  padding-top: 44px;
}

.brands-eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--border-soft);
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brand-scroll 80s linear infinite;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.brand-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brands {
    padding: 56px 0;
  }

  .brands-eyebrow {
    margin-top: 72px;
    margin-bottom: 40px;
    padding-top: 32px;
    font-size: 11px;
  }

  .brand-track {
    gap: 44px;
    animation-duration: 55s;
  }

  .brand-logo {
    width: 120px;
    height: 60px;
  }
}

/* ============== FAQ (Premium Accordion) ============== */
.faq {
  background: var(--white);
  padding: 96px 0;
  position: relative;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

@media (max-width: 768px) {
  .faq {
    padding: 72px 0;
  }
}

.faq-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  align-items: end;
}

@media (max-width: 880px) {
  .faq-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 36px;
  }
}

.faq-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
}

.faq-head h2 .hl {
  color: var(--red);
}

.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.faq-item:hover {
  border-color: var(--ink);
}

.faq-item.open {
  border-color: var(--ink);
  box-shadow: 0 14px 32px -16px rgba(17, 17, 17, 0.12);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
}

.faq-trigger-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.faq-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.faq-q {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.32;
  color: var(--ink);
  transition: color 0.25s ease;
}

.faq-trigger:hover .faq-q {
  color: var(--red);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    background 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.faq-icon::before {
  width: 11px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 11px;
}

.faq-item.open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(180deg);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--white);
}

.faq-item.open .faq-icon::after {
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 4px 24px 24px 56px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 760px;
}

.faq-foot {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.faq-foot .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  transition:
    background 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.faq-foot .cta svg {
  transition: transform 0.28s ease;
}

.faq-foot .cta:hover {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(239, 45, 44, 0.22);
}

.faq-foot .cta:hover svg {
  transform: translateX(3px);
}

/* ============== SHARED SECTION CTA ============== */
.section-cta {
  margin-top: 56px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: left;
  gap: 24px;
}

.section-cta-line {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.45;
  max-width: 560px;
  letter-spacing: -0.005em;
  margin: 0;
  flex: 1 1 auto;
}

.section-cta .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--red);
  border: none;
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: color 0.28s ease;
}

.section-cta .cta svg {
  transition:
    transform 0.28s ease,
    color 0.28s ease;
}

.section-cta .cta:hover svg {
  transform: translateX(3px);
}

/* ============== BOOKING / SCHEDULE A CALL ============== */
.booking {
  background: var(--cream);
  padding: 96px 0;
  position: relative;
}

.booking::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

@media (max-width: 768px) {
  .booking {
    padding: 72px 0;
  }
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.booking-copy {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.booking-copy .booking-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Cal.com embed responsive sizing ---- */
.booking-form-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px;
}

#my-cal-inline {
  width: 100%;
  min-height: clamp(560px, 72vh, 720px);
  overflow: hidden;
  border-radius: 12px;
}

#my-cal-inline iframe {
  display: block;
  width: 100% !important;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 960px) {
  .booking-form-wrap {
    padding: 8px;
  }

  #my-cal-inline {
    min-height: clamp(620px, 80vh, 760px);
  }
}

@media (max-width: 600px) {
  .booking-form-wrap {
    padding: 4px;
    max-width: 100%;
  }

  #my-cal-inline {
    min-height: clamp(640px, 85vh, 820px);
    border-radius: 10px;
  }
}

@media (max-width: 880px) {
  .booking-grid {
    gap: 28px;
  }
}

.booking-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.booking-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}

.booking-copy h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 20px;
}

.booking-copy h2 .hl {
  color: var(--red);
}

.booking-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 460px;
  letter-spacing: -0.005em;
  margin: 0;
}

/* ============== BOOKING DATE PICKER ============== */
.dp-anchor {
  position: relative;
}

.dp-input-wrap {
  position: relative;
}

.dp-anchor input {
  cursor: pointer;
  padding-right: 40px;
}

.dp-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mid);
  pointer-events: none;
  transition: color 0.2s ease;
}

.dp-anchor.open .dp-icon,
.dp-anchor input:focus ~ .dp-icon {
  color: var(--red);
}

.datepicker {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 14px 36px -10px rgba(17, 17, 17, 0.18);
  user-select: none;
}

.datepicker[hidden] {
  display: none;
}

.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.dp-nav {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.dp-nav:hover:not(:disabled) {
  background: var(--cream);
  border-color: var(--border);
}

.dp-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.dp-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.dp-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}

.dp-dow span {
  text-align: center;
  font-size: 10px;
  color: var(--text-mid);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}

.dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dp-cell {
  aspect-ratio: 1;
  min-height: 34px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.dp-cell:not(.dp-disabled):not(.dp-empty):not(.dp-selected):hover {
  background: var(--cream);
}

.dp-cell.dp-disabled {
  color: #c5c0b7;
  cursor: not-allowed;
}

.dp-cell.dp-empty {
  pointer-events: none;
}

.dp-cell.dp-today:not(.dp-selected) {
  border-color: var(--ink);
}

.dp-cell.dp-selected {
  background: var(--red);
  color: var(--white);
}

/* ============== FOOTER (Minimal) ============== */
.footer {
  background: var(--cream-light);
  padding: 40px 0 32px;
  border-top: 1px solid var(--border-soft);
}

.footer-min {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: opacity 0.25s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.footer-logo small {
  font-size: 10.5px;
  color: var(--text-mid);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.005em;
}

@media (max-width: 540px) {
  .footer-min {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-logo img {
    height: 38px;
  }
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

.stagger > * {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.in > *:nth-child(1) {
  transition-delay: 0.04s;
}

.stagger.in > *:nth-child(2) {
  transition-delay: 0.08s;
}

.stagger.in > *:nth-child(3) {
  transition-delay: 0.12s;
}

.stagger.in > *:nth-child(4) {
  transition-delay: 0.16s;
}

.stagger.in > *:nth-child(5) {
  transition-delay: 0.2s;
}

.stagger.in > *:nth-child(6) {
  transition-delay: 0.24s;
}

.stagger.in > *:nth-child(7) {
  transition-delay: 0.28s;
}

.stagger.in > *:nth-child(8) {
  transition-delay: 0.32s;
}

.stagger.in > *:nth-child(9) {
  transition-delay: 0.36s;
}

.stagger.in > *:nth-child(10) {
  transition-delay: 0.4s;
}

.stagger.in > *:nth-child(11) {
  transition-delay: 0.44s;
}

.stagger.in > *:nth-child(12) {
  transition-delay: 0.48s;
}

.stagger.in > *:nth-child(13) {
  transition-delay: 0.52s;
}

.stagger.in > *:nth-child(14) {
  transition-delay: 0.56s;
}

.stagger.in > *:nth-child(15) {
  transition-delay: 0.6s;
}

.stagger.in > *:nth-child(16) {
  transition-delay: 0.64s;
}

::selection {
  background: var(--red);
  color: white;
}

/* ============== STICKY CTA BAR ============== */
.sticky-cta {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--cream-light);
  border: 1.5px solid rgba(239, 45, 44, 0.4);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 14px 36px -10px rgba(17, 17, 17, 0.14);
}

.sticky-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 45, 44, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sticky-icon svg {
  width: 20px;
  height: 20px;
}

.sticky-text {
  flex: 1;
  line-height: 1.3;
  min-width: 0;
  text-align: left;
}

.sticky-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sticky-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid var(--red);
}

.sticky-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sticky-btn-outline {
  background: var(--white);
  color: var(--red);
}

.sticky-btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.sticky-btn-primary {
  background: var(--red);
  color: var(--white);
}

.sticky-btn-primary:hover {
  background: #d62528;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(239, 45, 44, 0.28);
}

@media (max-width: 760px) {
  /* On mobile the sticky CTA pins to the TOP of the viewport so it
     doesn't overlap the WhatsApp FAB at the bottom-left. Entrance
     animation flips to slide down from above. */
  .sticky-cta {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: auto;
    transform: translateY(-24px);
  }

  .sticky-cta-inner {
    padding: 10px 10px;
    gap: 8px;
    border-radius: 14px;
  }

  /* Mobile: drop the icon and tagline; promote the two CTAs
       to a 50/50 button row so the bar reads as pure action. */
  .sticky-icon,
  .sticky-text {
    display: none;
  }

  .sticky-actions {
    flex: 1 1 auto;
    width: 100%;
    gap: 8px;
  }

  .sticky-btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 11px 10px;
    font-size: 13px;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .sticky-btn {
    padding: 10px 8px;
    font-size: 12.5px;
    gap: 5px;
  }
}

/* ============== MOBILE OPTIMIZATIONS ============== */
/* Prevent iOS auto-zoom on form fields by ensuring inputs are at least 16px */
@media (max-width: 768px) {
  .field input,
  .field select,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select {
    font-size: 16px !important;
  }
}

/* Tablet refinements (≤960px) */
@media (max-width: 960px) {
  .services-section,
  .industries,
  .testimonials,
  .faq,
  .process {
    padding: 72px 0;
  }

  .section {
    padding: 64px 0;
  }

  .services-section-head,
  .industries-head,
  .process-head,
  .testimonials-head,
  .faq-head {
    margin-bottom: 36px;
  }

  .services-section-head h2,
  .industries-head h2,
  .process-head h2,
  .testimonials-head h2,
  .faq-head h2 {
    font-size: clamp(28px, 5vw, 38px);
  }
}

/* Mobile refinements (≤640px) */
@media (max-width: 640px) {
  .services-section,
  .industries,
  .testimonials,
  .faq,
  .process {
    padding: 56px 0;
  }

  .section {
    padding: 48px 0;
  }

  .services-section-head,
  .industries-head,
  .process-head,
  .testimonials-head,
  .faq-head {
    margin-bottom: 28px;
  }

  .services-section-head h2,
  .industries-head h2,
  .process-head h2,
  .testimonials-head h2,
  .faq-head h2 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.1;
  }

  .industries-head-sub {
    font-size: 14px;
  }

  /* Hero */
  .hero {
    padding: 32px 0 56px;
  }

  .hero-card {
    min-height: 0;
    gap: 36px;
  }

  /* Mobile: center the hero left column (logo, heading, sub). */
  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(32px, 8.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero h1 .hero-tagline {
    font-size: clamp(22px, 5.4vw, 28px);
    margin-top: 6px;
  }

  .hero-sub {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-form {
    padding: 24px 22px;
    border-radius: 14px;
  }

  /* Section foots: stack on mobile */
  .faq-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Cards: smaller padding */
  .svc-card,
  .test-card {
    padding: 18px 18px 16px;
  }

  .process-card {
    padding: 22px 22px 20px;
    min-height: 200px;
  }

  .pc-num {
    font-size: 38px;
  }

  .test-quote {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .test-body {
    font-size: 13px;
  }

  /* FAQ */
  .faq-trigger {
    padding: 18px 20px;
    gap: 12px;
  }

  .faq-trigger-left {
    gap: 12px;
  }

  .faq-q {
    font-size: 14px;
  }

  .faq-content-inner {
    padding: 0 20px 20px 20px;
    font-size: 13.5px;
  }

  /* Buttons / CTAs: ensure touch targets */
  .form-btn,
  .faq-foot .cta,
  .section-cta .cta {
    min-height: 46px;
  }

  .section-cta {
    margin-top: 40px;
    gap: 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .section-cta-line {
    font-size: 14.5px;
    text-align: center;
    max-width: none;
  }

  .section-cta .cta {
    min-height: auto;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px !important;
  }

  /* === Center every section's heading + body content === */

  /* Hide the small red eyebrow lines ("Our services", "Basics
       first!", "Industry verticals", "Book a call") on mobile —
       the H2 below them is strong enough on its own. */
  .services-eyebrow,
  .process-eyebrow,
  .industries-eyebrow,
  .booking-eyebrow {
    display: none;
  }

  /* Section heads — center the H2 and any companion text */
  .services-section-head,
  .process-head,
  .industries-head,
  .testimonials-head,
  .faq-head {
    text-align: center;
    justify-items: center;
  }

  .services-section-head > div,
  .process-head > div,
  .industries-head > div,
  .testimonials-head > div,
  .faq-head > div {
    width: 100%;
  }

  .industries-head-sub {
    margin-left: auto;
    margin-right: auto;
  }

  /* About section — center heading + body */
  .about-wrap,
  .about-section h2,
  .about-body p,
  .about-body .about-punchline {
    text-align: center;
  }

  /* Punchline border-left looks odd when text is centered;
       trade the side border for a centered top accent line. */
  .about-body .about-punchline {
    padding-left: 0;
    padding-top: 14px;
    border-left: none;
    border-top: 2px solid var(--red);
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Process timeline cards — center the number + copy */
  .process-card {
    text-align: center;
    align-items: center;
  }

  .pc-top {
    justify-content: center;
  }

  /* Booking copy stays centered (already is on desktop) */
  .booking-copy h2,
  .booking-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small phone (≤420px) */
@media (max-width: 420px) {
  .container {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .hero h1 .hero-tagline {
    font-size: 19px;
    margin-top: 5px;
  }

  .hero-meta {
    font-size: 11px;
    padding: 5px 11px;
  }

  .services-section-head h2,
  .industries-head h2,
  .process-head h2,
  .testimonials-head h2,
  .faq-head h2 {
    font-size: 26px;
  }
}

/* Disable transform-based hover lifts on touch devices (they feel
   sticky after a tap). */
@media (hover: none) {
  .process-card:hover,
  .test-card:hover,
  .faq-item:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
    background-color: rgba(255, 255, 255, 0.9);
  }
  .process-card:hover .pc-num {
    color: var(--ink);
    text-shadow: none;
  }
}

/* ============== AUDIT FORM — honeypot + error banner ============== */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecec;
  border: 1px solid #f5b5b5;
  color: #8a1f1f;
  font-size: 13px;
  line-height: 1.45;
}

.form-error[hidden] {
  display: none;
}

/* ============== WHATSAPP FLOATING BUTTON ============== */
.wa-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 95;
  box-shadow:
    0 8px 22px -6px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(17, 17, 17, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 12px 28px -6px rgba(37, 211, 102, 0.65),
    0 6px 16px rgba(17, 17, 17, 0.16);
}

.wa-fab svg {
  width: 30px;
  height: 30px;
}

/* Lift FAB above the sticky CTA bar when it's visible (DOM siblings) */
.sticky-cta.show ~ .wa-fab {
  bottom: 100px;
}

@media (max-width: 760px) {
  .wa-fab {
    left: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }

  .wa-fab svg {
    width: 28px;
    height: 28px;
  }

  /* Sticky CTA lives at the top on mobile, so the WhatsApp icon
     stays anchored at the bottom-left — no need to lift it. */
  .sticky-cta.show ~ .wa-fab {
    bottom: 12px;
  }
}
