/* Modern Design System for Virginia Window Installation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --color-primary: #0f172a;       /* Slate 900 */
  --color-primary-light: #1e293b; /* Slate 800 */
  --color-primary-lighter: #334155; /* Slate 700 */
  --color-accent: #0d9488;        /* Teal 600 */
  --color-accent-hover: #0f766e;  /* Teal 700 */
  --color-accent-light: #ccfbf1;  /* Teal 100 */
  --color-highlight: #f59e0b;     /* Amber 500 */
  --color-highlight-hover: #d97706; /* Amber 600 */
  --color-bg-main: #f8fafc;       /* Slate 50 */
  --color-bg-card: #ffffff;
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;    /* Slate 500 */
  --color-border: #e2e8f0;        /* Slate 200 */
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --transition-speed: 0.3s;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  padding-top: 80px; /* Offset for fixed header */
}

main {
  flex-grow: 1;
}

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

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--color-accent-hover);
}

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

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

/* Typography Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

/* Header & Glassmorphic Nav */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-speed) ease;
}

header.site-header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

header.site-header.scrolled a {
  color: #ffffff;
}

header.site-header.scrolled .logo-text {
  color: #ffffff;
}

header.site-header.scrolled .nav-toggle span {
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  fill: var(--color-accent);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.logo-text span {
  color: var(--color-accent);
}

nav.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav.main-nav a {
  font-weight: 500;
  color: var(--color-primary-light);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-speed) ease;
}

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

nav.main-nav a.active {
  color: var(--color-accent);
}

/* Dropdown menu styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #ffffff;
  min-width: 240px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  display: flex; /* keep as flex but hide using opacity/visibility */
  visibility: hidden;
  opacity: 0;
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 1001;
  margin-top: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transition-delay: 0.6s; /* closes 0.6s after mouse leaves dropdown/parent */
}

.dropdown-arrow {
  display: inline-block;
  font-size: 0.65rem;
  margin-left: 0.25rem;
  vertical-align: middle;
  transition: transform var(--transition-speed) ease;
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s; /* opens instantly on hover */
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.5rem;
  color: var(--color-primary-light) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  width: 100%;
}

.dropdown-menu a::after {
  content: none !important; /* disable line slide underline for dropdown */
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-accent) !important;
  padding-left: 1.75rem;
}

/* Mobile Dropdown styles */
@media (max-width: 768px) {
  .dropdown-menu {
    display: none !important;
  }
  
  .dropdown-arrow {
    display: none !important;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff !important;
}

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

.btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff !important;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent) !important;
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-highlight);
  color: var(--color-primary) !important;
}

.btn-accent:hover {
  background-color: var(--color-highlight-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Nav toggle button for mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  transition: all var(--transition-speed) ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Breadcrumbs Styling */
.breadcrumbs-wrapper {
  background-color: #f1f5f9;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #cbd5e1;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs li.current {
  color: var(--color-primary);
  font-weight: 500;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 3.5rem 0; /* Reduced padding for cleaner hero layout */
  overflow: hidden;
}

/* Add grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0;
}

.hero h1 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-transform: capitalize;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Call card within Hero */
.hero-call-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-call-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

/* Large call button */
.hero-phone-btn {
  font-size: 1.8rem;
  padding: 1rem 2rem;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0px 4px 20px rgba(245, 158, 11, 0.4);
  animation: pulse 2s infinite;
  background-color: var(--color-highlight);
  color: var(--color-primary) !important;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.hero-phone-btn:hover {
  background-color: var(--color-highlight-hover);
  transform: translateY(-2px);
}

.hero-phone-btn svg {
  margin-right: 10px;
  flex-shrink: 0;
}

/* Quote Form Card */
.quote-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.quote-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.quote-card h3 span {
  color: var(--color-accent);
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-primary-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

.btn-submit {
  width: 100%;
  padding: 0.85rem;
}

/* Services Sections & Cards Grid */
.section {
  padding: 5rem 0;
}

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

.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-title-wrapper h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.section-title-wrapper h2 span {
  color: var(--color-accent);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--color-bg-card);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 148, 136, 0.4);
}

.card-icon-wrapper {
  background-color: var(--color-accent-light);
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 28px;
  height: 28px;
  fill: var(--color-accent);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  align-self: flex-start;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition-speed) ease;
}

.card:hover .card-link::after {
  transform: translateX(3px);
}

/* Compact service benefits */
.benefits-list {
  list-style: none;
  margin-top: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.benefits-list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: bold;
}

/* FAQ / Accordion Setup */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition-speed) ease;
  line-height: 1;
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
  background-color: #fafbfd;
}

.faq-answer-inner {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Call to Action Blocks */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer Section */
.site-footer {
  background-color: var(--color-primary);
  color: #cbd5e1;
  padding: 4rem 0 2rem 0;
  border-top: 4px solid var(--color-accent);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-column p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul a {
  color: #cbd5e1;
  transition: all var(--transition-speed) ease;
}

.footer-column ul a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Service Areas Alphabetical Grid */
.alphabet-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.alphabet-btn {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.alphabet-btn:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.locations-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.location-item-link {
  display: block;
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  color: var(--color-primary-light);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.location-item-link:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* Sticky bottom bar (mobile Call CTA) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  border-top: 3px solid var(--color-accent);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.15);
}

.mobile-sticky-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

/* Testimonial slider layout */
.testimonials-section {
  background-color: #fafbfc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.rating-stars {
  color: var(--color-highlight);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--color-primary-lighter);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.testimonial-city {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Detail copy section (for the 1000 words pages) */
.article-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: start;
}

.article-content h3 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem 0;
}

.article-content h4 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem 0;
}

