/* Pest Control El Paso Pro — main stylesheet */

:root {
  --forest: #16362a;
  --forest-dark: #0c2119;
  --forest-light: #1f4a38;
  --offwhite: #faf6ec;
  --white: #ffffff;
  --gold: #b8892f;
  --gold-light: #d9ab52;
  --text: #23302a;
  --text-muted: #5a6a61;
  --border: #e4ddcb;
  --radius: 10px;
  --max-width: 1140px;
  --shadow: 0 2px 10px rgba(12, 33, 25, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--forest-dark); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; }

main { max-width: var(--max-width); margin: 0 auto; padding: 0 20px 60px; }
main > h1 { padding-top: 28px; }

/* Header */
.site-header {
  background: var(--forest);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--white);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; opacity: 0.9; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

.primary-nav { display: none; width: 100%; }
.primary-nav.open { display: block; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 14px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.primary-nav li { position: relative; }
.primary-nav > ul > li > a {
  display: block;
  color: var(--white);
  padding: 10px 4px;
  font-size: 0.98rem;
}
.primary-nav a:hover { text-decoration: none; color: var(--gold-light); }
.dropdown {
  display: none;
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--forest-light);
}
.dropdown.open, .has-dropdown:hover .dropdown { display: block; }
.dropdown li a { padding: 6px 4px; font-size: 0.9rem; color: #e6ead9; }
.nav-call { display: inline-block; margin-top: 8px; text-align: center; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .primary-nav { display: flex !important; align-items: center; gap: 24px; width: auto; }
  .primary-nav ul { flex-direction: row; align-items: center; padding: 0; gap: 20px; }
  .primary-nav > ul > li > a { padding: 6px 2px; }
  .has-dropdown { position: relative; }
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--forest);
    min-width: 240px;
    padding: 10px 0;
    border-left: none;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
    display: none;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
  .dropdown li a { padding: 8px 18px; display: block; }
  .nav-call { margin-top: 0; }
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-call { background: var(--gold); color: var(--forest-dark); }
.btn-call:hover { background: var(--gold-light); }
.btn-large { padding: 15px 30px; font-size: 1.05rem; }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
main .btn-secondary { color: var(--forest); border-color: var(--forest); }
main .btn-secondary:hover { background: rgba(22,54,42,0.06); }

/* Breadcrumbs */
.breadcrumbs { padding-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--white);
  margin: 0 -20px 40px;
  padding: 48px 20px;
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--gold-light); margin-bottom: 8px; font-weight: 700; }
.hero-sub { color: var(--white); font-size: clamp(1.3rem, 3vw, 1.7rem); }
.hero-copy { color: #dfe6dd; max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }

/* Sections */
.section { padding: 34px 0; }
.section.alt {
  background: var(--white);
  margin: 0 -20px;
  padding: 34px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lede { font-size: 1.08rem; color: var(--text); }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.service-card, .area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: block;
  color: var(--text);
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-card:hover, .area-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--gold);
}
.service-card h3, .area-card h3 { margin-bottom: 4px; color: var(--forest); }
.service-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.area-card { font-weight: 700; color: var(--forest); text-align: center; }

/* Lists */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 10px 14px;
  border-radius: 6px;
}
.process-list { padding-left: 22px; display: grid; gap: 14px; }

/* FAQ */
.faq { padding: 34px 0; }
.faq-list { display: grid; gap: 14px; margin-top: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq-item h3 { color: var(--forest); font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--text); }

/* Related links */
.related-links { padding: 20px 0; }
.related-links ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.related-links a { font-weight: 600; }

/* CTA block */
.cta-block {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  margin: 30px 0;
}
.cta-block p { color: var(--white); font-size: 1.1rem; margin-bottom: 16px; }

/* Contact card */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 18px 0;
  display: inline-block;
}
.contact-card p { margin: 0 0 6px; }

/* 404 */
.notfound { text-align: center; padding: 60px 0; }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: #cdd7cd;
  margin-top: 40px;
  padding: 40px 20px 90px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand { color: var(--white); font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.footer-note { font-size: 0.82rem; color: #9fae9c; margin-top: 10px; }
.footer-heading { color: var(--gold-light); font-weight: 700; margin: 10px 0 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { color: #cdd7cd; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--forest-light);
  font-size: 0.8rem;
  color: #8ea08b;
}

/* Sticky mobile call bar */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  z-index: 60;
  text-align: center;
}
.sticky-call a {
  display: block;
  padding: 14px;
  color: var(--forest-dark);
  font-weight: 700;
  font-size: 1rem;
}
.sticky-call a:hover { text-decoration: none; background: var(--gold-light); }
@media (min-width: 900px) {
  .sticky-call { display: none; }
  .site-footer { padding-bottom: 40px; }
}
