/* ==========================================================================
   Soft Wash Houston — Premium UI Overlay (V2)
   Design system: deep navy anchor, charcoal text, off-white surfaces,
   controlled aqua accent, muted gray-blue borders, medium radius,
   subtle shadows, strong typographic hierarchy.
   ========================================================================== */

@font-face {
  font-family: "Ethnocentric";
  src: url("../fonts/ethnocentric-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors */
  --color-navy: #0b1e33;
  --color-navy-deep: #081524;
  --color-navy-soft: #13304e;
  --color-charcoal: #1e242b;
  --color-white: #ffffff;
  --color-off-white: #f5f8fa;
  --color-muted: #5a6672;

  /* Accent (CTAs and highlights only) — official Softwash Houston brand blue #038DDF */
  --color-accent: #038ddf;
  --color-accent-strong: #0272b8; /* fills and links on light backgrounds (>=4.5:1 with white text) */
  --color-accent-deep: #02619d;   /* hover state for filled controls */
  --color-accent-bright: #43b4f5; /* highlights and links on navy */
  --color-accent-soft: #e3f2fc;

  /* Official Softwash Houston brand green #49BC00 — limited secondary accent only */
  --color-green: #49bc00;      /* logo-adjacent decorative marks */
  --color-green-icon: #3e9b06; /* graphical check icons on light backgrounds */
  --color-green-text: #2f7d00; /* normal-sized success text on light backgrounds */
  --color-green-soft: #ebf7e2;

  /* Borders */
  --color-border: #d7dfe6;
  --color-border-strong: #b9c6d2;
  --color-border-dark: rgba(255, 255, 255, 0.14);

  /* On-dark text */
  --color-on-dark: #dce7ef;
  --color-on-dark-muted: #a8b8c6;

  /* Shape and depth */
  --radius-card: 12px;
  --radius-input: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 30, 51, 0.06), 0 2px 8px rgba(11, 30, 51, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 30, 51, 0.08), 0 12px 28px rgba(11, 30, 51, 0.1);
  --shadow-lg: 0 8px 20px rgba(11, 30, 51, 0.1), 0 24px 48px rgba(11, 30, 51, 0.14);
  --shadow-accent: 0 6px 16px rgba(2, 114, 184, 0.28);

  /* Type */
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* h1 page titles — Michroma, regular weight only (no synthetic bold) */
  --font-title: "Michroma", "Inter", "Segoe UI", system-ui, sans-serif;
  /* Logo face — hero keyword highlights and hero primary CTA only */
  --font-display: "Ethnocentric", "Inter", "Segoe UI", system-ui, sans-serif;
  /* Cap-height ratio vs Michroma — used to preserve eyebrow/form label sizing */
  --display-cap-scale: 1.121;
  --display-size-eyebrow: calc(0.72rem * var(--display-cap-scale));
  --display-size-badge: 0.75rem;
  --display-size-form: calc(1.05rem * var(--display-cap-scale));

  /* Type scale (shared sizes already in use) */
  --text-lede: 1.12rem;
  --text-intro: 1.05rem;
  --text-card-body: 0.97rem;
  --text-meta: 0.95rem;
  --text-caption: 0.9rem;
  --text-helper: 0.85rem;
  --text-micro: 0.72rem;
  --lh-heading: 1.15;
  --lh-body: 1.65;
  --lh-tight: 1.25;
  --lh-lede: 1.6;
  --measure-body: 58ch;
  --measure-heading: 24ch;

  /* Spacing (shared values already in use) */
  --space-section-y: clamp(3rem, 6.5vw, 4.75rem);
  --space-head-gap: 2.5rem;
  --space-stack: 0.75rem;
  --space-eyebrow: 0.5rem;
  --space-actions-gap: 0.85rem;
  --space-actions-top: 1.35rem;
  --space-card-title: 0.45rem;
  --icon-gap: 0.4rem;

  /* Layout */
  --container: 1120px;
  --header-height: 76px;
}

@property --chat-shimmer-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-charcoal);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--lh-body);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(3, 141, 223, 0.2);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-stack);
  color: var(--color-navy);
  line-height: var(--lh-heading);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Michroma has no bold cuts — h1 only at 400; h2 uses Inter bold */
h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  letter-spacing: 0;
}

h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin-top: 0;
}

/* Bind bare section titles to the copy or list they introduce */
h2 + p,
h3 + p {
  margin-top: -0.15rem;
}

h2 + ul,
h2 + .check-list,
h3 + ul,
h3 + .check-list,
h2 + .faq-list,
h2 + .grid {
  margin-top: 0.15rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow,
.hero-badge {
  font-family: var(--font-title);
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 var(--space-eyebrow);
  color: var(--color-accent-strong);
  font-size: var(--display-size-eyebrow);
  letter-spacing: 0;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons — primary quote CTA is dominant; call/text stays secondary
   -------------------------------------------------------------------------- */

.button,
button.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: var(--icon-gap);
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: var(--color-accent-strong);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: var(--lh-tight);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button.button:hover {
  background: var(--color-accent-deep);
  color: var(--color-white);
  transform: translateY(-2px);
}

.button:active,
button.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.button.secondary {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-navy);
  box-shadow: none;
}

.button.secondary:hover {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
}

.button.large {
  min-height: 54px;
  padding: 0.9rem 1.9rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Quote CTAs use Ethnocentric to match the hero Get A Quote button */
a.button[href*="#quote"]:not(.secondary),
a.button[href*="fast-quote"]:not(.secondary),
a.button[href*="build-your-quote"]:not(.secondary),
.quote-form .button[type="submit"],
.quote-configurator .quote-step-actions .button[type="submit"] {
  font-family: var(--font-display);
  font-weight: 400;
}

.button.text {
  border-color: transparent;
  background: transparent;
  color: var(--color-accent-strong);
  box-shadow: none;
  padding-inline: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(11, 30, 51, 0.02), 0 2px 12px rgba(11, 30, 51, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: var(--color-navy);
}

/* Official logo in the header: max-height constraint only — header height
   and nav alignment are unchanged. */
.logo img {
  display: block;
  max-height: 50px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--color-charcoal);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.site-nav a:hover {
  color: var(--color-accent-strong);
  border-bottom-color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions a:not(.button) {
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions a:not(.button):hover {
  color: var(--color-accent-strong);
}

.header-actions .button {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
}

.mobile-menu-toggle {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero — deep navy, premium, quote-first
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  /* Original Softwash Houston sky treatment: soft CSS cloud haze + horizon glow
     layered over the navy base. No photography, no animation. */
  background:
    radial-gradient(ellipse 44% 16% at 16% 20%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(ellipse 30% 12% at 62% 10%, rgba(255, 255, 255, 0.045), transparent 70%),
    radial-gradient(ellipse 48% 15% at 92% 26%, rgba(255, 255, 255, 0.035), transparent 70%),
    radial-gradient(ellipse 85% 32% at 50% 105%, rgba(67, 180, 245, 0.12), transparent 65%),
    radial-gradient(ellipse 60% 55% at 88% 8%, rgba(3, 141, 223, 0.2), transparent 60%),
    radial-gradient(ellipse 45% 50% at 5% 95%, rgba(19, 48, 78, 0.65), transparent 65%),
    linear-gradient(158deg, #10283f 0%, var(--color-navy) 45%, var(--color-navy-deep) 100%);
  color: var(--color-on-dark);
}

.hero h1 {
  color: var(--color-white);
  max-width: 21ch;
}

.hero .container > h1 {
  max-width: 26ch;
}

.hero-highlight {
  color: var(--color-accent-bright);
  font-family: var(--font-display);
  font-weight: 400;
}

.hero p {
  max-width: var(--measure-body);
  color: var(--color-on-dark);
}

.hero .eyebrow {
  color: var(--color-accent-bright);
}

.hero a:not(.button) {
  color: var(--color-accent-bright);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-on-dark);
  font-size: var(--display-size-badge);
  letter-spacing: 0.015em;
  line-height: 1.2;
  max-width: 100%;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
}

.hero-lede {
  font-size: var(--text-lede);
  line-height: var(--lh-lede);
}

.hero-sub {
  color: var(--color-on-dark-muted);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}

.hero .button.secondary:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-bright);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-actions-gap);
  margin-top: var(--space-actions-top);
}

/* Photo collage — real work photos slot in here */
.hero-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(2, minmax(200px, 1fr));
  gap: 1rem;
  min-height: 34rem;
}

.hero-collage .collage-tile {
  margin: 0;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(4, 12, 22, 0.45);
}

.hero-collage .collage-tile.tall {
  grid-row: span 2;
}

/* --------------------------------------------------------------------------
   Trust strip — chips directly under the hero
   -------------------------------------------------------------------------- */

.trust-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 0;
}

.trust-strip .trust-list {
  margin: 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-off-white);
  color: var(--color-navy);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust-list li::before {
  content: "\2713";
  color: var(--color-green-icon);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  transform: translateY(0.02em);
}

/* Hero variant (trust list still inside a dark hero on some layouts) */
.hero .trust-list li {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-on-dark);
}

