/*
Theme Name: Prime Garage Door
Theme URI: https://primegaragedoorrepairtech.com
Author: Prime Garage Door Repair Tech
Author URI: https://primegaragedoorrepairtech.com
Description: Custom theme for Prime Garage Door Repair Tech — California's trusted garage door repair and installation specialists. SEO/AEO optimized, Schema.org markup, 583 city pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prime-garage-door
Tags: business, service, local-seo
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #172554;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --orange-100: #ffedd5;
  --orange-800: #9a3412;
  --green-100: #dcfce7;
  --green-400: #4ade80;
  --green-800: #166534;
  --purple-100: #f3e8ff;
  --purple-800: #6b21a8;
  --red-100: #fee2e2;
  --red-800: #991b1b;
  --yellow-400: #facc15;
  --white: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-w-5xl: 64rem;
  --max-w-6xl: 72rem;
  --max-w-7xl: 80rem;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-w-7xl); margin: 0 auto; padding: 0 1rem; }
.container-5xl { max-width: var(--max-w-5xl); margin: 0 auto; padding: 0 1rem; }
.container-6xl { max-width: var(--max-w-6xl); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) {
  .container, .container-5xl, .container-6xl { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container, .container-5xl, .container-6xl { padding: 0 2rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo img { height: 2.5rem; width: auto; }
.site-logo-text {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.875rem;
  line-height: 1.25;
  display: none;
}
@media (min-width: 640px) { .site-logo-text { display: block; } }

/* Desktop Nav */
#main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}
@media (min-width: 768px) { #main-nav { display: flex; } }
#main-nav a {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.15s;
}
#main-nav a:hover { color: var(--blue-700); }

/* Services Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.25rem; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0;
  width: 16rem;
  display: none;
  z-index: 50;
  margin-top: 0.5rem;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-menu a:hover { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }

/* Phone CTA */
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-phone-header {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-700);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-phone-header:hover { background: var(--blue-800); color: var(--white); text-decoration: none; }
@media (min-width: 640px) { .btn-phone-header { display: flex; } }

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--gray-700);
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* Mobile Menu */
#mobile-menu {
  display: none;
  border-top: 1px solid var(--gray-200);
  padding: 1rem 0;
}
#mobile-menu.open { display: block; }
#mobile-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.15s;
}
#mobile-menu a:hover { background: var(--blue-50); text-decoration: none; }
.mobile-menu-phone {
  display: block;
  margin: 0.75rem 1rem 0;
  background: var(--blue-700);
  color: var(--white) !important;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
}
.mobile-menu-phone:hover { background: var(--blue-800) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
}
.footer-inner {
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-brand img {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
  background: var(--white);
  padding: 0.25rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--gray-400); margin-bottom: 1rem; }
.footer-brand .license { font-size: 0.75rem; color: var(--gray-500); }
.footer-col h3 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-contact-item { margin-bottom: 0.75rem; }
.footer-contact-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.footer-phone {
  color: var(--blue-400) !important;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}
.footer-phone:hover { color: var(--blue-300) !important; text-decoration: none; }
.footer-emergency { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-tagline { font-style: italic; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--gray-900);
  color: var(--white);
  padding: 5rem 1rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: var(--gray-200);
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  max-width: 48rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-desc {
  color: var(--gray-300);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  max-width: 42rem;
}
.hero-sub {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-note {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 1.25rem;
}
.hero-dark {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a5f 50%, var(--gray-900) 100%);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--blue-700);
  color: var(--white);
  padding: 0.875rem 1rem;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-check {
  width: 1rem;
  height: 1rem;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 4rem 1rem;
  background: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stats-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-card {
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
}
.stat-card .stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 0.25rem;
}
.stat-card .stat-label {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
}
.about-photo {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  height: 16rem;
  margin-bottom: 1.5rem;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section {
  padding: 4rem 1rem;
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.service-card-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.service-card h3 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  transition: color 0.15s;
}
.service-card:hover h3 { color: var(--blue-700); }
.service-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
}
.service-card .learn-more {
  color: var(--blue-700);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
  display: block;
}
.service-card:hover .learn-more { text-decoration: underline; }

/* Services page 2-column */
.services-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .services-grid-2col { grid-template-columns: repeat(2, 1fr); } }
.service-card-lg {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card-lg:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.service-card-lg .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card-lg h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}
.service-card-lg:hover h2 { color: var(--blue-700); }
.service-card-lg p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-card-lg .learn-more {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 4rem 1rem;
  background: var(--blue-700);
  color: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(4, 1fr); } }
.testimonial-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.testimonial-stars { color: var(--yellow-400); font-size: 1.125rem; margin-bottom: 0.75rem; }
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}
.testimonial-name { font-weight: 700; font-size: 0.875rem; }

/* ============================================================
   PHONE CTA BANNER
   ============================================================ */
