/* ============================================================
   Bravo Clean LLC — Commercial Cleaning Division
   Design system + site styles
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue: #287ff9;
  --blue-dark: #1b63cc;
  --blue-soft: #eaf2fe;
  --navy: #14287b;
  --ink: #0d1b3e;
  --ink-deep: #091430;
  --steel: #2770a7;

  /* Neutrals */
  --bg: #ffffff;
  --bg-tint: #f5f8fd;
  --line: #e3e9f2;
  --text: #29344a;
  --text-soft: #5c6a85;
  --text-inverse: #ffffff;
  --text-inverse-soft: #aebbdb;

  /* Semantic */
  --success: #1e9e6a;
  --star: #fbbc04;

  /* Type */
  --font-head: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
  --text-hero: clamp(2.4rem, 1.2rem + 4vw, 4.2rem);
  --text-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  --text-h3: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  --text-base: 1rem;
  --text-sm: 0.875rem;

  /* Rhythm */
  --space-section: clamp(4rem, 2.5rem + 5vw, 8rem);
  --container: 74rem;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(13, 27, 62, 0.05), 0 12px 32px -12px rgba(13, 27, 62, 0.14);
  --shadow-pop: 0 24px 60px -18px rgba(9, 20, 48, 0.45);

  /* Motion */
  --duration: 250ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--tint {
  background: var(--bg-tint);
}

.section--navy {
  background:
    radial-gradient(60rem 30rem at 85% -20%, rgba(40, 127, 249, 0.22), transparent 60%),
    var(--ink-deep);
}

.section--navy h2,
.section--navy h3 {
  color: var(--text-inverse);
}

.section--navy p {
  color: var(--text-inverse-soft);
}

/* Section headers */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--blue);
}

.section--navy .kicker {
  color: #7fb3ff;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head h2 {
  font-size: var(--text-h2);
  font-weight: 700;
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-soft);
}

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

.section-head--center .kicker {
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(40, 127, 249, 0.65);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(40, 127, 249, 0.75);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn--inverse {
  background: #fff;
  color: var(--navy);
}

.btn--inverse:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.5);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.topbar {
  background: var(--ink-deep);
  color: var(--text-inverse-soft);
  font-size: 0.82rem;
  padding-block: 0.45rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__note svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #7fb3ff;
}

.topbar a {
  color: #fff;
  font-weight: 500;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.1;
}

.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--duration) var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue-dark);
}

/* Services dropdown */
.nav__drop {
  position: relative;
}

.nav__drop > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__drop > a::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  translate: -50% 0;
  min-width: 17rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease),
    visibility var(--duration);
}

.nav__drop:hover .nav__menu,
.nav__drop:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.nav__menu a:hover {
  background: var(--blue-soft);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.header__phone small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.header__phone a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.header__phone a:hover {
  color: var(--blue-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

/* ---------- Hero (light) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #e8f1fd 0%, #f6faff 55%, #ffffff 100%);
  color: var(--text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 40, 123, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 123, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70rem 40rem at 30% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Animated background: drifting glow orbs + rising bubbles */
.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.hero__orb--1 {
  width: 36rem;
  height: 36rem;
  top: -14rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(40, 127, 249, 0.35), transparent 68%);
}

.hero__orb--2 {
  width: 30rem;
  height: 30rem;
  bottom: -12rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(39, 112, 167, 0.28), transparent 68%);
}

.hero__orb--3 {
  width: 20rem;
  height: 20rem;
  top: 20%;
  right: 26%;
  background: radial-gradient(circle, rgba(127, 179, 255, 0.3), transparent 68%);
}

.hero__bubble {
  position: absolute;
  bottom: -4rem;
  left: var(--x, 50%);
  width: var(--size, 20px);
  height: var(--size, 20px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(40, 127, 249, 0.1) 55%, rgba(40, 127, 249, 0.22));
  border: 1px solid rgba(40, 127, 249, 0.28);
  box-shadow: inset -2px -2px 6px rgba(40, 127, 249, 0.12);
  opacity: 0;
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__orb--1 {
    animation: orbDrift1 22s ease-in-out infinite alternate;
  }

  .hero__orb--2 {
    animation: orbDrift2 26s ease-in-out infinite alternate;
  }

  .hero__orb--3 {
    animation: orbDrift3 18s ease-in-out infinite alternate;
  }

  .hero__bubble {
    animation: bubbleRise var(--dur, 14s) linear var(--delay, 0s) infinite;
  }

  /* Staggered entrance */
  .hero__copy > * {
    opacity: 0;
    transform: translateY(22px);
    animation: heroIn 0.8s var(--ease) forwards;
  }

  .hero__copy > *:nth-child(2) { animation-delay: 0.1s; }
  .hero__copy > *:nth-child(3) { animation-delay: 0.2s; }
  .hero__copy > *:nth-child(4) { animation-delay: 0.3s; }
  .hero__copy > *:nth-child(5) { animation-delay: 0.4s; }

  .hero .quote-card {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: heroIn 0.9s var(--ease) 0.35s forwards;
  }
}

@keyframes orbDrift1 {
  to { transform: translate(7rem, 4rem) scale(1.12); }
}

@keyframes orbDrift2 {
  to { transform: translate(-6rem, -5rem) scale(1.18); }
}

@keyframes orbDrift3 {
  to { transform: translate(4rem, 6rem) scale(0.9); }
}

@keyframes bubbleRise {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.8; }
  85% { opacity: 0.5; }
  100% { transform: translateY(-46rem); opacity: 0; }
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 3rem + 3vw, 6.5rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid rgba(40, 127, 249, 0.35);
  color: var(--blue-dark);
  box-shadow: 0 4px 14px -6px rgba(40, 127, 249, 0.35);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--ink);
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-dark);
  background: linear-gradient(transparent 64%, rgba(40, 127, 249, 0.22) 64%, rgba(40, 127, 249, 0.22) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(13, 27, 62, 0.1);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__proof-item strong {
  color: var(--ink);
  font-family: var(--font-head);
}

.hero .quote-card {
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -18px rgba(13, 27, 62, 0.28);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}

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

/* Quote card */
.quote-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  color: var(--text);
}

