@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600;700&display=swap');

:root {
  /* MASTER COASTAL PALETTE MAPPING */
  /* We maintain the variable names to prevent HTML breakage but inject the Master requested colors */

  --nova-obsidian: #0D1B2A;
  /* Deep Navy Blue (Primary dark base) */
  --graphite: #F4F6F8;
  /* Very soft coastal fog background */
  --slate-gray: #4A5568;
  /* Slate Gray */
  --electric-cobalt: #0B1C38;
  /* Deep Navy (Primary Accents/Buttons) */
  --cobalt-light: #1a3158;
  /* Navy lighter (Hover states) */
  --arctic-white: #FFFFFF;
  /* Crisp White */
  --oyster: #F9FAFB;
  /* Lightest slate for panels */
  --divider-line: #D5C7B8;
  /* Driftwood Beige (Borders and dividers) */
  --panel-bg: #FFFFFF;
  /* Pure Crisp White for cards */
  --burgundy: #800000;
  --burgundy-dark: #5c0000;
  --navy: #0B1C38;
  --accent-green: #16A34A;
  --accent-red: #E53E3E;
  --light-blue: #EBF4FF;
  --gold: #F5A623;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: var(--nova-obsidian);
}

body {
  background-color: var(--graphite);
  color: var(--slate-gray);
  line-height: 1.8;
  /* Generous spacing */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  /* Modern Architectural Serif */
  color: var(--nova-obsidian);
  letter-spacing: 0.02em;
  /* Clean spaced lettering */
}

h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--sp-2);
}

h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--sp-1);
}

p {
  color: var(--slate-gray);
  margin-bottom: var(--sp-2);
}

a {
  text-decoration: none;
  color: var(--electric-cobalt);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--divider-line);
  padding: var(--sp-3) 0;
  background-color: rgba(255, 255, 255, 0.85);
  /* Soft light glass */
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.shrink {
  padding: var(--sp-2) 0;
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.05);
  /* Soft navy shadow */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -1px;
}

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

