:root {
  --ink: #1c2630;
  --muted: #5b6b7a;
  --bg: #ffffff;
  --soft: #f4f7f9;
  --line: #e2e9ef;
  --brand: #1f7a4d;        /* trustworthy green */
  --brand-dark: #155c39;
  --accent: #c2462d;       /* alert red for pests/CTA */
  --maxw: 1080px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Photo slot placeholder (swap for real <img> when photos arrive) ---- */
.photo-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, #eef3f6 0 14px, #e7eef2 14px 28px);
  color: #8093a1;
  border: 1px dashed #b9c7d2;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 220px;
  padding: 16px;
}
.photo-slot span { max-width: 80%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .logo-slot {
  width: 46px; height: 46px; min-height: 0; border-radius: 10px;
  font-size: 0.5rem; flex: 0 0 auto;
}
.brand-logo { height: 56px; width: auto; display: block; }
@media (max-width: 520px) { .brand-logo { height: 46px; } }

/* Real images dropped into photo slots — fixed aspect box, always clean crop */
.hero-img, .feat-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); display: block;
}

.footer-logo {
  background: #fff; border-radius: 10px; padding: 10px 14px;
  display: inline-block; margin-top: 14px;
}
.footer-logo img { height: 42px; width: auto; display: block; }
.brand-name { font-weight: 800; font-size: 1.12rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav .nav-links { display: flex; gap: 20px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: var(--brand-dark); }
.site-nav a.btn { color: var(--brand-dark); }
.site-nav a.btn:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--brand-dark); text-decoration: none;
  font-weight: 700; padding: 11px 20px; border-radius: 999px;
  border: 2px solid var(--brand); cursor: pointer; font-size: 0.95rem;
  white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--brand); color: #fff; }
.btn.btn-green, .btn.btn-ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }

/* Inline mask icons — transparent background, inherit current text color */
.ico {
  display: inline-block; width: 1em; height: 1em; flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--ico) no-repeat center / contain;
          mask: var(--ico) no-repeat center / contain;
}
.btn .ico { width: 1.05em; height: 1.05em; }
.ico-phone {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* ---- Hero ---- */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }

/* Full-width banner hero (home) */
.hero-banner {
  position: relative;
  background: #16241c url("../img/rat-banner.png") center / cover no-repeat;
  border-bottom: 0;
}
.hero-banner .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(11, 20, 15, 0.90) 0%,
    rgba(11, 20, 15, 0.74) 44%,
    rgba(11, 20, 15, 0.38) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 74px 22px; }
.hero-banner .eyebrow { color: #9fe3bd; }
.hero-banner h1 { color: #fff; max-width: 640px; }
.hero-banner .sub { color: rgba(255, 255, 255, 0.92); max-width: 560px; }
.hero-banner .trust { color: rgba(255, 255, 255, 0.82); }
.hero-banner .trust strong { color: #fff; }
.hero-banner .btn { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.hero-banner .btn:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 58px 0;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; margin: 8px 0 14px; }
.eyebrow {
  display: inline-block; color: var(--brand-dark); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin: 0;
}
.hero p.sub { font-size: 1.15rem; color: var(--muted); margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .photo-slot { min-height: 320px; height: 100%; }
.trust { margin-top: 22px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }
.trust strong { color: var(--ink); font-size: 1.4rem; display: block; line-height: 1; }

/* ---- Sections ---- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 6px 0 10px; }
.section-head p { color: var(--muted); margin: 0; }

/* Steps / cards */
.grid { display: grid; gap: 22px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px;
  background: var(--brand); color: #fff; font-weight: 800;
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .photo-slot { min-height: 300px; height: 100%; }
.split h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0 0 14px; }
.split ul { margin: 16px 0 0; padding: 0; list-style: none; }
.split li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.split li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}

/* Guarantee banner */
.banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: 16px; padding: 40px; text-align: center;
}
.banner h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.banner p { margin: 0 auto 22px; max-width: 620px; opacity: 0.95; }
.banner .btn { background: transparent; color: #fff; border-color: #fff; }
.banner .btn:hover { background: #fff; color: var(--brand-dark); }

/* Service areas */
.areas { columns: 4; column-gap: 24px; }
.areas li { list-style: none; padding: 5px 0; color: var(--muted); break-inside: avoid; }
.areas { padding: 0; margin: 0; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 20px; margin-bottom: 12px; background: var(--bg);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Contact strip */
.contact-strip {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.contact-strip .phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.8rem; font-weight: 800; color: var(--ink); text-decoration: none;
}
.contact-strip .phone .ico { color: var(--brand); }
.contact-strip .phone:hover { color: var(--brand-dark); }

/* Footer */
.site-footer { background: #16202a; color: #b8c4d0; padding: 40px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 0.95rem; letter-spacing: 0.03em; }
.site-footer a { color: #b8c4d0; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a3742; padding-top: 18px; color: #8295a4; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .areas { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav .nav-links { display: none; }
}
@media (max-width: 520px) {
  .grid.cols-4 { grid-template-columns: 1fr; }
  .areas { columns: 1; }
}
