/* ==========================================================================
   Trees Hurt Too Inc. — static site stylesheet (rev2)
   Colors & fonts extracted verbatim from the live WordPress (Astra +
   BeaverBuilder) build on 2026-06-16. Brand colors are a hard rule — do not
   change the hex values below.
   ========================================================================== */

:root {
  /* Brand colors (exact, from live CSS) */
  --green:         #267A38;  /* primary CTA */
  --green-border:  #1F6630;  /* CTA border / hover */
  --green-dark:    #184E23;  /* nav links */
  --green-accent:  #6AAF08;  /* secondary accent (form submit) */
  --blue:          #0170B9;  /* links / accents */
  --charcoal:      #3A3A3A;  /* top bar, dark text */
  --text:          #424242;  /* body + headings */
  --band:          #F4F4F4;  /* alternating section band */
  --band-2:        #F2F5F7;
  --white:         #FFFFFF;
  --slate:         #2c3338;  /* nav link text (mega menu) */
  --bg-soft:       #f5f7f5;  /* nav hover background */
  --line:          #e3e6e8;  /* dropdown borders */

  --maxw: 1450px;
  --content: 1140px;
  --radius: 5px;

  --font-head: "Open Sans", sans-serif;
  --font-body: "Work Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: var(--maxw); }

.section { padding: 64px 0; }
.section--band { background: var(--band); }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; border-color: var(--green-border); }
.btn--primary:hover { background: var(--green-border); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn--link { background: transparent; color: var(--green); padding: 0; border: 0; font-weight: 600; }
.btn--link:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar { background: #424242; color: #fff; }
.topbar .container--wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a.phone { color: #fff; font-weight: 700; font-size: 24px; }
.topbar a.phone:hover { text-decoration: none; color: #fff; }
.topbar .btn { background: var(--green); border-color: var(--green); color: #fff; padding: 13px 34px; border-radius: 5px; font-weight: 600; font-size: 15px; text-transform: none; }
.topbar .btn:hover { background: var(--green-border); border-color: var(--green-border); }

/* ---------- Header / nav ---------- */
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); position: sticky; top: 0; z-index: 500; }
.site-header .container--wide { display: flex; align-items: center; justify-content: flex-start; gap: 34px; padding-top: 0; padding-bottom: 0; }
/* push the mobile toggle to the right; keep logo+nav grouped left on desktop */
.site-header .nav-toggle { margin-left: auto; }
.logo img { height: 100px; width: auto; display: block; }
/* ===== Mega menu (matches reference design) ===== */
.main-nav .menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: flex; align-items: center; padding: 57px 10px; color: var(--green-dark); font-family: var(--font-body); font-weight: 500; font-size: 14px; }
.main-nav .menu > li > a:hover { color: #4CA052; text-decoration: none; }
/* live-style dropdown carets */
.main-nav .has-mega > a::after, .main-nav .has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
/* nav search icon */
.main-nav .nav-search > a { display: flex; align-items: center; padding: 57px 10px; color: var(--green-dark); }
.main-nav .nav-search > a:hover { color: #4CA052; }
.main-nav .nav-search svg { width: 17px; height: 17px; }

/* simple dropdown (About, Resources) */
.main-nav .submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(0,0,0,.1); border-radius: 6px; padding: 8px 0; display: none; z-index: 70; list-style: none; margin: 0; }
.main-nav .submenu li { list-style: none; }
.main-nav .submenu a { display: block; padding: 8px 18px; color: var(--text); font-size: .9rem; }
.main-nav .submenu a:hover { background: var(--bg-soft); color: var(--green); text-decoration: none; }
.main-nav .menu > li:hover > .submenu, .main-nav .menu > li:focus-within > .submenu { display: block; }

/* full-width mega panel */
.main-nav .menu > li.has-mega { position: static; }
.main-nav .mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 8px 28px rgba(0,0,0,.1); display: none; z-index: 70; }
.main-nav .menu > li.has-mega:hover > .mega, .main-nav .menu > li.has-mega:focus-within > .mega { display: block; }
.main-nav .mega-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 30px; padding: 26px 20px; }
.main-nav .mega-col { flex: 1 1 0; min-width: 0; }
.main-nav .mega-col ul { list-style: none; margin: 0; padding: 0; }
.main-nav .mega-col li a { display: block; padding: 6px 0; color: var(--text); font-size: .9rem; line-height: 1.3; }
.main-nav .mega-col li a:hover { color: var(--green); text-decoration: none; }
/* green column-heading line */
.main-nav .col-head { display: block; color: var(--green); border-bottom: 2px solid var(--green); padding: 2px 0 8px; margin: 0 0 6px; font-weight: 500; font-size: .95rem; }

/* mobile nav toggle */
.nav-toggle { display: none; background: var(--green); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 16px; font-size: 1rem; font-weight: 600; cursor: pointer; align-items: center; }

/* ---------- Mobile nav (hamburger + accordion) ---------- */
@media (max-width: 1024px) {
  .topbar { display: none; }   /* hide phone + Free Quote bar on mobile only */
  .site-header .container--wide { flex-wrap: wrap; gap: 0; padding-left: 16px; padding-right: 16px; }
  .logo img { height: 72px; }
  .nav-toggle { display: inline-flex; margin: 14px 0 14px auto; }

  .main-nav { display: none; flex-basis: 100%; width: 100%; }
  .main-nav.open { display: block; }

  .main-nav .menu { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 4px 0 18px; }
  .main-nav .menu > li { position: static; border-top: 1px solid var(--line); }
  .main-nav .menu > li > a { padding: 15px 6px; font-size: 1rem; font-weight: 600; justify-content: space-between; }

  /* caret points down, flips when the item is open */
  .main-nav .has-mega > a::after, .main-nav .has-children > a::after { margin-left: auto; transition: transform .2s ease; }
  .main-nav .menu > li.open > a::after { transform: translateY(2px) rotate(225deg); }

  /* dropdown panels flow inline, hidden until the parent <li> is tapped open */
  .main-nav .mega, .main-nav .submenu { position: static; display: none !important; box-shadow: none; border: 0; border-radius: 0; min-width: 0; background: var(--bg-soft); }
  .main-nav .menu > li.open > .mega, .main-nav .menu > li.open > .submenu { display: block !important; }
  .main-nav .mega-inner { flex-direction: column; gap: 14px; padding: 12px 16px 16px; max-width: none; margin: 0; }
  .main-nav .mega-col { width: 100%; flex: 1 1 auto; }
  .main-nav .submenu { padding: 4px 0 8px; }
  .main-nav .submenu a { padding: 11px 22px; }
  .main-nav .nav-search { border-top: 1px solid var(--line); }
  .main-nav .nav-search > a { padding: 15px 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #2c3a22;            /* fallback behind the <img> */
  color: #fff;
  text-align: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 40px 0;
  overflow: hidden;
}
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; margin: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.32); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.4); max-width: none; font-size: clamp(2rem, 4.6vw, 55px); line-height: 1.2; font-weight: 700; margin-left: auto; margin-right: auto; }
.hero p.lead { color: #fff; font-size: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,.45); margin-bottom: 1.8em; }
.hero .btn-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .btn { text-transform: uppercase; letter-spacing: .5px; padding: 16px 38px; font-size: 1rem; }

/* Intro row (owl + text + CTA on a single row, matching live) */
.intro-row { display: flex; align-items: center; gap: 44px; }
.intro-row .intro-img { flex: 0 0 auto; width: 190px; }
.intro-row .intro-img img { margin: 0; }
.intro-row .intro-text { flex: 1 1 auto; }
.intro-row .intro-text h2, .intro-row .intro-text h3 { margin-top: 0; }
@media (max-width: 760px) {
  .intro-row { flex-direction: column; text-align: center; gap: 20px; }
  .intro-row .intro-img { width: 150px; }
}

/* package CTA stack — primary button, then "Request A Free Quote" underneath */
.cta-stack { margin-top: 6px; }
.cta-stack .btn { display: inline-block; }
.cta-stack .req-quote { display: block; margin-top: 14px; }

/* ---------- Generic layout helpers ---------- */
.lead { font-size: 1.15rem; }
.center { text-align: center; }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; }

