/* ============================================================
   T.A.C. Wildlife Solutions
   Colors and type come straight from the crest: black plates, lime ring,
   forest-green lettering, silver type, mountains and pines.
   Dark is used for the frame (header, hero, CTA, footer); reading content
   stays on white so 4,000-word guides are easy on the eyes.
   Lime is never used as text on white -- it fails contrast. On white, links
   and accents use forest green; lime is for buttons and dark backgrounds.
   ============================================================ */

:root {
  --black:      #0d0e0d;
  --charcoal:   #1a1c1a;
  --steel:      #2a2d2a;
  --lime:       #8fc350;
  --lime-dk:    #7aae3d;
  --green:      #5a8a32;
  --forest:     #2f5d27;
  --forest-dk:  #1f3d1a;
  --silver:     #d7d9db;
  --bg:         #ffffff;
  --bg-alt:     #f3f5f0;
  --ink:        #161816;
  --muted:      #555b55;
  --line:       #e1e5dd;
  --radius:     10px;
  --narrow:     780px;
  --display:    "Russo One", "Arial Black", Impact, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.7 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--green); }

h1, h2, .display { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1, h2, h3, .h3 { line-height: 1.18; margin: 0 0 .55em; color: var(--black); }
h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 1.6em; }
h3, .h3 { font-size: 1.12rem; font-weight: 750; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: var(--narrow); }
.muted { color: var(--muted); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--lime); color: var(--black); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
  font-weight: 800; color: var(--forest); margin: 0 0 .7em;
}

