/*
Theme Name: Gary Interior Painting Contractor
Theme URI: https://garyinteriorpaintingcontractor.com
Author: GCMM Group
Author URI: https://gcmmgroup.com
Description: Professional interior painting contractor theme for Westchester County, NY. Features town landing pages, service showcases, Sherwin-Williams partnership branding, FAQ schema markup, and conversion-optimized lead capture forms.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gary-painting
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
  --gp-primary: #1e40af;
  --gp-primary-dark: #1e3a8a;
  --gp-primary-light: #3b82f6;
  --gp-accent: #f59e0b;
  --gp-accent-dark: #d97706;
  --gp-accent-light: #fbbf24;
  --gp-dark: #0f172a;
  --gp-charcoal: #1e293b;
  --gp-gray-900: #111827;
  --gp-gray-800: #1f2937;
  --gp-gray-700: #374151;
  --gp-gray-600: #4b5563;
  --gp-gray-500: #6b7280;
  --gp-gray-400: #9ca3af;
  --gp-gray-300: #d1d5db;
  --gp-gray-200: #e5e7eb;
  --gp-gray-100: #f3f4f6;
  --gp-gray-50: #f9fafb;
  --gp-white: #ffffff;
  --gp-success: #10b981;
  --gp-sw-red: #e31837;
  --gp-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gp-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gp-radius: 12px;
  --gp-radius-lg: 20px;
  --gp-radius-full: 100px;
  --gp-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --gp-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --gp-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --gp-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --gp-max-width: 1200px;
  --gp-transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--gp-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gp-gray-700);
  background: var(--gp-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--gp-transition); }
ul, ol { list-style: none; }

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

.container {
  max-width: var(--gp-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gp-gray-200);
  transition: all var(--gp-transition);
}
.site-header.scrolled {
  box-shadow: var(--gp-shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--gp-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo-text {
  font-family: var(--gp-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--gp-primary);
  letter-spacing: -0.02em;
}
.site-logo-text span {
  color: var(--gp-accent);
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gp-gray-600);
  border-radius: var(--gp-radius);
  transition: all var(--gp-transition);
}
.main-nav a:hover {
  color: var(--gp-primary);
  background: var(--gp-gray-50);
}
.main-nav .menu-item-has-children {
  position: relative;
}
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  box-shadow: var(--gp-shadow-lg);
  border: 1px solid var(--gp-gray-200);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--gp-transition);
  z-index: 100;
}
.main-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu a {
  padding: 10px 16px;
  font-size: 13px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  font-family: var(--gp-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--gp-primary);
}
.header-phone:hover { color: var(--gp-primary-dark); }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gp-dark);
  position: absolute;
  left: 0;
  transition: all var(--gp-transition);
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }
.mobile-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--gp-font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--gp-radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--gp-transition);
  line-height: 1.4;
}
.btn-primary {
  background: var(--gp-primary);
  color: var(--gp-white);
}
.btn-primary:hover {
  background: var(--gp-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,64,175,0.3);
}
.btn-accent {
  background: var(--gp-accent);
  color: var(--gp-dark);
}
.btn-accent:hover {
  background: var(--gp-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gp-primary);
  border: 2px solid var(--gp-primary);
}
.btn-outline:hover {
  background: var(--gp-primary);
  color: var(--gp-white);
}
.btn-white {
  background: var(--gp-white);
  color: var(--gp-primary);
}
.btn-white:hover {
  background: var(--gp-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-lg);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--gp-dark) 0%, var(--gp-charcoal) 50%, var(--gp-primary-dark) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1" x="0" y="0" width="100" height="100"/></svg>');
  background-size: 100px 100px;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--gp-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-content { color: var(--gp-white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--gp-radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gp-accent-light);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  background: var(--gp-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--gp-white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 .text-accent { color: var(--gp-accent); }
.hero h1 .text-blue { color: var(--gp-primary-light); }
.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-trust-item .icon {
  font-size: 18px;
}

/* Hero Form */
.hero-form-wrapper {
  background: var(--gp-white);
  border-radius: var(--gp-radius-lg);
  padding: 36px;
  box-shadow: var(--gp-shadow-xl);
}
.hero-form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gp-dark);
  margin-bottom: 4px;
}
.hero-form-sub {
  font-size: 14px;
  color: var(--gp-gray-500);
  margin-bottom: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group { margin-bottom: 0; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gp-gray-700);
  margin-bottom: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--gp-font-body);
  font-size: 14px;
  border: 1px solid var(--gp-gray-300);
  border-radius: var(--gp-radius);
  background: var(--gp-gray-50);
  transition: all var(--gp-transition);
  color: var(--gp-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
  background: var(--gp-white);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
  margin-top: 16px;
  grid-column: 1 / -1;
}
.form-submit .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--gp-white);
  border-bottom: 1px solid var(--gp-gray-200);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--gp-max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--gp-font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--gp-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gp-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================
   SECTION DEFAULTS
   ========================================= */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--gp-gray-50);
}
.section-dark {
  background: var(--gp-dark);
  color: var(--gp-white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--gp-white);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gp-primary);
  margin-bottom: 12px;
  padding: 4px 16px;
  background: rgba(30,64,175,0.06);
  border-radius: var(--gp-radius-full);
}
.section-dark .section-label {
  background: rgba(59,130,246,0.15);
  color: var(--gp-primary-light);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gp-gray-500);
  line-height: 1.7;
}
.section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 40px 32px;
  transition: all var(--gp-transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gp-primary);
  transform: scaleX(0);
  transition: transform var(--gp-transition);
}
.service-card:hover {
  border-color: var(--gp-primary);
  box-shadow: var(--gp-shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,64,175,0.06);
  border-radius: var(--gp-radius);
  font-size: 28px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--gp-gray-500);
  line-height: 1.7;
}