.phone-cta {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 1rem;
  text-align: center;
}
.phone-cta h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 0.75rem; }
.phone-cta p { color: var(--gray-400); margin-bottom: 1.5rem; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 4rem 1rem;
  background: var(--gray-50);
}
.faq-list { max-width: 48rem; margin: 2rem auto 0; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--blue-50); }
.faq-question.open { color: var(--blue-700); }
.faq-icon { font-size: 1.25rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-800); color: var(--white); text-decoration: none; }
.btn-primary-bright {
  background: var(--blue-600);
  color: var(--white);
}
.btn-primary-bright:hover { background: var(--blue-500); color: var(--white); text-decoration: none; }
.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.2); color: var(--white); text-decoration: none; }
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-lg);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-section {
  padding: 4rem 1rem;
  background: var(--gray-50);
}
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
  text-decoration: none;
}
.blog-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.blog-card-img {
  height: 10rem;
  overflow: hidden;
  background: var(--gray-100);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.cat-springs { background: var(--orange-100); color: var(--orange-800); }
.cat-openers { background: var(--blue-100); color: var(--blue-800); }
.cat-maintenance { background: var(--green-100); color: var(--green-800); }
.cat-installation { background: var(--purple-100); color: var(--purple-800); }
.cat-emergency { background: var(--red-100); color: var(--red-800); }
.cat-default { background: var(--gray-100); color: var(--gray-700); }
.blog-card h3 {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1;
  margin-bottom: 0.75rem;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}
.blog-card-date { color: var(--gray-400); font-size: 0.75rem; }
.blog-read-more { color: var(--blue-700); font-size: 0.75rem; font-weight: 600; }

/* Blog archive */
.blog-archive {
  padding: 3rem 1rem;
  background: var(--white);
}
.blog-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .blog-archive-grid { grid-template-columns: 2fr 1fr; } }
.blog-posts-list .post-item {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.blog-posts-list .post-item:last-child { border-bottom: none; }
.post-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 14rem;
  margin-bottom: 1rem;
}
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.post-date { color: var(--gray-500); font-size: 0.875rem; }
.post-author { color: var(--gray-500); font-size: 0.875rem; }
.post-item h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.post-item h2 a { color: var(--gray-900); text-decoration: none; }
.post-item h2 a:hover { color: var(--blue-700); }
.post-excerpt { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.read-more-link { color: var(--blue-700); font-weight: 600; font-size: 0.9rem; }

/* Blog sidebar */
.blog-sidebar { }
.sidebar-widget {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}
.sidebar-cta {
  background: var(--blue-700);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}
.sidebar-cta h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin-bottom: 1rem; }
.sidebar-cta a {
  display: block;
  background: var(--white);
  color: var(--blue-700);
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
}
.sidebar-cta a:hover { background: var(--blue-50); text-decoration: none; }