/* ---- HEADER ---- */
.site-head { background: var(--black); border-bottom: 3px solid var(--lime); position: sticky; top: 0; z-index: 50; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; min-height: 76px; flex-wrap: wrap; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: 64px; }
.brand-text strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.1; color: #fff; letter-spacing: .02em; }
.brand-text strong span { color: var(--lime); }
.brand-text em { display: block; font-style: normal; font-size: .74rem; color: #a9ada9; margin-top: 2px; }
.head-nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.head-nav a { color: var(--silver); text-decoration: none; font-size: .95rem; font-weight: 650; }
.head-nav a:hover, .head-nav a[aria-current] { color: var(--lime); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; border: 2px solid transparent; border-radius: 8px; cursor: pointer;
  text-align: center; font: inherit; font-weight: 800; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-call { background: var(--lime); color: var(--black) !important; padding: 8px 16px; white-space: nowrap; }
.btn-call:hover { background: #a3d264; }
.btn-lg { padding: 13px 24px; font-size: 1.02rem; }
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: #a3d264; color: var(--black); }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.dark .btn-ghost, .cta .btn-ghost { border-color: var(--silver); color: #fff; }
.dark .btn-ghost:hover, .cta .btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }

/* ---- MOUNTAIN RIDGE ---- */
.ridge { display: block; width: 100%; height: 56px; }
.ridge-far { fill: var(--forest-dk); }
.ridge-near { fill: var(--forest); }
.ridge-flip { transform: scaleY(-1); }

/* ---- BREADCRUMBS ---- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #b9c0b5; }
.crumbs a { color: var(--muted); }

/* ---- HERO (home) ---- */
.hero { background: radial-gradient(ellipse at 15% 0%, rgba(90, 138, 50, .22) 0%, rgba(90, 138, 50, 0) 55%), linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%); color: var(--silver); }
.hero .quick-form { border: 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: clamp(36px, 7vw, 80px) 20px clamp(28px, 4vw, 48px); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.hero-brand img { width: 176px; height: 176px; flex: none; }
@media (max-width: 560px) { .hero-brand { flex-direction: column; align-items: flex-start; } .hero-brand img { width: 150px; height: 150px; } }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--lime); margin: 0; }
.hero .answer { color: #e6e9e6; }
.hero a:not(.btn) { color: var(--lime); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: .92rem; color: #b5bab5; }
.hero + .ridge-wrap, .ridge-wrap { background: var(--black); line-height: 0; }
.ridge-wrap.on-white { background: var(--bg); }
.ridge-wrap.on-alt { background: var(--bg-alt); }

/* ---- PAGE HEAD (inner pages) ---- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 8px; }

/* The direct answer up top: the sentence a search engine or AI should quote. */
.answer { font-size: 1.16rem; line-height: 1.65; color: var(--ink); }

.byline { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 22px; }
.byline img { border-radius: 50%; }

/* ---- CONTENT ---- */
.prose { padding-bottom: 48px; }
.lede { font-size: 1.06rem; }
.checks, .steps { padding: 0; margin: 0 0 1.2em; list-style: none; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 11px; border-radius: 3px; background: var(--lime); box-shadow: inset 0 0 0 2px var(--forest); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 54px; margin-bottom: 1.1em; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 8px;
  background: var(--black); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-size: 1rem;
}
.steps h3 { margin: 6px 0 .25em; }
.steps p { margin: 0; }
.faq h3 { margin-top: 1.3em; }

.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.photos figure { margin: 0; }
.photos img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photos-one img { aspect-ratio: auto; }
.photos figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ---- TABLE OF CONTENTS (long guides) ---- */
.toc { border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius); padding: 16px 20px; margin: 4px 0 28px; background: var(--bg-alt); }
.toc-h { font-weight: 800; color: var(--black); margin: 0 0 .4em; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 260px; column-gap: 28px; font-size: .94rem; }
.toc li { margin-bottom: .3em; break-inside: avoid; }
.prose h2[id] { scroll-margin-top: 100px; }

/* ---- BANDS / CARDS ---- */
.band { padding: clamp(40px, 6vw, 72px) 0; }
.band-alt { background: var(--bg-alt); }
.band > .wrap > h2:first-child, .band h2:first-child { margin-top: 0; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--forest); border-radius: var(--radius); padding: 18px 22px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.card:hover { border-top-color: var(--lime); box-shadow: 0 6px 20px rgba(13, 14, 13, .07); }
.card h2, .card h3 { margin: 0 0 .4em; }
.card h2 a, .card h3 a { text-decoration: none; color: var(--black); }
.card h2 a:hover, .card h3 a:hover { color: var(--forest); }
.card p { margin: 0 0 .4em; font-size: .95rem; color: var(--muted); }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: .93rem; font-weight: 650; color: var(--forest); background: #fff; }
.pill-list a:hover { border-color: var(--lime); background: var(--bg-alt); }

.owner { display: flex; gap: 36px; align-items: flex-start; flex-wrap: wrap; }
.owner > div { flex: 1 1 380px; max-width: var(--narrow); }
.owner h2 { margin-top: 0; }
.owner-photo { border-radius: var(--radius); width: 240px; height: auto; border: 4px solid var(--lime); }
.owner-head { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.owner-head > div { flex: 1 1 360px; }

/* ---- CTA ---- */
.cta { background: var(--black); color: var(--silver); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px); }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta h2 span { color: var(--lime); }
.cta p { margin: 0; max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- SOURCES ---- */
.sources { padding: 40px 0 48px; border-top: 1px solid var(--line); background: var(--bg); }
.sources h2 { margin-top: 0; font-size: 1.2rem; }
.sources ul { padding-left: 1.1em; margin: 0; }
.sources li { margin-bottom: .8em; }
.sources a { font-weight: 650; }
.src-org { color: var(--muted); font-size: .9rem; }
.src-org::before { content: " \2014  "; }
.src-note { display: block; font-size: .9rem; color: var(--muted); }

/* ---- FORMS ---- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 820px) { .form-wrap { grid-template-columns: 1fr; } }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
@media (max-width: 560px) { .quote-form { grid-template-columns: 1fr; } }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; font-size: .94rem; }
.quote-form label.full, .quote-form button, .quote-form .form-note, .quote-form .form-error { grid-column: 1 / -1; }
.quote-form i, .quick-form i { font-style: normal; font-weight: 400; color: var(--muted); font-size: .85rem; }
.quote-form input, .quote-form textarea, .quote-form select, .quick-form input, .quick-form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid #c4cbc0; border-radius: 8px; background: #fff; width: 100%; color: var(--ink);
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus,
.quick-form input:focus, .quick-form textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--forest); }
.form-error { background: #fdf0ea; border: 1px solid #f0c7b3; padding: 12px 14px; border-radius: 8px; margin: 0; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-aside { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 820px) { .form-aside { border-left: 0; padding-left: 0; } }
.form-aside h2 { margin-top: 0; }
.big-phone { font-family: var(--display); font-size: 1.7rem; text-decoration: none; color: var(--black); }
.sent { background: var(--bg-alt); border-left: 4px solid var(--lime); border-radius: var(--radius); padding: 28px; }

/* Home quick contact sits on the dark hero, so it gets a light card. */
.quick-form { border-radius: var(--radius); padding: 22px; background: #fff; color: var(--ink); display: grid; gap: 12px; border-top: 5px solid var(--lime); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.quick-form h2 { margin: 0; color: var(--black); }
.quick-form p { margin: 0; font-size: .92rem; color: var(--muted); }
.quick-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 650; font-size: .92rem; }

/* ---- FOOTER ---- */
.site-foot { background: var(--black); color: #b9beb9; padding: 8px 0 24px; font-size: .94rem; }
.site-foot a { color: var(--silver); }
.site-foot a:hover { color: var(--lime); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-top: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); color: #fff; font-size: 1.1rem; margin-bottom: .8em; }
.foot-brand img { width: 72px; height: 72px; }
.foot-phone { font-family: var(--display); font-size: 1.25rem; color: var(--lime) !important; text-decoration: none; }
.foot-h { font-family: var(--display); color: #fff; margin-bottom: .5em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .35em; }
.foot-legal { border-top: 1px solid var(--steel); margin-top: 32px; padding-top: 18px; color: #8c918c; font-size: .86rem; }

/* ---- INNER PAGE LAYOUT: content + quick-contact sidebar ----
   Desktop: the sidebar spans the page and its card sticks below the header
   while the reader scrolls. Phones: one column, the form sits right after the
   opening answer, before the long content. */
.page-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 48px;
  grid-template-areas: "head aside" "body aside";
  max-width: 1160px; margin: 0 auto; padding-inline: 20px; align-items: start;
}
.g-head { grid-area: head; max-width: var(--narrow); }
.g-body { grid-area: body; max-width: var(--narrow); min-width: 0; }
.g-aside { grid-area: aside; align-self: stretch; }
.aside-sticky { position: sticky; top: 104px; padding: 40px 0 32px; }
.aside-sticky .quick-form { box-shadow: 0 6px 22px rgba(13, 14, 13, .10); border: 1px solid var(--line); border-top: 5px solid var(--lime); }
.aside-call { font-size: .92rem; color: var(--muted); margin: 12px 4px 0; }
.band-tight { padding: 8px 0 48px; }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 1000px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; }
  .aside-sticky { position: static; padding: 8px 0 28px; }
}

/* ---- PHONE CALL / TEXT BAR ----
   Fixed to the bottom of the screen on phones so a call or text is always one
   tap away. Hidden on desktop, where the header button and sidebar do the job. */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--black); border-top: 3px solid var(--lime);
  }
  .call-bar a { text-align: center; padding: 11px 8px; border-radius: 8px; font-weight: 800; text-decoration: none; }
  .call-bar .cb-call { background: var(--lime); color: var(--black); }
  .call-bar .cb-text { border: 2px solid var(--silver); color: #fff; }
  body { padding-bottom: 72px; }
}

