/* ============================================
   ALL AMERICAN ROOFING - Premium Design System
   Modern, clean, professional — zero emojis
   ============================================ */

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

:root {
  /* Refined Color System */
  --navy: #091728;
  --navy-light: #0e2240;
  --slate: #162f4f;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-subtle: #fef2f2;
  --white: #ffffff;
  --off-white: #f8fafc;
  --warm-gray: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --gold: #eab308;
  --gold-dark: #ca8a04;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Shadows */
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-glow: none;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Display headings use serif */
.display-heading {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   UTILITIES
   ============================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section-padding { padding: var(--space-5xl) 0; }

/* ============================================
   SVG ICON SYSTEM
   ============================================ */
.icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.icon-wrap svg {
  width: 28px;
  height: 28px;
}
.icon-wrap--primary {
  background: var(--slate);
  color: var(--white);
}
.icon-wrap--red {
  background: var(--red);
  color: var(--white);
}
.icon-wrap--light {
  background: var(--warm-gray);
  color: var(--slate);
}
.icon-wrap--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.icon-wrap--lg {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
}
.icon-wrap--lg svg {
  width: 36px;
  height: 36px;
}
.icon-wrap--sm {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.icon-wrap--sm svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.938rem;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

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

.btn-ghost {
  background: transparent;
  color: var(--red);
  border: none;
  padding: 10px 0;
  font-weight: 700;
}
.btn-ghost:hover {
  color: var(--red-dark);
}
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-lg { padding: 18px 40px; font-size: 1rem; }

.btn-phone-header {
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-phone-header:hover {
  background: var(--red-dark);
  color: var(--white);
}
.btn-phone-header svg { width: 18px; height: 18px; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--red);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: rgba(255,255,255,0.85); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-item svg { width: 14px; height: 14px; opacity: 0.9; }

/* ============================================
   HEADER
   ============================================ */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
nav { display: flex; align-items: center; }
nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav > ul > li > a {
  padding: 12px 20px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-secondary);
  border-radius: 0;
  transition: color var(--transition);
  display: block;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  position: relative;
}
nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
nav > ul > li > a:hover {
  color: var(--navy);
}
nav > ul > li > a.active {
  color: var(--navy);
}
nav > ul > li > a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: none;
  border-radius: 0 0 8px 8px;
  min-width: 280px;
  padding: 0;
  z-index: 100;
  overflow: hidden;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  border-radius: 0;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  letter-spacing: 0.02em;
}
.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-left: 3px solid var(--red);
}
.dropdown-menu li + li a {
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3xl);
  align-items: center;
}
.hero-inner {
  max-width: 720px;
}

/* Hero slider (right column) */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-slider-track img {
  border-radius: var(--radius-lg);
}

/* Hero inline estimate form (right column) */
.hero-form-card {
  background: var(--white);
  color: var(--gray-900, #0a0a0a);
  border-radius: var(--radius-lg);
  padding: 28px 26px 22px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  align-self: start;
}
.hero-form-card h2 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  color: var(--gray-900, #0a0a0a);
}
.hero-form-card .hero-form-lead {
  margin: 0 0 16px;
  color: var(--gray-700);
  font-size: 0.9rem;
}
.hero-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-form .form-group { margin-bottom: 12px; }
.hero-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--gray-900, #0a0a0a);
}
.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-900, #0a0a0a);
}
.hero-form textarea { min-height: 70px; resize: vertical; }
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.hero-form .em-status {
  text-align: center;
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2em;
}
.hero-slider-track {
  position: absolute;
  inset: 0;
}
.hero-slider-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slider-track img.active { opacity: 1; }
.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hero-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-slider-dots button.active {
  background: var(--white);
  transform: scale(1.25);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slider { max-width: 560px; margin: 0 auto; }
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.813rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-label svg { width: 16px; height: 16px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--blue-light); }
.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xl);
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}
.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: var(--space-3xl);
}
.section-header.center { text-align: center; }
.section-header.center .section-header-inner { max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.section-header.center .section-label::before { display: none; }
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
}
.section-header.center p { margin: 0 auto; }

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--bg-light, #f4f4f4);
}
.service-card .icon-wrap { display: none; }
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: var(--space-lg) var(--space-lg) var(--space-sm);
  color: var(--text);
}
.service-card p {
  font-size: 0.938rem;
  color: var(--text-secondary);
  margin: 0 var(--space-lg) var(--space-lg);
  line-height: 1.65;
  flex: 1;
}
.service-card .btn,
.service-card .btn-ghost {
  margin: 0 var(--space-lg) var(--space-xl);
  align-self: flex-start;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section { background: var(--navy); color: var(--white); }
.why-section .section-label { color: rgba(255,255,255,0.5); }
.why-section .section-label::before { background: rgba(255,255,255,0.3); }
.why-section .section-header h2 { color: var(--white); }
.why-section .section-header p { color: rgba(255,255,255,0.6); }

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-us-item {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-us-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.why-us-item .icon-wrap {
  margin-bottom: var(--space-md);
}
.why-us-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.why-us-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Dark variant when used inside the navy why-section */
.why-section .why-us-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
.why-section .why-us-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
  transform: none;
}
.why-section .why-us-item h3 { color: var(--white); }
.why-section .why-us-item p { color: rgba(255,255,255,0.55); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--slate);
}
.testimonial-author-name {
  font-weight: 700;
  font-size: 0.938rem;
  color: var(--text);
}
.testimonial-author-role {
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--red);
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(0,0,0,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; text-align: center; }
.cta-banner h2 {
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .hero-cta {
  justify-content: center;
  margin-bottom: 0;
}
.cta-banner .btn-outline-white {
  border-color: var(--white);
  border-width: 2px;
  background: transparent;
}
.cta-banner .btn-outline-white:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.cta-banner .btn-white {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
}
.cta-banner .btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform var(--transition); }
.faq-item.active .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.faq-item.active .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding-bottom: 22px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ============================================
   AREAS SERVED
   ============================================ */