/* =========================================
   SHERWIN-WILLIAMS PRODUCTS
   ========================================= */
.sw-banner {
  background: linear-gradient(135deg, var(--gp-sw-red) 0%, #c41230 100%);
  color: var(--gp-white);
  padding: 48px;
  border-radius: var(--gp-radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.sw-banner-logo {
  width: 120px; height: 120px;
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sw-banner h3 {
  font-size: 24px;
  color: var(--gp-white);
  margin-bottom: 12px;
}
.sw-banner p { font-size: 15px; opacity: 0.9; margin-bottom: 16px; }
.sw-features { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.sw-features li {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sw-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 12px;
}

.paint-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.paint-card {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 32px;
  transition: all var(--gp-transition);
}
.paint-card:hover {
  box-shadow: var(--gp-shadow);
  border-color: var(--gp-sw-red);
}
.paint-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gp-sw-red);
}
.paint-card p {
  font-size: 14px;
  color: var(--gp-gray-500);
  line-height: 1.7;
}

/* =========================================
   PROCESS STEPS
   ========================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-number {
  width: 64px; height: 64px;
  background: var(--gp-primary);
  color: var(--gp-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gp-font-heading);
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 20px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--gp-gray-500);
  line-height: 1.7;
}

/* =========================================
   GALLERY / PROJECTS
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--gp-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gp-gray-200);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--gp-transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: var(--gp-white);
  font-weight: 600;
  font-size: 14px;
}

/* =========================================
   TOWNS / SERVICE AREAS
   ========================================= */
.towns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.town-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--gp-gray-700);
  transition: all var(--gp-transition);
}
.town-link:hover {
  border-color: var(--gp-primary);
  color: var(--gp-primary);
  background: rgba(30,64,175,0.03);
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-sm);
}
.town-link::before {
  content: '📍';
  font-size: 14px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 36px;
  transition: all var(--gp-transition);
}
.testimonial-card:hover {
  box-shadow: var(--gp-shadow);
}
.testimonial-stars {
  color: var(--gp-accent);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gp-gray-600);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--gp-dark);
}
.testimonial-location {
  font-size: 13px;
  color: var(--gp-gray-400);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--gp-white);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--gp-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gp-dark);
  text-align: left;
  transition: all var(--gp-transition);
}
.faq-question:hover { background: var(--gp-gray-50); }
.faq-question .faq-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gp-gray-100);
  border-radius: 50%;
  font-size: 18px;
  color: var(--gp-primary);
  flex-shrink: 0;
  transition: transform var(--gp-transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 400px;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gp-gray-600);
  line-height: 1.7;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-dark) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.cta-section h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--gp-white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   CROSS-LINK BAR
   ========================================= */