.nav-links > a,
.nav-links > .nav-dropdown > .nav-dropdown-toggle {
  color: var(--slate-gray);
  margin: 0 var(--sp-2);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links > a:hover,
.nav-links > .nav-dropdown > .nav-dropdown-toggle:hover {
  color: var(--electric-cobalt);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  vertical-align: 2px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(-135deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  min-width: 200px;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid var(--divider-line);
  border-left: 1px solid var(--divider-line);
  z-index: 201;
}

.nav-dropdown-menu a {
  display: block;
  background: #fff;
  padding: 12px 20px;
  margin: 0;
  font-size: 13px;
  color: var(--slate-gray);
  border-bottom: 1px solid var(--divider-line);
  border-left: 1px solid var(--divider-line);
  border-right: 1px solid var(--divider-line);
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-dropdown-menu a:first-child {
  border-top: 1px solid var(--divider-line);
  border-radius: 8px 8px 0 0;
}

.nav-dropdown-menu a:last-child {
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.1);
}

.nav-dropdown-menu a:hover {
  background: var(--oyster);
  color: var(--electric-cobalt);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 8px;
  /* Slightly rounder, softer edges */
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background-color: var(--electric-cobalt);
  color: var(--arctic-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 24px rgba(0, 85, 255, 0.25);
  color: var(--arctic-white);
}

.btn-secondary {
  background-color: var(--arctic-white);
  border: 1px solid var(--divider-line);
  color: var(--nova-obsidian);
}

.btn-secondary:hover {
  background-color: var(--oyster);
  border-color: var(--slate-gray);
}

/* Hero Section */
.hero {
  padding: var(--sp-8) 0;
  background-color: var(--primary-navy);
  text-align: center;
  border-bottom: 1px solid var(--divider-line);
  background-image: linear-gradient(rgba(13, 27, 42, 0.20), rgba(13, 27, 42, 0.55)), url('hero-2.jpg');
  background-image: linear-gradient(rgba(13, 27, 42, 0.20), rgba(13, 27, 42, 0.55)), -webkit-image-set(url('hero-2.webp') 1x, url('hero-2.jpg') 1x);
  background-image: linear-gradient(rgba(13, 27, 42, 0.20), rgba(13, 27, 42, 0.55)), image-set(url('hero-2.webp') type('image/webp'), url('hero-2.jpg') type('image/jpeg'));
  /* Deep Navy overlay */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--arctic-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  /* Subtle drop shadow for legibility */
}

.hero p {
  font-size: 20px;
  color: var(--arctic-white);
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
}

/* Hero address form */
.hero-address-form {
  margin: var(--sp-4) auto 0;
  width: 100%;
  max-width: 680px;
}

.hero-address-input-wrap {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  position: relative;
}

/* Hide Google Maps API error/warning overlay icons */
.gm-err-icon,
.gm-err-message,
.gm-err-title,
.gm-style img[src*="api"],
.gm-style-cc,
.dismissButton,
div[style*="z-index"][style*="position: absolute"] > div > img,
.hero-address-input-wrap img,
.hero-address-input-wrap > div:not(.hero-address-input):not(.hero-address-btn) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.hero-address-input {
  flex: 1;
  padding: 20px 24px;
  font-size: 17px;
  border: none;
  outline: 2px solid transparent;
  background: #fff;
  color: var(--nova-obsidian);
  min-width: 0;
}

.hero-address-input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.hero-address-input::placeholder {
  color: #9ca3af;
  font-size: 16px;
}

.hero-address-btn {
  padding: 20px 32px;
  background: #800000;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.hero-address-btn:hover {
  background: #5c0000;
}

.hero-address-btn:active {
  transform: scale(0.98);
}

.hero-phone-link {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-phone-link:hover {
  color: #fff;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 8px 20px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero-stars {
  display: flex;
  gap: 3px;
}

.hero-trust-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Sections Global */
section {
  padding: var(--sp-8) 0;
  /* Increased spacing for minimalism */
}

.section-title {
  text-align: center;
}

.text-center {
  text-align: center;
}

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.card {
  background-color: var(--panel-bg);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  /* Softer corners */
  padding: var(--sp-4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--nova-obsidian);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--electric-cobalt);
  box-shadow: 0px 16px 40px rgba(74, 99, 93, 0.12);
  /* Muted evergreen soft shadow */
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: #EBF4FF;
  color: #0B1C38;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.card-icon svg {
  stroke: #0B1C38;
}

.section-cta {
  text-align: center;
  margin-top: var(--sp-4);
}

.btn-cta-burgundy {
  display: inline-block;
  background-color: #800000;
  color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-cta-burgundy:hover {
  background-color: #5c0000;
}

.btn-cta-burgundy:active {
  transform: scale(0.98);
}

/* Split Section */
.split-section {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.split-left,
.split-right {
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--sp-3);
  background-color: var(--panel-bg);
  padding: var(--sp-3);
  border-radius: 8px;
  /* Softer */
  border: 1px solid var(--divider-line);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--oyster);
  color: var(--nova-obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: var(--sp-3);
  flex-shrink: 0;
  border: 1px solid var(--divider-line);
}

/* Traditional contractor X icon — red */
.feature-icon--x {
  background-color: rgba(229, 62, 62, 0.1);
  color: #E53E3E;
  border-color: rgba(229, 62, 62, 0.2);
}

/* Traditional contractor card — subtle red/gray tint */
.feature-item--traditional {
  background-color: rgba(229, 62, 62, 0.04);
  border-color: rgba(229, 62, 62, 0.12);
}

/* Nova checkmark icon — green */
.feature-icon--check {
  background-color: rgba(56, 161, 105, 0.12);
  color: #38A169;
  border-color: rgba(56, 161, 105, 0.25);
}

/* Nova card — subtle green tint + drop shadow */
.feature-item--nova {
  background-color: rgba(56, 161, 105, 0.04);
  border-color: rgba(56, 161, 105, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Bolder Nova label */
.nova-label {
  font-weight: 700;
}

.feature-text {
  font-size: 16px;
}

/* Estimator */
.estimator-section {
  background-color: var(--arctic-white);
  color: var(--nova-obsidian);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--divider-line);
}

.estimator-section h2,
.estimator-section p {
  color: var(--nova-obsidian);
}

.estimator-header {
  text-align: center;
  margin-bottom: var(--sp-5);
}

.estimator-box {
  background-color: var(--panel-bg);
  border-radius: 8px;
  border: 1px solid #333;
  padding: var(--sp-5);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  color: var(--arctic-white);
  box-shadow: 0px 24px 48px rgba(0, 0, 0, 0.4);
}

.estimator-step {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.estimator-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.estimator-step h3 {
  color: var(--nova-obsidian);
  font-size: 24px;
  margin-bottom: var(--sp-3);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

.option-card {
  border: 1px solid var(--divider-line);
  padding: var(--sp-3);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--arctic-white);
  color: var(--nova-obsidian);
}

.option-icon {
  flex-shrink: 0;
}

.option-card:hover,
.option-card.selected {
  background-color: #F8FAFC;
  border-color: #0B1C38;
  color: #0B1C38;
  box-shadow: 0 0 12px rgba(11, 28, 56, 0.1);
}

.option-card.highlight-pulse {
  animation: cardPulse 0.7s ease-in-out 2;
}

@keyframes cardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(128, 0, 0, 0); }
  50% { box-shadow: 0 0 0 6px rgba(128, 0, 0, 0.2); border-color: #800000; }
}

/* Google Places autocomplete dropdown styling */
.pac-container {
  z-index: 10000 !important;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: var(--font-body);
}

.pac-icon,
.pac-icon-marker,
.pac-icon-search,
.hdpi .pac-icon {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background-image: none !important;
}

.pac-item > span:first-child {
  display: none !important;
}

.pac-logo::after,
.pac-container::after {
  display: none !important;
  background-image: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pac-item {
  padding: 10px 16px !important;
  cursor: pointer;
  font-size: 15px;
  border-top: 1px solid #f0f0f0;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background: #f5f5f5;
}

.pac-item-query {
  font-size: 15px;
  color: var(--nova-obsidian);
}

.input-group {
  margin-bottom: var(--sp-3);
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-1);
  color: var(--slate-gray);
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="number"] {
  width: 100%;
  height: 56px;
  padding: 0 var(--sp-2);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  /* Softer inputs */
  font-size: 16px;
  outline: 2px solid transparent;
  background-color: var(--arctic-white);
  color: var(--nova-obsidian);
  transition: all 0.2s;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-group input:focus-visible {
  border-color: var(--electric-cobalt);
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.input-group input:focus {
  border-color: var(--electric-cobalt);
  box-shadow: 0 0 0 3px rgba(45, 90, 76, 0.15);
  /* Spruce focus ring */
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  font-size: 16px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-top: var(--sp-3) !important;
  color: var(--nova-obsidian) !important;
  font-weight: 500 !important;
}

.checkbox-label input {
  margin-right: var(--sp-2);
  width: 20px;
  height: 20px;
  accent-color: var(--electric-cobalt);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--divider-line);
}

.hidden {
  display: none !important;
}

.micro-text {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-gray);
  margin-bottom: var(--sp-3);
}

.price-box {
  background-color: var(--oyster);
  /* Soft gray */
  padding: var(--sp-4);
  border-radius: 8px;
  text-align: center;
  margin-bottom: var(--sp-4);
  border: 1px solid var(--divider-line);
}

.price-range {
  display: block;
  font-size: 56px;
  font-weight: 600;
  color: var(--electric-cobalt);
  /* Spruce green pricing */
  line-height: 1.2;
}

.price-breakdown {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
  font-size: 16px;
  color: var(--body-text);
}

.price-breakdown .breakdown-line {
  padding: 6px 16px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--divider-line);
  font-weight: 500;
}

.price-disclaimer {
  font-size: 14px;
  margin-top: var(--sp-1);
  margin-bottom: 0;
}

.next-steps-card {
  border: 1px solid var(--divider-line);
  padding: var(--sp-4);
  border-radius: 8px;
  text-align: center;
  background-color: var(--arctic-white);
}

.form-select {
  width: 100%;
  height: 56px;
  padding: 0 var(--sp-2);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  font-size: 16px;
  outline: 2px solid transparent;
  background-color: var(--arctic-white);
  color: var(--nova-obsidian);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  /* Slate gray arrow */
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-select:focus {
  border-color: var(--electric-cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-light);
}

.progress-container {
  width: 100%;
  height: 6px;
  background-color: var(--divider-line);
  border-radius: 3px;
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 20%;
  background-color: var(--electric-cobalt);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--nova-obsidian);
  color: var(--arctic-white);
  padding: var(--sp-2) 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--arctic-white);
}

.btn-small {
  padding: var(--sp-1) var(--sp-3);
  font-size: 14px;
}

/* Hamburger Button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nova-obsidian);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
}

/* Mobile Menu Dropdown */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  border-top: 1px solid var(--divider-line);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--nova-obsidian);
  border-bottom: 1px solid var(--divider-line);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu-cta {
  margin-top: var(--sp-2);
  text-align: center;
  border-bottom: none !important;
}

.mobile-menu-phone {
  text-align: center;
  color: var(--electric-cobalt) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Address row & Name row — flex on desktop, stacked on small mobile */
.address-row,
.name-row {
  display: flex;
  gap: 16px;
}

@media (max-width: 480px) {
  .address-row,
  .name-row {
    flex-direction: column;
    gap: 0;
  }
  .address-row > div,
  .name-row > div {
    flex: none !important;
    width: 100%;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* Nav Phone */
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--nova-obsidian);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--electric-cobalt);
}

@media (max-width: 768px) {
  .nav-phone { display: none; }
}

/* Estimator Trust Bar */
.estimator-trust-bar {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-2) var(--sp-3);
  background: var(--oyster);
  border-bottom: 1px solid var(--divider-line);
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--electric-cobalt);
}

