/* ==========================================================================
   Driveway Kings V3 — Crisp White, Coastal Atlantic Blue & Contractor Orange
   Myrtle Beach & Grand Strand, SC | https://www.regalpavers.com
   ========================================================================== */

:root {
  /* Crisp White, Coastal Atlantic Blue & Contractor Orange Palette */
  --bg-primary: #FFFFFF;
  --bg-oyster: #F4F8FC;
  --bg-blueprint: #EBF3FA;
  --border-arch: #DCE6F0;
  --border-strong: #C2D4E6;

  --text-heading: #0A2540;
  --text-body: #334E68;
  --text-muted: #526D85;

  --navy: #0B4A8C;
  --navy-deep: #072F5F;
  --navy-hover: #0E5CAD;
  --blue-accent: #0284C7;

  --terracotta: #EA580C;
  --terracotta-hover: #C2410C;
  --brass: #EA580C;
  --brass-text: #C2410C;
  --brass-light: #FB923C;
  --brass-soft: rgba(234, 88, 12, 0.10);

  --sage-soft: #EBF5FF;
  --sage-border: #BAE0FD;
  --sage-text: #0B4A8C;

  --success: #0284C7;
  --success-bg: #EBF5FF;
  --success-border: #BAE0FD;
  --warning: #C2410C;
  --warning-bg: #FFF7ED;
  --warning-border: #FED7AA;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;

  /* Typography */
  --font-serif: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  /* Athletic Coastal Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-btn: 10px;
  --radius-pill: 10px;
  --shadow-subtle: 0 2px 6px rgba(10, 37, 64, 0.04);
  --shadow-card: 0 10px 26px rgba(11, 74, 140, 0.08);
  --shadow-float: 0 20px 44px rgba(7, 47, 95, 0.14);

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --mobile-chrome-h: 136px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea,
label,
[role="button"] {
  touch-action: manipulation;
}

img,
svg,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem 0;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1, h2, .hero-title, .section-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.13;
}

h3, h4, .card-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 em, h2 em, .hero-title em, .section-title em {
  font-style: normal;
  font-weight: 800;
  color: var(--terracotta);
}

.section-navy h2 em, .section-navy .section-title em {
  color: #FB923C;
}

.text-orange {
  color: var(--terracotta);
}

h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.125rem; }

p {
  margin: 0 0 1rem 0;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--brass-text);
}

:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono,
.card-price,
.bento-price-pill,
.calc-total-range,
.calc-per-sqft,
.calc-breakdown-row strong,
.range-value,
.surface-pill-rate,
.telemetry-val,
.metric-val,
.spec-summary-list strong,
.xray-layer-depth,
.xray-spec-row strong,
.style-price-pill,
.spec-badge,
.market-zip {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--font-mono);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Buttons & Interactive Controls
   ========================================================================== */

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active,
.header-cta:active {
  transform: translateY(1px);
}

.btn-primary,
.header-cta {
  background: linear-gradient(135deg, #EA580C 0%, #D9480F 100%);
  color: #FFFFFF;
  border-color: #C2410C;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover,
.header-cta:hover {
  background: linear-gradient(135deg, #C2410C 0%, #B9380C 100%);
  border-color: #C2410C;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #0B4A8C;
  border-color: #C2D4E6;
}

.btn-secondary:hover {
  background-color: #F4F8FC;
  border-color: #0B4A8C;
  color: #072F5F;
}

.btn-brass {
  background: linear-gradient(135deg, #EA580C 0%, #D9480F 100%);
  color: #FFFFFF;
  border-color: #C2410C;
}

.btn-brass:hover {
  background: linear-gradient(135deg, #C2410C 0%, #B9380C 100%);
  border-color: #C2410C;
  color: #FFFFFF;
}

.btn-outline {
  background-color: #FFFFFF;
  color: #0B4A8C;
  border: 1.5px solid #0B4A8C;
}

.btn-outline:hover {
  background-color: #F4F8FC;
  border-color: #072F5F;
  color: #072F5F;
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--navy);
  border-color: #FFFFFF;
}

.btn-white:hover {
  background-color: var(--bg-oyster);
  color: var(--navy);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Sticky Top Utility Bar
   ========================================================================== */

.top-utility-bar {
  background-color: var(--navy-deep);
  color: #E2EEF9;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(251, 146, 60, 0.35);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 5px 0;
}

.utility-items {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 11.5px;
  white-space: nowrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #E2EEF9;
  font-weight: 500;
}

.utility-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background-color: rgba(234, 88, 12, 0.22);
  border: 1px solid rgba(251, 146, 60, 0.55);
  color: #FB923C;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
}

.utility-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.utility-link {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
}

.utility-link:hover {
  color: #FB923C;
}

/* ==========================================================================
   Glassmorphic White Header, Dropdowns & Mobile Nav Drawer
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-arch);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 86px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 62px;
  height: 74px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(7, 47, 95, 0.12));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-sub {
  color: var(--brass-text);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 9px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.dropdown-trigger:hover,
.has-dropdown.is-open > .dropdown-trigger {
  background-color: var(--bg-oyster);
  color: var(--navy);
}

.dropdown-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.has-dropdown.is-open .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 310px;
  padding: 10px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 950;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.is-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-wide {
  width: 660px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.dropdown-menu-compact {
  min-width: 210px;
  width: max-content;
  max-width: 260px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item:nth-child(3) .dropdown-menu-wide {
  left: -120px;
}

.nav-item:last-child .dropdown-menu-compact {
  left: auto;
  right: 0;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.dropdown-link:hover {
  background-color: var(--bg-oyster);
}

.dropdown-menu-compact .dropdown-link {
  display: block;
  padding: 9px 12px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
}

.dropdown-menu-compact .dropdown-link:hover,
.dropdown-menu-compact .dropdown-link[aria-current="page"] {
  background-color: var(--bg-oyster);
  color: var(--navy);
}

.dropdown-title {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.dropdown-desc {
  color: var(--text-body);
  font-size: 12.5px;
  line-height: 1.35;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions .btn-sm {
  padding: 8px 13px;
  font-size: 13px;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: var(--bg-oyster);
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-sm);
  color: var(--navy);
  cursor: pointer;
}

.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1090;
  background-color: rgba(7, 47, 95, 0.45);
  backdrop-filter: blur(2px);
}

.mobile-drawer-overlay.is-open {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: min(360px, 90vw);
  padding: 20px;
  background-color: #FFFFFF;
  border-left: 1px solid var(--border-arch);
  box-shadow: var(--shadow-float);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-arch);
}

.mobile-drawer-header .brand-mark {
  width: 54px;
  height: 65px;
  object-fit: contain;
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-oyster);
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav-group {
  margin-bottom: 18px;
}

.mobile-nav-title {
  margin: 0 0 8px 0;
  color: var(--brass-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-list a:hover {
  background-color: var(--bg-oyster);
  color: var(--navy);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer .mobile-nav-group {
  margin-bottom: 0;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  overflow: hidden;
}

.mobile-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 13px 16px;
  background-color: var(--bg-oyster);
  border: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.mobile-drawer .mobile-nav-group.is-open .mobile-nav-toggle {
  background-color: #EBF5FF;
  border-bottom: 1px solid var(--border-arch);
}

.mobile-nav-caret {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.2s ease;
}

.mobile-drawer .mobile-nav-group.is-open .mobile-nav-caret {
  transform: rotate(180deg);
}

.mobile-drawer .mobile-nav-list {
  display: none;
  padding: 6px 8px;
  background-color: #FFFFFF;
}

.mobile-drawer .mobile-nav-group.is-open .mobile-nav-list {
  display: flex;
}

.mobile-drawer .mobile-nav-list a[aria-current="page"] {
  background-color: var(--bg-oyster);
  color: var(--navy);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-arch);
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */

.section {
  padding: 76px 0;
  background-color: var(--bg-primary);
}

.section-sm {
  padding: 52px 0;
}

.section-oyster {
  background-color: var(--bg-oyster);
  border-top: 1px solid var(--border-arch);
  border-bottom: 1px solid var(--border-arch);
}

.section-blueprint {
  background-color: var(--bg-oyster);
  border-top: 1px solid var(--border-arch);
  border-bottom: 1px solid var(--border-arch);
}

.section-navy {
  background-color: var(--navy-deep);
  color: #D8E6F5;
}

.section-navy h2,
.section-navy h3,
.section-navy .section-title {
  color: #FFFFFF;
}

.section-header {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: #EBF5FF;
  border: 1px solid #BAE0FD;
  color: #0B4A8C;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow::before,
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #EA580C;
  flex-shrink: 0;
}

.section-title {
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Split Hero + Interactive Before/After Comparison Slider
   ========================================================================== */

.hero-section {
  padding: 58px 0 70px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
  border-bottom: 1px solid var(--border-arch);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}

.hero-content,
.hero-visual {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 13px;
  background-color: #EBF5FF;
  border: 1px solid #BAE0FD;
  border-radius: 999px;
  color: #0B4A8C;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 3.8vw, 3.2rem);
  line-height: 1.12;
}

.hero-lead {
  margin-bottom: 26px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-body);
  max-width: 60ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-arch);
}

.telemetry-item {
  min-width: 0;
}

.telemetry-val {
  display: block;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.telemetry-lbl {
  display: block;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.35;
}

.ba-card {
  min-width: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
}

.ba-slider {
  --ba-pos: 52%;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-arch);
  background-color: var(--bg-blueprint);
  user-select: none;
  touch-action: pan-y;
}

.ba-after,
.ba-before,
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-after {
  z-index: 1;
}

.ba-before,
.ba-before-wrap {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos, 52%)) 0 0);
}

.ba-before-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after img,
.ba-before img,
.ba-after svg,
.ba-before svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 12px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 44%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.ba-label-before {
  left: 14px;
  background-color: rgba(10, 37, 64, 0.85);
  color: #FFFFFF;
}

.ba-label-after {
  right: 14px;
  background-color: rgba(7, 47, 95, 0.9);
  border: 1px solid rgba(251, 146, 60, 0.7);
  color: #FB923C;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 52%);
  width: 2px;
  background-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(10, 37, 64, 0.45);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.ba-handle,
.hero-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: #072F5F;
  border: 2.5px solid #FFFFFF;
  color: #FB923C;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(7, 47, 95, 0.35);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.ba-slider:focus-within .ba-handle {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

.ba-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 4px;
  font-size: 13.5px;
  color: var(--text-body);
}

.ba-caption strong {
  color: var(--text-heading);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-arch);
  padding: 20px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-blueprint);
  border: 1px solid var(--border-arch);
  color: var(--navy);
  flex-shrink: 0;
}