.quote-card__head {
  margin-bottom: 1.4rem;
}

.quote-card__head h2,
.quote-card__head h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.quote-card__head p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.quote-card__head p strong {
  color: var(--success);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.field label span {
  color: var(--blue);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-tint);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 127, 249, 0.18);
  background: #fff;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status--error {
  display: block;
  background: #fdecec;
  color: #b3261e;
}

.form-status--success {
  display: block;
  background: #e6f6ef;
  color: var(--success);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ---------- Logo strip ---------- */
.logostrip {
  padding-block: 2.2rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.logostrip p {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}

.logostrip__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.logostrip__track img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--duration) var(--ease);
}

.logostrip__track img:hover {
  filter: grayscale(0) opacity(1);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 127, 249, 0.45);
  box-shadow: 0 20px 44px -16px rgba(13, 27, 62, 0.22);
}

.service-card--feature {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3aa8 60%, var(--blue-dark) 100%);
  border: 0;
}

.service-card--feature h3,
.service-card--feature p {
  color: #fff;
}

.service-card--feature .service-card__more {
  color: #cfe2ff;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.service-card--feature .service-card__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: var(--text-h3);
  font-weight: 600;
}

.service-card h3 a {
  color: inherit;
}

.service-card p {
  margin-top: 0.6rem;
  font-size: 0.94rem;
  color: var(--text-soft);
  flex-grow: 1;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.3rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.service-card__more svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--duration) var(--ease);
}

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

.service-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Feature card pill list */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.pill-list li {
  font-size: 0.8rem;
  font-weight: 500;
  color: #eaf2fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ---------- Why us / checklist ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: center;
}

.checklist {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.checklist__icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  margin-top: 0.15rem;
}

.section--navy .checklist__icon {
  background: rgba(40, 127, 249, 0.22);
  color: #7fb3ff;
}

.checklist__icon svg {
  width: 14px;
  height: 14px;
}

.checklist strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.section--navy .checklist strong {
  color: #fff;
}

.checklist span {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.section--navy .checklist span {
  color: var(--text-inverse-soft);
}

/* Veteran card */
.vet-card {
  position: relative;
  background: linear-gradient(150deg, var(--ink) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  color: #fff;
  overflow: hidden;
}

.vet-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(40, 127, 249, 0.4), transparent 70%);
}

.vet-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.vet-card p {
  color: var(--text-inverse-soft);
  margin-top: 0.8rem;
  position: relative;
  z-index: 1;
}

.vet-card__flag {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #7fb3ff;
}

.vet-card__flag svg {
  width: 28px;
  height: 28px;
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat strong em {
  font-style: normal;
  color: var(--blue);
}

.stat span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-inverse-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.process__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.5rem;
  counter-increment: step;
}

.process__step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(40, 127, 249, 0.55);
  line-height: 1;
  margin-bottom: 1rem;
}

.process__step h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.process__step p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ---------- Reviews ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.reviews-summary strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--ink);
}

.reviews-summary span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card blockquote {
  font-size: 0.96rem;
  color: var(--text);
  flex-grow: 1;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  background: var(--steel);
  font-size: 0.9rem;
}

.review-card footer strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--ink);
}

.review-card footer span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 46rem;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

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

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform var(--duration) var(--ease);
  flex: none;
}

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