.trust-check {
  color: #16A34A;
  font-weight: 700;
}

.progress-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-align: right;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .estimator-trust-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

/* Step 6 — What Happens Next */
.next-steps-flow {
  margin: var(--sp-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.next-step-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--slate-gray);
}

.next-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--electric-cobalt);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   LOGO
   ============================================ */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* picture is transparent to layout; img gets the actual sizing */
.logo-link picture {
  display: contents;
}

.logo-img {
  height: 48px;
  width: auto;
  max-height: 48px;
  max-width: 200px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply; /* removes white background on light navbars */
}

.footer-logo {
  height: 64px;
  width: auto;
  max-height: 64px;
  max-width: 240px;
  display: block;
  margin-bottom: var(--sp-2);
  object-fit: contain;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background-color: var(--oyster);
  border-top: 1px solid var(--divider-line);
  border-bottom: 1px solid var(--divider-line);
}

.section-sub {
  text-align: center;
  font-size: 18px;
  color: var(--slate-gray);
  margin-top: calc(var(--sp-2) * -1);
  margin-bottom: var(--sp-5);
}

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.how-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.how-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EBF4FF;
  border: 1px solid rgba(11, 28, 56, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-2);
  color: #0B1C38;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.how-step-icon svg {
  stroke: #0B1C38;
}

