/* ===================================
   DRIVEWAYZ USA - MAIN STYLESHEET
   =================================== */
/* ----- Base Styles ----- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Hero Section ----- */
.state-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.state-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats .stat {
  background: rgba(255,255,255,0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
}

/* ----- Intro Section ----- */
.state-intro {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.state-intro .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.state-intro h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.climate-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.climate-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.climate-card h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.climate-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ----- Cities Section ----- */
.state-cities {
  padding: 4rem 2rem;
  background: white;
}

.state-cities h2 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2.5rem;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.city-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.city-card h3 {
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.city-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.city-link:hover {
  text-decoration: underline;
}

/* ----- Services Section ----- */
.state-services {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.state-services h2 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.service-card,
a.service-card:hover,
a.service-card:visited,
a.service-card:active {
  text-decoration: none;
  color: inherit;
}

a.service-card {
  display: block;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ----- Driveway Types Section ----- */
.driveway-types {
  padding: 4rem 2rem;
  background: white;
}

.driveway-types h2 {
  font-size: 2rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.driveway-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.driveway-type-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #3498db;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.driveway-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.type-number {
  width: 40px;
  height: 40px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.driveway-type-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.driveway-type-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ----- Local Facts Section ----- */
.local-facts {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
}

.local-facts .container {
  max-width: 800px;
}

.local-facts h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.local-facts .section-intro {
  color: rgba(255,255,255,0.8);
  text-align: center;
  margin-bottom: 2.5rem;
}

.facts-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-item {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.fact-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  text-align: left;
}

.fact-header:hover {
  background: rgba(255,255,255,0.15);
}

.fact-toggle {
  font-size: 1.5rem;
  font-weight: 300;
}

.fact-content {
  padding: 0 1.5rem 1.5rem;
  animation: fadeIn 0.3s ease;
}

.fact-content p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

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

/* ----- References Section ----- */
.references {
  padding: 3rem 2rem;
  background: #f8f9fa;
}

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

.references h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.references-list {
  list-style: none;
  padding: 0;
}

.references-list li {
  padding: 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
  border-bottom: 1px solid #e0e0e0;
}

.references-list li:last-child {
  border-bottom: none;
}

.references-list li::before {
  content: "📋 ";
  margin-right: 0.5rem;
}

/* ----- Related Resources Section ----- */
.related-resources {
  padding: 3rem 2rem;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.related-resources .container {
  max-width: 800px;
}

.related-resources h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.resources-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.resource-link {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.resource-link:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

/* ----- CTA Section ----- */
.state-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  text-align: center;
}

.state-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.state-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-button {
  background: white;
  color: #27ae60;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 768px) {
  .state-intro .container {
    grid-template-columns: 1fr;
  }
  
  .driveway-types-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-links {
    flex-direction: column;
  }
  
  .resource-link {
    text-align: center;
  }
  
  .state-hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}
:root {
    --primary-color: #5B9BD5;
    --primary-dark: #2B5797;
    --secondary-color: #78716c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Site header: navbar or site-header (shared) */
.navbar,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
    height: 100px;
}

/* Main nav wrapper */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav__list,
.main-nav .nav-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a,
.nav-links a {
    white-space: nowrap;
}

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

.logo img {
    height: 100px;
    max-height: 100px;
    width: auto;
    max-width: 320px;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 1.5rem;
    flex-shrink: 0;
    align-items: center;
}

.nav-links a,
.main-nav a {
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.cta-button-small {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
           margin-left: 1.5rem;
           white-space: nowrap;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-small:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Hero image served via <picture> in HTML for WebP support */
    margin-top: 100px;
    min-height: calc(90vh - 100px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, 
rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

section {
    padding: 5rem 0;
}

.cta-button.submitted {
  background-color: #28a745 !important;
  color: white !important;
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
  animation: none;
}

.cta-button.submitted:hover {
  background-color: #28a745 !important;
  transform: none !important;
  box-shadow: none !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.why-choose {
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
}

.guides {
    background-color: var(--bg-light);
}

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

.guide-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.guide-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guide-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.guide-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.guide-link:hover {
    color: var(--primary-dark);
}

/* ----- Guide Hero: Crawlable <img> as visual source ----- */
.guide-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* When img is present, it provides the hero image; gradient overlay via ::after */
.guide-hero:has(.guide-hero-img) {
    background-image: none !important;
}
.guide-hero:has(.guide-hero-img)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(55,65,81,.55) 0%, rgba(31,41,55,.55) 100%);
    z-index: 1;
    pointer-events: none;
}
.guide-hero--stone:has(.guide-hero-img)::after {
    background: linear-gradient(135deg, rgba(120,113,108,.65) 0%, rgba(168,162,158,.6) 50%, rgba(168,162,158,.6) 100%);
}
.guide-hero:has(.guide-hero-img)::before {
    z-index: 2;
}
.guide-hero:has(.guide-hero-img) .guide-hero-content {
    z-index: 3;
}

/* ----- State Hero: Crawlable <img> as visual source ----- */
.state-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.state-hero:has(.state-hero-img) {
    background: none !important;
}
.state-hero:has(.state-hero-img)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(43, 87, 151, 0.8), rgba(91, 155, 213, 0.6));
    z-index: 1;
    pointer-events: none;
}
.state-hero:has(.state-hero-img) .state-hero-content {
    z-index: 3;
}

.contact {
    background-color: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.info-item:last-child {
    border-bottom: none;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

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


/* ----- Hamburger / Nav Toggle (hidden on desktop) ----- */
.hamburger,
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger span,
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2),
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ----- Mobile overlay backdrop ----- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ----- Tablet/desktop: widen nav container so logo + links + CTA fit ----- */
@media (min-width: 769px) {
  .navbar .container.nav-container,
  .site-header .container.nav-container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ----- Tablet/laptop: scale down nav to fit at tighter viewports ----- */
@media (min-width: 769px) and (max-width: 1400px) {

  /* Slightly smaller logo to save space */
  .navbar .logo img,
  .site-header .logo img {
    height: 72px;
    max-height: 72px;
  }

  /* Tighter nav links so logo + links + CTA fit */
  .main-nav__list,
  .main-nav .nav-links,
  .nav-links {
    gap: 1rem;
  }

  .nav-links a,
  .main-nav a {
    font-size: 1rem;
  }

  .cta-button-small {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    margin-left: 1rem;
  }
}

/* ----- Mobile only: hamburger menu ----- */
@media (max-width: 768px) {
  .hamburger,
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-nav,
  .nav-links {
    display: none;
  }

  /* When nav is open: dropdown menu */
  .site-header.nav-open .main-nav,
  .site-header.nav-open .nav-links,
  .navbar.nav-open .main-nav,
  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 1001;
    min-width: 260px;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    gap: 0;
  }

  .site-header.nav-open .main-nav__list,
  .site-header.nav-open .nav-links,
  .navbar.nav-open .main-nav__list,
  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-header.nav-open .main-nav a,
  .site-header.nav-open .nav-links a,
  .navbar.nav-open .main-nav a,
  .navbar.nav-open .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .site-header.nav-open .main-nav li:last-child a,
  .site-header.nav-open .nav-links li:last-child a,
  .navbar.nav-open .main-nav li:last-child a,
  .navbar.nav-open .nav-links li:last-child a {
    border-bottom: none;
  }

  .cta-button-small {
    display: none;
  }
}

/* ----- Responsive: mobile ----- */
@media (max-width: 768px) {
  .site-header,
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .nav-container {
    height: 64px;
    padding: 0 16px;
  }

  .logo img {
    height: 55px;
    max-height: none;
  }

  /* Mobile: slide-out drawer style when open */
  .site-header.nav-open .main-nav,
  .site-header.nav-open .nav-links,
  .navbar.nav-open .main-nav,
  .navbar.nav-open .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    border-radius: 0;
  }

  .hero {
    margin-top: 64px;
    min-height: calc(90vh - 64px);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid,
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .state-hero h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .state-intro .container {
    grid-template-columns: 1fr;
  }

  .driveway-types-grid {
    grid-template-columns: 1fr;
  }

  .resources-links {
    flex-direction: column;
  }

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

@media (max-width: 900px) {
  .cta-button-small {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .logo img {
    height: 48px;
  }

  .nav-container {
    height: 56px;
  }

  .hero {
    margin-top: 56px;
    min-height: calc(90vh - 56px);
  }
}

/* ----- Homepage Enhancements (merged from preview) ----- */
.trust-strip {
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.trust-item {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.how-it-works {
  background-color: var(--bg-light);
}

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

.step-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #4a90d9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.guides-footer-link {
  text-align: center;
  margin-top: 2rem;
}

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

.newest-guide-card {
  background-color: #fff;
  border-radius: 12px;
  border-left: 4px solid #4a90d9;
  box-shadow: var(--shadow);
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.newest-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.guide-card-badge {
  color: #fff;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.guide-read-time {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.newest-guide-card .guide-link {
  font-weight: 700;
}

.cta-band {
  background: #4a90d9;
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

.cta-band-button {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.cta-band-button.primary {
  background-color: #fff;
  color: #4a90d9;
  border: 2px solid #fff;
}

.cta-band-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-band-button.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-band-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .newest-guides-grid {
    grid-template-columns: 1fr;
  }

  .cta-band h2 {
    font-size: 1.9rem;
  }

  .cta-band p {
    font-size: 1.05rem;
  }

  .cta-band-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-band-button {
    width: 100%;
    max-width: 320px;
  }
}