.faq details p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.93rem;
  color: var(--text-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, var(--steel) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(115deg, #000 5%, transparent 55%);
}

.cta-band h2 {
  color: #fff;
  font-size: var(--text-h2);
  max-width: 24ch;
  margin-inline: auto;
  position: relative;
}

.cta-band p {
  margin: 1rem auto 0;
  max-width: 46ch;
  color: #dcebff;
  position: relative;
}

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

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(46rem 22rem at 80% -30%, rgba(40, 127, 249, 0.25), transparent 60%),
    var(--ink-deep);
  color: #fff;
  padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem);
}

.page-hero .kicker {
  color: #7fb3ff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  max-width: 20ch;
}

.page-hero p {
  margin-top: 1.2rem;
  max-width: 54ch;
  color: var(--text-inverse-soft);
  font-size: 1.08rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--text-inverse-soft);
  margin-bottom: 1.4rem;
}

.breadcrumbs a {
  color: #7fb3ff;
}

/* ---------- Service detail layout ---------- */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 24rem;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
}

.service-layout .quote-card {
  position: sticky;
  top: 6.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.6rem;
}

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

.prose p {
  margin-top: 1rem;
  color: var(--text-soft);
}

.prose .checklist {
  margin-top: 1.4rem;
}

/* Industry chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.chips li {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid rgba(40, 127, 249, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.contact-info__item .checklist__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-top: 0;
}

.contact-info__item .checklist__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-info__item a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-info__item span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-deep);
  color: var(--text-inverse-soft);
  padding-top: var(--space-section);
  font-size: 0.92rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer .brand__name {
  color: #fff;
}

.footer__blurb {
  margin-top: 1rem;
  max-width: 30ch;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.footer__badges span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #cfe2ff;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.footer ul {
  display: grid;
  gap: 0.6rem;
}

.footer a {
  color: var(--text-inverse-soft);
  transition: color var(--duration) var(--ease);
}

.footer a:hover {
  color: #fff;
}

.footer__contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer__contact svg {
  width: 1.05rem;
  height: 1.05rem;
  color: #7fb3ff;
  flex: none;
  margin-top: 0.2rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* ---------- Mobile sticky call bar ---------- */
.callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
  box-shadow: 0 -8px 24px rgba(13, 27, 62, 0.12);
}

.callbar .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}

/* ---------- Thank you ---------- */
.thanks {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--space-section);
}

.thanks__icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #e6f6ef;
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}

.thanks__icon svg {
  width: 36px;
  height: 36px;
}

.thanks h1 {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
}

.thanks p {
  margin: 1rem auto 2rem;
  max-width: 46ch;
  color: var(--text-soft);
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

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

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .hero .container {
    grid-template-columns: 1fr;
  }

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

  .service-card--feature {
    grid-column: span 2;
  }

  .split,
  .contact-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-layout .quote-card {
    position: static;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .header__phone {
    display: none;
  }
}

@media (max-width: 48rem) {
  .topbar__note--extra {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: 4.5rem;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.4rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--duration) var(--ease), visibility var(--duration);
    overflow-y: auto;
    z-index: 40;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav > a,
  .nav__drop > a {
    padding: 0.9rem 0.6rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__drop .nav__menu {
    position: static;
    translate: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding-left: 1rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__cta .btn {
    display: none;
  }

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

  .service-card--feature {
    grid-column: span 1;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .callbar {
    display: flex;
  }

  body {
    padding-bottom: 4.2rem;
  }

  .cta-band__actions .btn,
  .hero__actions .btn,
  .page-hero__actions .btn {
    width: 100%;
  }
}

/* ---------- Before / After pairs ---------- */
.ba-wrap {
  max-width: 56rem;
  margin-inline: auto;
  display: grid;
  gap: 2.4rem;
}

.ba-pair {
  margin: 0;
}

.ba-pair__imgs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: var(--line);
}

.ba-pair__cell {
  position: relative;
  aspect-ratio: 3 / 2;
}

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

.ba-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 20, 48, 0.72);
  pointer-events: none;
}

.ba-tag--after {
  background: var(--blue);
}

.ba-pair__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(9, 20, 48, 0.35);
  z-index: 1;
}

.ba-pair__arrow svg {
  width: 22px;
  height: 22px;
}

.ba-pair figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.ba-pair figcaption span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.ba-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.prose .ba-pair {
  margin-top: 1.6rem;
}

@media (max-width: 40rem) {
  .ba-pair__arrow {
    width: 36px;
    height: 36px;
  }

  .ba-tag {
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.65rem;
  }
}

/* ---------- Final overrides ---------- */
/* Janitorial feature card: description text stays pure white */
.services-grid .service-card--feature p {
  color: #ffffff !important;
}