.how-step-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0B1C38;
  margin-bottom: var(--sp-1);
}

.how-step h4 {
  font-size: 18px;
  margin-bottom: var(--sp-1);
}

.how-step p {
  font-size: 14px;
  margin-bottom: 0;
}

.how-connector {
  flex-shrink: 0;
  margin-top: 32px;
  color: #0B1C38;
}

@media (max-width: 768px) {
  .how-steps {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
  }
  .how-step { max-width: 100%; }
  .how-connector { transform: rotate(90deg); margin-top: 0; }
}

/* ============================================
   UTILITY CLASSES (replacing inline styles)
   ============================================ */
.btn-mt   { margin-top: var(--sp-3); }
.btn-full { width: 100%; margin-bottom: var(--sp-2); }
.btn-mb   { margin-bottom: var(--sp-3); }

.next-steps-link {
  display: block;
  text-align: center;
  text-decoration: underline;
  font-weight: 500;
  font-size: 14px;
  color: var(--electric-cobalt);
}

.form-fine-print {
  font-size: 11px;
  margin-top: var(--sp-2);
  color: var(--slate-gray);
}

.financing-desc {
  max-width: 600px;
  margin: 0 auto var(--sp-3);
}

.financing-trust-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  font-size: 14px;
  font-weight: 500;
  color: var(--nova-obsidian);
  margin-bottom: var(--sp-3);
}

@media (max-width: 600px) {
  .financing-trust-row {
    flex-direction: column;
    gap: 4px;
  }
}

.final-cta {
  padding: var(--sp-8) 0;
  background: var(--nova-obsidian);
}

.final-cta-heading {
  color: var(--arctic-white);
  font-size: 36px;
  margin-bottom: var(--sp-2);
}

.final-cta-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  margin-bottom: var(--sp-4);
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 18px;
}

.final-cta-phone {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.final-cta-phone:hover {
  color: var(--arctic-white);
}

@media (max-width: 480px) {
  .final-cta-heading { font-size: 28px; }
  .btn-lg { padding: 16px 32px; font-size: 16px; }
}

/* Address-row column widths (replaces inline flex values) */
.city-col  { flex: 2; }
.state-col { flex: 1; }
.zip-col   { flex: 1; }
.name-col  { flex: 1; }

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */
.footer-col-brand p {
  color: var(--slate-gray);
}

.footer-tagline {
  margin-bottom: var(--sp-2);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--sp-2);
}