.cross-link-bar {
  background: var(--gp-gray-50);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  max-width: var(--gp-max-width);
}
.cross-link-bar p {
  font-size: 15px;
  color: var(--gp-gray-600);
}
.cross-link-bar strong {
  color: var(--gp-dark);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--gp-dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--gp-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand-name {
  font-family: var(--gp-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--gp-white);
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--gp-accent); }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: color var(--gp-transition);
}
.footer-col a:hover { color: var(--gp-white); }
.footer-bottom {
  max-width: var(--gp-max-width);
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-bottom a {
  color: var(--gp-primary-light);
}
.footer-bottom a:hover { color: var(--gp-white); }

/* =========================================
   TOWN PAGE TEMPLATE
   ========================================= */
.town-hero {
  background: linear-gradient(135deg, var(--gp-dark) 0%, var(--gp-primary-dark) 100%);
  padding: 140px 0 80px;
  text-align: center;
}
.town-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--gp-white);
  margin-bottom: 16px;
}
.town-hero .breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.town-hero .breadcrumb a { color: var(--gp-primary-light); }
.town-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.town-content {
  padding: 80px 0;
}
.town-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  max-width: var(--gp-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.town-main h2 {
  font-size: 28px;
  margin: 40px 0 16px;
}
.town-main h2:first-child { margin-top: 0; }
.town-main p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gp-gray-600);
  margin-bottom: 20px;
}
.town-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
.sidebar-card {
  background: var(--gp-gray-50);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
  background: var(--gp-gray-50);
  padding: 140px 0 80px;
  text-align: center;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  border-radius: var(--gp-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gp-gray-200);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  overflow: hidden;
  transition: all var(--gp-transition);
  background: var(--gp-white);
}
.blog-card:hover {
  box-shadow: var(--gp-shadow-lg);
  transform: translateY(-4px);
}
.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--gp-gray-200);
  overflow: hidden;
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
  font-size: 12px;
  color: var(--gp-gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.blog-card h3 a:hover { color: var(--gp-primary); }
.blog-card p {
  font-size: 14px;
  color: var(--gp-gray-500);
  line-height: 1.7;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-form-wrapper { max-width: 500px; margin: 40px auto 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .town-content-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.active {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gp-white);
    z-index: 999;
    padding: 100px 24px 40px;
  }
  .main-nav.active ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .main-nav.active a {
    font-size: 18px;
    padding: 16px;
  }
  .main-nav.active .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-form-wrapper { padding: 24px; }
  .sw-banner { grid-template-columns: 1fr; text-align: center; }
  .sw-banner-logo { margin: 0 auto; }
  .cross-link-bar { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .towns-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .towns-grid { grid-template-columns: 1fr; }
}

/* =========================================
   ENTRY CONTENT — Styles all page/post body content
   ========================================= */
.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gp-gray-700);
}
.entry-content h2 {
  font-family: var(--gp-font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--gp-dark);
  margin: 56px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--gp-gray-200);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.entry-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.entry-content h3 {
  font-family: var(--gp-font-heading);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--gp-dark);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.entry-content h4 {
  font-family: var(--gp-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--gp-dark);
  margin: 32px 0 8px;
}
.entry-content p {
  margin-bottom: 20px;
  color: var(--gp-gray-600);
}
.entry-content p:last-child {
  margin-bottom: 0;
}
.entry-content a {
  color: var(--gp-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(30,64,175,0.3);
  text-underline-offset: 3px;
  transition: all var(--gp-transition);
}
.entry-content a:hover {
  color: var(--gp-primary-dark);
  text-decoration-color: var(--gp-primary);
}
.entry-content strong {
  font-weight: 700;
  color: var(--gp-dark);
}
.entry-content ul,
.entry-content ol {
  margin: 16px 0 24px;
  padding-left: 0;
  list-style: none;
}
.entry-content ul li,
.entry-content ol li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--gp-gray-100);
  color: var(--gp-gray-600);
}
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--gp-primary);
  border-radius: 50%;
}
.entry-content ol {
  counter-reset: ol-counter;
}
.entry-content ol li {
  counter-increment: ol-counter;
}
.entry-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  background: var(--gp-primary);
  color: var(--gp-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.entry-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--gp-primary);
  background: var(--gp-gray-50);
  border-radius: 0 var(--gp-radius) var(--gp-radius) 0;
  font-style: italic;
  color: var(--gp-gray-600);
}
.entry-content img {
  border-radius: var(--gp-radius);
  margin: 24px 0;
  box-shadow: var(--gp-shadow);
}
.entry-content hr {
  border: none;
  height: 1px;
  background: var(--gp-gray-200);
  margin: 48px 0;
}