.trust-value {
  display: block;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.trust-label {
  display: block;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.4;
}

/* ==========================================================================
   Bento Grids (4-Card, 3-Card, 2-Card)
   ========================================================================== */

.bento-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.bento-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--blue-accent);
}

.bento-card-featured {
  border-color: rgba(2, 132, 199, 0.45);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
  box-shadow: var(--shadow-card);
}

.card-tag,
.bento-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #EBF5FF;
  border: 1px solid #BAE0FD;
  color: #0B4A8C;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.card-title {
  margin-bottom: 10px;
  font-size: 20px;
}

.card-price {
  margin-bottom: 12px;
  color: var(--brass-text);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.card-desc {
  margin-bottom: 16px;
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.58;
}

.card-specs {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 14px 0 0 0;
  border-top: 1px solid var(--border-arch);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--text-body);
}

.card-specs li {
  position: relative;
  padding-left: 18px;
}

.card-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background-color: var(--brass);
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  color: var(--brass-text);
}

/* ==========================================================================
   Coastal Soil X-Ray Interactive Cross-Section Diagram
   ========================================================================== */

.xray-wrapper {
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.xray-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-arch);
}

.xray-tab-btn {
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background-color: var(--bg-oyster);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.xray-tab-btn:hover {
  border-color: var(--navy);
}

.xray-tab-btn.is-active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.xray-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.xray-diagram {
  min-width: 0;
}

.xray-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xray-layer-btn {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  text-align: left;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-arch);
  border-left: 5px solid #0284C7;
  background-color: #FFFFFF;
  color: var(--text-heading);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.xray-layer-btn[data-layer-index="0"] { border-left-color: #EA580C; }
.xray-layer-btn[data-layer-index="1"] { border-left-color: #0284C7; }
.xray-layer-btn[data-layer-index="2"] { border-left-color: #0B4A8C; }
.xray-layer-btn[data-layer-index="3"] { border-left-color: #526D85; }
.xray-layer-btn[data-layer-index="4"] { border-left-color: #0E5CAD; }
.xray-layer-btn[data-layer-index="5"] { border-left-color: #334E68; }

.xray-layer-btn:hover {
  border-color: var(--blue-accent);
  transform: translateX(3px);
}

.xray-layer-btn.is-active,
.xray-layer-btn.is-active[data-layer-index] {
  background-color: #072F5F;
  border-color: #072F5F;
  border-left: 5px solid #EA580C;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(7, 47, 95, 0.18);
}

.xray-layer-depth {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brass-text);
}

.xray-layer-btn.is-active .xray-layer-depth {
  color: #FB923C;
}

.xray-layer-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

.xray-layer-code {
  padding: 3px 8px;
  border-radius: 4px;
  background-color: var(--bg-blueprint);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.xray-layer-btn.is-active .xray-layer-code {
  background-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.xray-detail-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background-color: var(--bg-blueprint);
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
}

.xray-detail-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  color: var(--brass-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.xray-detail-title {
  margin-bottom: 12px;
  font-size: 22px;
}

.xray-detail-desc {
  margin-bottom: 20px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.62;
}

.xray-spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
}

.xray-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-oyster);
  font-size: 14px;
  line-height: 1.38;
}

.xray-spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.xray-spec-row > span:first-child {
  min-width: 0;
  flex: 1 1 0%;
  color: var(--text-body);
  font-weight: 500;
}

.xray-spec-row strong {
  flex: 0 1 auto;
  max-width: 58%;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.38;
  text-align: right;
}

/* ==========================================================================
   30-Second Live Cost & Lot-Coverage Calculator
   ========================================================================== */

.calc-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 32px;
  align-items: start;
}

.calc-inputs {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-step {
  min-width: 0;
}

.calc-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
}

.surface-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.surface-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 13px 15px;
  text-align: left;
  background-color: var(--bg-oyster);
  border: 1.5px solid var(--border-arch);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  cursor: pointer;
  transition: all 0.16s ease;
}

.surface-pill:hover {
  border-color: var(--navy);
  background-color: #FFFFFF;
}

.surface-pill.is-selected {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(7, 47, 95, 0.16);
}

.surface-pill-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.surface-pill-rate {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brass-text);
}

.surface-pill.is-selected .surface-pill-rate {
  color: #FB923C;
}

.range-control {
  padding: 16px 18px;
  background-color: var(--bg-oyster);
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
}

.range-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.range-value {
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

.range-slider {
  width: 100%;
  accent-color: var(--navy);
  cursor: pointer;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preset-btn {
  padding: 6px 11px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background-color: #FFFFFF;
  color: var(--text-heading);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.preset-btn:hover,
.preset-btn.is-active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.calc-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.city-select,
.calc-number-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background-color: #FFFFFF;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--bg-oyster);
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.toggle-switch {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-row.is-included {
  background-color: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success);
  font-weight: 600;
  cursor: default;
}

.toggle-row.is-included .toggle-switch {
  opacity: 0.72;
  cursor: default;
}

.jurisdiction-alert {
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-blueprint);
  border: 1px solid var(--border-arch);
  border-left: 4px solid var(--brass);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-heading);
}

.alert-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.calc-output-box {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 26px;
  background-color: #072F5F;
  color: #D8E6F5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

.calc-output-box .btn-white {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.30);
}

.calc-output-box .btn-white:hover {
  background: linear-gradient(135deg, #C2410C 0%, #B9380C 100%);
  color: #FFFFFF;
}

.calc-total-label {
  color: #FB923C;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.calc-total-range {
  margin: 0 0 6px 0;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.calc-per-sqft {
  margin-bottom: 18px;
  color: #D8E6F5;
  font-family: var(--font-mono);
  font-size: 14px;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.38;
}

.calc-breakdown-row > span:first-child {
  min-width: 0;
  flex: 1 1 0%;
  color: #D8E6F5;
}

.calc-breakdown-row strong {
  flex: 0 1 auto;
  max-width: 58%;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.38;
  text-align: right;
}

.calc-coverage-box {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
}

.calc-coverage-bar {
  width: 100%;
  height: 8px;
  margin: 8px 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.calc-coverage-fill {
  height: 100%;
  border-radius: 999px;
  background-color: var(--brass-light);
  transition: width 0.25s ease;
}

.calc-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-disclaimer {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #D8E6F5;
}

/* ==========================================================================
   7-Market Grand Strand Bento Grid
   ========================================================================== */

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.market-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.market-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-card);
}

.market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.market-city {
  margin: 0;
  font-size: 20px;
}

.market-zip {
  padding: 3px 9px;
  border-radius: 5px;
  background-color: var(--bg-blueprint);
  border: 1px solid var(--border-arch);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.market-rule {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-body);
}

.market-neighborhoods {
  margin-bottom: 16px;
  padding: 10px 12px;
  background-color: var(--bg-oyster);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-heading);
}

.market-link {
  margin-top: auto;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.market-link:hover {
  color: var(--brass-text);
}

/* ==========================================================================
   Semantic Comparison Tables
   ========================================================================== */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.spec-table caption {
  padding: 11px 18px;
  background-color: var(--bg-oyster);
  border-bottom: 1px solid var(--border-arch);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  caption-side: top;
}

.spec-table thead th {
  padding: 16px 18px;
  background-color: var(--navy);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--brass);
}

.spec-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-arch);
  color: var(--text-body);
  vertical-align: top;
}

.spec-table tbody tr:nth-child(even) {
  background-color: var(--bg-oyster);
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody td:first-child {
  color: var(--text-heading);
  font-weight: 600;
}

.spec-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background-color: var(--bg-blueprint);
  color: var(--navy);
}

/* ==========================================================================
   Answer-First FAQ Accordion
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item.is-open,
.faq-item[open] {
  border-color: var(--navy);
  box-shadow: var(--shadow-subtle);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.38;
  cursor: pointer;
}

.faq-q:hover {
  background-color: var(--bg-oyster);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: var(--bg-blueprint);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.faq-item.is-open .faq-icon,
.faq-item[open] .faq-icon {
  background-color: var(--navy);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 22px 20px 22px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
  border-top: 1px solid var(--bg-oyster);
}

.faq-list.faq-enhanced .faq-item:not(.is-open) .faq-a {
  display: none;
}

/* ==========================================================================
   Lead Quote Form & 5-Layer Firewall Status Cards
   ========================================================================== */

.quote-section {
  padding: 76px 0;
  background-color: var(--bg-oyster);
  border-top: 1px solid var(--border-arch);
}

.quote-section.quote-section-linen {
  background-color: var(--bg-primary);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.quote-sidebar {
  min-width: 0;
}

.quote-benefits {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-benefits li {
  padding: 14px 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
  font-size: 15px;
}

.quote-benefits strong {
  display: block;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.quote-card {
  min-width: 0;
  padding: 32px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.quote-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-label {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
}

select,
input,
textarea {
  font-size: 16px;
}

.field-control {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7, 47, 95, 0.12);
}

textarea.field-control {
  min-height: 110px;
  resize: vertical;
}

.field-hint {
  color: var(--text-body);
  font-size: 12.5px;
  line-height: 1.35;
}

.field-error {
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
}

.form-status.is-error {
  background-color: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.form-status.is-info {
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning);
}

.form-success-card {
  padding: 28px;
  background-color: var(--success-bg);
  border: 1.5px solid var(--success-border);
  border-radius: var(--radius-lg);
  color: var(--text-heading);
}

.form-success-card h3 {
  color: var(--success);
  margin-bottom: 10px;
}

.contact-form-panel {
  min-width: 0;
  scroll-margin-top: 112px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-top: 4px solid var(--navy);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-float);
  color: var(--text-body);
}

.regal-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.regal-form-title {
  margin: 0 0 8px 0;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.regal-form-sub {
  margin: 0 0 24px 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.calc-locked-pill {
  margin: 0 0 20px 0;
  padding: 12px 15px;
  border-radius: 10px;
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.legacy-form {
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.input-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin-bottom: 0;
}

.input-box.full {
  grid-column: span 2;
}

.input-box label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}

.custom-input {
  width: 100%;
  min-height: 48px;
  background: var(--bg-oyster);
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.custom-input::placeholder {
  color: #64748B;
  opacity: 1;
}

.custom-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 74, 140, 0.14);
}

.select-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%230B4A8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}

select.custom-input option,
select.custom-input optgroup {
  background-color: #FFFFFF;
  color: #0A2540;
}

.textarea-input {
  min-height: 112px;
  resize: vertical;
}

.regal-form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.regal-form-status.is-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.regal-form-status.is-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.submit-btn {
  width: 100%;
  margin-top: 18px;
  background: linear-gradient(135deg, #EA580C 0%, #D9480F 100%);
  color: #FFFFFF;
  border: 1.5px solid #C2410C;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #C2410C 0%, #B9380C 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(194, 65, 12, 0.36);
}

.submit-btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.regal-form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0 0 0;
  line-height: 1.45;
}

/* ==========================================================================
   Project Showcase Grid, Breadcrumbs, Inner Hero & Ordinance Cards
   ========================================================================== */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-blueprint);
  border-bottom: 1px solid var(--border-arch);
  overflow: hidden;
}

.showcase-media img,
.showcase-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.showcase-meta {
  color: var(--brass-text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-title {
  margin: 0;
  font-size: 18.5px;
}

.showcase-specs {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-arch);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--navy);
}

.breadcrumbs {
  padding: 12px 0;
  background-color: var(--bg-oyster);
  border-bottom: 1px solid var(--border-arch);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}

.breadcrumb-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--text-heading);
  font-weight: 600;
}