.footer-contact-link {
  font-size: 14px;
  color: var(--cobalt-light);
  font-weight: 500;
}

.footer-contact-link:hover {
  color: var(--arctic-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-gray);
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    gap: var(--sp-1);
    text-align: center;
  }
}

/* Footer */
.footer {
  background-color: var(--nova-obsidian);
  color: var(--arctic-white);
  padding: var(--sp-6) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-4);
}

.footer h4 {
  color: var(--arctic-white);
  margin-bottom: var(--sp-2);
}

.footer-col p {
  color: var(--slate-gray);
}

.footer-col a {
  display: block;
  color: var(--slate-gray);
  margin-bottom: var(--sp-1);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--arctic-white);
}

/* Trust Matrix */
.trust-matrix {
  background-color: var(--graphite);
  border-bottom: 1px solid var(--divider-line);
}

.trust-stat h4 {
  font-size: 32px;
  color: var(--electric-cobalt);
}

/* Financing */
.financing {
  background-color: var(--oyster);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 40px;
    margin-bottom: var(--sp-2);
  }

  h2 {
    font-size: 32px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .split-section {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .hero-actions {
    flex-direction: column;
    padding: 0 var(--sp-3);
  }

  .hero-address-input-wrap {
    flex-direction: column;
    border-radius: 12px;
  }

  .hero-address-input {
    border-radius: 12px 12px 0 0;
    padding: 18px 20px;
    font-size: 16px;
  }

  .hero-address-btn {
    border-radius: 0 0 12px 12px;
    padding: 18px 20px;
    font-size: 16px;
  }

  .navbar .nav-links {
    display: none;
  }

  .estimator-box {
    padding: var(--sp-3);
  }

  .price-range {
    font-size: 36px;
  }

  .step-actions {
    flex-direction: column-reverse;
    gap: var(--sp-2);
  }

  .step-actions .btn {
    width: 100%;
  }
}

/* 480px — very small phones */
@media (max-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  .estimator-box { padding: var(--sp-2); }
  .price-range { font-size: 28px; }

  .hero { background-attachment: scroll; } /* parallax off on small screens */
}

/* Subpage hero (location, service, blog pages) */
.subpage-hero {
  padding: var(--sp-8) 0 var(--sp-6);
}

@media (max-width: 768px) {
  .subpage-hero {
    padding: var(--sp-6) 0 var(--sp-4);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .hero {
    background-attachment: scroll; /* fix iOS Safari parallax bug */
  }
}

/* ============================================
   SATELLITE MEASUREMENT — LIMITED DATA SCREEN
   ============================================ */

.limited-data-box {
  background-color: var(--oyster);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.limited-data-message {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-gray);
  margin-bottom: 20px;
}

.limited-data-steps {
  border-top: 1px solid var(--divider-line);
  padding-top: 16px;
}

.limited-data-steps p {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--nova-obsidian);
  margin-bottom: 12px;
}

.limited-data-steps ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.limited-data-steps ul li {
  font-size: 14px;
  color: var(--slate-gray);
  padding: 9px 0;
  border-bottom: 1px solid var(--divider-line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.limited-data-steps ul li:last-child {
  border-bottom: none;
}

.limited-data-steps ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--electric-cobalt);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   SATELLITE MEASUREMENT BADGE (Result Screen)
   ============================================ */

.measurement-source-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--electric-cobalt);
  background-color: rgba(74, 99, 93, 0.10);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ============================================
   PDF / PRINT STYLES
   Only the #estimate-print div is shown on print.
   Everything else on the page is hidden.
   ============================================ */

#estimate-print {
  display: none;
}