.hero .trust-list li::before {
  color: var(--color-green);
}

/* Compact inner-page trust / proof strip (service + area pages) */
.inner-trust {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0.95rem 0;
}

.inner-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.inner-trust-rating {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  min-width: 7.5rem;
}

.inner-trust .google-rating {
  font-size: 1.35rem;
}

.inner-trust .google-rating-meta {
  font-size: 0.82rem;
}

.inner-trust .trust-list {
  flex: 1 1 16rem;
  justify-content: center;
  margin: 0;
}

.inner-trust .trust-list li {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
}

.inner-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.inner-trust-actions .button {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .inner-trust-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .inner-trust-rating {
    align-items: center;
  }

  .inner-trust-actions {
    justify-content: center;
  }
}

.business-info {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.business-info p {
  margin: 0 0 0.55rem;
}

.business-info p:last-child {
  margin-bottom: 0;
}

.business-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
}

.business-info-actions a {
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.business-info-band {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.business-info-band .business-info {
  margin-top: 0;
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 36, 0.82);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md, 12px);
  padding: 0.75rem;
}

.gallery-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-on-dark, #fff);
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.gallery-lightbox-close {
  padding: 0.4rem 0.85rem;
}

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #000;
  border-radius: 8px;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
  font-size: 1.35rem;
}

.gallery-lightbox-prev {
  left: 0.5rem;
}

.gallery-lightbox-next {
  right: 0.5rem;
}

.gallery-lightbox-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  text-align: center;
}

.gallery-card {
  cursor: zoom-in;
}

.gallery-card:focus-within {
  outline: 2px solid var(--color-green-icon);
  outline-offset: 3px;
}

.gallery-card .image-placeholder {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .gallery-lightbox-nav {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: var(--space-section-y) 0;
}

.section.alt {
  background: var(--color-off-white);
}

.section.dark {
  background:
    radial-gradient(ellipse 50% 60% at 92% 10%, rgba(3, 141, 223, 0.15), transparent 60%),
    linear-gradient(160deg, #0d2338 0%, var(--color-navy-deep) 100%);
  color: var(--color-on-dark);
}

.section.dark h2,
.section.dark h3 {
  color: var(--color-white);
}

.section.dark p {
  color: var(--color-on-dark);
}

.section.dark .eyebrow {
  color: var(--color-accent-bright);
}

.section.dark .section-head p:not(.eyebrow) {
  color: var(--color-on-dark-muted);
}

.section.dark a:not(.button) {
  color: var(--color-accent-bright);
}

.section.dark .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}

.section.dark .button.secondary:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-bright);
}

.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-head-gap);
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: var(--space-eyebrow);
}

.section-head h2 {
  margin-bottom: 0.65rem;
}

.section-head h2 + p,
.section-head p:not(.eyebrow) {
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
}

.section-foot {
  margin-top: 2rem;
  text-align: center;
}

/* Lighter companion to the hero sky treatment, scoped to dark CTA bands only
   (graceful fallback to the plain dark background where :has is unsupported). */
.section.dark:has(> .cta-band) {
  background:
    radial-gradient(ellipse 40% 30% at 20% 12%, rgba(255, 255, 255, 0.04), transparent 70%),
    radial-gradient(ellipse 32% 24% at 74% 8%, rgba(255, 255, 255, 0.03), transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 108%, rgba(67, 180, 245, 0.1), transparent 65%),
    radial-gradient(ellipse 50% 60% at 92% 10%, rgba(3, 141, 223, 0.15), transparent 60%),
    linear-gradient(160deg, #0d2338 0%, var(--color-navy-deep) 100%);
}

.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: var(--measure-heading);
  margin-inline: auto;
}

.cta-band p {
  max-width: var(--measure-body);
  margin-inline: auto;
}

.cta-band .cta-actions {
  justify-content: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.two-column > .image-placeholder {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.stack-gap {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card,
.proof-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
}

.card > p {
  color: var(--color-muted);
  font-size: var(--text-card-body);
  line-height: 1.55;
}

.card > h3 {
  margin-bottom: var(--space-card-title);
}

.card > h3 + p {
  margin-top: 0;
}

/* Full-card link target (service area hub cards) */
.card.card-link {
  position: relative;
  cursor: pointer;
}

.card.card-link .card-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
  color: inherit;
}

.card.card-link h3 {
  color: var(--color-navy);
  text-decoration: none;
}

.card.card-link:hover h3,
.card.card-link:focus-within h3 {
  color: var(--color-accent-strong);
}

.card.card-link:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-accent);
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Full-bleed image when the figure leads the card */
.card > .image-placeholder:first-child {
  position: relative;
  margin: -1.5rem -1.5rem 1.25rem;
  /* Negate the shared max-width:100% so side margins can expand to the card edge */
  max-width: none;
  width: auto;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
  overflow: hidden;
}

.card > .image-placeholder:first-child img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.card-actions {
  margin-top: 1.1rem;
  justify-content: space-between;
}

.card-actions a {
  font-size: 0.92rem;
  font-weight: 600;
}

.card-actions .card-quote {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--color-accent);
  border-radius: 8px;
  color: var(--color-accent-strong);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.card-actions .card-quote:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: var(--color-white);
}

.proof-card h3 {
  margin-bottom: 0.35rem;
}

.proof-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-meta);
  line-height: 1.55;
}

.proof-stat {
  margin-top: 0.15rem;
}

.flip-stat {
  display: inline-block;
}

.flip-stat__display {
  display: inline-grid;
  position: relative;
  perspective: 480px;
  min-width: 5.5ch;
  height: 1.15em;
}

.flip-stat__number {
  grid-area: 1 / 1;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
  backface-visibility: hidden;
}

.flip-stat__number--from {
  transform-origin: center bottom;
}

.flip-stat__number--to {
  transform-origin: center top;
  transform: rotateX(-90deg);
  opacity: 0;
}

.flip-stat.is-flipped .flip-stat__number--from {
  animation: flip-stat-out 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.flip-stat.is-flipped .flip-stat__number--to {
  animation: flip-stat-in 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes flip-stat-out {
  from {
    transform: rotateX(0deg);
    opacity: 1;
  }

  to {
    transform: rotateX(90deg);
    opacity: 0;
  }
}

@keyframes flip-stat-in {
  from {
    transform: rotateX(-90deg);
    opacity: 0;
  }

  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Quote configurator
   -------------------------------------------------------------------------- */

.quote-launch-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(3, 141, 223, 0.14), transparent 34%),
    linear-gradient(135deg, var(--color-off-white), var(--color-white));
}

.quote-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.quote-launch-copy > p:not(.eyebrow) {
  max-width: 680px;
  font-size: var(--text-intro);
}

.quote-launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.quote-launch-preview {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(3, 141, 223, 0.34), transparent 42%),
    var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.quote-launch-preview::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-accent);
  content: "";
}

.quote-launch-preview p {
  margin: 0;
}

.quote-launch-kicker {
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: var(--lh-tight);
}

.quote-launch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0;
}

.quote-launch-chips span {
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 600;
}

.quote-builder-section {
  background:
    radial-gradient(circle at 0 0, rgba(3, 141, 223, 0.08), transparent 30%),
    var(--color-off-white);
}

.quote-builder-shell {
  max-width: 1240px;
}

.quote-builder-intro {
  max-width: 850px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.quote-builder-intro > p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
  font-size: var(--text-intro);
}

.quote-builder-intro .trust-list {
  justify-content: center;
  margin: 1.1rem auto 0;
  max-width: 760px;
}

