/* ============================================
   ALL PRO PLUMBING - Main Stylesheet
   Color Theme: Red (#CC0000), Dark Navy (#0A0F1E), White (#FFFFFF)
   ============================================ */

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

:root {
  --red: #CC0000;
  --red-dark: #990000;
  --red-light: #E8000A;
  --navy: #0A0F1E;
  --navy-light: #131929;
  --blue-accent: #1a3a6e;
  --gray: #F4F6F8;
  --gray-dark: #6B7280;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 48px rgba(0,0,0,0.18);
  --transition: 0.3s ease;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-condensed: 'Roboto Condensed', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  font-family: var(--font-condensed);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--white); transition: color var(--transition); }
.top-bar a:hover { color: var(--red-light); }
.top-bar-left, .top-bar-right { display: flex; gap: 20px; align-items: center; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item i { color: var(--red-light); font-size: 0.9rem; }
.top-bar .emergency-badge {
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(204,0,0,0); }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo img { height: 70px; width: auto; }
.logo-text { display: none; }

/* NAV */
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
  transition: color var(--transition);
  text-transform: uppercase;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--red); }
.main-nav > ul > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  width: 280px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  /* Never allow columns - always vertical list */
  column-count: unset !important;
  columns: unset !important;
}
/* Services dropdown: 2-column grid */
.dropdown-menu.services-menu {
  width: 480px;
  display: none;
  grid-template-columns: 1fr 1fr;
}
.dropdown:hover .dropdown-menu.services-menu { display: grid; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.88rem;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  font-family: var(--font-condensed);
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.dropdown-menu a i { color: var(--red); font-size: 0.8rem; flex-shrink: 0; }
.dropdown-menu a:hover { background: var(--gray); color: var(--red); padding-left: 24px; }
.dropdown:hover .dropdown-menu { display: block; }

/* Counties dropdown: 2-col, wider */
.dropdown-menu.counties-menu {
  width: 380px;
  display: none;
  grid-template-columns: 1fr 1fr;
  columns: unset !important;
}
.dropdown:hover .dropdown-menu.counties-menu { display: grid; }

/* CTA Button */
.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.phone-cta {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-cta i { font-size: 1.1rem; }
.btn-estimate {
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-estimate:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, #1a2545 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,0.015) 30px,
    rgba(255,255,255,0.015) 60px
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,0,0,0.2);
  border: 1px solid rgba(204,0,0,0.5);
  color: #FF6666;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-condensed);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--red-light);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero h1 span { color: var(--red-light); }
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  border: 2px solid var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,0,0,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-light);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-condensed);
}

/* Hero right side - floating card */
.hero-right {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.emergency-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.emergency-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
}
.emergency-card .big-phone {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-form input, .hero-form select, .hero-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color var(--transition);
}
.hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.hero-form textarea { height: 80px; resize: none; }
.hero-form .btn-primary { width: 100%; justify-content: center; padding: 12px; }

.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--red);
  padding: 16px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.trust-item i { font-size: 1.3rem; opacity: 0.9; }

/* ============================================
   SECTION STYLES
   ============================================ */
section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  background: rgba(204,0,0,0.08);
  color: var(--red);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-family: var(--font-condensed);
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header h2 span { color: var(--red); }
.section-header p {
  color: var(--gray-dark);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 14px auto;
  border-radius: 2px;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  background: rgba(204,0,0,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 1.6rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--red); color: var(--white); }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-card p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-link {
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-condensed);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us { background: var(--gray); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 14px;
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.why-card p { color: var(--gray-dark); font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   EMERGENCY SECTION
   ============================================ */
.emergency-section {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.emergency-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(204,0,0,0.15) 0%, transparent 70%);
}
.emergency-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.emergency-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.emergency-text h2 span { color: var(--red-light); }
.emergency-text p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 500px; }
.emergency-cta { text-align: center; }
.emergency-phone {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.emergency-phone i { color: var(--red-light); }

/* ============================================
   COUNTIES / AREAS
   ============================================ */
.counties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.county-card {
  background: var(--navy);
  color: var(--white);
  padding: 20px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.county-card:hover { background: var(--red); transform: translateY(-3px); }
.county-card i { font-size: 1.3rem; color: var(--red-light); flex-shrink: 0; }
.county-card:hover i { color: var(--white); }
.county-name { font-family: var(--font-condensed); font-weight: 700; font-size: 1rem; }
.county-cities { font-size: 0.78rem; opacity: 0.75; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--gray); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(204,0,0,0.1);
  line-height: 1;
}
.stars { color: #F59E0B; margin-bottom: 12px; font-size: 0.95rem; }
.testimonial-text {
  color: var(--gray-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  font-family: var(--font-condensed);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial-location { color: var(--gray-dark); font-size: 0.8rem; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-info p { color: var(--gray-dark); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(204,0,0,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-weight: 700; color: var(--navy); margin-bottom: 2px; font-family: var(--font-condensed); }
.contact-detail-text a { color: var(--gray-dark); font-size: 0.92rem; transition: color var(--transition); }
.contact-detail-text a:hover { color: var(--red); }

/* Contact Form */
.contact-form-wrap {
  background: var(--gray);
  padding: 36px;
  border-radius: 10px;
}
.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: var(--font-condensed);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success {
  display: none;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  padding: 16px;
  border-radius: 6px;
  margin-top: 14px;
  font-weight: 600;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--navy); color: var(--white); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 65px; width: auto; margin-bottom: 16px; background: var(--white); padding: 8px 14px; border-radius: 6px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: background var(--transition);
}
.social-btn:hover { background: var(--red); }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  color: var(--white);
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(204,0,0,0.5);
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--red-light); }

/* ============================================
   POPUP MODAL
   ============================================ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-box {
  background: var(--white);
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: popupIn 0.35s ease;
}
@keyframes popupIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.popup-header {
  background: var(--red);
  color: var(--white);
  padding: 20px 28px;
  position: relative;
}
.popup-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.popup-header p { font-size: 0.88rem; opacity: 0.9; margin-top: 4px; }
.popup-close {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.popup-close:hover { background: rgba(255,255,255,0.35); }
.popup-body { padding: 24px 28px; }
.popup-body .form-group { margin-bottom: 12px; }
.popup-body .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--gray);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}
.breadcrumb li { font-size: 0.85rem; color: var(--gray-dark); }
.breadcrumb li a { color: var(--red); }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '›'; color: var(--gray-dark); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-accent) 100%);
  padding: 60px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.02) 20px,
    rgba(255,255,255,0.02) 40px
  );
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--red-light); }
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ============================================
   CITY PAGE STYLES
   ============================================ */
.city-content { padding: 60px 0; }
.city-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}
.city-main h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  text-transform: uppercase;
  margin: 30px 0 12px;
}
.city-main h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 22px 0 8px;
}
.city-main p { color: var(--gray-dark); line-height: 1.75; margin-bottom: 14px; }
.city-main ul {
  list-style: none;
  margin-bottom: 16px;
}
.city-main ul li {
  padding: 6px 0;
  color: var(--gray-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.city-main ul li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.city-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--gray);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.sidebar-phone {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--red);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.sidebar-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition);
}
.sidebar-services a:hover { color: var(--red); }