@media print {
  body > * {
    display: none !important;
  }

  #estimate-print {
    display: block !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0D1B2A;
    padding: 0;
    margin: 0;
  }

  @page {
    margin: 18mm 20mm;
    size: A4;
  }

  .pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .pdf-logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #0D1B2A;
  }

  .pdf-tagline {
    font-size: 11px;
    color: #4A5568;
    margin-top: 3px;
    letter-spacing: 0.04em;
  }

  .pdf-meta {
    text-align: right;
    font-size: 11px;
    color: #4A5568;
    line-height: 1.7;
  }

  .pdf-meta strong {
    color: #0D1B2A;
    font-weight: 600;
  }

  .pdf-divider {
    border: none;
    border-top: 1px solid #D5C7B8;
    margin: 14px 0;
  }

  .pdf-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 16px 0;
  }

  .pdf-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A5568;
    margin-bottom: 6px;
  }

  .pdf-section-value {
    font-size: 13px;
    color: #0D1B2A;
    line-height: 1.65;
  }

  .pdf-measurement-wrap {
    margin: 16px 0;
  }

  .pdf-measurement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #F9FAFB;
    border: 1px solid #D5C7B8;
    border-radius: 6px;
    padding: 16px;
    margin-top: 10px;
  }

  .pdf-measurement-item label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4A5568;
    margin-bottom: 4px;
  }

  .pdf-measurement-item span {
    font-size: 18px;
    font-weight: 700;
    color: #0D1B2A;
  }

  .pdf-measurement-item small {
    font-size: 11px;
    font-weight: 400;
    color: #4A5568;
  }

  .pdf-price-box {
    background: #F9FAFB;
    border: 1px solid #D5C7B8;
    border-radius: 6px;
    padding: 20px 24px;
    text-align: center;
    margin: 20px 0;
  }

  .pdf-price-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4A5568;
    margin-bottom: 8px;
  }

  .pdf-price-range {
    font-size: 34px;
    font-weight: 700;
    color: #4A635D;
    line-height: 1;
    margin-bottom: 8px;
  }

  .pdf-includes-text {
    font-size: 12px;
    color: #4A5568;
  }

  .pdf-disclaimer {
    font-size: 10px;
    color: #4A5568;
    line-height: 1.65;
    margin: 14px 0;
  }

  .pdf-footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #D5C7B8;
  }

  .pdf-footer-brand {
    font-size: 13px;
    font-weight: 700;
    color: #0D1B2A;
    margin-bottom: 2px;
  }

  .pdf-footer-details {
    font-size: 11px;
    color: #4A5568;
    line-height: 1.6;
  }

  .pdf-footer-url {
    font-size: 12px;
    color: #4A635D;
    font-weight: 600;
  }
}
/* ============================================================
   Phase 8: GEO — Coverage + FAQ Sections
   ============================================================ */

/* Coverage Section */
.coverage-section {
  padding: var(--sp-7) 0;
  background: var(--oyster);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}

.coverage-state {
  background: var(--panel-bg);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  padding: var(--sp-3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.coverage-state:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #0B1C38;
}

.coverage-state-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--nova-obsidian);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-1);
  border-bottom: 2px solid #0B1C38;
}

.coverage-city-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coverage-city-list li a {
  color: var(--slate-gray);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.15s;
}

.coverage-city-list li a:hover {
  color: var(--electric-cobalt);
}

@media (max-width: 768px) {
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* FAQ Section */
.faq-section {
  padding: var(--sp-7) 0;
  background: var(--graphite);
}

.faq-container {
  max-width: 800px;
}

.faq-list {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--panel-bg);
  border: 1px solid var(--divider-line);
  border-radius: 6px;
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: none;
  border-radius: 0;
}

.faq-item:first-child {
  border-radius: 6px 6px 0 0;
}

.faq-item:last-child {
  border-radius: 0 0 6px 6px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--nova-obsidian);
  list-style: none;
  gap: var(--sp-3);
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(11, 28, 56, 0.03);
}

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

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--electric-cobalt);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] > .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--divider-line);
}

.faq-answer p {
  font-size: 15px;
  color: var(--slate-gray);
  line-height: 1.8;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .faq-question {
    padding: 14px 16px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 16px 16px;
  }
}

/* ============================================================
   Phase 9: Trust & Authority Signals
   ============================================================ */

/* Trust Bar */
.trust-bar {
  background: var(--nova-obsidian);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0 20px;
}

.trust-badge svg {
  color: #4A635D;
  flex-shrink: 0;
}

.trust-badge-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .trust-bar-inner {
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
  .trust-badge { white-space: nowrap; padding: 0 14px; }
  .trust-badge-divider { display: none; }
}

/* Trust Grid — 6 items (2 rows of 3) */
.trust-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  text-align: left;
}

