/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2A2A2A;
  background: #FAF7F2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  line-height: 1.2;
  color: #1F2A1F;
}
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { line-height: 1.65; }
a { color: #1F3D2C; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4.5rem 0; }
@media (max-width: 640px) {
  section { padding: 3rem 0; }
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: #FAF7F2;
  border-bottom: 1px solid #E8E2D5;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1F3D2C;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.1;
}
.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text small {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  color: #6B6B66;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #C44510;
  text-decoration: none;
}
.nav-phone:hover { text-decoration: none; color: #A03408; }
@media (max-width: 480px) {
  .nav-phone span { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: #1F2A1F;
  color: #FAF7F2;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(31,42,31,0.85) 0%, rgba(31,61,44,0.7) 100%),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #FAF7F2;
  max-width: 800px;
  margin-bottom: 1.25rem;
}
.hero-subhead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 680px;
  margin-bottom: 2rem;
  color: #E8E2D5;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: #C44510;
  color: #FAF7F2;
}
.btn-primary:hover {
  background: #A03408;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: #FAF7F2;
  border: 2px solid #FAF7F2;
}
.btn-secondary:hover {
  background: #FAF7F2;
  color: #1F3D2C;
  text-decoration: none;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.95rem;
  color: #E8E2D5;
  font-weight: 500;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item svg { color: #C44510; flex-shrink: 0; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C44510;
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header p {
  color: #5C5C57;
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D5;
  border-radius: 6px;
  padding: 1.75rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: #1F3D2C;
  box-shadow: 0 4px 16px rgba(31,61,44,0.08);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: #F0EBE0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #1F3D2C;
}
.service-card h3 {
  margin-bottom: 0.5rem;
  color: #1F2A1F;
}
.service-card p {
  color: #5C5C57;
  font-size: 0.97rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.service-link {
  font-weight: 600;
  color: #1F3D2C;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-link:hover { color: #C44510; text-decoration: none; }

/* ============================================
   FIRE MITIGATION SPOTLIGHT
   ============================================ */
.fire-spotlight {
  background: #1F2A1F;
  color: #FAF7F2;
  position: relative;
  overflow: hidden;
}
.fire-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(31,42,31,0.95) 0%, rgba(31,42,31,0.7) 60%, rgba(31,42,31,0.4) 100%),
    url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}
.fire-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.fire-spotlight .section-eyebrow { color: #E89570; }
.fire-spotlight h2 { color: #FAF7F2; }
.fire-spotlight p {
  color: #E8E2D5;
  font-size: 1.1rem;
  margin: 1.25rem 0;
}
.fire-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}
.fire-link {
  color: #E89570;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fire-link:hover { color: #FAF7F2; }

/* ============================================
   SERVICE AREA
   ============================================ */
.area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .area-content { grid-template-columns: 1fr; gap: 2rem; }
}
.area-text h2 { margin-bottom: 1rem; }
.area-text p { color: #5C5C57; margin-bottom: 1.5rem; }
.locations-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}
.locations-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #E8E2D5;
  border-radius: 4px;
  color: #1F2A1F;
  font-weight: 500;
  transition: all 0.15s ease;
}
.locations-list a:hover {
  border-color: #1F3D2C;
  background: #F0EBE0;
  text-decoration: none;
}
.area-map {
  background: #FFFFFF;
  border: 1px solid #E8E2D5;
  border-radius: 6px;
  padding: 2rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-svg { width: 100%; height: 100%; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-bg { background: #F0EBE0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  text-align: center;
  padding: 0 1rem;
}
.step-number {
  width: 56px;
  height: 56px;
  background: #1F3D2C;
  color: #FAF7F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: #5C5C57; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #E8E2D5;
}
.faq-item:first-child { border-top: 1px solid #E8E2D5; }
.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #1F2A1F;
  font-family: 'Roboto Slab', serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #1F3D2C;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 1.25rem;
  color: #5C5C57;
  line-height: 1.7;
}

/* ============================================
   LEAD FORM
   ============================================ */
.form-section { background: #1F3D2C; color: #FAF7F2; }
.form-section .section-header h2 { color: #FAF7F2; }
.form-section .section-header p { color: #C5D0BD; }
.form-section .section-eyebrow { color: #E89570; }
.lead-form {
  max-width: 640px;
  margin: 0 auto;
  background: #FAF7F2;
  padding: 2.5rem;
  border-radius: 8px;
  color: #2A2A2A;
}
@media (max-width: 480px) {
  .lead-form { padding: 1.75rem 1.25rem; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #1F2A1F;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #C5BFB1;
  border-radius: 4px;
  background: #FFFFFF;
  color: #2A2A2A;
  transition: border-color 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1F3D2C;
  box-shadow: 0 0 0 3px rgba(31,61,44,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1.25rem 0;
  font-size: 0.85rem;
  color: #5C5C57;
  line-height: 1.5;
}
.form-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.form-consent a { color: #1F3D2C; text-decoration: underline; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: #C44510;
  color: #FAF7F2;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.form-submit:hover { background: #A03408; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #15201A;
  color: #C5D0BD;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo { color: #FAF7F2; }
.footer-brand p {
  color: #8FA092;
  margin-top: 0.75rem;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FAF7F2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  color: #C5D0BD;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #FAF7F2; text-decoration: none; }
.footer-disclaimer {
  border-top: 1px solid #2A3D2F;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #8FA092;
  line-height: 1.6;
}
.footer-disclaimer p { margin-bottom: 0.5rem; }

/* ============================================
   UTILITY
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 3rem 1.5rem;
}
.page-404 h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.page-404 p {
  color: #5C5C57;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* ============================================
   PLACEHOLDER PAGES
   ============================================ */
.page-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 3rem 1.5rem;
}
.page-placeholder h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.page-placeholder p {
  color: #5C5C57;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
