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

/* ==========================================
   DESIGN TOKENS & ROOT VARIABLES (SPACE GROTESK FONT STACK)
   ========================================== */
:root {
  /* Brand Colors */
  --primary: #0D233A;
  --primary-light: #1A3E60;
  --primary-dark: #071424;
  --primary-rgb: 13, 35, 58;
  
  --orange: #F17A28;
  --orange-light: #FF9E53;
  --orange-dark: #D45B0A;
  
  --gold: #FDB813;
  
  /* Neutral Palette */
  --bg-pure: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #071524;
  --bg-dark-accent: #0A1C30;
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #F1F5F9;
  --text-white: #FFFFFF;
  
  /* Status Colors */
  --success: #10B981;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Typography - Space Grotesk Architectural Font Stack */
  --font-heading: 'Space Grotesk', 'Outfit', -apple-system, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  
  /* Layout & Shadows */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(241, 122, 40, 0.35);
}

/* ==========================================
   BASE & RESET
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-family: var(--font-heading);
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

ul { list-style: none; }

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-orange { color: var(--orange); }

.bg-dark-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.bg-dark-section .section-title {
  color: var(--text-white);
}

.divider {
  width: 80px;
  height: 4px;
  background-color: var(--orange);
  margin: 0 auto 40px auto;
  border-radius: 2px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 10px;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(241, 122, 40, 0.25);
}

.btn-primary:hover {
  background-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--text-white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header.scrolled {
  background-color: rgba(7, 21, 36, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-link,
.footer-logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  opacity: 0.85;
}

.header:not(.scrolled) .nav-link {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--orange-light);
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--text-white);
}

.nav-phone i {
  color: var(--orange);
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION (VIVID ROOF BACKGROUND)
   ========================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(7, 21, 36, 0.88) 0%, rgba(7, 21, 36, 0.5) 55%, rgba(7, 21, 36, 0.15) 100%), 
              url('assets/slate_roof.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero-container {
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(241, 122, 40, 0.2);
  border: 1px solid var(--orange);
  color: var(--orange-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-accent);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 540px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 20px;
}

/* ==========================================
   CERTIFICATIONS / TRUST BANNER
   ========================================== */
.certifications-section {
  background-color: var(--primary-dark);
  border-bottom: 3px solid var(--orange);
  padding: 24px 0;
  color: var(--text-white);
}

.certs-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-bold {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.cert-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* ==========================================
   CHECKLIST (WHEN TO SCHEDULE)
   ========================================== */
.checklist-section {
  background-color: var(--bg-pure);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.checklist-intro h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.checklist-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  border-left: 4px solid var(--primary);
}

.checklist-item:hover {
  transform: translateX(8px);
  background-color: var(--bg-pure);
  box-shadow: var(--shadow-md);
  border-left-color: var(--orange);
}

.checklist-icon {
  background-color: rgba(13, 35, 58, 0.08);
  color: var(--primary);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.checklist-item:hover .checklist-icon {
  background-color: rgba(241, 122, 40, 0.12);
  color: var(--orange);
}

.checklist-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.checklist-text p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 0;
}

.checklist-image {
  position: relative;
}

.checklist-image img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.checklist-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 5px solid var(--orange);
  border-left: 5px solid var(--orange);
  border-radius: var(--border-radius-sm) 0 0 0;
  z-index: 1;
}

/* ==========================================
   INSTANT ROOF ESTIMATOR (HIGH CONTRAST)
   ========================================== */
.quote-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.estimator-container {
  max-width: 840px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.estimator-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.estimator-progress::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.progress-bar-fill {
  position: absolute;
  top: 15px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--orange);
  z-index: 2;
  transition: width 0.4s ease;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.step-number {
  width: 34px;
  height: 34px;
  background-color: #0F2A4A;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.9rem;
  color: #CBD5E1;
  transition: var(--transition-smooth);
}

.progress-step.active .step-number {
  background-color: var(--primary-dark);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--shadow-glow);
}

.progress-step.completed .step-number {
  background-color: var(--orange);
  border-color: var(--orange);
  color: var(--text-white);
}