.trust-grid-6 .trust-stat {
  background: var(--panel-bg);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  padding: var(--sp-3) var(--sp-3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-grid-6 .trust-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #0B1C38;
}

.trust-stat-icon {
  display: block;
  margin-bottom: 10px;
}

.trust-highlight {
  color: #800000;
}

.trust-grid-6 .trust-stat h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--electric-cobalt);
  margin-bottom: 6px;
}

.trust-grid-6 .trust-stat p {
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .trust-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
  }
}

@media (max-width: 480px) {
  .trust-grid-6 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--sp-2);
    padding-bottom: var(--sp-2);
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid-6 .trust-stat {
    min-width: 260px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Guarantee Section */
.guarantee-section {
  background: var(--nova-obsidian);
  padding: var(--sp-7) 0;
}

.guarantee-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
}

.guarantee-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(11, 28, 56, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-icon svg {
  color: #EBF4FF;
  stroke: #EBF4FF;
}

.guarantee-content h2 {
  color: var(--arctic-white);
  font-size: 36px;
  margin-bottom: var(--sp-3);
}

.guarantee-content p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--sp-2);
}

.guarantee-content strong {
  color: var(--arctic-white);
}

@media (max-width: 768px) {
  .guarantee-inner {
    flex-direction: column;
    gap: var(--sp-3);
  }
  .guarantee-content h2 { font-size: 28px; }
}

/* Reviews Section */
.reviews-section {
  padding: var(--sp-7) 0;
  background: var(--oyster);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.review-card {
  background: var(--panel-bg);
  border: 1px solid var(--divider-line);
  border-radius: 8px;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #0B1C38;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 15px;
  color: var(--slate-gray);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0;
}

.review-attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--divider-line);
}

.review-attribution strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--nova-obsidian);
}

.review-attribution span {
  font-size: 13px;
  color: var(--slate-gray);
}

.reviews-cta {
  margin-top: var(--sp-5);
  text-align: center;
}

.reviews-google-link {
  margin-top: var(--sp-2);
  font-size: 14px;
  color: var(--slate-gray);
}

.reviews-leave-link {
  color: var(--electric-cobalt);
  font-weight: 600;
  text-decoration: none;
}

.reviews-leave-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}

/* Subpage mobile nav breadcrumb — shown only on mobile when nav-links collapse */
.subpage-mobile-back {
  display: none;
}

@media (max-width: 768px) {
  .subpage-mobile-back {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px var(--sp-3);
    background: var(--oyster);
    border-bottom: 1px solid var(--divider-line);
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-gray);
    text-decoration: none;
  }
  .subpage-mobile-back:hover {
    color: var(--electric-cobalt);
  }
}

/* ============================================
   AUDIT FIXES
   ============================================ */

/* #4: Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10001;
  padding: 12px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* #5: Global focus-visible */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* #6: Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* #7: Hamburger button 44x44 minimum touch target */
.nav-hamburger {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* #8: Toast notification system */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  max-width: 380px;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.toast-visible { opacity: 1; transform: translateX(0); }
.toast-error { background: var(--accent-red); }
.toast-warning { background: #D97706; }
.toast-info { background: var(--navy); }

@media (max-width: 480px) {
  #toast-container { left: 16px; right: 16px; }
  .toast { max-width: 100%; }
}

/* #15: Exit-intent popup */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
}
.exit-popup-visible { display: flex; }
.exit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.exit-popup-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: var(--sp-5);
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}
.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--slate-gray);
  cursor: pointer;
  line-height: 1;
}
.exit-popup-content h3 {
  font-size: 24px;
  margin-bottom: var(--sp-2);
}
.exit-popup-content p {
  color: var(--slate-gray);
  margin-bottom: var(--sp-3);
}
.exit-popup-phone {
  font-size: 14px;
  color: var(--slate-gray);
  margin-top: var(--sp-2);
}
.exit-popup-phone a {
  color: var(--navy);
  font-weight: 600;
}

/* #20: Fieldset reset (remove default browser styling) */
fieldset.estimator-step {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* #21: How-step heading size override (now h3 instead of h4) */
.how-step-heading {
  font-size: 18px;
  margin-bottom: var(--sp-1);
}

/* #24: Loading spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* #29: Tablet breakpoint (1024px) */
@media (max-width: 1024px) {
  .split-section {
    gap: var(--sp-3);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coverage-grid {
    gap: var(--sp-3);
  }
  h1 { font-size: 48px; }
}
