:root {
  --bg: #050505;
  --bg-elevated: #0d0d0d;
  --bg-soft: #141414;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.68);
  --muted-strong: rgba(244, 244, 244, 0.82);
  --accent: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --lift-shadow: 0 38px 96px rgba(0, 0, 0, 0.5);
  --lift-border: rgba(255, 255, 255, 0.2);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 26%),
    linear-gradient(180deg, #090909 0%, #050505 55%, #020202 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 999;
  background: #ffffff;
  color: #050505;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
}

#service-type {
  color-scheme: dark;
}

#service-type option {
  background-color: #ffffff;
  color: #050505;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: clamp(172px, 20vw, 248px);
  height: auto;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-title {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  display: inline-flex;
  color: var(--muted);
  font-size: 0.95rem;
}

.desktop-nav a::after,
.mobile-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(218, 233, 255, 0), rgba(230, 241, 255, 0.95), rgba(218, 233, 255, 0));
  box-shadow: 0 0 10px rgba(208, 226, 255, 0.22), 0 0 18px rgba(186, 214, 255, 0.12);
  transform: translateX(-50%) scaleX(0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.desktop-nav a[aria-current='page'],
.mobile-nav a[aria-current='page'] {
  color: var(--text);
}

.desktop-nav a[aria-current='page']::after,
.mobile-nav a[aria-current='page']::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  animation: nav-accent-pulse 3.2s ease-in-out infinite;
}

.desktop-nav a:focus-visible::after,
.mobile-nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