/* ============================================
   BLOG STYLES
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--blue-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}
.blog-card-body { padding: 22px; }
.blog-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--gray-dark);
  font-family: var(--font-condensed);
}
.blog-meta .tag {
  background: rgba(204,0,0,0.08);
  color: var(--red);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
}
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
  text-transform: uppercase;
}
.blog-card p { color: var(--gray-dark); font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.blog-card .read-more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.blog-post { padding: 60px 0; }
.blog-post-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
.blog-post-content h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--navy); margin: 28px 0 12px; text-transform: uppercase; }
.blog-post-content h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy); margin: 20px 0 8px; }
.blog-post-content p { color: var(--gray-dark); line-height: 1.8; margin-bottom: 16px; }
.blog-post-content ul { margin: 12px 0 20px 0; }
.blog-post-content ul li { list-style: disc; margin-left: 24px; color: var(--gray-dark); padding: 4px 0; line-height: 1.6; }
.blog-post-content strong { color: var(--navy); }

/* ============================================
   FLOATING CALL BUTTON
   ============================================ */
.float-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--red);
  color: var(--white);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(204,0,0,0.5);
  z-index: 999;
  transition: all var(--transition);
  animation: float-pulse 2.5s infinite;
}
.float-call:hover { background: var(--red-dark); transform: scale(1.1); }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(204,0,0,0.5); }
  50% { box-shadow: 0 6px 30px rgba(204,0,0,0.8); }
}

/* ============================================
   SERVICE PAGE
   ============================================ */
.service-page { padding: 60px 0; }
.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
.service-content h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--navy); text-transform: uppercase; margin: 28px 0 12px; }
.service-content h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--navy); margin: 20px 0 8px; }
.service-content p { color: var(--gray-dark); line-height: 1.75; margin-bottom: 14px; }
.service-content ul { margin-bottom: 18px; }
.service-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--gray-dark);
}
.service-content ul li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

.faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.faq-question i { color: var(--red); transition: transform var(--transition); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 500px; padding: 16px 20px; }
.faq-answer p { color: var(--gray-dark); font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  .emergency-card { display: none; }
  .city-layout, .service-layout, .blog-post-layout { grid-template-columns: 1fr; }
  .city-sidebar, .service-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    z-index: 998;
  }
  .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(--border); }
  .dropdown-menu { position: static !important; box-shadow: none; border: none; background: var(--gray); margin-top: 4px; border-radius: 4px; width: 100% !important; display: none !important; grid-template-columns: 1fr !important; }
  .dropdown-menu.services-menu, .dropdown-menu.counties-menu { width: 100% !important; }
  .dropdown.mobile-open .dropdown-menu { display: block !important; grid-template-columns: 1fr !important; }
  .dropdown-menu a { padding: 9px 16px; white-space: normal; }
  .header-cta .btn-estimate { display: none; }
  .phone-cta { font-size: 1.1rem; }
  .hero-layout { padding: 50px 0; }
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-left { display: none; }
  .emergency-inner { grid-template-columns: 1fr; text-align: center; }
  .emergency-phone { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  section { padding: 50px 0; }
  .trust-bar-inner { gap: 12px; }
  .trust-item { font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .counties-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .popup-box { border-radius: 8px; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: var(--white); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Schema / Structured Data Visual Badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.2);
  color: var(--red);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-condensed);
  text-transform: uppercase;
}

/* Internal links styling */
.related-links { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-links h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--navy); text-transform: uppercase; margin-bottom: 12px; }
.related-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.related-link {
  background: var(--gray);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  font-family: var(--font-condensed);
}
.related-link:hover { background: var(--red); color: var(--white); }
.related-link i { color: var(--red); font-size: 0.8rem; }
.related-link:hover i { color: var(--white); }