/* ---- PREFERRED CONTACT (call / text) ---- */
.pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pref legend { font-weight: 650; font-size: .92rem; padding: 0; margin-bottom: 6px; width: 100%; }
.pref.full { grid-column: 1 / -1; }
.pref-opt { flex-direction: row !important; align-items: center; gap: 8px !important; cursor: pointer;
  border: 1px solid #c4cbc0; border-radius: 8px; padding: 9px 16px; font-weight: 650; background: #fff; }
.pref-opt input { accent-color: var(--forest); width: 18px !important; height: 18px; margin: 0; padding: 0 !important; border: 0; flex: none; }
.pref-opt:has(input:checked) { border-color: var(--forest); background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--forest); }
.pref-opt:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 1px; }

/* ---- GOOGLE REVIEWS ---- */
.reviews { margin: 8px 0 32px; }
.band .reviews, .g-body > .reviews:first-child { margin-top: 0; }
.rv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.rv-head h2 { margin-bottom: .4em; }
.rv-sum { text-decoration: none; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.rv-sum:hover { color: var(--forest); }
.rv-stars { color: #e3a008; letter-spacing: 2px; margin: 0 0 6px; font-size: 1.05rem; line-height: 1; }
.rv-off { color: #d5d9d2; }
.rv-list { list-style: none; padding: 0; margin: 12px 0 10px; display: grid; align-items: start; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rv { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius); padding: 16px 18px; }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0 0 10px; font-size: .97rem; }
.rv-by { margin: 0; font-size: .86rem; color: var(--muted); }
.rv-by strong { color: var(--ink); }
.rv-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-aside .reviews .rv-list { grid-template-columns: 1fr; }