.page-hero {
  padding: 48px 0 58px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
  border-bottom: 1px solid var(--border-arch);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}

.page-hero-content {
  min-width: 0;
}

.page-hero-card {
  min-width: 0;
  padding: 26px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.spec-summary-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 16px 0 20px 0;
  padding: 0;
  list-style: none;
}

.spec-summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--bg-oyster);
  font-size: 14.5px;
  line-height: 1.38;
}

.spec-summary-list li > span:first-child {
  min-width: 0;
  flex: 1 1 0%;
}

.spec-summary-list li > strong,
.spec-summary-list li > a {
  flex: 0 1 auto;
  max-width: 58%;
  color: var(--navy);
  font-family: var(--font-mono);
  line-height: 1.38;
  text-align: right;
}

.spec-summary-list li > a strong {
  color: inherit;
  font-family: inherit;
}

.spec-sub {
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

.spec-summary-list .spec-sub,
.xray-spec-row .spec-sub {
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
}

.calc-breakdown-row .spec-sub {
  color: #D8E6F5;
  font-size: 12.5px;
  font-weight: 500;
}

.spec-nowrap {
  white-space: nowrap;
}

.ordinance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ordinance-card {
  min-width: 0;
  padding: 22px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-top: 3.5px solid var(--navy);
  border-radius: var(--radius-md);
}

.ordinance-code {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  background-color: var(--bg-blueprint);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.ordinance-title {
  margin-bottom: 8px;
  font-size: 18px;
}

.ordinance-body {
  font-size: 15px;
  color: var(--text-body);
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 36px;
  align-items: start;
}

.prose-block {
  min-width: 0;
}

.checklist-card {
  min-width: 0;
  padding: 24px;
  background-color: var(--bg-oyster);
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
}

.checklist {
  list-style: none;
  margin: 14px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.checklist li {
  position: relative;
  padding-left: 22px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

/* ==========================================================================
   4-Column Footer & VanquishWeb Credit Strip
   ========================================================================== */

.site-footer {
  background-color: var(--navy-deep);
  color: #D8E6F5;
  padding: 60px 0 28px;
  border-top: 3px solid var(--brass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand,
.footer-col {
  min-width: 0;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 2px 0;
  text-decoration: none;
}

.footer-brand-mark {
  width: 64px;
  height: 77px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.site-footer .brand-name {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-footer .brand-sub {
  color: #FB923C;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.footer-brand-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #D8E6F5;
  margin-bottom: 16px;
}

.footer-contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.footer-contact-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 13px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.footer-contact-pill:hover,
.footer-contact-pill:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(251, 146, 60, 0.65);
}

.footer-pill-label {
  color: #FB923C;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.25;
}

.footer-pill-val {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #E2EEF9;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-social-chip:hover,
.footer-social-chip:focus-visible {
  background-color: rgba(251, 146, 60, 0.16);
  border-color: rgba(251, 146, 60, 0.70);
  color: #FFFFFF;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #FB923C;
  line-height: 1.6;
}

.footer-meta a {
  color: #FFFFFF;
}

.footer-heading {
  margin: 0 0 14px 0;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-acc-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: default;
  pointer-events: none;
}

.footer-acc-caret {
  display: none;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
}

.footer-links a {
  color: #D8E6F5;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FB923C;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 13px;
  color: #D8E6F5;
}

.footer-legal {
  margin: 0;
}

.vanquish-credit {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #D8E6F5;
}

.vanquish-credit a {
  color: #FB923C;
  font-weight: 700;
  text-decoration: none;
}

.vanquish-credit a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Subpage Component Compatibility Aliases
   ========================================================================== */

.hero-kicker,
.ordinance-badge,
.ordinance-tag,
.service-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 5px;
  background-color: var(--bg-blueprint);
  border: 1px solid var(--border-arch);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-hero-lead {
  margin-bottom: 26px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-body);
  max-width: 60ch;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-arch);
}

.metric-item {
  min-width: 0;
}

.metric-val {
  display: block;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.metric-label {
  display: block;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.35;
}

.btn-outline-light {
  background-color: #FFFFFF;
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-outline-light:hover {
  background-color: var(--bg-oyster);
  border-color: var(--navy);
  color: var(--navy);
}

.page-hero-card-body {
  padding-top: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.service-price {
  margin-bottom: 0;
  color: var(--brass-text);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.service-card-title {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card-text {
  margin-bottom: 16px;
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.58;
}

.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.service-card-link:hover {
  color: var(--brass-text);
}

.prose-content {
  min-width: 0;
}

.check-list {
  list-style: none;
  margin: 14px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.quote-copy,
.quote-pitch {
  min-width: 0;
}

.trust-bullets {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-bullets li {
  padding: 14px 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-md);
  font-size: 15px;
}

.trust-bullets strong {
  display: block;
  color: var(--text-heading);
  margin-bottom: 3px;
}

/* ==========================================================================
   Responsive Breakpoints (1200px, 960px, 768px, 375px)
   ========================================================================== */

@media (max-width: 1240px) {
  .site-header .header-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 1200px) {
  .bento-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-items {
    flex-wrap: wrap;
    white-space: normal;
  }

  .utility-item:nth-child(3) {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .nav-link,
  .dropdown-trigger {
    padding: 7px 8px;
    font-size: 13px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-sm {
    padding: 7px 11px;
    font-size: 12.5px;
  }
}

@media (max-width: 1100px) {
  .utility-items {
    flex-wrap: wrap;
    white-space: normal;
  }

  .utility-item:nth-child(3) {
    display: none;
  }

  .primary-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

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

@media (max-width: 960px) {
  .primary-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .page-hero-grid,
  .xray-grid,
  .calc-grid,
  .quote-layout,
  .quote-grid,
  .prose-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc-output-box {
    position: static;
  }

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

  .markets-grid,
  .showcase-grid,
  .ordinance-grid,
  .bento-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .section,
  .quote-section {
    padding: 54px 0;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0;
  }

  .bento-grid-4,
  .bento-grid-3,
  .bento-grid-2,
  .markets-grid,
  .showcase-grid,
  .ordinance-grid,
  .surface-options,
  .calc-two-col,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-telemetry,
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xray-layer-btn {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .xray-layer-code {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .calc-card,
  .quote-card,
  .xray-wrapper {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-actions .btn {
    display: none;
  }

  .trust-grid,
  .hero-telemetry,
  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cta-row,
  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn,
  .hero-actions .btn,
  .cta-row .btn {
    width: 100%;
  }

  .ba-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ==========================================================================
   Driveway Kings 2.0 Editorial Showcase, Swatches & Progressive Wizard
   ========================================================================== */

.hero-photo-card {
  position: relative;
  min-width: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-float);
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-blueprint);
}

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

.hero-floating-badge {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 230, 240, 0.92);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-floating-title {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-floating-meta {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.4;
}

.hero-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-arch);
  margin-bottom: 16px;
}

/* Photo-Top Bento Cards */
.bento-card-media {
  position: relative;
  margin: -26px -26px 20px -26px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-blueprint);
  border-bottom: 1px solid var(--border-arch);
}

.bento-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bento-card:hover .bento-card-media img {
  transform: scale(1.03);
}

.bento-price-pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-arch);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-subtle);
}

/* Interactive Swatch & Finish Explorer */
.style-explorer {
  margin-top: 38px;
  padding: 32px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.style-explorer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-arch);
}

.swatch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background-color: var(--bg-primary);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.swatch-tab:hover {
  border-color: var(--navy);
  background-color: var(--bg-oyster);
}

.swatch-tab.is-active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(7, 47, 95, 0.16);
}

.swatch-dots {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
  margin-left: -4px;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.2);
}

.swatch-dot:first-child {
  margin-left: 0;
}

.style-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: center;
}

.style-preview-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-arch);
  aspect-ratio: 16 / 10;
  background-color: var(--bg-blueprint);
}

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

.style-preview-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.style-price-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--brass-soft);
  border: 1px solid rgba(234, 88, 12, 0.32);
  color: var(--brass-text);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
}

.style-best-for {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--sage-soft);
  border: 1px solid var(--sage-border);
  color: var(--sage-text);
  font-size: 13.5px;
  font-weight: 600;
}

.style-spec-list {
  list-style: none;
  margin: 4px 0 8px 0;
  padding: 14px 0 0 0;
  border-top: 1px solid var(--border-arch);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-body);
}

.style-spec-list li {
  position: relative;
  padding-left: 20px;
}

.style-spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta);
}

