@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --green-dark: #1a3d1f;
  --green-mid: #2d6a35;
  --green-bright: #3d8b46;
  --green-light: #5aab64;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --white: #f8f9f4;
  --gray-light: #eef2ee;
  --gray-mid: #8a9a8c;
  --dark: #0d1f10;
  --shadow: 0 4px 24px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* ===== HEADER / NAV ===== */
header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.top-bar {
  background: var(--dark);
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.top-bar a { color: var(--gold-light); text-decoration: none; margin: 0 16px; }
.top-bar a:hover { color: white; }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.logo-text {
  color: white;
}

.logo-text .brand { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1.5px; line-height: 1; color: white; display: block; white-space: nowrap; }
.logo-text .tagline { font-size: 10px; color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

nav ul li { display: flex; align-items: center; }

nav ul a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

nav ul a:hover { color: var(--gold-light); background: rgba(255,255,255,0.08); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: 10px 18px !important;
  border-radius: 4px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(61,139,70,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 40%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  color: white;
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 24px;
  position: relative;
}

.hero h1 .highlight { color: var(--gold); }

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }

.btn-secondary {
  background: transparent;
  color: white;
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.1); }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
  position: relative;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gold);
  padding: 18px 0;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.5px;
}

.trust-item svg { flex-shrink: 0; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }

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

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title span { color: var(--green-mid); }

.section-desc {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== EMERGENCY BANNER ===== */
.emergency {
  background: linear-gradient(135deg, #8b1a1a, #c0392b);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergency::before {
  content: '!';
  position: absolute;
  font-size: 400px;
  color: rgba(255,255,255,0.04);
  font-family: 'Bebas Neue', sans-serif;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.emergency h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.emergency p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 28px;
}

.btn-emergency {
  background: white;
  color: #c0392b;
  padding: 18px 44px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-emergency:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #e8ede9;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-mid);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-card.restoration::before { background: #c0392b; }
.service-card.fire::before { background: #e67e22; }
.service-card.mold::before { background: #8e44ad; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--gray-light);
}

.service-icon.water { background: rgba(41,128,185,0.1); }
.service-icon.fire-icon { background: rgba(230,126,34,0.1); }
.service-icon.mold-icon { background: rgba(142,68,173,0.1); }
.service-icon.general { background: rgba(45,106,53,0.1); }

.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card ul li {
  font-size: 13px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li::before {
  content: '✓';
  color: var(--green-bright);
  font-weight: 700;
  font-size: 12px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-mid);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-top: 20px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.service-link:hover { border-color: var(--green-mid); }

/* ===== WHY US ===== */
.why-us {
  background: var(--green-dark);
  color: white;
}

.why-us .section-label { color: var(--gold-light); }
.why-us .section-title { color: white; }
.why-us .section-title span { color: var(--gold); }
.why-us .section-desc { color: rgba(255,255,255,0.65); }

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

.feature {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ===== SERVICE AREAS ===== */
.areas-section { background: var(--gray-light); }

.towns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 40px;
}

.town-link {
  background: white;
  border: 1px solid #dde8de;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  display: block;
}

.town-link:hover {
  background: var(--green-mid);
  color: white;
  border-color: var(--green-mid);
  transform: translateY(-1px);
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
  counter-reset: steps;
}

.step {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e0e8e1;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: white;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--dark);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-text .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-item-text a, .contact-item-text p {
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

.contact-item-text a:hover { color: var(--gold-light); }

.contact-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 36px; }

.contact-form h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: white;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 16px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
  width: 100%;
}

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

.form-group select option { background: var(--dark); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== TOWN PAGE SPECIFIC ===== */
.town-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 60px 0 72px;
  text-align: center;
  color: white;
}

.town-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 16px;
}

.town-hero h1 span { color: var(--gold); }

.town-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }

.town-services-section { padding: 60px 0; }

.keyword-rich {
  background: var(--gray-light);
  padding: 56px 0;
}

.keyword-rich .container > p {
  font-size: 16px;
  color: #4a5e4c;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { position: relative; }
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    padding: 12px 16px 20px;
    gap: 2px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav ul li { width: 100%; }
  nav ul li a { display: block; width: 100%; padding: 11px 14px; border-radius: 6px; }
  .hamburger { display: flex; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .logo-img { height: 48px; }
  .logo-text .tagline { display: none; }
  .logo-text .brand { font-size: 16px; }
  .hero h1 { font-size: 52px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; }
  .hero-stats { gap: 28px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-2 { animation: fadeUp 0.6s ease 0.15s forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.6s ease 0.3s forwards; opacity: 0; }

/* ===== REVIEW STARS ===== */
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: white;
  border-radius: 10px;
  padding: 28px;
  border: 1px solid #e0e8e1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.review-card p { font-size: 14px; color: #4a5e4c; line-height: 1.7; margin: 12px 0; font-style: italic; }
.review-card .reviewer { font-weight: 700; font-size: 13px; color: var(--dark); }
.review-card .location { font-size: 12px; color: var(--gray-mid); }

/* ===== CERTIFICATIONS ===== */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.cert-badge {
  background: white;
  border: 2px solid #dde8de;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== DROPDOWN NAV ===== */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex !important; align-items: center; gap: 5px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 2000;
  overflow: hidden;
  padding: 8px 0 6px;
  margin-top: 0;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 11px 18px !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.dropdown-menu a:hover {
  color: var(--gold-light) !important;
  background: rgba(255,255,255,0.06) !important;
  border-left-color: var(--gold);
  padding-left: 22px !important;
}

.dropdown-menu .menu-icon { font-size: 15px; width: 20px; text-align: center; }
.dropdown-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0; }

/* Mobile dropdown */
@media (max-width: 768px) {
  .dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; background: rgba(255,255,255,0.05); display: none; padding: 0; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}
