/* ============================================
   TOWN PLUMBING - Main Stylesheet
   Brand Colors: Blue #1B4FD8 | Red #CC2229
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;600;700&family=Roboto+Condensed:wght@700&display=swap');

:root {
  --blue: #1B4FD8;
  --blue-dark: #1239a0;
  --blue-light: #3b6eff;
  --red: #CC2229;
  --red-dark: #a01a20;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-mid: #e8ecf0;
  --gray-dark: #333333;
  --text: #222222;
  --text-light: #666666;
  --shadow: 0 4px 24px rgba(27,79,216,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red); }

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

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

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 0;
  font-family: 'Open Sans', sans-serif;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #fff; }
.top-bar a:hover { color: #ffd700; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-left span, .top-bar-right span { display: flex; align-items: center; gap: 6px; }

/* ============ HEADER ============ */
.site-header {
  background: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo img { height: 80px; width: auto; max-width: 260px; object-fit: contain; }

/* ============ NAVIGATION ============ */
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block;
  padding: 10px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  color: var(--blue);
  background: rgba(27,79,216,0.08);
}
.main-nav .dropdown { position: relative; }
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--blue);
  z-index: 100;
  padding: 8px 0;
}
.main-nav .dropdown:hover .dropdown-menu { display: block; }
.main-nav .dropdown-menu li a {
  padding: 9px 18px;
  font-size: 0.82rem;
  color: var(--text);
  border-radius: 0;
  letter-spacing: 0;
}
.main-nav .dropdown-menu li a:hover { background: var(--gray-light); color: var(--blue); padding-left: 24px; }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1a4a 0%, #1B4FD8 60%, #1239a0 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,26,74,0.85) 0%, rgba(27,79,216,0.4) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 660px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero h1 span { color: #ffd700; }
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,34,41,0.4); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--blue); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.trust-item svg { color: #ffd700; flex-shrink: 0; }

/* ============ EMERGENCY BAR ============ */
.emergency-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
}
.emergency-bar .container { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.emergency-bar strong { font-family: 'Oswald', sans-serif; font-size: 1.1rem; letter-spacing: 0.5px; }
.emergency-bar a { color: #fff; font-weight: 700; font-size: 1.3rem; font-family: 'Oswald', sans-serif; }
.emergency-bar a:hover { color: #ffd700; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-gray { background: var(--gray-light); }
.section-blue { background: var(--blue); }
.section-dark { background: #0a1a4a; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--blue-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-header p { color: var(--text-light); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============ SERVICE CARDS ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  transition: all 0.3s;
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--red);
}
.service-card:hover::before { background: linear-gradient(90deg, var(--red), var(--red-dark)); }
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #fff;
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.service-card p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 18px; }
.service-card .learn-more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-card .learn-more:hover { gap: 10px; }

/* ============ WHY CHOOSE US ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-feature h4 { font-size: 1rem; color: var(--blue-dark); margin-bottom: 4px; }
.why-feature p { font-size: 0.88rem; color: var(--text-light); }
.why-image { position: relative; }
.why-image img { border-radius: 12px; width: 100%; object-fit: cover; }
.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: #fff;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.why-badge .years { font-size: 2rem; line-height: 1; }
.why-badge .label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============ STATS ============ */
.stats-bar { background: var(--blue); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { color: #fff; }
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
}
.stat-label { font-size: 0.9rem; opacity: 0.85; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.stars { color: #ffc107; font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { color: var(--text); font-size: 0.95rem; font-style: italic; margin-bottom: 20px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Oswald', sans-serif;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.95rem; color: var(--gray-dark); }
.reviewer span { font-size: 0.82rem; color: var(--text-light); }

/* ============ VIDEO SECTION ============ */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.video-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { width: 100%; height: 220px; border: none; display: block; }
.video-label {
  background: var(--blue-dark);
  color: #fff;
  padding: 12px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============ COUNTY CARDS ============ */
.counties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.county-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}
.county-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.county-card .icon { font-size: 2rem; margin-bottom: 10px; }
.county-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 6px; text-transform: uppercase; }
.county-card p { font-size: 0.8rem; color: var(--text-light); }
.county-card a { color: var(--red); font-size: 0.82rem; font-weight: 700; }

/* ============ BLOG CARDS ============ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.blog-card-body { padding: 24px; }
.blog-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.blog-meta .tag {
  background: var(--gray-mid);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.blog-card h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 8px; }
.blog-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.blog-card .read-more { color: var(--red); font-weight: 700; font-size: 0.88rem; }

/* ============ CONTACT FORM ============ */
.contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  border: 2px solid var(--gray-mid);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.97rem;
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
  background: #fafbfc;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27,79,216,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: #155724;
  font-weight: 600;
  margin-top: 20px;
}

/* ============ POPUP FORM ============ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-box {
  background: #fff;
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  animation: popIn 0.4s ease;
  position: relative;
}
@keyframes popIn { from{transform:scale(0.85);opacity:0} to{transform:scale(1);opacity:1} }
.popup-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 28px 32px;
  text-align: center;
}
.popup-header .badge {
  background: var(--red);
  color: #fff;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.popup-header h2 { font-size: 1.6rem; margin-bottom: 6px; }
.popup-header p { opacity: 0.88; font-size: 0.9rem; }
.popup-body { padding: 28px 32px; }
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.popup-close:hover { background: rgba(255,255,255,0.35); }

/* ============ SERVICE PAGE ============ */
.page-hero {
  background: linear-gradient(135deg, #0a1a4a, var(--blue));
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-hero .breadcrumb { margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #ffd700; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: #ffd700; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 14px; }
.page-hero p { opacity: 0.88; max-width: 600px; }

/* ============ CONTENT + SIDEBAR ============ */
.content-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-mid);
  text-transform: uppercase;
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.sidebar-cta h3 { color: #fff; margin-bottom: 8px; font-size: 1.2rem; }
.sidebar-cta p { opacity: 0.85; font-size: 0.9rem; margin-bottom: 18px; }
.sidebar-cta .phone { font-family: 'Oswald', sans-serif; font-size: 1.6rem; color: #ffd700; font-weight: 700; display: block; }
.service-list { list-style: none; }
.service-list li { padding: 8px 0; border-bottom: 1px solid var(--gray-mid); }
.service-list li:last-child { border-bottom: none; }
.service-list li a { color: var(--text); font-size: 0.93rem; display: flex; align-items: center; gap: 8px; }
.service-list li a:hover { color: var(--blue); padding-left: 4px; }
.service-list li a::before { content: '▶'; font-size: 0.6rem; color: var(--red); }

/* ============ CITY PAGE ============ */
.city-hero { background: linear-gradient(135deg, #0a1a4a, #1239a0, #1B4FD8); }

/* ============ BLOG PAGE ============ */
.blog-hero { background: linear-gradient(135deg, #1239a0, #1B4FD8); }
.article-content h2 { font-size: 1.5rem; color: var(--blue-dark); margin: 32px 0 12px; }
.article-content h3 { font-size: 1.2rem; color: var(--gray-dark); margin: 24px 0 10px; }
.article-content p { margin-bottom: 18px; color: var(--text); line-height: 1.8; }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 8px; color: var(--text); }
.article-content .tip-box {
  background: var(--gray-light);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.article-content .tip-box strong { color: var(--blue); }
.article-content .warning-box {
  background: #fff3cd;
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

/* ============ FOOTER ============ */
.site-footer { background: #0a1a4a; color: rgba(255,255,255,0.78); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 75px; width: auto; max-width: 240px; object-fit: contain; background: #fff; border-radius: 8px; padding: 8px 14px; }
.footer-about p { font-size: 0.9rem; margin-bottom: 20px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
  font-weight: 700;
}
.social-links a:hover { background: var(--red); color: #fff; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.12);
}
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: #ffd700; padding-left: 4px; }
.footer-col ul li a::before { content: '›'; font-size: 1.1rem; color: var(--red); }
.footer-contact-info { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-item .ico { color: var(--red); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer-contact-item a:hover { color: #ffd700; }
.footer-contact-item span { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.footer-bottom-links a:hover { color: #ffd700; }

/* ============ STICKY CALL BUTTON (MOBILE) ============ */
.sticky-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  display: none;
}
.sticky-call a {
  background: var(--red);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(204,34,41,0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(204,34,41,0.5)} 50%{box-shadow:0 4px 40px rgba(204,34,41,0.8)} }

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--blue);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 800;
  border: none;
  font-size: 1.2rem;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--red); }

/* ============ UTILS ============ */
.text-center { text-align: center; }
.text-white { color: #fff; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.fw-bold { font-weight: 700; }
.gap-20 { gap: 20px; }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: var(--blue-dark);
  text-transform: uppercase;
  gap: 16px;
}
.faq-question .icon { color: var(--red); font-size: 1.4rem; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 18px; color: var(--text-light); font-size: 0.95rem; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow-lg); border-top: 2px solid var(--gray-mid); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { padding: 12px 8px; border-bottom: 1px solid var(--gray-mid); }
  .main-nav .dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; display: none; }
  .main-nav .dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .hero { min-height: 500px; }
  .why-features { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sticky-call { display: block; }
  .back-top { right: 20px; bottom: 90px; }
  .top-bar .container { flex-direction: column; gap: 4px; text-align: center; }
  .popup-body { padding: 20px; }
  .popup-header { padding: 20px; }
  .contact-form-wrap { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .counties-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
}

/* ============ MISSING CLASSES FIX ============ */

/* Footer brand column */
.footer-brand img { height: 75px; width: auto; max-width: 240px; object-fit: contain; background: #fff; border-radius: 8px; padding: 8px 14px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; }

/* Footer social icons */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; font-weight: 700;
  transition: var(--transition); text-decoration: none;
}
.footer-social a:hover { background: var(--red); color: #fff; }

/* Section badge pill */
.section-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Video grid (3-col) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Why-item (used on locations index) */
.why-item {
  background: #fff; border-radius: 12px;
  padding: 32px 28px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.why-icon { font-size: 2.5rem; margin-bottom: 14px; }
.why-item h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 8px; }
.why-item p { color: var(--text-light); font-size: 0.9rem; }

/* FAQ list (used in some service pages) */
.faq-list { list-style: none; padding: 0; }
.faq-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-mid); font-size: 0.95rem; color: var(--text-light); }

/* Contact layout 2-col */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* About 2-col layout */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Breadcrumb ol/li variant */
.breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb ol li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.breadcrumb ol li:not(:last-child)::after { content: '›'; color: rgba(255,255,255,0.4); }
.breadcrumb ol li:last-child { color: #ffd700; }
.breadcrumb ol li a { color: rgba(255,255,255,0.75); }
.breadcrumb ol li a:hover { color: #ffd700; }

/* ============ ENHANCED MOBILE RESPONSIVE ============ */

/* Tablet */
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Typography */
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero p { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.5rem; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .counties-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .why-features { grid-template-columns: 1fr; }

  /* Inline grid overrides for about/contact pages */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2.2rem; }

  /* Header */
  .site-logo img { height: 58px; max-width: 200px; }
  .header-inner { padding: 10px 16px; }

  /* Top bar: hide address on mobile */
  .top-bar-left span:first-child { display: none; }

  /* Service/sidebar content */
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar-widget { margin-bottom: 16px; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }

  /* Popup */
  .popup-box { margin: 10px; border-radius: 10px; }
  .popup-header h2 { font-size: 1.3rem; }

  /* Page hero padding */
  .page-hero { padding: 48px 0 36px; }

  /* Emergency bar */
  .emergency-bar .container { flex-direction: column; gap: 8px; }

  /* Section padding */
  .section { padding: 50px 0; }

  /* Contact page grid */
  .contact-layout { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .counties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-features { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .header-inner { padding: 8px 14px; }
  .top-bar { font-size: 0.75rem; }
  .top-bar-left { display: none; }
  .section-badge { font-size: 0.72rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-btns .btn { width: 100%; }
  .sticky-call { bottom: 16px; right: 16px; }
  .sticky-call a { width: 54px; height: 54px; font-size: 1.4rem; }
  .site-logo img { height: 48px; max-width: 170px; }
  .footer-brand img, .footer-logo img { height: 60px; max-width: 190px; padding: 6px 10px; }
}