/* Transformation Split Showcase & 3-Card Project Strip */
.transform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

/* 4-Step Homeowner Experience Cards */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.experience-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.experience-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}

.experience-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background-color: #EBF5FF;
  border: 1px solid #BAE0FD;
  color: #0B4A8C;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.experience-title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
}

.experience-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

/* 3-Step Progressive Consultation Wizard */
.wizard-header {
  margin-bottom: 4px;
}

.wizard-steps-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wizard-step-pill,
.wizard-step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-oyster);
  border: 1px solid var(--border-arch);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.wizard-step-pill.is-active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.wizard-step-pill.is-done {
  background-color: var(--sage-soft);
  border-color: var(--sage-border);
  color: var(--sage-text);
}

.wizard-locked-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  background-color: var(--sage-soft);
  border: 1px solid var(--sage-border);
  color: var(--sage-text);
  font-size: 13.5px;
  font-weight: 600;
}

.wizard-locked-banner[hidden] {
  display: none !important;
}

.wizard-locked-text {
  min-width: 0;
  line-height: 1.45;
}

.wizard-locked-edit {
  flex-shrink: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wizard-locked-edit:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-step[hidden] {
  display: none !important;
}

.wizard-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.sqft-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.sqft-chip {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-oyster);
  border: 1px solid var(--border-strong);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sqft-chip:hover {
  border-color: var(--navy);
  background-color: #FFFFFF;
}

.sqft-chip.is-active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.wizard-reassurance {
  margin: 4px 0 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (max-width: 960px) {
  .style-preview-grid,
  .transform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 768px) {
  .style-explorer {
    padding: 22px;
  }

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

  .hero-floating-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
  }

  .wizard-steps-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard-nav-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .wizard-locked-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .preset-btn,
  .swatch-tab {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .wizard-step-btn,
  .wizard-step-pill,
  .mobile-drawer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Mobile UX Overhaul Helpers & Breakpoints (<= 768px Only)
   ========================================================================== */
.home-page {
  position: relative;
}

.mobile-utility-actions,
.mobile-only-control,
.mobile-acc-btn,
.mobile-calc-cta-wrap,
.calc-details-toggle {
  display: none;
}

.mobile-hide-inline {
  display: inline;
}

.mobile-acc-body,
.style-specs-collapsible,
.calc-details-collapsible,
.calc-output-box.is-calc-details-open .calc-details-collapsible,
.is-calc-details-open .calc-details-collapsible {
  display: contents;
}

.style-preview-body.is-specs-open .style-specs-collapsible {
  display: contents;
}

.calc-custom-sqft-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.calc-custom-sqft-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

.calc-custom-sqft-field {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
}

.mobile-sqft-num-input {
  width: 102px;
  min-height: 44px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  color: var(--text-heading);
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  -moz-appearance: textfield;
  appearance: textfield;
}

.mobile-sqft-num-input::-webkit-outer-spin-button,
.mobile-sqft-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-custom-sqft-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-body);
  white-space: nowrap;
  flex-shrink: 0;
}

.estimate-cta-section {
  padding: 46px 0;
  background-color: var(--bg-oyster);
  border-top: 1px solid var(--border-arch);
}

.section-oyster + .estimate-cta-section {
  background-color: var(--bg-primary);
}

.estimate-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.estimate-cta-btn {
  width: 100%;
  max-width: 460px;
  min-height: 60px;
  padding: 16px 28px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
}

.style-explorer-eyebrow {
  margin-bottom: 6px;
}

.style-explorer-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.style-preview-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.2;
}

