/* R.M. Pest Control — design tokens & components (Tailwind CDN handles utilities) */
:root {
  --brand-900: #0b3a27;
  --brand-800: #125031;
  --brand-700: #1b6d33;
  --brand-600: #23823f;
  --brand-500: #2f9a46;
  --brand-100: #e5f3e8;
  --brand-50: #f2f9f3;
  --ink: #14231a;
  --line: #dfe9e1;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem;
  border-radius: 6px; font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); }
.btn-light { background: #34a44f; color: #fff; }
.btn-light:hover { background: #2b9044; }
.btn-outline { background: #fff; color: var(--brand-800); border: 1px solid #bcd6c2; }
.btn-outline:hover { border-color: var(--brand-600); }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-600); }
.section-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; color: var(--brand-900); line-height: 1.2; }

/* ---------- Navbar ---------- */
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; font-size: 14px;
  font-weight: 500; color: #24352b; transition: color .2s; }
.nav-link:hover { color: var(--brand-600); }
.nav-link.is-active { color: var(--brand-700); font-weight: 600; }
.nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brand-500); border-radius: 2px; }
.dropdown { position: absolute; top: 100%; left: -12px; min-width: 220px; padding: 8px; margin-top: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 34px rgba(11,58,39,.14);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: #24352b; }
.dropdown a:hover { background: var(--brand-50); color: var(--brand-700); }



/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.card-hover { transition: box-shadow .2s, border-color .2s; }
.card-hover:hover { border-color: #b7d6bd; box-shadow: 0 10px 26px rgba(11,58,39,.09); }
.icon-disc { display: grid; place-items: center; border-radius: 999px; color: var(--brand-700);
  background: radial-gradient(circle at 30% 25%, #f4fbf5, var(--brand-100)); }
.stars { color: #f2a51a; }

/* ---------- Quote band ---------- */
.quote-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, #17673a 0%, #23844a 60%, #2b8f52 100%); }
.quote-band .leaf { position: absolute; bottom: -18px; width: 190px; color: #fff; opacity: .07; pointer-events: none; }
.quote-card-mobile { border-radius: 12px; }

/* ---------- Forms ---------- */
.form-input { width: 100%; height: 44px; padding: 0 12px; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid #cfe0d3; border-radius: 6px; outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; }
textarea.form-input { height: auto; padding: 12px; resize: vertical; min-height: 84px; }
.form-input::placeholder { color: #75867b; }
.form-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(47,154,70,.22); }
.select-wrap, .date-wrap { position: relative; }
.select-arrow, .date-icon { position: absolute; right: 12px; top: 13px; width: 18px; height: 18px; color: #4d6155; pointer-events: none; }
.date-wrap input::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; width: 44px; height: 44px; cursor: pointer; }
.field-error { margin-top: 4px; font-size: 12px; color: #ffd9d9; }
.card .field-error, .light-form .field-error { color: #c02626; }

/* ---------- Footer ---------- */
.site-footer { background: #0d3b29; color: #cfe3d5; }
.site-footer a:hover { color: #fff; }
.foot-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }

/* ---------- Misc ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); border-bottom: 1px solid var(--line); }
.filter-pill { border: 1px solid var(--line); border-radius: 6px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  cursor: pointer; background: #fff; transition: all .2s; white-space: nowrap; }
.filter-pill.active, .filter-pill:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.bta-strip img { aspect-ratio: 4 / 3; object-fit: cover; }