/* ── Service page content cards ── */
.entry-content .service-highlight {
  background: var(--gp-gray-50);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 32px;
  margin: 24px 0;
}

/* ── Inline town link pills (from nearby towns sections) ── */
.entry-content a[style*="border-radius:100px"],
.entry-content a[style*="border-radius: 100px"] {
  text-decoration: none !important;
  transition: all var(--gp-transition) !important;
}
.entry-content a[style*="border-radius:100px"]:hover,
.entry-content a[style*="border-radius: 100px"]:hover {
  background: rgba(30,64,175,0.06) !important;
  border-color: var(--gp-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-sm);
}

/* ── Wide content layout for service pages ── */
.page-wide .entry-content {
  max-width: 100%;
}
.page-wide .content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}
.page-wide .content-main {
  min-width: 0;
}
.page-wide .content-sidebar {
  position: sticky;
  top: 96px;
}
@media (max-width: 1024px) {
  .page-wide .content-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Page hero with gradient bg ── */
.page-hero {
  background: linear-gradient(135deg, var(--gp-dark) 0%, var(--gp-charcoal) 50%, var(--gp-primary-dark) 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  color: var(--gp-white);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.page-hero .breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: var(--gp-primary-light);
  text-decoration: none;
}
.page-hero .breadcrumb a:hover {
  color: var(--gp-white);
}
.page-hero .page-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  line-height: 1.7;
}

/* =========================================
   DROPDOWN MENU FIX
   ========================================= */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav .sub-menu,
.main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  box-shadow: var(--gp-shadow-xl);
  border: 1px solid var(--gp-gray-200);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.main-nav > ul > li:hover > .sub-menu,
.main-nav > ul > li:hover > ul,
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:hover > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.main-nav .sub-menu li,
.main-nav ul ul li {
  display: block !important;
  width: 100%;
  float: none !important;
  list-style: none;
}
.main-nav .sub-menu a,
.main-nav ul ul a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gp-gray-600);
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}
.main-nav .sub-menu a:hover,
.main-nav ul ul a:hover {
  color: var(--gp-primary);
  background: var(--gp-gray-50);
}
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--gp-primary) !important;
}

/* =========================================
   PAINT PRODUCT CARDS
   ========================================= */