@keyframes nav-accent-pulse {
  0%,
  100% {
    opacity: 0.82;
    box-shadow: 0 0 8px rgba(208, 226, 255, 0.2), 0 0 14px rgba(186, 214, 255, 0.1);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(215, 231, 255, 0.28), 0 0 22px rgba(189, 217, 255, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-nav a[aria-current='page']::after,
  .mobile-nav a[aria-current='page']::after {
    animation: none;
  }
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.legal-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-menu {
  position: relative;
}

.quote-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 280px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 8, 0.97);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 8px;
  z-index: 70;
}

.quote-menu-item {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-menu-title {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.quote-menu-copy {
  color: var(--muted);
  font-size: 0.86rem;
}

.quote-menu-item:hover,
.quote-menu-item:focus-visible {
  border-color: rgba(212, 229, 252, 0.5);
  background: linear-gradient(102deg, rgba(170, 196, 229, 0.09), rgba(237, 243, 252, 0.14), rgba(178, 198, 227, 0.08));
  box-shadow: 0 0 0 1px rgba(222, 236, 255, 0.24) inset;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

.mobile-nav {
  display: none;
  padding: 0 0 20px;
}

.mobile-nav[data-open='true'] {
  display: grid;
  gap: 14px;
}

.mobile-nav a::after {
  bottom: -5px;
}

main {
  flex: 1;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.hero {
  padding: 104px 0 80px;
}

.brand-gateway-page .hero {
  position: relative;
  overflow: hidden;
}

.brand-gateway-page .hero::before {
  content: '';
  position: absolute;
  width: min(91vw, 1330px);
  aspect-ratio: 1;
  right: max(-300px, calc((100vw - var(--container)) / 2 - 250px));
  bottom: -260px;
  background: url('/image/bcshield.png') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.brand-gateway-page .hero-grid {
  position: relative;
}

.brand-gateway-page .hero {
  padding: 76px 0 52px;
}

.hero-grid,
.two-column,
.gateway-grid,
.card-grid,
.stats-grid,
.process-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.two-column {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
}

.brand-gateway-page .hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-title,
.section-title,
.stat-value,
.card-title,
.feature-title,
.process-number,
.page-title {
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-title {
  font-size: clamp(3.4rem, 7vw, 7rem);
  margin: 0 0 24px;
  max-width: 11ch;
}

.brand-gateway-page .eyebrow {
  margin-bottom: 14px;
}

.brand-gateway-page .hero-title {
  margin-bottom: 16px;
}

.brand-gateway-page .hero-copy {
  max-width: 58ch;
}

.page-title {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  margin: 0 0 16px;
}

.hero-copy,
.section-copy,
.lede,
.card-copy,
.feature-copy,
.legal-copy,
.footer-copy {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  font-size: 1.06rem;
  max-width: 62ch;
  margin: 0;
}

.hero-actions,
.inline-actions,
.footer-links,
.legal-links,
.chip-row,
.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 32px;
}

.brand-gateway-page .hero-actions {
  margin-top: 22px;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button {
  background: #ffffff;
  color: #050505;
}

.button-secondary {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.button-ghost {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.02);
  border-color: transparent;
}

.surface,
.card,
.stat-block,
.process-card,
.feature-list,
.form-panel,
.legal-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.surface,
.form-panel,
.legal-panel {
  border-radius: 32px;
}

.surface {
  padding: 28px;
}

.kicker-stack {
  display: grid;
  gap: 18px;
}

.brand-gateway-page .kicker-stack {
  gap: 14px;
}

.brand-gateway-page .kicker-stack {
  animation: gateway-placard-enter 980ms cubic-bezier(0.16, 0.84, 0.18, 1) 90ms both;
  will-change: transform, opacity;
}

@keyframes gateway-placard-enter {
  from {
    opacity: 0.72;
    transform: translate3d(calc(100vw + 24px), 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.stat-list {
  margin-top: 28px;
}

.brand-gateway-page .stat-list {
  margin-top: 22px;
}

.stat-chip,
.chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted-strong);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

.gateway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-panel,
.directory-grid,
.list-grid,
.contact-grid {
  display: grid;
  gap: 28px;
}

.split-panel,
.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.page-hero .split-panel {
  align-items: start;
}

.home-maintenance-page .page-hero .support-panel .stat-list {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.home-maintenance-page .page-hero .support-panel .stat-chip {
  width: 100%;
}

.directory-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.home-maintenance-page .directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gateway-card,
.card,
.process-card,
.stat-block {
  border-radius: var(--radius);
  padding: 28px;
}

.gateway-card {
  position: relative;
  overflow: hidden;
}

.gateway-card::after {
  content: '';
  position: absolute;
  inset: auto -10% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 64%);
  pointer-events: none;
}

.gateway-label,
.mini-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.gateway-title,
.section-title {
  margin: 0 0 16px;
}

.gateway-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 12ch;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 11ch;
}

.gateway-copy,
.section-copy {
  max-width: 54ch;
}

.card-grid,
.stats-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-title,
.feature-title {
  font-size: 1.55rem;
  margin: 0 0 14px;
}

.card-copy,
.feature-copy {
  margin: 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head.compact {
  margin-bottom: 28px;
}

.stats-grid {
  align-items: stretch;
}

.stat-value {
  font-size: clamp(2.8rem, 4vw, 4rem);
  margin: 0 0 12px;
}

.stat-label {
  color: var(--muted-strong);
  font-weight: 700;
  margin: 0 0 10px;
}

.stat-copy,
.process-copy {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.process-number {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.24);
  margin: 0 0 18px;
}

.feature-list {
  padding: 28px;
}

.bullet-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-strong);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.form-panel,
.legal-panel {
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field,
.field-full {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 16px 18px;
}

.textarea {
  min-height: 148px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.form-note {
  color: var(--muted);
  margin: 0 0 24px;
}

.helper-text,
.field-error,
.upload-meta,
.quote-note,
.quote-meta,
.quote-empty,
.estimate-copy {
  color: var(--muted);
  line-height: 1.6;
}

.field-error {
  min-height: 1.2rem;
  color: #f4b9b9;
  font-size: 0.9rem;
}

.helper-text,
.upload-meta,
.quote-meta,
.quote-empty {
  font-size: 0.92rem;
}

.quote-layout,
.quote-shell,
.quote-summary,
.assessment-progress,
.option-grid,
.feature-grid,
.quote-result-card,
.quote-result-head,
.quote-notices,
.quote-breakdown,
.summary-list {
  display: grid;
  gap: 17px;
}

/* Question stage and estimate stage are never shown at once, so this stays single-column and full-width. */
.quote-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

/* Single source of truth for the assessment panel's height budget: sticky header + compact progress bar. */
.quote-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: clamp(460px, calc(100dvh - 190px), 780px);
  min-height: 0;
}

.assessment-progress {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.assessment-progress .mini-label {
  display: none;
}

.assessment-progress-copy {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-strong);
  letter-spacing: -0.01em;
}

.quote-step {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(18px, 3vh, 28px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  scroll-margin-top: 170px;
}

.quote-step.is-active-question {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  animation: stage-fade-in 0.22s ease;
}

.quote-step.is-step-entering {
  animation: step-swap-in 0.22s ease;
}

@keyframes step-swap-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-step-head {
  display: grid;
  flex-shrink: 0;
  gap: clamp(6px, 1vh, 12px);
  margin-bottom: clamp(12px, 2vh, 20px);
}

.quote-step > .field-error,
.quote-step > .quote-actions {
  flex-shrink: 0;
}

.quote-step > .option-grid,
.quote-step > .feature-grid,
.quote-step > .quote-input,
.quote-step > .upload-field,
.quote-step > .upholstery-grid,
.quote-step > .customer-grid,
.quote-step > .review-grid,
.quote-step > .field {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.step-index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-title {
  margin: 0;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.step-copy {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(0.96rem, 0.9rem + 0.2vw, 1.08rem);
  line-height: 1.5;
  color: var(--muted);
}

.option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.5vh, 14px);
  align-content: start;
}

.feature-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(8px, 1.5vh, 14px);
  align-content: start;
}

.option-card,
.feature-card {
  position: relative;
}

.option-card input,
.feature-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.option-card label,
.feature-card label {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: clamp(12px, 2vh, 20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.option-card input:checked + label,
.feature-card input:checked + label {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.option-card label:hover,
.feature-card label:hover {
  transform: translateY(-1px);
}

.option-title,
.feature-title-sm {
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.option-copy,
.feature-copy-sm {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.quote-input {
  display: grid;
  gap: 12px;
}

.quote-input label {
  color: var(--muted-strong);
  font-weight: 600;
  font-size: 1.02rem;
}

.field-group[data-invalid='true'] .input,
.field-group[data-invalid='true'] .option-card label,
.field-group[data-invalid='true'] .feature-card label,
.field-group[data-invalid='true'] .upload-field {
  border-color: rgba(244, 185, 185, 0.75);
}

.upload-field {
  display: grid;
  gap: 12px;
  padding: 15px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.upload-field input {
  color: var(--muted-strong);
}

.upload-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.upload-count {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-strong);
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 28px -24px -24px;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0) 0%, rgba(9, 9, 9, 0.92) 32%, rgba(9, 9, 9, 0.98) 100%);
  position: sticky;
  bottom: 0;
  z-index: 3;
}

.upholstery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
}

.quote-actions .button,
.quote-actions .button-secondary {
  cursor: pointer;
}

.quote-result-card {
  position: sticky;
  top: 110px;
  padding: 20px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  gap: 10px;
}

.quote-result-card:focus {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.quote-result-head {
  gap: 4px;
}

.estimate-badge,
.confirmation-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted-strong);
}

.confirmation-badge {
  border-color: rgba(244, 185, 185, 0.45);
  color: #f7d2d2;
}

.estimate-amount {
  margin: 2px 0 0;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.quote-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.estimate-copy,
.quote-note {
  margin: 0;
}

.quote-result-card .quote-note {
  font-size: 0.86rem;
  line-height: 1.4;
}

.summary-list,
.quote-notices {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quote-result-card .summary-list,
.quote-result-card .quote-notices {
  gap: 6px;
}

.summary-list li,
.quote-notices li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-strong);
}

.quote-notices li {
  display: block;
  padding-left: 16px;
  position: relative;
  color: var(--muted);
}

.quote-result-card .quote-notices {
  font-size: 0.76rem;
  line-height: 1.4;
}

.quote-notices li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.quote-breakdown {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-result-card .mini-label {
  margin-bottom: 6px;
}

.quote-result-card .quote-actions {
  margin-top: 2px;
}

.quote-error-summary {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(244, 185, 185, 0.5);
  background: rgba(160, 50, 50, 0.12);
  color: #f8dddd;
}

.quote-error-summary p,
.quote-error-summary ul {
  margin: 0;
}

.quote-error-summary ul {
  padding-left: 18px;
  margin-top: 10px;
}

.booking-flow,
.booking-stage,
.booking-stage-panel,
.booking-progress,
.progress-step,
.availability-layout,
.availability-slots,
.customer-grid,
.review-grid,
.confirmation-card,
.confirmation-meta {
  display: grid;
  gap: 20px;
}

.booking-flow {
  gap: 17px;
  max-width: 920px;
  margin: 0 auto;
}

.journey-progress {
  position: sticky;
  top: 104px;
  z-index: 8;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
}

.journey-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.journey-progress-count {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-strong);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.journey-progress-track {
  margin-top: 6px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.journey-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(96deg, rgba(214, 230, 255, 0.9) 0%, rgba(248, 251, 255, 0.98) 38%, rgba(228, 233, 244, 0.95) 64%, rgba(220, 236, 255, 0.9) 100%);
  background-size: 220% 100%;
  box-shadow: 0 0 10px rgba(210, 226, 255, 0.26), 0 0 16px rgba(198, 214, 238, 0.16);
  transition: width 0.25s ease;
  animation: progress-iridescent-shimmer 10s ease-in-out infinite;
}

@keyframes progress-iridescent-shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* The full step-by-step label row is intentionally hidden: the progress bar is secondary/informational and must stay compact (count + thin line only). */
.journey-progress-labels {
  display: none;
}

.journey-progress-labels [data-journey-label],
.journey-progress-labels [data-step-id] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  cursor: pointer;
  text-align: center;
  padding: 7px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.journey-progress-labels [data-journey-label].is-active,
.journey-progress-labels [data-step-id].is-active {
  color: #050505;
  background: linear-gradient(102deg, rgba(222, 236, 255, 0.95) 0%, rgba(253, 254, 255, 0.99) 48%, rgba(233, 238, 248, 0.95) 100%);
  border-color: rgba(244, 248, 255, 0.95);
  box-shadow: 0 0 10px rgba(214, 230, 255, 0.24), inset 0 0 0 1px rgba(245, 250, 255, 0.72);
}

.journey-progress-labels [data-journey-label].is-complete,
.journey-progress-labels [data-step-id].is-complete {
  color: var(--muted-strong);
  border-color: rgba(216, 230, 250, 0.42);
  background: linear-gradient(104deg, rgba(173, 195, 226, 0.08) 0%, rgba(219, 232, 250, 0.12) 50%, rgba(182, 197, 219, 0.08) 100%);
}

.journey-progress-labels [data-journey-label].is-complete::after,
.journey-progress-labels [data-step-id].is-complete::after {
  content: ' \2713';
  font-size: 0.68rem;
  opacity: 0.86;
}

.journey-progress-labels [data-journey-label].is-clickable:hover,
.journey-progress-labels [data-step-id].is-clickable:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--text);
}

.journey-progress-labels [data-journey-label].is-future,
.journey-progress-labels [data-step-id].is-future {
  opacity: 0.52;
  cursor: not-allowed;
}

.journey-progress-labels [data-journey-label]:focus-visible,
.journey-progress-labels [data-step-id]:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.booking-stage-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vh, 24px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  max-height: clamp(480px, calc(100dvh - 190px), 780px);
  overflow: hidden;
  scroll-margin-top: 170px;
}

.confirmation-card {
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.booking-stage-panel > .section-head,
.booking-stage-panel > .quote-error-summary,
.booking-stage-panel > .field-error,
.booking-stage-panel > .submission-note,
.booking-stage-panel > .quote-actions {
  flex-shrink: 0;
}

.booking-stage-panel > .availability-layout,
.booking-stage-panel > .customer-grid,
.booking-stage-panel > .review-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

@media (prefers-reduced-motion: reduce) {
  .quote-step.is-active-question,
  .quote-step.is-step-entering,
  .booking-stage.is-active .booking-stage-panel,
  .booking-stage.is-active .confirmation-card {
    animation: none;
  }

  .journey-progress-fill {
    animation: none;
    background-position: 50% 50%;
  }

  .brand-gateway-page .kicker-stack {
    animation: none;
    will-change: auto;
    opacity: 1;
    transform: none;
  }
}

.booking-stage-panel:focus,
.confirmation-card:focus {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.booking-stage.is-active .booking-stage-panel,
.booking-stage.is-active .confirmation-card {
  animation: stage-fade-in 0.22s ease;
}

/* Heading is informational only here — the month/date/slot pickers are the primary interaction and get the space. */
.booking-stage-panel > .section-head {
  gap: 2px;
  margin-bottom: 12px;
}

.booking-stage-panel > .section-head .eyebrow {
  margin-bottom: 4px;
  font-size: 0.66rem;
}

.booking-stage-panel > .section-head .section-title {
  max-width: none;
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
}

.booking-stage-panel > .section-head .section-copy {
  max-width: 60ch;
  margin: 2px 0 0;
  font-size: 0.86rem;
}

.availability-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: start;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vh, 18px);
  align-content: start;
}

.month-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(64px, 12vh, 100px);
  padding: clamp(16px, 3vh, 26px) 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.month-tile:hover {
  transform: translateY(-1px);
}

.month-tile.is-selected {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.date-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.date-group-head .button-ghost {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.85rem;
}

.date-group-label {
  font-weight: 700;
  color: var(--muted-strong);
  letter-spacing: -0.01em;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: clamp(10px, 2vh, 16px);
}

.date-tile {
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.date-tile:hover {
  transform: translateY(-1px);
}

.date-tile.is-selected {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.month-tile:disabled,
.date-tile:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.availability-slot {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.availability-slot.is-selected {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.availability-slot:disabled,
.button:disabled,
.button-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.availability-slot-label {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.availability-slot-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.customer-grid,
.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.review-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.review-card h3,
.confirmation-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.submission-note {
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.6;
}

.confirmation-card {
  max-width: 860px;
}

.confirmation-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.confirmation-value {
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.page-hero,
.legal-hero {
  padding: 80px 0 30px;
}

.home-maintenance-page #services,
.home-maintenance-page #contact {
  scroll-margin-top: 124px;
}

.page-intro {
  max-width: 72ch;
}

.lead-stack {
  display: grid;
  gap: 18px;
}

.micro-copy {
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-directory {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.directory-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 26px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.directory-item-title {
  margin: 0;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.directory-item-copy,
.directory-item-note,
.support-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.directory-item-note {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.service-spotlight {
  display: grid;
  gap: 20px;
}

.home-maintenance-page .service-spotlight {
  height: 100%;
}

.home-maintenance-page .service-spotlight .inline-actions {
  margin-top: auto;
}

.service-spotlight .gateway-title {
  max-width: 10ch;
}

.service-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.service-mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
}

.service-mini-list strong,
.service-mini-list span {
  display: block;
}

.service-mini-list strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.service-mini-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-status {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.service-status.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.practical-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.practical-list li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.practical-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.support-panel {
  display: grid;
  gap: 18px;
}

.support-panel .stat-list {
  margin-top: 0;
}

.support-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.stack-list li {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.stack-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.info-block {
  display: grid;
  gap: 14px;
}

.info-title {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.info-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.inline-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.inline-stat {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.inline-stat strong,
.inline-stat span {
  display: block;
}

.inline-stat strong {
  font-size: 1.35rem;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.inline-stat span {
  color: var(--muted);
  line-height: 1.6;
}

.banner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.banner-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0;
}

.banner-row p {
  margin: 0;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
  padding: 42px 0 28px;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links,
.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: rgba(244, 244, 244, 0.5);
  font-size: 0.88rem;
}

.legal-panel h2,
.legal-panel h3 {
  margin-top: 32px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-panel ul {
  padding-left: 18px;
}

.route-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.brand-gateway-page .route-list {
  gap: 10px;
  margin-top: 18px;
}

.route-list a {
  color: var(--muted-strong);
}

.status-note {
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  padding: 12px 0 12px 18px;
  color: var(--muted-strong);
}

.brand-gateway-page .status-note {
  padding: 10px 0 10px 16px;
}

.brand-gateway-page .section-tight.banner {
  padding: 44px 0;
}

.brand-gateway-page .section {
  padding: 76px 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .gateway-grid,
  .split-panel,
  .directory-grid,
  .list-grid,
  .contact-grid,
  .quote-layout,
  .availability-layout,
  .footer-grid,
  .card-grid,
  .stats-grid,
  .process-grid,
  .banner-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .desktop-nav,
  .header-actions .button-secondary:not([data-quote-menu-trigger]) {
    display: none;
  }

  .brand-gateway-page .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quote-menu-panel {
    left: 0;
    right: auto;
    min-width: min(320px, calc(100vw - 56px));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .header-row {
    min-height: 84px;
  }

  .journey-progress {
    position: static;
  }

  .journey-progress-labels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .home-maintenance-page .directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-gateway-page .hero::before {
    width: min(154vw, 595px);
    right: -190px;
    bottom: -140px;
  }

  .hero {
    padding-top: 88px;
  }

  .section {
    padding: 72px 0;
  }

  .surface,
  .gateway-card,
  .card,
  .process-card,
  .stat-block,
  .form-panel,
  .legal-panel,
  .feature-list {
    padding: 22px;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .directory-item,
  .inline-stat-grid,
  .service-mini-list li,
  .option-grid,
  .upholstery-grid,
  .feature-grid,
  .summary-list li,
  .customer-grid,
  .review-grid,
  .confirmation-meta,
  .booking-progress {
    grid-template-columns: 1fr;
  }

  .service-mini-list li,
  .summary-list li {
    justify-content: flex-start;
  }

  .journey-progress-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-flow {
    gap: 16px;
  }

  .journey-progress {
    padding: 11px 12px;
  }

  .journey-progress-track,
  .journey-progress-labels {
    margin-top: 9px;
  }

  .quote-step,
  .quote-result-card,
  .booking-stage-panel,
  .confirmation-card {
    padding: 17px;
  }

  .quote-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 20px -17px -17px;
    padding: 16px 17px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .quote-result-card {
    position: static;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }
}

.surface:not(.form-panel):not(.legal-panel),
.card,
.gateway-card,
.stat-block,
.process-card,
.feature-list,
.inline-stat,
.quote-step,
.quote-result-card,
.booking-stage-panel,
.confirmation-card {
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.32s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .surface:not(.form-panel):not(.legal-panel):hover,
  .surface:not(.form-panel):not(.legal-panel):focus-within,
  .card:hover,
  .card:focus-within,
  .gateway-card:hover,
  .gateway-card:focus-within,
  .stat-block:hover,
  .stat-block:focus-within,
  .process-card:hover,
  .process-card:focus-within,
  .feature-list:hover,
  .feature-list:focus-within,
  .inline-stat:hover,
  .inline-stat:focus-within,
  .quote-step:hover,
  .quote-step:focus-within,
  .quote-result-card:hover,
  .quote-result-card:focus-within,
  .booking-stage-panel:hover,
  .booking-stage-panel:focus-within,
  .confirmation-card:hover,
  .confirmation-card:focus-within {
    transform: translate3d(0, -4px, 0);
    box-shadow: var(--lift-shadow);
    border-color: var(--lift-border);
  }
}

.surface:not(.form-panel):not(.legal-panel).is-lift-visible,
.card.is-lift-visible,
.gateway-card.is-lift-visible,
.stat-block.is-lift-visible,
.process-card.is-lift-visible,
.feature-list.is-lift-visible,
.inline-stat.is-lift-visible,
.quote-step.is-lift-visible,
.quote-result-card.is-lift-visible,
.booking-stage-panel.is-lift-visible,
.confirmation-card.is-lift-visible {
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--lift-shadow);
  border-color: var(--lift-border);
}

@media (hover: hover) and (pointer: fine) {
  .surface:not(.form-panel):not(.legal-panel),
  .card,
  .gateway-card,
  .stat-block,
  .process-card,
  .feature-list,
  .inline-stat,
  .quote-step,
  .quote-result-card,
  .booking-stage-panel,
  .confirmation-card {
    position: relative;
  }

  .surface:not(.form-panel):not(.legal-panel)::after,
  .card::after,
  .gateway-card::after,
  .stat-block::after,
  .process-card::after,
  .feature-list::after,
  .inline-stat::after,
  .quote-step::after,
  .quote-result-card::after,
  .booking-stage-panel::after,
  .confirmation-card::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -10px;
    height: 24px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 32%, rgba(255, 255, 255, 0) 74%);
    filter: blur(14px);
    opacity: 0;
    transform: translateY(4px) scale(0.92);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    z-index: -1;
  }

  .surface:not(.form-panel):not(.legal-panel):hover::after,
  .surface:not(.form-panel):not(.legal-panel):focus-within::after,
  .card:hover::after,
  .card:focus-within::after,
  .gateway-card:hover::after,
  .gateway-card:focus-within::after,
  .stat-block:hover::after,
  .stat-block:focus-within::after,
  .process-card:hover::after,
  .process-card:focus-within::after,
  .feature-list:hover::after,
  .feature-list:focus-within::after,
  .inline-stat:hover::after,
  .inline-stat:focus-within::after,
  .quote-step:hover::after,
  .quote-step:focus-within::after,
  .quote-result-card:hover::after,
  .quote-result-card:focus-within::after,
  .booking-stage-panel:hover::after,
  .booking-stage-panel:focus-within::after,
  .confirmation-card:hover::after,
  .confirmation-card:focus-within::after {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .surface:not(.form-panel):not(.legal-panel).is-lift-visible::after,
  .card.is-lift-visible::after,
  .gateway-card.is-lift-visible::after,
  .stat-block.is-lift-visible::after,
  .process-card.is-lift-visible::after,
  .feature-list.is-lift-visible::after,
  .inline-stat.is-lift-visible::after,
  .quote-step.is-lift-visible::after,
  .quote-result-card.is-lift-visible::after,
  .booking-stage-panel.is-lift-visible::after,
  .confirmation-card.is-lift-visible::after {
    opacity: 0.8;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .surface:not(.form-panel):not(.legal-panel),
  .card,
  .gateway-card,
  .stat-block,
  .process-card,
  .feature-list,
  .inline-stat,
  .quote-step,
  .quote-result-card,
  .booking-stage-panel,
  .confirmation-card {
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
    transform: none;
  }

  .surface:not(.form-panel):not(.legal-panel):hover,
  .surface:not(.form-panel):not(.legal-panel):focus-within,
  .surface:not(.form-panel):not(.legal-panel).is-lift-visible,
  .card:hover,
  .card:focus-within,
  .card.is-lift-visible,
  .gateway-card:hover,
  .gateway-card:focus-within,
  .gateway-card.is-lift-visible,
  .stat-block:hover,
  .stat-block:focus-within,
  .stat-block.is-lift-visible,
  .process-card:hover,
  .process-card:focus-within,
  .process-card.is-lift-visible,
  .feature-list:hover,
  .feature-list:focus-within,
  .feature-list.is-lift-visible,
  .inline-stat:hover,
  .inline-stat:focus-within,
  .inline-stat.is-lift-visible,
  .quote-step:hover,
  .quote-step:focus-within,
  .quote-step.is-lift-visible,
  .quote-result-card:hover,
  .quote-result-card:focus-within,
  .quote-result-card.is-lift-visible,
  .booking-stage-panel:hover,
  .booking-stage-panel:focus-within,
  .booking-stage-panel.is-lift-visible,
  .confirmation-card:hover,
  .confirmation-card:focus-within,
  .confirmation-card.is-lift-visible {
    transform: none;
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.48);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .surface:not(.form-panel):not(.legal-panel)::after,
  .card::after,
  .gateway-card::after,
  .stat-block::after,
  .process-card::after,
  .feature-list::after,
  .inline-stat::after,
  .quote-step::after,
  .quote-result-card::after,
  .booking-stage-panel::after,
  .confirmation-card::after {
    display: none;
  }
}