/* Single post */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 1rem;
}
@media (min-width: 1024px) { .single-post-layout { grid-template-columns: 2fr 1fr; } }
.post-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--gray-900); }
.post-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: var(--gray-900); }
.post-content p { color: var(--gray-700); line-height: 1.8; margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.post-content li { color: var(--gray-700); line-height: 1.7; margin-bottom: 0.5rem; list-style: disc; }
.post-content strong { font-weight: 700; color: var(--gray-900); }
.post-header { margin-bottom: 2rem; }
.post-header h1 { font-size: 2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; }
.post-hero-img { border-radius: var(--radius-2xl); overflow: hidden; margin-bottom: 2rem; max-height: 24rem; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   MAPS / GOOGLE SECTION
   ============================================================ */
.maps-section { padding: 4rem 1rem; background: var(--white); }
.maps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) { .maps-grid { grid-template-columns: 1fr 1fr; } }
.map-embed {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 20rem;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.reviews-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}
.review-score { font-size: 3rem; font-weight: 800; color: var(--gray-900); }
.review-stars { color: var(--yellow-400); font-size: 1.25rem; }
.review-count { color: var(--gray-500); font-size: 0.875rem; }
.review-quote { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; margin-top: 1rem; font-style: italic; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.beforeafter-section { padding: 4rem 1rem; background: var(--white); }
.beforeafter-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.beforeafter-img img { width: 100%; height: auto; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 1rem;
  text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { font-size: 1.25rem; color: var(--gray-300); max-width: 42rem; margin: 0 auto; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { padding: 4rem 1rem; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-stats-box {
  background: var(--blue-50);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}
.about-stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.about-stat-row:last-child { border-bottom: none; }
.about-stat-num { font-size: 1.875rem; font-weight: 800; color: var(--blue-700); width: 6rem; flex-shrink: 0; }
.about-stat-label { color: var(--gray-700); font-weight: 500; }
.about-values { padding: 4rem 1rem; background: var(--gray-50); }
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--gray-900); }
.value-card p { color: var(--gray-500); font-size: 0.875rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 4rem 1rem; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  background: var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  flex-shrink: 0;
}
.contact-icon svg { width: 1.5rem; height: 1.5rem; color: var(--blue-700); }
.contact-label { font-weight: 600; color: var(--gray-900); margin-bottom: 0.25rem; }
.contact-phone { color: var(--blue-700); font-size: 1.25rem; font-weight: 700; }
.contact-emergency {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-top: 2rem;
}
.contact-emergency h4 { font-weight: 700; color: #1e3a8a; margin-bottom: 0.25rem; }
.contact-emergency p { color: var(--blue-700); font-size: 0.875rem; }

/* Contact Form */
.contact-form { }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0.25rem; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  color: var(--gray-900);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-textarea { resize: vertical; min-height: 8rem; }
.form-submit {
  width: 100%;
  background: var(--blue-700);
  color: var(--white);
  padding: 0.875rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--blue-800); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--gray-500); margin-top: 0.75rem; }
.form-note a { color: var(--blue-600); font-weight: 600; }

/* ============================================================
   SERVICE AREAS PAGE
   ============================================================ */
.service-areas-section { padding: 3rem 1rem; background: var(--gray-50); }
.county-block { margin-bottom: 3.5rem; }
.county-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.county-img { width: 3.5rem; height: 3.5rem; object-fit: contain; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--gray-200); padding: 0.25rem; }
.county-header h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.county-count { font-size: 0.875rem; color: var(--gray-500); }
.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .city-cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .city-cards-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .city-cards-grid { grid-template-columns: repeat(6, 1fr); } }
.city-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.city-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); text-decoration: none; }
.city-card-img {
  height: 5rem;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.city-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.city-card-name {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}
.city-card:hover .city-card-name { color: var(--blue-700); }

/* ============================================================
   CITY / SERVICE SINGLE PAGES
   ============================================================ */
.city-hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a5f 100%);
  color: var(--white);
  padding: 4rem 1rem;
}
.city-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.city-hero p { color: var(--gray-300); font-size: 1.1rem; max-width: 42rem; margin-bottom: 1.5rem; }
.city-content { padding: 3rem 1rem; background: var(--white); }
.city-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .city-content-grid { grid-template-columns: 2fr 1fr; } }
.city-text h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--gray-900); }
.city-text p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.25rem; }
.city-services-list { margin-top: 1.5rem; }
.city-services-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.9rem;
}
.city-services-list li:last-child { border-bottom: none; }
.check-mark { color: var(--blue-700); font-weight: 700; }

/* Service single page */
.service-hero {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 1rem;
}
.service-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.service-hero p { color: var(--gray-300); font-size: 1.1rem; max-width: 42rem; }
.service-content { padding: 3rem 1rem; background: var(--white); }
.service-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--gray-900); }
.service-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.25rem; }

/* ============================================================
   PAGE.PHP DEFAULT
   ============================================================ */
.page-content { padding: 3rem 1rem; }
.page-content-inner { max-width: 48rem; margin: 0 auto; }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.page-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.25rem; }
.wp-content { max-width: 48rem; }
.wp-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--gray-900); }
.wp-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; color: var(--gray-900); }
.wp-content p { color: var(--gray-700); line-height: 1.8; margin-bottom: 1.25rem; }
.wp-content ul, .wp-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.wp-content li { color: var(--gray-700); line-height: 1.7; margin-bottom: 0.5rem; list-style: disc; }
.wp-content strong { font-weight: 700; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}
.error-404 h1 { font-size: 6rem; font-weight: 800; color: var(--blue-700); }
.error-404 h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--gray-900); }
.error-404 p { color: var(--gray-500); margin-bottom: 2rem; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; }
.section-subtitle { color: var(--gray-500); max-width: 42rem; margin-bottom: 2.5rem; }
.section-title-center { text-align: center; }
.section-subtitle-center { text-align: center; margin: 0 auto 2.5rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-blue-700 { color: var(--blue-700); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray-500 { color: var(--gray-500); }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* License notice */
.license-notice {
  padding: 2rem 1rem;
  background: var(--white);
  text-align: center;
}
.license-notice p { color: var(--gray-500); font-size: 0.875rem; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--gray-500);
}
.breadcrumbs a { color: var(--gray-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-700); }
.breadcrumbs span { margin: 0 0.25rem; }

/* Related posts */
.related-posts { margin-top: 2rem; }
.related-posts h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; color: var(--gray-900); }
.related-post-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.related-post-item:last-child { border-bottom: none; }
.related-post-item a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  line-height: 1.4;
}
.related-post-item a:hover { color: var(--blue-700); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.pagination a { background: var(--white); border: 1px solid var(--gray-300); color: var(--gray-700); }
.pagination a:hover { background: var(--blue-50); border-color: var(--blue-300); color: var(--blue-700); text-decoration: none; }
.pagination .current { background: var(--blue-700); color: var(--white); border: 1px solid var(--blue-700); }

/* Schema / SEO helpers */
.visually-hidden { display: none; }