.sealing-cities-box {
  margin-top: 28px;
  padding: 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-arch);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.sealing-cities-eyebrow {
  margin-bottom: 8px;
}

.sealing-cities-lead {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.55;
}

.sealing-cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.style-mobile-select-wrap,
.calc-mobile-select-wrap,
.calc-mobile-sqft-wrap,
.xray-mobile-select-wrap {
  margin-bottom: 14px;
}

.mobile-select-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

.mobile-select-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.mobile-select-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 74, 140, 0.16);
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
    max-width: 100%;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  .mobile-sqft-num-input,
  .mobile-select-input,
  .field-control,
  .city-select,
  .calc-number-input {
    font-size: 16px !important;
  }

  .section {
    padding: 44px 0;
  }

  .page-hero {
    padding: 36px 0 32px;
  }

  .hero {
    padding: 26px 0 32px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  /* Two-button coastal contractor orange mobile utility bar */
  .top-utility-bar {
    padding: 8px 0;
  }

  .utility-inner {
    flex-direction: row;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0;
  }

  .top-utility-bar .utility-items,
  .top-utility-bar .utility-cta {
    display: none !important;
  }

  .site-header .header-actions .btn {
    display: none !important;
  }

  .mobile-utility-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .mobile-utility-actions .mobile-utility-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: #D95D24;
    border: 1px solid #C24E19;
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  }

  .mobile-utility-actions .mobile-utility-btn:hover,
  .mobile-utility-actions .mobile-utility-btn:active {
    background: #C24E19;
    border-color: #A84112;
    color: #FFFFFF;
  }

  /* Enlarged header brand lockup overriding 1200px shrink rule */
  .site-header {
    --header-height: 80px;
  }

  .site-header .header-inner {
    min-height: 78px;
    padding-top: 5px;
    padding-bottom: 5px;
    gap: 11px;
  }

  .brand-mark {
    width: 58px;
    height: 70px;
  }

  .brand-name {
    font-size: 20px;
    line-height: 1.08;
  }

  .brand-sub {
    font-size: 10.5px;
    letter-spacing: 0.02em;
  }

  .mobile-hide-inline {
    display: none !important;
  }

  /* Crisp single-line hero & section eyebrow pills, CTAs & 2-col trust bar */
  .eyebrow,
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: normal;
  }

  .hero-cta-row {
    gap: 10px;
    margin: 18px 0 20px;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-telemetry,
  .hero-metrics {
    display: none !important;
  }

  .trust-bar {
    padding: 14px 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .trust-item {
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.3;
  }

  /* Mobile native select controls for Explorer, Calculator & X-Ray */
  .mobile-only-control {
    display: block;
  }

  #styles .swatch-tabs {
    display: none !important;
  }

  #styles > .container > .hero-cta-row,
  #transformations > .container > .hero-cta-row {
    display: none !important;
  }

  #styles .style-explorer {
    margin-top: 22px;
    padding: 18px;
  }

  #styles .style-explorer-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
    gap: 12px;
  }

  .style-specs-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background-color: #F4F8FC;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .style-specs-toggle:hover {
    background-color: #EBF5FF;
    border-color: var(--navy);
  }

  .style-preview-body:not(.is-specs-open) .style-specs-collapsible {
    display: none;
  }

  .style-preview-body.is-specs-open .style-specs-collapsible {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .surface-options,
  #calc-sqft,
  .range-slider,
  .preset-row,
  .preset-btns {
    display: none !important;
  }

  .calc-mobile-select-wrap,
  .calc-mobile-sqft-wrap {
    display: block !important;
  }

  .calc-mobile-select-wrap .mobile-select-label,
  .calc-mobile-sqft-wrap .mobile-select-label {
    display: none;
  }

  .jurisdiction-alert {
    padding: 10px 12px;
    font-size: 12.5px;
    line-height: 1.4;
  }

  .range-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .range-value {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 16px;
  }

  #calculator .calc-shell {
    padding: 18px;
  }

  #calculator .calc-output-box {
    padding: 20px;
  }

  .xray-diagram,
  .xray-layers {
    display: none;
  }

  .xray-grid {
    gap: 14px;
  }

  .xray-detail-panel {
    padding: 18px;
  }

  /* Collapsible mobile accordions for 6 card/city groups */
  #styles .bento-grid-4,
  #transformations .showcase-grid,
  #process .experience-grid,
  #sealing-restoration .bento-grid-3,
  #service-areas .markets-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #styles .bento-card[data-mobile-acc="true"],
  #transformations .showcase-card[data-mobile-acc="true"],
  #process .experience-step[data-mobile-acc="true"],
  #sealing-restoration .bento-card[data-mobile-acc="true"],
  #service-areas .market-card[data-mobile-acc="true"],
  #service-areas .sealing-cities-box[data-mobile-acc="true"] {
    padding: 0;
    gap: 0;
    overflow: hidden;
  }

  #service-areas .sealing-cities-box[data-mobile-acc="true"] {
    margin-top: 16px;
  }

  .mobile-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: var(--text-heading);
  }

  .mobile-acc-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .mobile-acc-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
  }

  .mobile-acc-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--brass-text);
    line-height: 1.25;
  }

  .mobile-acc-chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: #EBF5FF;
    border: 1px solid #BAE0FD;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  [data-mobile-acc="true"] .mobile-acc-body {
    display: none;
  }

  [data-mobile-acc="true"].mobile-open .mobile-acc-btn {
    border-bottom: 1px solid var(--border-arch);
    background-color: #F8FBFF;
  }

  [data-mobile-acc="true"].mobile-open .mobile-acc-chevron {
    background-color: var(--navy);
    border-color: var(--navy);
    color: #FFFFFF;
  }

  [data-mobile-acc="true"].mobile-open .mobile-acc-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 16px;
  }

  #styles .bento-card.mobile-open .mobile-acc-body .bento-card-media,
  #styles .bento-card.mobile-open .mobile-acc-body .card-thumb,
  #styles .bento-card.mobile-open .mobile-acc-body .card-title,
  #styles .bento-card.mobile-open .mobile-acc-body h3,
  #styles .bento-card.mobile-open .mobile-acc-body .card-price,
  #styles .bento-card.mobile-open .mobile-acc-body .price-tag,
  #transformations .showcase-card.mobile-open .mobile-acc-body .showcase-title,
  #process .experience-step.mobile-open .mobile-acc-body .experience-num,
  #process .experience-step.mobile-open .mobile-acc-body .experience-title,
  #sealing-restoration .bento-card.mobile-open .mobile-acc-body .bento-card-media,
  #sealing-restoration .bento-card.mobile-open .mobile-acc-body .card-thumb,
  #sealing-restoration .bento-card.mobile-open .mobile-acc-body .card-title,
  #sealing-restoration .bento-card.mobile-open .mobile-acc-body h3,
  #sealing-restoration .bento-card.mobile-open .mobile-acc-body .card-price,
  #sealing-restoration .bento-card.mobile-open .mobile-acc-body .price-tag,
  #service-areas .market-card.mobile-open .mobile-acc-body .market-header,
  #service-areas .sealing-cities-box.mobile-open .mobile-acc-body .sealing-cities-eyebrow {
    display: none;
  }

  #transformations .showcase-card.mobile-open .mobile-acc-body .showcase-media {
    border-radius: var(--radius-sm);
  }

  #transformations .showcase-card.mobile-open .mobile-acc-body .showcase-body {
    padding: 4px 0 0 0;
  }

  #transformations .showcase-card.mobile-open .mobile-acc-body .showcase-specs {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  #service-areas .sealing-cities-box.mobile-open .sealing-cities-lead {
    margin-bottom: 4px;
    font-size: 14px;
  }

  #service-areas .sealing-cities-box.mobile-open .sealing-cities-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  #service-areas .sealing-cities-box.mobile-open .sealing-cities-grid .btn {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    white-space: normal;
  }

  /* V3 Mobile First-Fold Hero, Collapsed Details & Single Contact Flow */
  .home-page .hero-section {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--mobile-chrome-h, 136px));
    min-height: calc(100svh - var(--mobile-chrome-h, 136px));
    padding: 30px 0 22px;
  }

  .home-page .hero-section .hero-grid {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 22px;
  }

  .hero-section .hero-content {
    display: contents;
  }

  .hero-section .hero-eyebrow,
  .hero-section .hero-lead,
  .hero-section .hero-telemetry {
    display: none !important;
  }

  .home-page .hero-section .hero-title {
    order: 1;
    width: 100%;
    margin: 0;
    font-size: clamp(1.62rem, 6.4vw, 1.98rem);
    line-height: 1.15;
  }

  .home-page .hero-section .hero-visual {
    order: 2;
    width: 100%;
    margin: 0;
  }

  .home-page .hero-section .ba-card {
    padding: 10px;
  }

  .home-page .hero-section .ba-slider {
    aspect-ratio: 16 / 10;
  }

  .home-page .hero-section .ba-caption {
    margin-top: 6px;
    font-size: 12px;
  }

  .home-page .hero-section .ba-caption strong {
    display: none;
  }

  .home-page .hero-section .hero-cta-row {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin: 0;
  }

  .home-page .hero-section .hero-cta-row .btn {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    font-size: 16px;
  }

  .trust-bar {
    display: none !important;
  }

  .home-page #calculator {
    padding: 24px 0;
  }

  .home-page #calculator .section-header,
  .home-page #calculator .calc-card {
    display: none !important;
  }

  .home-page #calculator .mobile-calc-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home-page #calculator .mobile-calc-cta-wrap .btn {
    width: 100%;
    max-width: 440px;
    min-height: 54px;
    padding: 14px 20px;
    font-size: 16.5px;
    text-align: center;
  }

  #calculator .section-subtitle,
  #styles .section-subtitle,
  #transformations .section-subtitle,
  #process .section-subtitle,
  #soil-xray .section-subtitle,
  #service-areas .section-subtitle {
    display: none !important;
  }

  .section-header {
    margin-bottom: 18px;
  }

  .calc-card {
    padding: 18px;
  }

  .calc-custom-sqft-row {
    margin-top: 10px;
    padding: 9px 10px;
    gap: 8px;
    background-color: var(--bg-oyster);
    border: 1px solid var(--border-arch);
    border-radius: var(--radius-sm);
  }

  .calc-custom-sqft-label {
    font-size: 12.5px;
    line-height: 1.25;
  }

  .mobile-sqft-num-input {
    width: 100px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 16px;
  }

  #calculator .jurisdiction-alert {
    display: none !important;
  }

  .calc-output-box {
    position: static;
    padding: 20px;
  }

  .calc-output-box .btn-white {
    padding: 13px 16px;
    font-size: 14.5px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .calc-details-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
  }

  .calc-details-toggle:hover,
  .calc-details-toggle:focus-visible {
    background-color: rgba(255, 255, 255, 0.20);
    outline: 2px solid #FB923C;
    outline-offset: 2px;
  }

  .calc-output-box:not(.is-calc-details-open) .calc-details-collapsible {
    display: none !important;
  }

  .calc-output-box.is-calc-details-open .calc-details-collapsible {
    display: block;
  }

  .estimate-cta-section {
    padding: 26px 0 30px;
  }

  .estimate-cta-btn {
    max-width: 100%;
    min-height: 58px;
    padding: 15px 20px;
    font-size: 18px;
  }

  .quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .quote-layout .quote-card,
  .quote-layout .contact-form-panel {
    order: -1;
    padding: 26px 20px;
    border-radius: 16px;
  }

  .contact-form-panel .regal-form-title {
    font-size: 24px;
  }

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

  .input-box.full {
    grid-column: span 1;
  }

  .custom-input {
    font-size: 16px !important;
  }

  /* Zero-Horizontal-Scroll Stacked Spec Cards (Mobile <= 768px) */
  .table-scroll {
    overflow-x: visible;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .spec-table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
  }

  .spec-table caption {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 9px 12px;
    background-color: var(--bg-oyster);
    border: 1px solid var(--border-arch);
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    line-height: 1.4;
    white-space: normal;
  }

  .spec-table thead {
    display: none;
  }

  .spec-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .spec-table tbody tr,
  .spec-table tbody tr:nth-child(even) {
    display: block;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-arch);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
  }

  .spec-table tbody td:first-child {
    display: block;
    width: 100%;
    padding: 11px 14px;
    background-color: var(--navy);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 2px solid var(--brass);
  }

  .spec-table tbody td:first-child a {
    color: #FFFFFF;
    text-decoration: underline;
  }

  .spec-table tbody td:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    width: 100%;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border-arch);
    background-color: #FFFFFF;
    color: var(--text-body);
    font-size: 13.5px;
    line-height: 1.45;
  }

  .spec-table tbody td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    color: var(--brass-text);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .spec-table tbody tr td:last-child,
  .spec-table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }

  /* V8 Mobile Deep-Navy Footer Redesign */
  .site-footer {
    padding: 38px 0 26px;
  }

  .site-footer .footer-grid {
    gap: 12px;
    padding-bottom: 24px;
  }

  .site-footer .footer-logo-wrap {
    margin-bottom: 12px;
  }

  .site-footer .brand-name {
    font-size: 19px;
  }

  .site-footer .brand-sub {
    font-size: 10px;
  }

  .footer-brand-desc {
    display: none;
  }

  .footer-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 12px;
  }

  .footer-contact-pill {
    padding: 10px 11px;
  }

  .footer-pill-val {
    font-size: 13px;
  }

  .site-footer .footer-col {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .site-footer .footer-col.is-open {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 146, 60, 0.55);
  }

  .site-footer .footer-heading {
    margin: 0;
  }

  .footer-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
  }

  .footer-acc-btn:focus-visible {
    outline: 2px solid #FB923C;
    outline-offset: -2px;
  }

  .footer-acc-caret {
    display: block;
    flex-shrink: 0;
    color: #FB923C;
    transition: transform 0.2s ease;
  }

  .site-footer .footer-col.is-open .footer-acc-caret {
    transform: rotate(180deg);
  }

  .site-footer .footer-links {
    display: none;
    padding: 4px 15px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    gap: 9px;
  }

  .site-footer .footer-col.is-open .footer-links {
    display: flex;
  }

  .site-footer .footer-links a {
    display: inline-block;
    padding: 3px 0;
    font-size: 14.5px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-top: 20px;
  }

  .page-hero-card {
    padding: 22px 18px;
  }

  .spec-summary-list li {
    font-size: 14px;
    gap: 10px;
  }

  .spec-summary-list .spec-sub,
  .xray-spec-row .spec-sub,
  .calc-breakdown-row .spec-sub {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .xray-wrapper {
    padding: 16px 14px;
  }

  .xray-detail-panel {
    padding: 14px;
  }

  .spec-summary-list li > strong,
  .spec-summary-list li > a,
  .xray-spec-row strong,
  .calc-breakdown-row strong {
    max-width: 62%;
  }

  .mobile-utility-actions {
    gap: 6px;
  }

  .mobile-utility-actions .mobile-utility-btn {
    font-size: 11px;
    padding: 8px 6px;
    white-space: normal;
    line-height: 1.15;
  }

  .eyebrow,
  .hero-eyebrow {
    font-size: 9.8px;
    padding: 5px 10px;
    letter-spacing: 0.015em;
  }

  .brand-mark {
    width: 58px;
    height: 70px;
  }

  .brand-name {
    font-size: 19.5px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .site-footer .brand-name {
    font-size: 19px;
  }

  .site-footer .brand-sub {
    font-size: 10px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-item {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .footer-contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-pill-val {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 50px;
    height: 60px;
  }

  .brand-name {
    font-size: 17.5px;
  }

  .brand-sub {
    font-size: 9.2px;
  }

  .site-footer .brand-name {
    font-size: 18px;
  }

  .site-footer .brand-sub {
    font-size: 9.5px;
  }
}