.quote-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin: 1.75rem auto 0;
  padding: 0;
  list-style: none;
}

.quote-configurator > .quote-progress {
  max-width: none;
  margin: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 19px 19px 0 0;
  background:
    linear-gradient(180deg, rgba(3, 141, 223, 0.04), transparent 70%),
    var(--color-off-white);
}

.quote-configurator > .quote-progress li {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.quote-progress li {
  position: relative;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -18%;
  width: 36%;
  height: 2px;
  background: var(--color-border);
  content: "";
  transform: translateY(-50%);
}

.quote-progress li span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.quote-progress li[aria-current="step"],
.quote-progress li.is-complete {
  color: var(--color-navy);
}

.quote-progress li[aria-current="step"] span {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(3, 141, 223, 0.14);
}

.quote-progress li.is-complete span {
  border-color: var(--color-green-text);
  background: var(--color-green-text);
  color: var(--color-white);
}

.quote-progress li.is-complete:not(:last-child)::after {
  background: var(--color-green-text);
}

.quote-configurator {
  max-width: none;
  padding: 0;
  overflow: visible;
  border-top-width: 1px;
  border-radius: 20px;
}

.quote-configurator-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  align-items: start;
}

.quote-steps {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.quote-step[hidden] {
  display: none !important;
}

.quote-step-title {
  display: block;
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--lh-heading);
}

.quote-step-title:focus {
  outline: none;
}

.quote-step-copy {
  max-width: 720px;
  margin: 0.55rem 0 1.5rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.service-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-option {
  position: relative;
  display: grid;
  min-height: 185px;
  padding: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--color-white), var(--color-off-white));
  color: var(--color-charcoal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.service-option:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-option:focus-within {
  outline: 3px solid rgba(3, 141, 223, 0.22);
  outline-offset: 2px;
}

.service-option:has(input:checked) {
  border-color: var(--color-accent);
  background:
    radial-gradient(circle at 100% 0, rgba(3, 141, 223, 0.16), transparent 45%),
    var(--color-accent-soft);
  box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-md);
}

.service-option input,
.choice-chip input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
}

.service-option-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.service-option-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  display: block;
}

.service-option-copy {
  display: grid;
  align-content: start;
  gap: 0.28rem;
  margin-top: 0.9rem;
}

.service-option-copy strong {
  color: var(--color-navy);
  font-size: 1rem;
  line-height: 1.25;
}

.service-option-copy small {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-option-action {
  align-self: end;
  margin-top: 0.75rem;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-option .added-text {
  display: none;
}

.service-option:has(input:checked) .add-text {
  display: none;
}

.service-option:has(input:checked) .added-text {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.service-option:has(input:checked) .added-text::after {
  content: "✓";
}

.field-error {
  min-height: 1.25rem;
  margin: 0.45rem 0 0;
  color: #9c2f24;
  font-size: var(--text-helper);
  font-weight: 600;
  line-height: 1.4;
}

.field-hint {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: var(--text-helper);
  font-weight: 500;
  line-height: 1.4;
}

.address-autocomplete {
  position: relative;
}

.address-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.3rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 14rem;
  overflow-y: auto;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-input);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(15, 36, 61, 0.14);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestion {
  padding: 0.7rem 0.8rem;
  border-radius: calc(var(--radius-input) - 2px);
  color: var(--color-charcoal);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.35;
}

.address-suggestion:hover,
.address-suggestion.is-active {
  background: rgba(3, 141, 223, 0.12);
  color: var(--color-navy);
}

.address-autocomplete input[aria-invalid="true"] {
  border-color: #9c2f24;
}

.quote-addons {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding: 1.2rem;
  border: 1px solid rgba(3, 141, 223, 0.25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3, 141, 223, 0.08), var(--color-white));
}

.quote-addons[hidden] {
  display: none;
}

.quote-addons-intro h3 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.05rem;
}

.quote-addons-intro p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.quote-addons-intro .quote-addons-kicker {
  color: var(--color-accent);
  font-size: var(--text-micro);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: var(--lh-tight);
}

.quote-addon-groups {
  display: grid;
  gap: 1rem;
}

.quote-addon-group {
  display: grid;
  gap: 0.65rem;
}

.quote-addon-group-title {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: var(--lh-heading);
}

.quote-addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.quote-addon-button {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.quote-addon-button:hover {
  border-color: var(--color-accent);
  background: rgba(3, 141, 223, 0.04);
}

.quote-addon-button:focus-within {
  outline: 3px solid rgba(3, 141, 223, 0.22);
  outline-offset: 2px;
}

.quote-addon-button:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-navy);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.quote-addon-button input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
}

.quote-addon-button::before {
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  margin-top: 0.1rem;
  place-items: center;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 4px;
  background: var(--color-white);
  color: transparent;
  content: "";
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.quote-addon-button:has(input:checked)::before {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
  content: "✓";
}

.quote-addon-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.field-label {
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.choice-chip-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice-chip {
  position: relative;
  cursor: pointer;
}

.choice-chip span {
  display: block;
  padding: 0.65rem 0.82rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.choice-chip:hover span,
.choice-chip:focus-within span {
  border-color: var(--color-accent);
}

.choice-chip:focus-within span {
  box-shadow: 0 0 0 3px rgba(3, 141, 223, 0.18);
}

.choice-chip:has(input:checked) span {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

.quote-property-fields {
  margin-top: 1.2rem;
}

.timeline-choice-grid {
  padding-top: 0.05rem;
}

.quote-step-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.quote-step-actions-end {
  justify-content: flex-end;
}

.quote-step-actions .button {
  min-width: 150px;
}

.quote-progress-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: stretch;
  min-width: min(100%, 16.5rem);
  padding-block: 0.78rem;
  text-align: left;
}

.quote-progress-btn-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  justify-content: space-between;
}

.quote-progress-btn-label {
  font-weight: 700;
  line-height: 1.2;
}

.quote-progress-btn-track {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.quote-progress-btn-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: quote-progress-shimmer 2.6s ease-in-out infinite;
  pointer-events: none;
}

.quote-progress-btn-fill {
  display: block;
  width: var(--quote-progress, 33%);
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.95);
  transition: width 220ms ease;
}

.button.secondary.quote-progress-btn .quote-progress-btn-track {
  background: var(--color-border);
}

.button.secondary.quote-progress-btn .quote-progress-btn-track::after {
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 70%
  );
}

.button.secondary.quote-progress-btn .quote-progress-btn-fill {
  background: var(--color-accent-strong);
}

@keyframes quote-progress-shimmer {
  0%,
  35% {
    transform: translateX(-120%);
  }

  65%,
  100% {
    transform: translateX(120%);
  }
}

.quote-submit-note {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--color-green-soft);
  color: var(--color-green-text);
  font-size: 0.9rem;
}

.quote-submit-note span {
  color: var(--color-charcoal);
}

.quote-comms-disclosure {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-muted, #5b6470);
}

.quote-comms-disclosure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-estimate-note {
  margin-top: 0.2rem;
}

.quote-configurator .quote-step-actions .button[type="submit"] {
  width: auto;
  margin-top: 0;
  min-height: 50px;
  font-size: 0.95rem;
}

.quote-configurator .form-message {
  text-align: left;
}

.quote-package-summary {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  min-height: 100%;
  padding: 1.65rem;
  border-left: 1px solid var(--color-border);
  border-radius: 0 20px 20px 0;
  background:
    radial-gradient(circle at 100% 0, rgba(3, 141, 223, 0.18), transparent 38%),
    var(--color-navy);
  color: rgba(255, 255, 255, 0.76);
}

.quote-package-kicker {
  margin: 0 0 1rem;
  color: var(--color-accent-bright);
  font-size: var(--text-micro);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: var(--lh-tight);
}

.quote-package-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-package-list li {
  position: relative;
  margin: 0;
  list-style: none;
}

.quote-package-group {
  display: grid;
  gap: 0.4rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.quote-package-service {
  position: relative;
  padding-left: 1.3rem;
  color: var(--color-white);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.quote-package-service::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-accent-bright);
  content: "✓";
  font-weight: 800;
}

.quote-package-addons {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 0 0 0 1.3rem;
  list-style: none;
}

.quote-package-addons li {
  position: relative;
  padding-left: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.quote-package-addons li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-accent-bright);
  content: "+";
  font-weight: 800;
}