/* media object (image + text rows) */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media + .media { margin-top: 56px; }
.media.reverse .media__text { order: 2; }
.media img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.media ul { padding-left: 1.1em; }
.media li { margin-bottom: .35em; }
/* stack image over text on mobile (was staying 2-col and squishing the image) */
@media (max-width: 768px) {
  .media { grid-template-columns: 1fr; gap: 22px; }
  .media.reverse .media__text { order: 0; }
}

/* service tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.05); }

/* trust badges */
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.badges img { max-height: 110px; width: auto; }

/* service area columns */
.areas { columns: 4; column-gap: 30px; max-width: 900px; margin: 0 auto; }
.areas a { display: block; padding: 6px 0; font-weight: 700; color: var(--green-dark); }
@media (max-width: 800px){ .areas { columns: 2; } }

/* latest blogs */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px 20px 22px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--green); }
.post-card p { font-size: .95rem; color: #555; margin-bottom: 0; }

/* quote / CTA band */
.cta-band { background: var(--green); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--green); border-color: #fff; }
.cta-band .btn--primary:hover { background: #f0f0f0; color: var(--green-border); }

/* contact form */
.quote-form { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 12px 40px rgba(0,0,0,.10); }
.quote-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: var(--radius); font-family: inherit; font-size: 1rem; margin-bottom: 16px;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { outline: 2px solid var(--green); border-color: var(--green); }
.quote-form fieldset.form-radios { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.quote-form fieldset.form-radios legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.quote-form .radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.quote-form .radio { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; margin: 0; padding: 12px 22px; border: 1px solid #ccc; border-radius: var(--radius); cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.quote-form .radio:hover { border-color: var(--green); }
.quote-form .radio input[type=radio] { width: auto; margin: 0; accent-color: var(--green); cursor: pointer; }
.quote-form .radio:has(input:checked) { border-color: var(--green); background: #f3f8f4; box-shadow: 0 0 0 1px var(--green) inset; }
.quote-form .btn--primary { width: 100%; padding: 16px; font-size: 1.05rem; }

/* ---------- Service / content pages ---------- */
.page-head { background: var(--green-dark); text-align: center; padding: 60px 0; }
.page-head h1 { margin: 0; color: #fff; text-transform: uppercase; font-weight: 600; max-width: 22ch; margin-left: auto; margin-right: auto; }
.page-head--plain h1 { text-transform: none; }
.prose { max-width: 980px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose img { border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.10); margin: 28px auto; }

.prose blockquote {
  margin: 28px 0; padding: 18px 24px;
  background: #f3f8f4; border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0; font-style: italic; color: #2f3a31;
}
.prose blockquote .attrib { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--green-dark); }

/* full-width green review bar */
.review-bar { background: #216A30; color: #fff; }
.review-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; text-align: center; }
.review-bar img { display: inline-block; height: 22px; width: auto; }
.review-bar a { color: #fff; text-decoration: underline; }

/* Oakley CTA — horizontal card (owl + caption | heading + text | button) */
.oakley-cta { background: #EEF7F0; border-left: 4px solid var(--green); border-radius: 6px; padding: 28px 36px; margin: 40px auto; display: flex; align-items: center; gap: 28px; }
.oakley-cta .oak-owl { flex: 0 0 auto; text-align: center; width: 84px; }
.oakley-cta .oak-owl img { width: 70px; height: auto; margin: 0 auto 2px; box-shadow: none; border-radius: 0; }
.oakley-cta .oak-owl .says { color: var(--green-dark); font-weight: 600; font-size: .8rem; margin: 0; }
.oakley-cta .oak-body { flex: 1 1 auto; }
.oakley-cta .oak-body h3 { margin: 0 0 6px; }
.oakley-cta .oak-body p { margin: 0; }
.oakley-cta .oak-cta { flex: 0 0 auto; }
@media (max-width: 760px) {
  .oakley-cta { flex-direction: column; text-align: center; gap: 16px; }
}

/* phone CTA band */
.cta-phone-band { background: #1D5429; color: #fff; text-align: center; }
.cta-phone-band h2, .cta-phone-band .eyebrow { color: #fff; }
.cta-phone-band .bigphone { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; margin: 8px 0 10px; }
.cta-phone-band .bigphone:hover { text-decoration: none; }
.cta-phone-band .fineprint { opacity: .9; font-size: .95rem; }

/* interior page hero with background image */
.page-hero { position: relative; color: #fff; text-align: center; background-color: #2c3a22; background-position: center; background-size: cover; background-repeat: no-repeat; padding: 70px 0; min-height: 340px; display: flex; align-items: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; text-transform: uppercase; font-weight: 700; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.page-hero .lead { color: #fff; margin: 14px auto 0; max-width: 52ch; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.page-hero .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.page-hero .btn { text-transform: uppercase; letter-spacing: .5px; padding: 14px 32px; }
.page-hero .btn--primary { background: var(--green); color: #fff; border-color: var(--green-border); }
.page-hero .btn--primary:hover { background: var(--green-border); }

/* Lawn package: card beside side-by-side photos */
.lawnpkg { display: grid; grid-template-columns: minmax(0,460px) minmax(0,460px); justify-content: center; gap: 40px; align-items: start; margin: 8px 0 4px; }
.lawnpkg .pkg-imgs { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lawnpkg .pkg-imgs img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.10); margin: 0; }
.pkg-card { background: #fff; border: 1px solid #e6e6e6; border-top: 5px solid var(--green); border-radius: 8px; padding: 30px 32px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.pkg-card h3 { margin: 0 0 14px; padding-bottom: 16px; border-bottom: 1px solid #eee; font-size: 1.6rem; }
.pkg-card .whats { color: var(--green); font-weight: 700; margin: 0 0 10px; }
.pkg-card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.pkg-card li { padding: 7px 0; border-bottom: 1px solid #f3f3f3; font-size: .98rem; }
.pkg-card li:last-child { border-bottom: 0; }
.pkg-card .pkg-note { font-size: .9rem; color: #555; margin: 0 0 16px; }
.pkg-card .btn { width: 100%; }
.pkg-card .pkg-fine { font-size: .82rem; color: #888; margin: 14px 0 0; }
@media (max-width: 820px) { .lawnpkg { grid-template-columns: 1fr; } }

/* annual program CTA card */
.program-cta { background: #f3f8f4; border: 1px solid #d8ebdd; border-radius: 14px; padding: 38px 42px; display: grid; grid-template-columns: 1.45fr 1fr; gap: 42px; align-items: center; }
.program-cta .eyebrow { margin: 0 0 6px; }
.program-cta h2 { margin: 0 0 14px; }
.program-cta .pc-left p { margin: 0 0 12px; }
.program-cta .pc-left ul { padding-left: 1.2em; margin: 0; }
.program-cta .pc-left li { margin-bottom: .45em; }
.program-cta .pc-box { background: #fff; border: 1px solid #e3e3e3; border-top: 5px solid var(--green); border-radius: 10px; padding: 32px 28px; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.10); }
.program-cta .pc-box .free { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--green); line-height: 1; }
.program-cta .pc-box .pc-box-sub { margin: 8px auto 20px; color: #555; max-width: 26ch; }
.program-cta .pc-box .btn { width: 100%; }
.program-cta .pc-box .fine { font-size: .85rem; color: #888; margin: 14px 0 0; }
@media (max-width: 820px) { .program-cta { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; } }

/* service icon cards (hub pages) */
.icard { display: block; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 28px 22px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.06); transition: transform .15s ease, box-shadow .15s ease; }
.icard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.12); text-decoration: none; }
.icard img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 14px; }
.icard h3 { margin: 0 0 6px; color: var(--green-dark); }
.icard p { margin: 0; color: #555; font-size: .95rem; }

/* page-head with subtext + buttons (hub pages) */
.page-head .lead { color: #fff; margin: 14px auto 0; max-width: 50ch; }
.page-head .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.page-head .btn { text-transform: uppercase; letter-spacing: .5px; }
.page-head .btn--primary { background: #fff; color: var(--green); border-color: #fff; }
.page-head .btn--primary:hover { background: #f0f0f0; color: var(--green-border); }

/* page city list */
.citylist { columns: 3; column-gap: 30px; max-width: 720px; margin: 18px auto 0; padding-left: 1.1em; }
.citylist li { margin-bottom: .35em; }
@media (max-width: 700px){ .citylist { columns: 2; } }

.mapwrap { max-width: 1000px; margin: 28px auto 0; }
.mapwrap iframe { width: 100%; height: 360px; border: 0; border-radius: 10px; }

/* page-head subtitle (e.g. "(Various species)") */
.page-head-sub { color: #fff; opacity: .9; margin: 8px 0 0; font-size: 1.05rem; }

/* plan / pricing cards (package pages) — reuses .pkg-card styling */
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 8px auto 8px; align-items: start; }
.plan-cards .pkg-card { text-align: center; }
.plan-cards .pkg-card .btn + .btn { margin-top: 12px; }
@media (max-width: 900px){ .plan-cards { grid-template-columns: 1fr; } }

/* Pest Library — 3-column clickable cards (image on top, title beneath) */
.pestgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 8px 0 0; }
.pestcard { display: block; background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.06); text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.pestcard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.12); text-decoration: none; }
.pestcard img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; margin: 0; border-radius: 0; box-shadow: none; }
.pestcard .pestcard-title { display: block; padding: 14px 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--green-dark); }
.pestcard:hover .pestcard-title { color: var(--green); }
@media (max-width: 820px){ .pestgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .pestgrid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #cfcfcf; padding: 56px 0 24px; }
.site-footer a { color: #fff; }
.site-footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.site-footer img.flogo { width: 200px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.social a { display: inline-block; margin-right: 14px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.f-bottom ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px){ .site-footer .f-grid { grid-template-columns: 1fr; } }

/* ---------- Back-to-top button ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.22); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s, background .15s ease; z-index: 900; }
.to-top:hover { background: var(--green-border); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 560px){ .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* ---------- Responsive grid collapses (mobile) ---------- */
@media (max-width: 900px){
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .quote-form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .tiles, .posts { grid-template-columns: 1fr; }
}

/* in-content links underlined (a11y: not distinguishable by color alone) */
.lead a, .prose a, main p a:not(.btn):not(.req-quote) { text-decoration: underline; }

/* heading-order visual pins (keep relabeled headings visually identical) */
.intro-text .intro-tagline { font-size: 1.5rem; margin-top: 0; }
.site-footer .foot-head { font-size: 1rem; }