.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.areas-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--text);
  transition: all var(--transition);
}
.areas-list li:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}
.areas-list li svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }

/* ============================================
   IMAGE GALLERY (service pages, portfolio)
   Images display at their natural aspect ratio.
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 32px 0;
  align-items: start;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-light, #f4f4f4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover figcaption { opacity: 1; }
.hero-image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: 480px;
  margin: 16px auto 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  .hero-image { height: 280px; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: var(--space-xl);
}
.contact-info-item h3 {
  font-size: 0.938rem;
  margin-bottom: 2px;
}
.contact-info-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.contact-info-item a:hover { color: var(--red); }

.contact-form {
  background: var(--off-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.938rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-4xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-about p {
  color: rgba(255,255,255,0.5);
  margin: var(--space-md) 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; opacity: 0.4; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.813rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .powered-by a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-bottom .powered-by a:hover { color: var(--white); }

/* ============================================
   ESTIMATE MODAL
   ============================================ */
.estimate-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.estimate-modal.open { display: flex; animation: emFade 0.2s ease; }
@keyframes emFade { from { opacity: 0 } to { opacity: 1 } }
.estimate-modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.estimate-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  color: var(--gray-700);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.estimate-modal-close:hover { background: var(--gray-100); }
.estimate-modal h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
.estimate-modal p.lead {
  color: var(--gray-700);
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.estimate-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.estimate-modal .form-group { margin-bottom: 14px; }
.estimate-modal label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.estimate-modal input,
.estimate-modal select,
.estimate-modal textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}
.estimate-modal textarea { min-height: 90px; resize: vertical; }
.estimate-modal input:focus,
.estimate-modal select:focus,
.estimate-modal textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.estimate-modal .em-status {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.4em;
}
@media (max-width: 520px) {
  .estimate-modal .form-row { grid-template-columns: 1fr; }
  .estimate-modal-dialog { padding: 28px 20px 20px; }
}

/* Footer logo */
footer .logo {
  display: inline-block;
  margin-bottom: 16px;
}
footer .logo img {
  height: 140px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ============================================
   PAGE BANNER (Inner Pages)
   ============================================ */
.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}
.page-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb {
  margin-top: var(--space-md);
  font-size: 0.813rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail { padding: var(--space-4xl) 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}
.service-content h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
  letter-spacing: -0.02em;
}
.service-content h2:first-child { margin-top: 0; }
.service-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}
.service-content ul {
  margin: var(--space-md) 0;
  padding-left: 0;
}
.service-content ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.65;
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 16px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  /* Checkmark via CSS */
}
.service-content ul li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

/* Sidebar */
.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-card ul li:last-child { border: none; }
.sidebar-card ul li a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.sidebar-card ul li a:hover { color: var(--red); }

.sidebar-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}
.sidebar-cta h3 { color: var(--white); margin-bottom: var(--space-sm); font-size: 1.1rem; border: none; padding: 0; }
.sidebar-cta p { color: rgba(255,255,255,0.6); margin-bottom: var(--space-lg); font-size: 0.9rem; }
.sidebar-cta .btn { width: 100%; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image > img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}
.about-image-placeholder {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}
.about-image-placeholder svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.3; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-number .accent { color: var(--red); }
.stat-label {
  color: var(--text-muted);
  font-size: 0.813rem;
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   CITY PAGE FAQ (native <details>)
   ============================================ */
.city-faq-list { max-width: 760px; margin: 0 auto; }
.city-faq {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.city-faq:first-child { border-top: 1px solid var(--border); }
.city-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  position: relative;
  padding-right: 44px;
  transition: color var(--transition);
}
.city-faq summary::-webkit-details-marker { display: none; }
.city-faq summary:hover { color: var(--red); }
.city-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  transition: all var(--transition);
}
.city-faq[open] summary::after {
  content: "\00d7";
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.city-faq p {
  padding: 0 0 22px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.75rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-main {
    padding: 10px 0;
    gap: 12px;
  }
  .logo img { height: 56px; }
  nav {
    margin-left: auto;
    margin-right: 8px;
  }
  nav > ul { display: none; }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius);
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--gray-900, #0a0a0a);
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:hover,
  .menu-toggle:focus,
  .menu-toggle:focus-visible,
  .menu-toggle:active {
    background: var(--gray-100, #f4f4f4);
    border: none;
    outline: none;
    box-shadow: none;
  }
  .menu-toggle svg { width: 26px; height: 26px; }
  nav.open > ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    gap: 0;
    z-index: 99;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  nav.open > ul > li > a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  nav.open .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    transform: none;
    display: block;
    padding-left: 16px;
  }
  .hero { padding: var(--space-4xl) 0; }
  .hero h1 { font-size: 2.25rem; }
  .hero-stats { flex-direction: column; gap: var(--space-lg); }
  .section-padding { padding: var(--space-4xl) 0; }
  .section-header h2 { font-size: 1.875rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner { padding: var(--space-3xl) 0; }
  .page-banner h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cta-banner { padding: var(--space-3xl) 0; }
  .cta-banner h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .testimonial-card, .why-us-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .service-card.visible, .testimonial-card.visible, .why-us-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