.paint-card {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-lg);
  padding: 28px;
  transition: all var(--gp-transition);
}
.paint-card:hover {
  box-shadow: var(--gp-shadow);
  border-color: var(--gp-sw-red, #e31837);
}
.paint-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gp-sw-red, #e31837);
  margin-bottom: 8px;
}
.paint-card p {
  font-size: 14px;
  color: var(--gp-gray-500);
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}
/* ── Fix nav dropdown ── */
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block; padding: 8px 16px; font-size: 14px; font-weight: 600;
    color: var(--gp-gray-600,#4b5563); border-radius: 8px; text-decoration: none;
    transition: all 0.3s;
}
.main-nav > ul > li > a:hover { color: var(--gp-primary,#1e40af); background: var(--gp-gray-50,#f9fafb); }

/* Dropdown container */
.main-nav .sub-menu,
.main-nav ul ul {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 220px; background: #fff; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12); border: 1px solid #e5e7eb;
    padding: 8px; opacity: 0; visibility: hidden;
    transition: all 0.25s ease; z-index: 9999;
    display: flex; flex-direction: column; /* FORCE VERTICAL */
    pointer-events: none;
}
.main-nav > ul > li:hover > .sub-menu,
.main-nav > ul > li:hover > ul {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.main-nav .sub-menu li,
.main-nav ul ul li {
    display: block !important; /* Force block, not flex row */
    width: 100%;
    float: none !important;
}
.main-nav .sub-menu a,
.main-nav ul ul a {
    display: block; padding: 10px 16px; font-size: 13px; font-weight: 600;
    color: #4b5563; border-radius: 8px; text-decoration: none;
    white-space: nowrap; transition: all 0.2s;
}
.main-nav .sub-menu a:hover,
.main-nav ul ul a:hover { color: #1e40af; background: #f0f9ff; }

/* Current menu item highlight */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #1e40af !important; }

/* ── Fix sidebar duplicate: only show 8 service links max ── */
.content-sidebar .sidebar-card a:nth-child(n+9) { display: none !important; }

/* ── Enhanced entry-content visual design ── */
.entry-content { font-size: 17px; line-height: 1.8; color: #4b5563; }
.entry-content h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: #0f172a;
    margin: 48px 0 16px; padding-top: 32px;
    border-top: 1px solid #e5e7eb; letter-spacing: -0.02em; line-height: 1.25;
}
.entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.entry-content h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: clamp(18px, 2.5vw, 22px); font-weight: 700; color: #0f172a;
    margin: 36px 0 12px; letter-spacing: -0.01em;
}
.entry-content p { margin-bottom: 20px; color: #4b5563; }
.entry-content a {
    color: #1e40af; font-weight: 600; text-decoration: underline;
    text-decoration-color: rgba(30,64,175,0.3); text-underline-offset: 3px;
}
.entry-content a:hover { color: #1e3a8a; text-decoration-color: #1e40af; }
.entry-content strong { font-weight: 700; color: #0f172a; }
.entry-content ul, .entry-content ol { margin: 16px 0 24px; padding-left: 0; list-style: none; }
.entry-content ul li, .entry-content ol li {
    position: relative; padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f3f4f6; color: #4b5563;
}
.entry-content ul li::before {
    content: ''; position: absolute; left: 0; top: 18px;
    width: 8px; height: 8px; background: #1e40af; border-radius: 50%;
}
.entry-content blockquote {
    margin: 32px 0; padding: 24px 32px;
    border-left: 4px solid #1e40af; background: #f9fafb;
    border-radius: 0 12px 12px 0; font-style: italic; color: #4b5563;
}

/* ── Page hero needs gradient bg ── */
.page-hero, .town-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%) !important;
    padding: 140px 0 60px !important; position: relative; overflow: hidden;
}
.page-hero::before, .town-hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 80%; height: 200%;
    background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
}
.page-hero .container, .town-hero .container { position: relative; z-index: 2; }
.page-hero h1, .town-hero h1 {
    color: #fff !important; font-size: clamp(32px, 5vw, 48px) !important;
    font-weight: 800 !important; letter-spacing: -0.03em;
}
.page-hero .breadcrumb, .town-hero .breadcrumb { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb a, .town-hero .breadcrumb a { color: #3b82f6; }

/* ── Town link pills hover ── */
.entry-content a[style*="border-radius:100px"]:hover,
.entry-content a[style*="border-radius: 100px"]:hover {
    background: rgba(30,64,175,0.06) !important;
    border-color: #1e40af !important;
    transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ── Sidebar cards ── */
.sidebar-card {
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 16px; padding: 28px; margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }

/* ── Content grid 2-column ── */
.content-grid {
    display: grid; grid-template-columns: 1fr 340px;
    gap: 48px; align-items: start;
}
.content-sidebar { position: sticky; top: 88px; }
@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; }
    .content-sidebar { position: static; }
}

/* ── Stats bar fix ── */
.stats-bar { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 40px 0; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center;
}
.stat-number { font-family: 'Plus Jakarta Sans',sans-serif; font-size: 40px; font-weight: 800; color: #1e40af; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── CTA section ── */
.cta-section {
    background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
    padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before { content:''; position:absolute; top:-50%; right:-30%; width:80%; height:200%; background:radial-gradient(ellipse,rgba(255,255,255,0.05),transparent 70%); }
.cta-section h2 { color: #fff !important; font-size: clamp(32px,4.5vw,48px); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 540px; margin: 0 auto 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Button styles ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    font-family: 'Plus Jakarta Sans',sans-serif; font-size: 15px; font-weight: 700;
    border-radius: 100px; border: none; cursor: pointer; transition: all 0.3s;
    text-decoration: none; line-height: 1.4;
}
.btn-primary { background: #1e40af; color: #fff; }
.btn-primary:hover { background: #1e3a8a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(30,64,175,0.3); }
.btn-accent { background: #f59e0b; color: #0f172a; }
.btn-accent:hover { background: #d97706; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,158,11,0.3); }
.btn-white { background: #fff; color: #1e40af; }
.btn-white:hover { background: #f3f4f6; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.btn-outline { background: transparent; color: #1e40af; border: 2px solid #1e40af; }
.btn-outline:hover { background: #1e40af; color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ── Service cards (parent page) ── */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.service-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 32px 28px; transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: #1e40af; transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { border-color: #1e40af; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* ── Town grid ── */
.town-link {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 10px; font-size: 14px; font-weight: 600; color: #374151;
    transition: all 0.3s; text-decoration: none;
}
.town-link:hover { border-color: #1e40af; color: #1e40af; transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.towns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }

/* ── Cross-link bar ── */
.cross-link-bar {
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 28px 36px; display: flex; align-items: center;
    justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto;
}

/* ── Footer ── */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.6); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 12px; text-decoration: none; }
.footer-col a:hover { color: #fff; }

/* ── FAQ ── */
.faq-item { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 18px 20px; background: none; border: none; cursor: pointer;
    font-family: 'Plus Jakarta Sans',sans-serif; font-size: 15px; font-weight: 700;
    color: #0f172a; text-align: left;
}
.faq-question:hover { background: #f9fafb; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 15px; color: #4b5563; line-height: 1.7; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .cross-link-bar { flex-direction: column; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .towns-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero, .town-hero { padding: 100px 0 40px !important; }
}

/* =========================================
   CONTACT / ESTIMATE FORM
   ========================================= */
.gp-contact-form { position: relative; }
.gp-contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gp-contact-form .form-group { margin-bottom: 0; }
.gp-contact-form .form-group.full-width { grid-column: 1 / -1; }
.gp-contact-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gp-gray-700);
  margin-bottom: 6px;
  font-family: var(--gp-font-heading);
}
.gp-contact-form .form-group input,
.gp-contact-form .form-group select,
.gp-contact-form .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--gp-font-body);
  font-size: 15px;
  border: 1px solid var(--gp-gray-300);
  border-radius: var(--gp-radius);
  background: var(--gp-gray-50);
  color: var(--gp-dark);
  transition: all var(--gp-transition);
  -webkit-appearance: none;
}
.gp-contact-form .form-group input:focus,
.gp-contact-form .form-group select:focus,
.gp-contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
  background: var(--gp-white);
}
.gp-contact-form .form-group input::placeholder,
.gp-contact-form .form-group textarea::placeholder {
  color: var(--gp-gray-400);
}
.gp-contact-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.gp-contact-form .form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.gp-contact-form .form-submit {
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* Responsive form */
@media (max-width: 768px) {
  .gp-contact-form .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  #contact-form { display: block !important; }
  #contact-form > div:last-child { margin-top: 40px; }
}