.quote-package-list li.is-empty {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 500;
}

.quote-package-promise {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.quote-package-promise strong {
  color: var(--color-white);
}

.quote-package-promise span {
  line-height: 1.5;
}

@media (max-width: 980px) {
  .quote-launch {
    grid-template-columns: 1fr;
  }

  .quote-configurator-body {
    grid-template-columns: 1fr;
  }

  .quote-package-summary {
    position: static;
    order: -1;
    min-height: auto;
    border-left: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  .quote-package-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quote-builder-intro {
    text-align: left;
  }

  .quote-builder-intro > p:not(.eyebrow) {
    margin-left: 0;
  }

  .quote-configurator > .quote-progress {
    padding-inline: 0;
  }

  .quote-configurator > .quote-progress li {
    font-size: 0.8rem;
  }

  .quote-configurator > .quote-progress li:not(:last-child)::after {
    display: none;
  }

  .service-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .quote-addons {
    padding: 1rem;
  }

  .quote-package-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .quote-launch-actions,
  .quote-step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quote-launch-actions .button,
  .quote-step-actions .button,
  .quote-configurator .quote-step-actions .button[type="submit"] {
    width: 100%;
  }

  .quote-steps {
    padding: 1.15rem;
  }

  .quote-package-summary {
    padding: 1.15rem;
  }

  .service-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .quote-addon-list {
    grid-template-columns: 1fr;
  }

  .service-option {
    min-height: 0;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
  }

  .service-option-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
  }

  .service-option-icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .service-option-copy {
    margin-top: 0.55rem;
    gap: 0.2rem;
  }

  .service-option-copy strong {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .service-option-copy small {
    font-size: 0.74rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .service-option-action {
    margin-top: 0.55rem;
    font-size: 0.74rem;
  }

  .quote-configurator > .quote-progress li {
    display: grid;
    gap: 0.3rem;
    justify-items: center;
  }

  .quote-submit-note {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-stat__number--from {
    display: none;
  }

  .flip-stat__number--to {
    position: static;
    transform: none;
    opacity: 1;
  }

  .flip-stat.is-flipped .flip-stat__number--from,
  .flip-stat.is-flipped .flip-stat__number--to {
    animation: none;
  }

  .quote-progress-btn-track::after {
    animation: none;
    display: none;
  }
}

/* ==========================================================================
   Long-form service guides
   ========================================================================== */

.service-guide-hero .hero-lede {
  max-width: 62ch;
}

.service-guide-hero .two-column {
  align-items: center;
}

.service-guide-hero .image-placeholder {
  min-height: 24rem;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.service-guide-hero .image-placeholder img {
  min-height: 24rem;
  object-fit: cover;
}

.service-guide-hero .image-placeholder figcaption {
  color: var(--color-on-dark-muted);
}

.guide-index {
  position: relative;
  z-index: 2;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.guide-index p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.91rem;
}

.guide-index strong {
  color: var(--color-navy);
}

.guide-index a {
  font-weight: 600;
  text-decoration: none;
}

.guide-index a:hover {
  text-decoration: underline;
}

.guide-copy {
  max-width: 800px;
}

.guide-copy > p:not(.eyebrow),
.guide-layout > div > p,
.guide-layout > .guide-copy > p {
  font-size: 1.02rem;
  line-height: 1.65;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.guide-layout > .image-placeholder {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.guide-callout,
.guide-note {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.guide-callout > :last-child,
.guide-note > :last-child {
  margin-bottom: 0;
}

.guide-callout-accent {
  border-top: 4px solid var(--color-accent);
}

.guide-callout-accent .button {
  width: 100%;
  margin: 0.35rem 0 1rem;
}

.guide-callout .text-link {
  display: inline-block;
  font-weight: 600;
}

.guide-note {
  border-color: #bedbf0;
  background: var(--color-accent-soft);
  color: var(--color-navy);
  box-shadow: none;
}

.guide-note a {
  font-weight: 700;
}

.guide-note-inline {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
}

.guide-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.guide-definition-grid .guide-callout {
  height: 100%;
}

.service-guide-card {
  display: flex;
  flex-direction: column;
}

.service-guide-card .eyebrow {
  margin-bottom: 0.4rem;
  font-size: var(--display-size-eyebrow);
}

.service-guide-card h2 {
  font-size: 1.35rem;
}

.service-guide-card > a:last-child {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.guide-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.guide-table th,
.guide-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.guide-table thead th {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.guide-table tbody th {
  width: 22%;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.guide-table tbody td {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.guide-table tbody tr:nth-child(even) {
  background: var(--color-off-white);
}

.guide-table tbody tr:last-child th,
.guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.guide-caption {
  max-width: 78ch;
  margin: 1rem auto 0;
  color: var(--color-muted);
  font-size: var(--text-caption);
  line-height: 1.5;
  text-align: center;
}

.related-service-grid .card {
  display: flex;
  flex-direction: column;
}

.related-service-grid .card h3 a {
  color: var(--color-navy);
  text-decoration: none;
}

.related-service-grid .card h3 a:hover {
  color: var(--color-accent-strong);
}

.process-list.five-step {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-list.five-step .process-card {
  min-height: 14rem;
  padding: 1rem;
}

@media (max-width: 1000px) {
  .process-list.five-step {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list.five-step .process-card {
    min-height: 11rem;
  }
}

@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  /* relative (not static): disable sticky without dropping the containing
     block that .ba-split::before needs — static lets the divider escape to
     the viewport and draw a full-height center line over the page. */
  .guide-layout > .image-placeholder {
    position: relative;
    top: auto;
  }

  .service-guide-hero .image-placeholder,
  .service-guide-hero .image-placeholder img {
    min-height: 20rem;
  }
}

@media (max-width: 640px) {
  .guide-index {
    padding: 0.85rem 0;
  }

  .guide-index p {
    gap: 0.45rem 0.85rem;
    font-size: 0.86rem;
  }

  .guide-index strong {
    flex-basis: 100%;
  }

  .guide-definition-grid,
  .process-list.five-step {
    grid-template-columns: 1fr;
  }

  .process-list.five-step .process-card {
    min-height: auto;
  }

  .service-guide-hero .image-placeholder,
  .service-guide-hero .image-placeholder img {
    min-height: 15rem;
  }

  .guide-table th,
  .guide-table td {
    padding: 0.85rem;
  }
}

.google-rating-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.google-rating {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
}

.google-rating-meta {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.google-review-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.google-review-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.google-review-card__head h3 {
  margin-bottom: 0;
}

.google-review-card > p[data-google-review-text] {
  flex: 1 1 auto;
  margin: 0;
}

.google-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.google-star {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.google-star::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-color: #dadce0;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.google-star.is-filled::before {
  background-color: #fbbc04;
}

.google-review-card__footer {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.google-review-card__footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-accent-strong);
  text-decoration: none;
}

.google-review-card__footer a::after {
  content: "→";
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(-0.02em);
}

.google-review-card__footer a:hover {
  color: var(--color-accent-deep);
  text-decoration: underline;
}

.google-review-card__footer a[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Image slots and fallback panels
   Real photos drop into the same <img> tags; missing photos render as
   intentional navy panels via .is-missing (added by main.js on img error).
   -------------------------------------------------------------------------- */

.image-placeholder {
  display: grid;
  place-items: center;
  margin: 0 0 1rem;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-off-white);
  color: var(--color-muted);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.image-placeholder img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  justify-self: stretch;
  align-self: stretch;
  object-fit: cover;
  object-position: center;
  color: transparent; /* hides raw alt text if the image is broken */
}

.responsive-picture {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.responsive-picture > img {
  display: block;
}

/* CSS-only fallback: pseudo-elements only render on an <img> when it fails
   to load, so this navy panel appears over broken images even before the
   main.js error handler runs. Loaded photos are unaffected. */
.image-placeholder img::after {
  content: "Photo coming soon";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(3, 141, 223, 0.26), transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(3, 141, 223, 0.13), transparent 42%),
    linear-gradient(152deg, #10283f 0%, var(--color-navy) 55%, var(--color-navy-deep) 100%);
  color: #9fb3c4;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.image-placeholder figcaption {
  padding: 1rem;
  text-align: center;
}

.image-placeholder:not(.is-missing) figcaption {
  display: none;
}

.image-placeholder.is-missing {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 85% 12%, rgba(3, 141, 223, 0.26), transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(3, 141, 223, 0.13), transparent 42%),
    linear-gradient(152deg, #10283f 0%, var(--color-navy) 55%, var(--color-navy-deep) 100%);
}

.image-placeholder.is-missing figcaption {
  position: relative;
  color: #9fb3c4;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.image-placeholder.is-missing figcaption::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin: 0 auto 0.7rem;
  border-radius: 2px;
  background: var(--color-accent);
}

.collage-tile.tall {
  aspect-ratio: auto;
}

/* --------------------------------------------------------------------------
   Quote form — premium estimate intake
   -------------------------------------------------------------------------- */

.quote-form {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
}

/* Configurator owns its own section padding so progress + package can go edge-to-edge */
.quote-form.quote-configurator {
  padding: 0;
}

.form-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.form-head-title {
  margin: 0 0 0.3rem;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: var(--display-size-form);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.form-head-sub {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label,
legend {
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-input);
  background: var(--color-white);
  color: var(--color-charcoal);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3, 141, 223, 0.2);
}

input[type="file"] {
  padding: 0.85rem;
  border-style: dashed;
  background: var(--color-off-white);
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 0.85rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 0.4rem;
  padding: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.checkbox-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.checkbox-item:hover {
  border-color: var(--color-accent);
}

.checkbox-item:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.checkbox-item input {
  width: 1.05rem;
  min-height: auto;
  height: 1.05rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.quote-form .button[type="submit"] {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 54px;
  font-size: 1.05rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: var(--text-meta);
  text-align: center;
}

.form-message.is-error {
  color: #9c2f24;
  font-weight: 600;
}

.form-message.is-success {
  color: var(--color-green-text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Check lists
   -------------------------------------------------------------------------- */

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.2em;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--color-green-soft);
  color: var(--color-green-icon);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.legal-content {
  max-width: 48rem;
}

.legal-content > * + * {
  margin-top: 1rem;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 0;
}

.section.dark .check-list li::before,
.hero .check-list li::before {
  background: rgba(73, 188, 0, 0.16);
  color: var(--color-green);
}

/* --------------------------------------------------------------------------
   Before and after transformation cards
   -------------------------------------------------------------------------- */

.ba-card {
  display: flex;
  flex-direction: column;
}

.ba-card .ba-chip {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-card h3 {
  margin-bottom: 0.75rem;
}

.ba-card .image-placeholder {
  position: relative;
  aspect-ratio: 16 / 11;
  margin: auto -1.5rem -1.5rem;
  width: calc(100% + 3rem);
  max-width: none;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0 0 calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px);
  overflow: hidden;
}

.ba-card .image-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Before/after split composites — divider and labels are CSS-only */
.ba-split {
  position: relative;
}

.ba-split::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(11, 30, 51, 0.12),
    0 0 12px rgba(11, 30, 51, 0.28);
  pointer-events: none;
}

.ba-split-label {
  position: absolute;
  top: 0.6rem;
  z-index: 3;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 30, 51, 0.72);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-split-label--before {
  left: 0.6rem;
}

.ba-split-label--after {
  right: 0.6rem;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.process-section {
  background:
    radial-gradient(ellipse 54% 34% at 50% 108%, rgba(67, 180, 245, 0.1), transparent 70%),
    radial-gradient(ellipse 36% 30% at 88% 8%, rgba(3, 141, 223, 0.12), transparent 68%),
    linear-gradient(160deg, #0d2338 0%, var(--color-navy-deep) 100%);
}

.process-section .section-head {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.process-section .section-head p {
  color: var(--color-on-dark-muted);
}

.process-section .section-head .eyebrow {
  color: var(--color-accent-bright);
}

.process-section .section-head p:not(.eyebrow) {
  max-width: var(--measure-body);
  margin-inline: auto;
  line-height: 1.55;
}

.process-section .button {
  box-shadow: none;
}

.process-track {
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67, 180, 245, 0.42), transparent);
  pointer-events: none;
  z-index: 0;
}

.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  margin: 0;
}

.process-card {
  position: relative;
  height: 100%;
  min-height: 12rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--color-on-dark);
  overflow: hidden;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.process-card:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 180, 245, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.process-num {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  padding: 0;
  border-radius: 50%;
  background: var(--color-accent-bright);
  color: var(--color-navy-deep);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(67, 180, 245, 0.12);
}

.process-card h3 {
  margin-bottom: var(--space-card-title);
  color: var(--color-white);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.process-section .process-card .process-lead {
  margin: 0;
  color: var(--color-on-dark);
  font-size: 0.94rem;
  line-height: 1.55;
}

.process-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.process-note {
  max-width: 52ch;
  margin: 0;
  color: var(--color-on-dark-muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.process-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Commercial dark section — audience chips
   -------------------------------------------------------------------------- */

.audience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

.audience-chips li {
  padding: 0.38rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-on-dark);
  font-size: 0.86rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Service areas — link-ready pill grid
   -------------------------------------------------------------------------- */

.service-area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-area-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.service-area-list a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Gallery filters
   -------------------------------------------------------------------------- */

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.gallery-controls button {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-charcoal);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.gallery-controls button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
}

.gallery-controls button.is-active {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: var(--color-white);
}

[data-gallery] [data-gallery-item][hidden] {
  display: none;
}

.card.gallery-card {
  padding: 0;
  overflow: hidden;
}

.card.gallery-card > .image-placeholder:first-child {
  display: block;
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-off-white);
}

.card.gallery-card > .image-placeholder:first-child img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card.gallery-card > .image-placeholder:first-child figcaption {
  display: none;
}

.gallery-card-meta {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(7, 26, 44, 0.08);
  background: var(--color-white);
}

.gallery-card-meta a {
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.gallery-card-meta a:hover,
.gallery-card-meta a:focus-visible {
  color: var(--color-green-icon);
  text-decoration: underline;
}

.case-study-page .case-study-meta {
  margin: 0 0 1.25rem;
  color: var(--color-muted, #5b6b7c);
  font-size: 0.95rem;
}

.case-study-facts dl {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.case-study-facts dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted, #5b6b7c);
}

.case-study-facts dd {
  margin: 0.2rem 0 0;
}

.case-study-photo-group {
  margin-top: 2rem;
}

.case-study-photo-group h3 {
  margin: 0 0 1rem;
}

.case-study-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-muted, #5b6b7c);
}

.case-study-related-grid .case-study-related-card {
  padding: 0;
  overflow: hidden;
}

.case-study-related-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-study-related-card .image-placeholder {
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.case-study-related-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-related-card h3,
.case-study-related-card p {
  padding-inline: 1rem;
}

.case-study-related-card h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.05rem;
}

.case-study-related-card p {
  margin: 0 0 1rem;
  color: var(--color-muted, #5b6b7c);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   FAQ — native details/summary accordion
   -------------------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 160ms ease;
}

.faq-list details[open] {
  border-color: var(--color-border-strong);
}

.faq-list summary {
  position: relative;
  padding: 1.05rem 3.2rem 1.05rem 1.35rem;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-accent);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details[open] summary {
  padding-bottom: 0.7rem;
}

.faq-list details > p {
  margin: 0;
  padding: 0 1.35rem 1.2rem;
  color: var(--color-muted);
  font-size: var(--text-meta);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer — deep navy
   -------------------------------------------------------------------------- */

.breadcrumbs {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.7rem 0;
  list-style: none;
  color: var(--color-muted);
  font-size: var(--text-meta);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--color-border-strong);
}

.breadcrumbs a {
  color: var(--color-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-muted);
}

.site-footer {
  padding: clamp(3rem, 6vw, 4rem) 0 3rem;
  background: var(--color-navy-deep);
  border-top: 3px solid var(--color-accent);
  color: var(--color-on-dark-muted);
}

.footer-logo {
  display: block;
  max-height: 68px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--color-white);
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
}

.site-footer h2 {
  font-size: 1.15rem;
}

.site-footer a {
  color: var(--color-on-dark-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent-bright);
}

.site-footer p {
  font-size: var(--text-meta);
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-meta);
}

/* --------------------------------------------------------------------------
   Sticky mobile CTA bar — quote-first
   -------------------------------------------------------------------------- */

.mobile-cta-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  :root {
    --display-size-badge: 0.82rem;
  }

  .hero-badge {
    letter-spacing: 0.02em;
  }
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border-strong);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-navy);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: 0 20px 32px rgba(11, 30, 51, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom-color: transparent;
  }

  .header-actions {
    display: none;
  }

  .hero-grid,
  .two-column,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    gap: 0.75rem;
  }

  .hero-collage .collage-tile.tall {
    grid-row: auto;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 22rem;
  }

  /* Keep the mobile crop pinned to the bottom-right of the featured photo */
  .hero-collage .collage-tile.tall img {
    object-position: right bottom;
  }

  .hero-collage .collage-tile:not(.tall) {
    display: none;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card {
    min-height: 10.5rem;
  }

  .process-track::before {
    display: none;
  }

  .footer-grid {
    gap: 1.75rem;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: 0 -8px 24px rgba(11, 30, 51, 0.12);
  }

  .mobile-cta-bar a {
    min-height: 48px;
    padding: 0.5rem 0.25rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .mobile-cta-bar .button.secondary {
    border-color: var(--color-border-strong);
  }

  /* AI Chat — soft fill + refined inner light-sweep border */
  .mobile-cta-bar a[data-open-chat] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: transparent;
    color: var(--color-accent-strong);
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .mobile-cta-bar a[data-open-chat]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background: conic-gradient(
      from var(--chat-shimmer-angle),
      #a3b9c8 0%,
      #a3b9c8 58%,
      #6aafd9 70%,
      #e8f6ff 76%,
      #7ecfbb 82%,
      #a3b9c8 90%,
      #a3b9c8 100%
    );
    pointer-events: none;
    animation: mobile-chat-border-shimmer 4.8s linear infinite;
  }

  .mobile-cta-bar a[data-open-chat]::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 8px;
    background: linear-gradient(165deg, #e5f3fb 0%, #dff3ea 100%);
    pointer-events: none;
  }

  .mobile-cta-bar a[data-open-chat]:hover,
  .mobile-cta-bar a[data-open-chat]:active {
    border-color: transparent;
    color: var(--color-accent-deep);
    background: transparent;
    transform: none;
  }

  /* Hide floating GHL launcher when sticky CTA bar is active */
  chat-widget:not([data-active="true"]) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 640px) {
  .logo img {
    max-height: 44px;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .hero h1 {
    max-width: none;
  }

  .form-grid,
  .checkbox-grid,
  .process-list,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .process-list {
    gap: 0.75rem;
  }

  .process-card {
    min-height: auto;
    padding: 1rem;
  }

  .process-num {
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0.75rem;
  }

  .process-footer {
    align-items: stretch;
  }

  .process-actions {
    justify-content: stretch;
    width: 100%;
  }

  .process-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .card-actions {
    gap: 0.75rem;
  }

  .hero-actions .button,
  .cta-actions .button {
    flex: 1 1 auto;
  }
}

@keyframes mobile-chat-border-shimmer {
  to {
    --chat-shimmer-angle: 360deg;
  }
}

/* ==========================================================================
   Fast Quote V2 — Express Quote Console
   The system locates the property, the customer assembles the cleaning
   scope, and the request is visibly built in a live receipt. Route:
   Details → Cleaning → Send on one cohesive surface (never a paged wizard).
   Motion stays in the 120-320ms band and respects reduced motion.
   ========================================================================== */

.fast-quote-section {
  background:
    radial-gradient(ellipse 60% 45% at 85% 0%, rgba(3, 141, 223, 0.07), transparent 65%),
    radial-gradient(ellipse 45% 40% at 8% 100%, rgba(73, 188, 0, 0.05), transparent 60%),
    var(--color-off-white);
}

.fast-quote-shell {
  width: min(100% - 2.5rem, 1300px);
  margin-inline: auto;
}

.fq-head {
  max-width: 640px;
  margin: 0 auto 1.15rem;
  text-align: center;
}

.fq-heading {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  letter-spacing: 0;
  margin-bottom: 0.55rem;
}

.fq-lede {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-intro);
  line-height: 1.55;
}

/* One cohesive console surface — no nested-card clutter inside. */
.fq-form {
  position: relative;
  padding: clamp(1.15rem, 2.6vw, 2.1rem);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--color-white) 0%, #fbfdfe 100%);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------- Route ----------------------------------
   Compact three-stage route. Not a percentage bar, not a wizard. */

.fq-route {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.fq-route-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.fq-route-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-white);
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.fq-route-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-muted);
  transition: color 200ms ease;
}

.fq-route-check {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 200ms ease, transform 200ms ease;
}

.fq-route-step[data-state="active"] {
  color: var(--color-navy);
}

.fq-route-step[data-state="active"] .fq-route-dot {
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 3px rgba(3, 141, 223, 0.16);
}

.fq-route-step[data-state="active"] .fq-route-num {
  color: var(--color-accent-strong);
}

.fq-route-step[data-state="complete"] {
  color: var(--color-green-text);
}

.fq-route-step[data-state="complete"] .fq-route-dot {
  border-color: var(--color-green-icon);
  background: var(--color-green-icon);
}

.fq-route-step[data-state="complete"] .fq-route-num {
  visibility: hidden;
  opacity: 0;
}

.fq-route-step[data-state="complete"] .fq-route-check {
  opacity: 1;
  transform: scale(1);
}

/* Directional connector: fills forward once, never loops. */
.fq-route-connector {
  position: relative;
  flex: 1 1 1.5rem;
  min-width: 1.1rem;
  height: 2px;
  border-radius: 1px;
  background: var(--color-border);
  overflow: hidden;
}

.fq-route-connector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-green-icon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.fq-route-connector.is-filled::after {
  transform: scaleX(1);
}

/* ------------------------------- Console --------------------------------- */

.fq-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 340px);
  gap: 1.4rem 2rem;
  align-items: start;
}

.fq-console-aside {
  position: sticky;
  top: calc(var(--header-height) + 0.9rem);
}

/* ------------------------- Details (property first) ---------------------- */

.fq-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.fq-group-title,
.fq-categories-title {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fq-details-fields {
  display: grid;
  gap: 0.9rem;
}

.fq-field {
  align-content: start;
}

/* Address is the visual starting point: one dominant line. */
.fq-field-address input {
  min-height: 52px;
  font-size: 1.02rem;
}

.fq-input-wrap {
  position: relative;
}

.fq-input-wrap input {
  padding-right: 2.5rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.fq-valid-mark {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--color-green-soft);
  opacity: 0;
  transform: translateY(-50%) scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.fq-valid-mark svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: none;
  stroke: var(--color-green-icon);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-field.is-valid .fq-valid-mark {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Completed fields settle: hairline confirmation, reduced active emphasis. */
.fq-field.is-valid .fq-input-wrap input {
  border-color: rgba(62, 155, 6, 0.55);
  background: #fcfefb;
}

.fq-field.is-invalid input {
  border-color: #9c2f24;
}

.fq-field .field-error[hidden] {
  display: none;
}

.fq-field .field-error {
  min-height: 0;
}

.fq-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 0.9rem 1rem;
  align-items: start;
}

/* Property-lock strip: the address settles into a confirmed property. */
.fq-address-lock {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(62, 155, 6, 0.45);
  border-radius: var(--radius-input);
  background: linear-gradient(135deg, var(--color-green-soft) 0%, var(--color-white) 78%);
  animation: fq-lock-in 220ms ease;
}

.fq-address-lock[hidden] {
  display: none;
}

.fq-address-pin {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--color-green-icon);
  animation: fq-pin-drop 240ms ease;
}

.fq-address-pin svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-address-lock-text {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.fq-address-lock-label {
  color: var(--color-green-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fq-address-lock-value {
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.fq-address-edit {
  margin-left: auto;
  padding: 0.4rem 0.6rem;
  border: 0;
  background: none;
  color: var(--color-accent-strong);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  border-radius: 8px;
}

.fq-address-edit:hover {
  color: var(--color-accent-deep);
}

.fq-field-address.is-locked .address-autocomplete {
  display: none;
}

@keyframes fq-lock-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fq-pin-drop {
  from {
    transform: translateY(-5px) scale(0.8);
  }

  60% {
    transform: translateY(1px) scale(1.04);
  }

  to {
    transform: translateY(0) scale(1);
  }
}

/* Compressed details summary (mobile: completed details settle into a row). */
.fq-details-summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(62, 155, 6, 0.45);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-green-soft) 0%, var(--color-white) 80%);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  animation: fq-reveal 200ms ease;
}

.fq-details-summary[hidden] {
  display: none;
}

.fq-details-summary-check {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--color-green-icon);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-details-summary-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fq-details-summary-edit {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fq-group-details.is-compressed .fq-details-fields {
  display: none;
}

/* ------------------------ Cleaning configurator tiles -------------------- */

.fq-categories {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
}

.fq-categories-title {
  padding: 0;
}

.fq-categories-hint {
  margin: 0.3rem 0 0.85rem;
  color: var(--color-muted);
  font-size: var(--text-meta);
}

.fq-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.fq-card {
  position: relative;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--color-white) 0%, #f8fbfd 100%);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 160ms ease;
}

.fq-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Selected: outline + tint + explicit checkmark + active artwork (moves
   forward slightly). Never color-only. */
.fq-card.is-selected {
  border-color: var(--color-accent-strong);
  background: linear-gradient(180deg, #eaf5fd 0%, var(--color-white) 62%);
  box-shadow: 0 0 0 1px var(--color-accent-strong), var(--shadow-md);
  transform: translateY(-1px);
}

.fq-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 96px;
  padding: 0.85rem 0.95rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(3, 141, 223, 0.12);
}

.fq-card-head:active {
  transform: scale(0.985);
  transition: transform 100ms ease;
}

.fq-card-head:focus-visible {
  outline: 3px solid rgba(3, 141, 223, 0.45);
  outline-offset: 2px;
}

/* Service-system artwork: distinct per category, activates on selection. */
.fq-card-art {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--color-accent-soft) 0%, #f2f9fe 100%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.fq-card-art svg {
  width: 2.45rem;
  height: 2.45rem;
  fill: none;
  stroke: var(--color-accent-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 180ms ease;
}

.fq-card.is-selected .fq-card-art {
  background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  box-shadow: 0 4px 12px rgba(2, 114, 184, 0.3);
}

.fq-card.is-selected .fq-card-art svg {
  stroke: var(--color-white);
}

.fq-card-copy {
  display: block;
  min-width: 0;
}

.fq-card-title {
  display: block;
  color: var(--color-navy);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.fq-card-cue {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.fq-card-summary {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-accent-strong);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.fq-card-summary[hidden] {
  display: none;
}

.fq-card-check {
  display: grid;
  place-items: center;
  align-self: start;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-accent-strong);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.fq-card-check svg {
  width: 0.82rem;
  height: 0.82rem;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-card.is-selected .fq-card-check {
  opacity: 1;
  transform: scale(1);
}

/* Contained focus tray — optional, one open at a time keeps rows composed. */
.fq-card-body {
  padding: 0.55rem 0.95rem 0.95rem;
  border-top: 1px dashed var(--color-border);
  animation: fq-reveal 190ms ease;
}

.fq-card-body[hidden] {
  display: none;
}

.fq-focus-title {
  margin: 0 0 0.55rem;
  color: var(--color-muted);
  font-size: var(--text-helper);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fq-chip {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.fq-chip:hover {
  border-color: var(--color-accent);
}

.fq-chip:focus-visible {
  outline: 3px solid rgba(3, 141, 223, 0.45);
  outline-offset: 2px;
}

/* Pressed chips add a check glyph — not color-only. */
.fq-chip[aria-pressed="true"] {
  border-color: var(--color-accent-strong);
  background: var(--color-accent-strong);
  color: var(--color-white);
}

.fq-chip[aria-pressed="true"]::before {
  content: "\2713\00a0";
  font-weight: 700;
}

.fq-category-error {
  margin-top: 0.75rem;
}

.fq-category-error:empty {
  display: none;
}

/* --------------------------- Live request receipt ------------------------ */

.fq-receipt {
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdfe 0%, #f4f8fb 100%);
  box-shadow: var(--shadow-sm);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

/* Completed edge when the request becomes ready. */
.fq-form.fq-is-ready .fq-receipt {
  border-color: rgba(62, 155, 6, 0.55);
  box-shadow: 0 0 0 1px rgba(62, 155, 6, 0.35), var(--shadow-md);
}

.fq-receipt-title {
  margin: 0 0 0.4rem;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fq-receipt-block {
  padding: 0.55rem 0;
  border-top: 1px dashed var(--color-border);
}

.fq-receipt-label {
  margin: 0 0 0.2rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fq-receipt-value {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
}

.fq-receipt-value.is-empty {
  color: var(--color-muted);
  font-weight: 500;
}

.fq-receipt-areas {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fq-receipt-areas[hidden] {
  display: none;
}

.fq-receipt-area {
  position: relative;
  padding-left: 1.3rem;
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  animation: fq-reveal 180ms ease;
}

.fq-receipt-area::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-green-icon);
  font-weight: 800;
}

.fq-receipt-area-focus {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.fq-receipt-status {
  padding: 0.55rem 0 0;
  border-top: 1px dashed var(--color-border);
}

/* Specific missing actions — never an unexplained disabled state. */
.fq-receipt-missing {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fq-receipt-missing li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--color-muted);
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.4;
}

.fq-receipt-missing li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
}

.fq-ready {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin: 0;
  animation: fq-reveal 200ms ease;
}

.fq-ready[hidden] {
  display: none;
}

.fq-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem 0.28rem 0.55rem;
  border: 1px solid rgba(62, 155, 6, 0.4);
  border-radius: var(--radius-pill);
  background: var(--color-green-soft);
  color: var(--color-green-text);
  font-size: var(--text-helper);
  font-weight: 700;
}

.fq-ready-badge svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: var(--color-green-icon);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------ CTA unlock ------------------------------- */

.fq-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 54px;
  margin-top: 0.85rem;
  gap: 0.55rem;
  transition: opacity 200ms ease, box-shadow 220ms ease, transform 220ms ease, background-color 200ms ease, color 200ms ease;
}

.fq-submit-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
}

.fq-submit-arrow {
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.35;
  transform: translateX(-3px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.fq-submit-arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Restrained pre-ready state with correct disabled semantics; missing-action
   guidance sits directly above in the receipt. */
.fq-submit[aria-disabled="true"] {
  background: #e7edf2;
  color: #7e8e9c;
  box-shadow: none;
  cursor: not-allowed;
}

.fq-submit[aria-disabled="true"]:hover {
  background: #e7edf2;
  color: #7e8e9c;
  transform: none;
}

/* One-time readiness transition: full saturation, lift, active arrow. */
.fq-is-ready .fq-submit {
  background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-strong) 70%);
  color: var(--color-white);
  box-shadow: 0 10px 26px rgba(2, 114, 184, 0.42);
  transform: translateY(-1px);
  cursor: pointer;
}

.fq-is-ready .fq-submit:hover {
  background: linear-gradient(160deg, var(--color-accent-strong) 0%, var(--color-accent-deep) 70%);
}

.fq-is-ready .fq-submit-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Single restrained light sweep on unlock — runs once, never loops. */
.fq-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, 0.45) 50%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}

.fq-cta-unlocked .fq-submit::after {
  animation: fq-cta-sweep 420ms ease 100ms 1 forwards;
}

@keyframes fq-cta-sweep {
  to {
    transform: translateX(130%);
  }
}

.fq-submit[aria-busy="true"] {
  cursor: wait;
}

.fq-cta-support {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  font-size: var(--text-helper);
  text-align: center;
}

.fq-receipt .form-message {
  margin-top: 0.5rem;
}

.fq-form .form-message:empty {
  display: none;
}

/* --------------------------- Switch link + legal -------------------------- */

.fq-foot {
  margin-top: 1.6rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.fq-switch-link {
  margin: 0 0 0.6rem;
  color: var(--color-muted);
  font-size: var(--text-meta);
}

.fq-form .quote-comms-disclosure {
  max-width: 720px;
  margin-inline: auto;
  opacity: 0.88;
}

/* -------------------- Stage two: enhancement + sent receipt --------------- */

.fq-stage[hidden] {
  display: none;
}

.fq-stage-details,
.fq-stage-done {
  animation: fq-reveal 240ms ease;
}

.fq-success-head {
  max-width: 560px;
  margin: 0 0 1.3rem;
}

.fq-success-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.7rem;
  border: 1.5px solid rgba(62, 155, 6, 0.45);
  border-radius: 50%;
  background: var(--color-green-soft);
}

.fq-success-mark svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--color-green-icon);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-success-title {
  margin-bottom: 0.3rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  outline: none;
}

.fq-success-sub {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-intro);
}

.fq-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.1rem 1.4rem;
  align-items: start;
}

.fq-details-side {
  display: grid;
  gap: 1rem;
}

.fq-field textarea {
  min-height: 128px;
}

/* Purpose-built upload surface (native control stays for the machinery). */
.fq-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.35rem 1rem;
  border: 1.5px dashed var(--color-border-strong);
  border-radius: 12px;
  background: #fbfdfe;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.fq-dropzone:hover,
.fq-dropzone.is-dragover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.fq-dropzone:focus-within {
  outline: 3px solid rgba(3, 141, 223, 0.45);
  outline-offset: 2px;
}

.fq-dropzone-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
}

.fq-dropzone.is-dragover .fq-dropzone-icon {
  background: var(--color-white);
}

.fq-dropzone-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--color-accent-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-dropzone-title {
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.fq-dropzone-sub {
  color: var(--color-muted);
  font-size: var(--text-helper);
}

.fq-photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.fq-photo-list[hidden] {
  display: none;
}

.fq-photo-item {
  position: relative;
  animation: fq-reveal 180ms ease;
}

.fq-photo-thumb {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
}

.fq-photo-remove {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.fq-photo-remove:hover {
  border-color: #9c2f24;
  color: #9c2f24;
}

.fq-upload-progress {
  height: 6px;
  margin-top: 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  overflow: hidden;
}

.fq-upload-progress[hidden] {
  display: none;
}

.fq-upload-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-accent-strong);
  transition: width 160ms ease;
}

.fq-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* Submitted request receipt — the assembled request stays visible. */
.fq-receipt-sent {
  border-color: rgba(62, 155, 6, 0.5);
  background: linear-gradient(180deg, #f4faee 0%, var(--color-white) 70%);
  box-shadow: 0 0 0 1px rgba(62, 155, 6, 0.25), var(--shadow-sm);
  animation: fq-reveal 280ms ease;
}

.fq-receipt-sent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.8rem 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-green-icon);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fq-receipt-sent-badge svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fq-receipt-sent .fq-receipt-value {
  font-size: 1rem;
}

.fq-receipt-sent .fq-receipt-areas {
  margin-top: 0.6rem;
}

.fq-receipt-sent-note {
  margin: 0.7rem 0 0;
  color: var(--color-muted);
  font-size: var(--text-helper);
  line-height: 1.5;
}

.fq-stage-done {
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.fq-success-mark-large {
  width: 3.6rem;
  height: 3.6rem;
}

.fq-done-title {
  margin-bottom: 0.4rem;
  outline: none;
}

.fq-done-copy {
  max-width: 460px;
  margin: 0 auto;
  color: var(--color-muted);
}

.fq-receipt-done {
  max-width: 400px;
  margin: 1.1rem auto 0;
  text-align: left;
}

.fq-receipt-done[hidden] {
  display: none;
}

@keyframes fq-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rich Quote Builder — switch link back to the Fast Quote. */
.quote-switch-fast {
  margin: 0.2rem 0 1rem;
  color: var(--color-muted);
  font-size: var(--text-meta);
}

/* --------------------------- Fast Quote sticky tray ----------------------- */

.fq-tray {
  display: none;
}

/* ------------------------------ Responsive ------------------------------- */

@media (max-width: 1100px) {
  .fq-console {
    grid-template-columns: minmax(0, 1fr) 288px;
    gap: 1.2rem 1.4rem;
  }
}

@media (max-width: 900px) {
  .fq-console {
    grid-template-columns: minmax(0, 1fr);
  }

  .fq-console-aside {
    position: static;
  }

  /* Compact review band: property/contact side by side, CTA full width. */
  .fq-receipt {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
  }

  .fq-receipt-title,
  .fq-receipt-status,
  .fq-receipt .fq-submit,
  .fq-receipt .fq-cta-support,
  .fq-receipt .form-message {
    grid-column: 1 / -1;
  }

  .fq-receipt-block:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .fq-receipt-sent {
    display: block;
  }

  /* Continuity first on small screens: the sent receipt leads stage two. */
  .fq-console-sent .fq-console-aside {
    order: -1;
  }
}

@media (max-width: 700px) {
  .fq-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fq-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  /* Collapsed tile target height ~72-96px. */
  .fq-card-head {
    min-height: 76px;
    padding: 0.7rem 0.8rem;
  }

  .fq-card-art {
    width: 2.9rem;
    height: 2.9rem;
  }

  .fq-card-art svg {
    width: 2.1rem;
    height: 2.1rem;
  }

  .fq-form {
    padding: 1.05rem 1rem 1.3rem;
  }

  /* Internal sticky route header — compact, distinct from the site header. */
  .fq-route {
    position: sticky;
    top: var(--header-height);
    z-index: 6;
    gap: 0.45rem;
    margin: -0.35rem -1rem 1rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.97);
  }

  .fq-route-step {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .fq-route-dot {
    width: 1.35rem;
    height: 1.35rem;
  }

  .fq-route-num {
    font-size: 0.65rem;
  }

  .fq-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fq-details-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fq-submit {
    min-height: 52px;
  }

  .fq-receipt {
    padding: 0.95rem 0.9rem 1rem;
  }

  /* Fast Quote-specific bottom tray (global mobile bar is suppressed). */
  body.fq-tray-active .mobile-cta-bar {
    display: none;
  }

  .fq-tray {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.9rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: 0 -8px 24px rgba(11, 30, 51, 0.12);
  }

  .fq-tray[hidden] {
    display: none;
  }

  .fq-tray-status {
    margin: 0;
    color: var(--color-navy);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .fq-tray.is-ready .fq-tray-status {
    color: var(--color-green-text);
  }

  .fq-tray-button {
    min-height: 48px;
    white-space: nowrap;
  }

  .fq-tray.is-ready .fq-tray-button {
    font-family: var(--font-display);
    font-weight: 400;
    background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-strong) 70%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fq-card-body,
  .fq-ready,
  .fq-stage-details,
  .fq-stage-done,
  .fq-address-lock,
  .fq-address-pin,
  .fq-details-summary,
  .fq-receipt-area,
  .fq-photo-item {
    animation: none;
  }

  .fq-cta-unlocked .fq-submit::after {
    animation: none;
  }

  .fq-card:hover,
  .fq-card.is-selected,
  .fq-is-ready .fq-submit {
    transform: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .mobile-cta-bar a[data-open-chat] {
    border: 2px solid #8ebdda;
    color: var(--color-accent-strong);
    background: linear-gradient(165deg, #e5f3fb 0%, #dff3ea 100%);
  }

  .mobile-cta-bar a[data-open-chat]::before,
  .mobile-cta-bar a[data-open-chat]::after {
    animation: none;
    content: none;
  }
}
/* Conversion service landing pages */
.conversion-hero h1 { max-width: 16ch; }
.conversion-hero .image-placeholder { position: relative; overflow: hidden; border-radius: 18px; box-shadow: 0 24px 55px rgba(8, 24, 40, .24); }
.conversion-hero .image-placeholder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.conversion-points { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.conversion-points li { padding: .5rem .75rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 700; }
.result-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.result-gallery figure { margin: 0; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(8, 24, 40, .1); }
.result-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.result-gallery figcaption { padding: .85rem 1rem 1rem; font-size: .9rem; line-height: 1.45; }
.conversion-note { border-left: 4px solid #64d830; padding: 1rem 1.15rem; background: rgba(100, 216, 48, .08); }
.inner-trust > .container:not(.inner-trust-inner) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 1.25rem; }
.inner-trust > .container:not(.inner-trust-inner) > div { display: grid; gap: .12rem; }
.inner-trust > .container:not(.inner-trust-inner) span { color: var(--color-muted); font-size: .84rem; }
.ads-service-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.ads-service-strip span { padding: .85rem; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; text-align: center; }
@media (max-width: 760px) { .result-gallery, .ads-service-strip { grid-template-columns: 1fr; } .inner-trust > .container:not(.inner-trust-inner) { flex-direction: column; align-items: stretch; text-align: center; } }
