/* Convenient Termite & Pest Control — main stylesheet (mobile-first) */

:root {
  --green-950: #0d3320;
  --green-900: #123f2a;
  --green-700: #165c38;
  --green-600: #1e7a48;
  --green-100: #e3f0e7;
  --gold: #f5b301;
  --gold-dark: #d99e00;
  --cream: #faf8f3;
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #e5e0d5;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(13, 51, 32, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-700); }
section { scroll-margin-top: 84px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 4rem 0; }
.section-alt { background: var(--cream); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 0.5rem;
}
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 44rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #231a00; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-900); }
.btn-text { background: #fff; color: var(--green-900); box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.btn-text:hover { background: #eef4ef; }

/* ---------- Readiness banner ---------- */
.ready-banner { background: var(--gold); }
.ready-inner {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  padding-top: 1.8rem; padding-bottom: 1.8rem;
}
.ready-icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-900); color: #fff;
  font-size: 1.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ready-text { flex: 1 1 280px; }
.ready-text p { margin: 0; }
.ready-eyebrow {
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.85rem; margin-bottom: 0.25rem;
}
.ready-banner h2 { margin: 0 0 0.4rem; font-size: clamp(1.3rem, 3vw, 1.7rem); color: #231a00; }
.ready-inner .btn { flex-shrink: 0; }
.btn-outline-light { border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }
.btn-outline-dark { border: 2px solid var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline-dark:hover { background: var(--green-100); }
.btn-call { background: var(--gold); color: #231a00; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn-call:hover { background: var(--gold-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green-900);
  border-bottom: 1px solid rgba(0,0,0,0.35);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.brand-logo { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; color: #fff; }
.brand-text strong .amp { color: var(--gold); }
.brand-text small { font-size: 0.78rem; color: #cfe0d4; letter-spacing: 0.04em; }
.main-nav { display: none; gap: 1.4rem; }
.main-nav a { text-decoration: none; color: #fff; font-weight: 600; font-size: 0.98rem; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green-900); border-bottom: 1px solid rgba(0,0,0,0.35);
    flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0; border-top: 1px solid rgba(255,255,255,0.15); }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 480px) {
  .btn-call { font-size: 0; padding: 0.6rem 0.8rem; }
  .btn-call svg { width: 20px; height: 20px; }
  .brand-text strong { font-size: 0.9rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/hero-home.jpg") center 65% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,51,32,0.92) 0%, rgba(13,51,32,0.72) 45%, rgba(13,51,32,0.35) 100%);
}
.hero-content { position: relative; padding: 5rem 0 4rem; max-width: 1120px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 14em; margin-bottom: 0.5em; text-wrap: balance; }
.hero-sub { font-size: 1.15rem; max-width: 36rem; color: #eef4ee; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 2rem; }
.hero-badges {
  list-style: none; margin: 0; padding: 1.1rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 0.95rem; font-weight: 600;
}
.hero-badges .stars { color: var(--gold); letter-spacing: 0.1em; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-950); color: #fff; }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; padding: 1.4rem 0;
}
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.trust-item span { font-size: 0.88rem; color: #cfe0d4; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services ---------- */
.services-grid {
  display: grid; gap: 1.2rem; margin-top: 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13,51,32,0.14); }
.service-photo {
  width: 100%; height: 150px; object-fit: cover;
  border-radius: 8px; display: block; margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.4rem; color: var(--green-900); }
.service-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- New construction ---------- */
.build-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .build-grid { grid-template-columns: 1.1fr 1fr; } }
.build-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.build-photos img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: 100%;
}

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1.1fr; } }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.why-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 1.1rem; }
.why-list li { position: relative; padding-left: 2rem; color: var(--muted); }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l3 3 4.5-6' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.why-list strong { color: var(--ink); }

/* ---------- Reviews carousel ---------- */
.carousel { margin-top: 2.2rem; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide {
  min-width: 100%; margin: 0; padding: 2.4rem 1.5rem; text-align: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
}
.carousel-slide .stars { color: var(--gold-dark); font-size: 1.3rem; letter-spacing: 0.12em; margin-bottom: 0.9rem; }
.carousel-slide blockquote {
  margin: 0 auto 1rem; font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  font-weight: 600; color: var(--green-900); max-width: 44rem; line-height: 1.45;
}
.carousel-slide figcaption { color: var(--muted); font-size: 0.95rem; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 1.6rem; line-height: 1; color: var(--green-700); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--green-100); }
.carousel-dots { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: #d8d2c2; cursor: pointer; padding: 0; }
.carousel-dot.active { background: var(--green-700); }

/* ---------- Commercial ---------- */
.commercial-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

/* ---------- Prevention program band ---------- */
.program-band { background: var(--green-900); color: #fff; }
.program-inner { text-align: center; max-width: 780px; margin: 0 auto; }
.program-band .section-eyebrow { color: var(--gold); }
.program-band h2 { color: #fff; }
.program-band .section-lead { color: #d9e6dd; }
.program-list {
  list-style: none; padding: 0; margin: 1.8rem auto 0; max-width: 640px;
  text-align: left; display: grid; gap: 0.9rem;
}
.program-list li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,179,1,0.35);
  border-radius: var(--radius); padding: 1rem 1.2rem;
}
.program-list strong { color: var(--gold); }
.program-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.8rem; }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.program-note { margin-top: 1rem; color: #bcd2c2; font-size: 0.95rem; }
.commercial-program { margin-top: 1.3rem; font-weight: 600; color: var(--green-900); }
.commercial-program a { color: var(--green-700); }
.commercial-proof {
  margin-top: 1rem; padding: 1rem 1.2rem;
  background: #fff; border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.commercial-proof p { margin: 0; }
.commercial-proof strong { color: var(--green-900); }

/* ---------- Field work gallery ---------- */
.note-card {
  display: grid; gap: 1.5rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); margin: 2rem 0;
}
@media (min-width: 800px) { .note-card { grid-template-columns: 300px 1fr; } }
.note-card img { border-radius: 8px; }
.note-card blockquote { margin: 0; }
.note-card blockquote p { font-size: 1.3rem; font-weight: 700; color: var(--green-900); margin-bottom: 0.5rem; }
.note-card figcaption { font-size: 1rem; color: var(--muted); }
.photo-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-grid figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-grid figcaption { padding: 0.7rem 1rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Service area ---------- */
.service-area { background: var(--green-900); color: #fff; }
.service-area-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 3rem 0;
}
.service-area h2 { color: #fff; }
.service-area p { color: #d7e5dc; max-width: 38rem; margin: 0 0 0.8rem; }
.service-area p:last-child { margin-bottom: 0; }
.service-towns { color: var(--gold); font-weight: 600; }
.service-area .section-eyebrow { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.faq-list { margin-top: 2rem; display: grid; gap: 0.8rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.4rem; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green-600);
  flex-shrink: 0; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-phone {
  display: inline-block; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  color: var(--green-700); text-decoration: none; margin: 0.6rem 0 1.2rem;
}
.contact-phone:hover { color: var(--green-900); }
.contact-address { font-style: normal; color: var(--muted); margin-bottom: 1rem; }
.contact-note { color: var(--muted); font-size: 0.95rem; }
.contact-alt { margin: 0 0 1rem; font-weight: 600; }
.contact-alt a { color: var(--green-700); }
.weekend-note {
  background: #fff8e6; border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 0.9rem 1.1rem;
  font-size: 0.95rem; margin: 0 0 1rem;
}
.weekend-note strong { color: #7a5c00; }

/* ---------- How it works ---------- */
.how-steps {
  list-style: none; padding: 0; margin: 0 0 2.4rem;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-steps li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.how-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: #231a00;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.how-steps strong { color: var(--green-900); }

.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(30,122,72,0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  color: #b3261e; background: #fdecea; border: 1px solid #f5c6c2;
  border-radius: 8px; padding: 0.7rem 1rem; margin-top: 1rem; font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #cfe0d4; }
.footer-grid {
  display: grid; gap: 1.8rem; padding: 3rem 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand .footer-logo { width: 210px; max-width: 100%; margin-bottom: 0.4rem; }
.footer-brand p { font-size: 0.93rem; margin-top: 0.5rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: #cfe0d4; text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.footer-contact address { font-style: normal; font-size: 0.93rem; margin-top: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 1.2rem 0; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #9db8a8; }

/* ---------- Thank-you page ---------- */
.thankyou { text-align: center; padding: 5rem 0; max-width: 36rem; margin: 0 auto; }
.thankyou h1 { color: var(--green-900); }
.thankyou .big-check {
  width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
