/* Phase 1 cleanup (2026-10-07). Loaded after every other theme stylesheet; delete this file's enqueue to revert. */

/* Headline font: keep Impact where installed, use self-hosted Anton on devices without it (Android, iOS). */
@font-face { font-family: "Anton"; src: url("assets/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { --display: Impact, "Anton", Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Condensed", sans-serif; }

/* Estimate form (2026-10-07): native three-field form ported from Tarhill; field styles come from
   style.css / tree-removal.css. These rules cover the success panel that replaces the form. */
.epic-estimate-form .form-intro { margin: 9px 0 20px; color: #555149; font-size: 14px; }
@media (max-width: 720px) { .epic-estimate-form .form-intro { margin: 7px 0 16px; font-size: 12px; text-align: center; } }
.sidebar .form-badge.dark { display: none; }
.estimate-success { text-align: center; padding: 10px 4px 4px; animation: epicSuccessIn .35s ease-out; }
.estimate-success:focus { outline: none; }
.estimate-success .success-check { width: 74px; height: 74px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--leaf-bright, #9dc72a); color: #11190d; font-size: 40px; line-height: 1; font-weight: 900; }
.estimate-success h2 { margin: 0 0 10px; }
.estimate-success .success-lead { margin: 0 auto 22px; max-width: 330px; font-size: 16px; line-height: 1.45; }
.estimate-success .success-call { width: 100%; }
@keyframes epicSuccessIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .estimate-success .success-lead { font-size: 14px; } .estimate-success .success-check { width: 64px; height: 64px; font-size: 34px; } }

/* Desktop nav: plain links stretched to the dropdown height, so their text sat ~7px higher. */
.nav-links { align-items: center; }

/* Mobile header buttons: inner pages used square buttons; match the homepage's round ones. */
@media (max-width: 820px) {
  .mobile-nav-actions .mobile-phone, .mobile-nav-actions .mobile-menu { width: 49px; height: 49px; border-radius: 50%; color: #fff; }
  .mobile-nav-actions .mobile-phone { border: 1px solid #b7db3f; background: linear-gradient(145deg, var(--leaf-bright), #68880e); }
  .mobile-nav-actions .mobile-menu { padding: 0; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); font-size: 25px; }
}

/* Inner-page step cards: the homepage's centered last-card rule was catching step 04. */
.service-hero + .proofbar-wrap .proof-item:last-child { grid-column: auto; justify-content: flex-start; }

/* Tree Removal process list: the homepage's 84px step badge (8px border, auto margin) leaked into the 42px badges. */
.process-step .step-number { margin: 0; border: 0; color: #142009; background: var(--leaf-bright); line-height: 1; }

/* Mobile: the body padding reserved for the sticky call bar showed as a beige strip under the footer. */
@media (max-width: 720px) { body { background-color: #0c1209; } main { background-color: var(--cream, #f5f0e5); } }

/* 2026-10-08 design pass ------------------------------------------------- */

/* Logo: was up to 94px tall and dominated the menu bar. */
@media (min-width: 821px) { .nav-inner { grid-template-columns: auto 1fr auto; } }
.brand, .nav .brand { width: auto; height: auto; }
.brand img, .nav .brand img { width: auto; height: 60px; max-width: none; }
@media (max-width: 820px) { .brand img, .nav .brand img { height: 50px; } .nav-inner { min-height: 72px; } }

/* Hero eyebrow: drop the stray gold dot; short lime rule + lime text instead. */
.rating { color: var(--leaf-bright); }
.rating::before { content: ""; width: 26px; height: 2px; flex: 0 0 auto; background: currentColor; }
@media (max-width: 720px) { .rating { font-size: 10px; } }

/* Line icons (replace the CSS-drawn shapes). */
.svg-icon { border: 0 !important; border-radius: 10px; box-sizing: border-box; }
.svg-icon::before, .svg-icon::after { content: none !important; }
.svg-icon svg { width: 100%; height: 100%; display: block; }
.hero-icon.svg-icon { width: 42px; height: 42px; padding: 8px; color: var(--leaf-bright); background: rgba(157,199,42,.14); }
.proof-icon.svg-icon { width: 44px; height: 44px; padding: 9px; color: var(--leaf); background: rgba(145,181,31,.13); }
.map-pin.svg-icon { width: 46px; height: 46px; padding: 8px; color: var(--leaf-bright); background: rgba(157,199,42,.14); }
@media (max-width: 720px) {
  .hero-icon.svg-icon { width: 36px; height: 36px; padding: 7px; margin: 0 auto; }
  .proof-icon.svg-icon { width: 38px; height: 38px; padding: 8px; transform: none; }
}
.brand img, .nav .brand img { height: 66px; }
@media (max-width: 820px) { .brand img, .nav .brand img { height: 50px; } }
@media (max-width: 720px) { .rating { justify-content: center; } .rating::before { display: none; } }
.areas-inner { grid-template-columns: 1.1fr 3fr; }
@media (max-width: 720px) { .areas-inner { grid-template-columns: 1fr; } }
.topbar-icon { font-weight: 900; }
@media (max-width: 720px) { .service-hero .rating { justify-content: flex-start; text-align: left; } }

/* 2026-10-08b: estimate form in the inner-page hero (replaces the small "Call us" note) */
.service-hero .hero-form { align-self: center; justify-self: end; width: 100%; max-width: 430px; }
.service-hero .hero-form .estimate-card { box-shadow: 0 28px 65px rgba(0,0,0,.35); }
@media (max-width: 820px) { .service-hero .hero-form { max-width: none; margin-top: 32px; } }

/* 2026-10-08c: location NAP + maps. Location pages show one location; every other page shows both. */
.epic-nap { font-style: normal; line-height: 1.6; }
.footer .epic-nap { margin-top: 18px; color: #c9cbc2; font-size: 13px; }
.footer .epic-nap strong { color: #fff; }
.footer .epic-nap a, .footer-contact a { color: var(--leaf-bright); font-weight: 800; }
.footer-map-copy .epic-nap { margin-top: 0; }
.footer-locations { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-location { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid rgba(166,202,52,.25); border-radius: 14px; background: #11190d; }
.footer-location .footer-map-copy { padding: 26px 28px; }
.footer-location .footer-map-frame, .footer-location .footer-map-frame iframe { min-height: 240px; }
@media (max-width: 820px) { .footer-locations { grid-template-columns: 1fr; margin-top: 36px; } }
.epic-locations { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 8px; }
.epic-location { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.epic-location .epic-nap { padding: 18px 20px; font-size: 15px; }
.epic-location-map iframe, .location-contact-map iframe { width: 100%; height: 260px; display: block; border: 0; }
@media (max-width: 720px) { .epic-locations { grid-template-columns: 1fr; } }
.location-contact { margin-top: 48px; }
.location-contact-map { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.location-contact-map iframe { height: 340px; }
.location-contact .hero-actions { margin-top: 18px; }