.step-label {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 1px;
}

.progress-step.active .step-label {
  color: var(--text-white);
}

.estimator-step {
  display: none;
  animation: fadeInStep 0.4s ease;
}

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

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 1.65rem;
  margin-bottom: 12px;
  text-align: center;
  color: var(--text-white);
}

.step-desc {
  color: #E2E8F0;
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

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

.option-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--orange-light);
  transform: translateY(-4px);
}

.option-card.selected {
  background-color: rgba(241, 122, 40, 0.18);
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
}

.option-icon {
  font-size: 2.4rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.option-title {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.option-desc {
  font-size: 0.875rem;
  color: #E2E8F0 !important;
  line-height: 1.45;
}

/* Slider */
.slider-container {
  background: rgba(0, 0, 0, 0.25);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.slider-label {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
}

.slider-output-box {
  background-color: var(--orange);
  color: var(--text-white);
  padding: 6px 16px;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-accent);
  box-shadow: var(--shadow-glow);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  margin-bottom: 10px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 3px solid var(--text-white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.slider-min-max {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94A3B8;
}

/* Inputs */
.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.wizard-input {
  width: 100%;
  padding: 14px 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.wizard-input:focus {
  outline: none;
  border-color: var(--orange);
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(241, 122, 40, 0.3);
}

/* Results */
.result-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.result-price-range {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  margin: 15px 0;
  text-shadow: 0 0 20px rgba(253, 184, 19, 0.3);
}

.result-summary-table {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  border-collapse: collapse;
}

.result-summary-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-summary-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #FFFFFF;
}

.result-summary-table td:first-child {
  color: #CBD5E1;
}

.estimator-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* ==========================================
   STORM RESTORATION
   ========================================== */
.storm-section {
  background-color: var(--bg-pure);
}

.storm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.storm-content h3 {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.storm-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.storm-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.storm-feature-row i {
  color: var(--orange);
  font-size: 1.15rem;
  margin-top: 4px;
  width: 24px;
  text-align: center;
}

.storm-feature-row h5 {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.storm-feature-row p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.storm-visual img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-choose-us {
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.feature-card {
  background-color: var(--bg-pure);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::after {
  background-color: var(--orange);
  height: 6px;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(13, 35, 58, 0.05);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px auto;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--orange);
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(241, 122, 40, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-pure);
  padding: 36px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--bg-light);
  padding-top: 16px;
}

.author-name {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.author-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   AREAS SERVED (CITYSCAPE CARDS)
   ========================================== */
.areas-section {
  background-color: var(--bg-pure);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.area-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.area-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.area-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.area-card:hover .area-image img {
  transform: scale(1.1);
}

.area-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 35, 58, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.area-region-title {
  color: var(--text-white);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.25rem;
}

.area-list-wrapper {
  padding: 24px;
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tag {
  background-color: var(--bg-pure);
  color: var(--text-main);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.area-tag:hover {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* ==========================================
   LEAD FORM (FLOATING LABELS)
   ========================================== */
.lead-section {
  background-color: var(--bg-light);
  position: relative;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-info h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.lead-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.lead-steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead-step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lead-step-num {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.lead-step-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.lead-step-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.lead-form-card {
  background-color: var(--bg-pure);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-light);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-pure);
  box-shadow: 0 0 0 4px rgba(13, 35, 58, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0 6px;
  background-color: var(--bg-pure);
  color: var(--primary);
}

.form-input-error {
  border-color: var(--error);
}

.form-error-msg {
  color: var(--error);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.form-input-error ~ .form-error-msg {
  display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, 0.8fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 60px;
  align-self: flex-start;
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--orange);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--orange-light);
  transform: translateX(5px);
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office-card {
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 12px;
}

.office-name {
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.office-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.office-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.825rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ==========================================
   MODAL
   ========================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 21, 36, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  background-color: var(--bg-pure);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 2100;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .checklist-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .storm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    padding: 100px 40px;
    align-items: flex-start;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .materials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .estimator-container {
    padding: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .lead-form-card {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