.article-content p {
  color: var(--color-primary-lighter);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.article-content ul, .article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary-lighter);
}

.article-content li {
  margin-bottom: 0.5rem;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

/* Zips grid in sidebar */
.zips-box {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.zips-box h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent-light);
  padding-bottom: 0.5rem;
}

.zips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.zip-badge {
  display: block;
  background-color: #f1f5f9;
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  color: var(--color-primary-light);
}

/* Static vs dynamic personalization classes */
[data-personalize] {
  transition: all 0.2s ease;
}

/* Page Intro/Feature Sections */
.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.info-image-wrapper img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .article-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .info-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header.site-header {
    height: 70px;
  }
  .header-inner {
    height: 70px;
  }
  .nav-toggle {
    display: block;
  }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-accent);
    padding: 1.5rem 0;
  }
  nav.main-nav.active {
    display: block;
  }
  nav.main-nav > ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  nav.main-nav li {
    width: 100%;
    text-align: center;
  }
  nav.main-nav a {
    color: var(--color-primary) !important;
    display: inline-block;
  }
  nav.main-nav a.active {
    color: var(--color-accent) !important;
  }
  .header-cta {
    display: none;
  }
  .hero {
    padding: 4rem 0;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .section-title-wrapper h2 {
    font-size: 1.85rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-links {
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }
  .quote-card {
    padding: 1.25rem !important;
  }
  .contact-grid a {
    word-break: break-all;
  }
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-top: 70px; /* offset for fixed header */
    padding-bottom: 60px; /* offset for sticky bottom CTA */
  }
}

/* Contact Page Responsive Grids */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: start;
}

.contact-names-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .contact-names-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Interactive SVG Map Styles */
.va-map-section {
  background-color: #ffffff;
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.va-map-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .va-map-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.va-map-svg-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.va-map-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.08));
}

.va-map-path {
  fill: #e2e8f0;
  stroke: #cbd5e1;
  stroke-width: 1.5;
  transition: fill 0.3s ease;
}

.va-map-svg:hover .va-map-path {
  fill: #cbd5e1;
}

.va-map-pin-group {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.va-map-pin-group:hover {
  transform: translateY(-2px);
}

.va-map-pin {
  fill: var(--color-accent);
  stroke: #ffffff;
  stroke-width: 2;
  transition: fill 0.3s ease, r 0.3s ease;
}

.va-map-pin-group:hover .va-map-pin {
  fill: var(--color-highlight);
  r: 8px;
}

.va-map-pin-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  fill: var(--color-primary);
  text-anchor: middle;
  opacity: 0.9;
  pointer-events: none;
}

/* Full Directory details panel */
.all-cities-drawer {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-top: 3rem;
}

.all-cities-drawer summary {
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  outline: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.all-cities-drawer summary::-webkit-details-marker {
  display: none;
}

.all-cities-drawer summary::after {
  content: '▼';
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.all-cities-drawer[open] summary::after {
  transform: rotate(180deg);
}

.all-cities-drawer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
  max-height: 400px;
  overflow-y: auto;
}

.all-cities-drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}

.all-cities-drawer-link {
  font-size: 0.85rem;
  color: var(--color-primary-light);
  transition: color 0.2s ease;
}

.all-cities-drawer-link:hover {
  color: var(--color-accent);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Mobile Hero adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-call-card {
    padding: 1.25rem;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-phone-btn {
    font-size: 1.3rem;
    padding: 0.85rem 1.5rem;
  }
}

/* Blog Card Grid Styles */
.blog-section {
  padding: 4rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background-color: var(--color-bg-card);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 148, 136, 0.4);
}

.blog-card-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}

.blog-card-title a {
  color: var(--color-primary);
}

.blog-card-title a:hover {
  color: var(--color-accent);
}

.blog-card-excerpt {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  align-self: flex-start;
}

.blog-card-link::after {
  content: '→';
  transition: transform var(--transition-speed) ease;
}

.blog-card:hover .blog-card-link::after {
  transform: translateX(3px);
}

/* Post single layout styling */
.post-layout {
  padding: 4rem 0;
}

.post-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.post-header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.post-featured-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  border: 1px solid var(--color-border);
}

/* Cost Calculator Interface Styles */
.calc-section {
  padding: 4rem 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.calc-card-form {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.calc-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-accent-light);
  padding-bottom: 0.75rem;
  color: var(--color-primary);
}

.calc-slider-wrapper {
  margin: 1.5rem 0;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-slider-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-light);
}

.calc-slider-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
}

.calc-slider-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #cbd5e1;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.1s;
}

.calc-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-card {
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.calc-results-header {
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}

.calc-results-title {
  color: #cbd5e1;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.calc-results-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-highlight);
  font-family: var(--font-heading);
  line-height: 1;
}

.calc-results-price span {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 500;
}

.calc-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.calc-details-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.calc-details-item.total {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.calc-badge-panel {
  background-color: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--color-accent);
}

.calc-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.calc-badge-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Services Page Responsive Layout */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.services-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 5rem;
}

.services-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.services-item-content {
  width: 100%;
}

.services-item-image {
  text-align: center;
  width: 100%;
}

.services-item-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  height: 380px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

/* Alternating columns on desktop */
.services-item:nth-child(even) .services-item-content {
  order: 2;
}

.services-item:nth-child(even) .services-item-image {
  order: 1;
}

@media (max-width: 992px) {
  .services-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 4rem;
  }
  .services-item-content {
    order: 1 !important; /* Force text content first on mobile/tablet */
  }
  .services-item-image {
    order: 2 !important; /* Force image second on mobile/tablet */
  }
  .services-item-image img {
    height: 280px; /* slightly smaller height on mobile for better view */
  }
}

