/* Squirrel Master Tree Service — site styles
   Palette pulled from the logo (canopy green, bark brown) and the crew's safety orange. */

:root {
  --green: #17663a;        /* text-safe version of the logo green */
  --green-bright: #22994c; /* logo green, decorative only */
  --green-tint: #e6f1e8;
  --forest: #0f2a1a;       /* dark sections */
  --bark: #4b2c14;         /* logo brown */
  --orange: #c2410c;       /* safety orange — Pay A Bill + emergency */
  --orange-dark: #9a3412;
  --wood: #e8c590;         /* fresh-cut stump */
  --ink: #1a1d19;
  --muted: #4a5248;
  --line: #d6ddd3;
  --bg: #ffffff;
  --bg-alt: #f2f5f0;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;  /* 19px — easier reading for our audience */
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 38em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--forest); color: #e7efe8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #c9d8cc; }
.section-head { max-width: 46rem; margin-bottom: 48px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--forest); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--forest); color: #fff; }
.btn--outline { border-color: var(--green); color: var(--green); background: #fff; }
.btn--outline:hover { background: var(--green-tint); color: var(--forest); }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--green-tint); color: var(--forest); }
.btn--pay { background: var(--orange); color: #fff; }
.btn--pay:hover { background: var(--orange-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--forest); color: #d9e6dc; font-size: 0.98rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__emergency { color: var(--wood); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); margin-right: auto; }
.brand img { width: 62px; height: auto; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; line-height: 1.05; color: var(--bark); }
.brand__name small { display: block; font-weight: 600; font-size: .78rem; color: var(--green); letter-spacing: .02em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--green); background: var(--green-tint); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--green-bright); border-radius: 0; }

.header-pay { min-height: 54px; padding: 12px 24px; font-size: 1.1rem; box-shadow: 0 0 0 4px rgba(194, 65, 12, .16); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--forest); cursor: pointer;
}
.menu-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 1060px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px rgba(15, 42, 26, .12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 8px; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green-bright); padding-left: 16px; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .brand img { width: 50px; }
  .brand__name { font-size: 1rem; }
  .brand__name small { display: none; }
  .header-pay { padding: 10px 16px; font-size: 1rem; min-height: 48px; }
  .header-pay .icon { display: none; }
  .topbar__hours { display: none; }
}
@media (max-width: 380px) {
  .brand__name { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .hero__line2 { display: block; color: var(--green); }
.hero .lead { margin-bottom: 1.6em; color: var(--ink); }
.hero__phone { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 1.05rem; color: var(--muted); }
.hero__phone a { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--forest); text-decoration: none; }
.hero__phone a:hover { color: var(--green); }

/* The leaf: the hero video is cut into the same teardrop as the logo */
.leaf {
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: end;
  --leaf-shape: 50% 6px 50% 50%;   /* teardrop with the point at top-right, like the logo leaf */
}
.leaf__frame {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: var(--leaf-shape);
  background: var(--forest);
  isolation: isolate;
}
.leaf__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
/* thin outline leaf sitting just behind the frame */
.leaf__outline {
  position: absolute; inset: -14px; border: 2px solid var(--green-bright);
  border-radius: var(--leaf-shape); opacity: .55; pointer-events: none;
}

/* ---- Opening sequence (plays once on page load) ----
   1. the leaf grows open from its point, like a bud unfolding
   2. the video settles from a slight zoom
   3. the outline leaf swings into place, then the rating badge slides up
   Base styles above are the final state, so with reduced motion nothing animates. */
@media (prefers-reduced-motion: no-preference) {
  .leaf__frame { animation: leaf-open 1.25s cubic-bezier(.22, 1, .36, 1) .15s both; }
  .leaf__img { animation: leaf-settle 1.9s cubic-bezier(.22, 1, .36, 1) .15s both; }
  .leaf__outline { animation: leaf-outline 1.1s cubic-bezier(.22, 1, .36, 1) .75s both; }
  .leaf__badge { animation: rise-in .7s cubic-bezier(.22, 1, .36, 1) 1.15s both; }
  .hero__text > * { animation: rise-in .8s cubic-bezier(.22, 1, .36, 1) both; }
  .hero__text > :nth-child(1) { animation-delay: .1s; }
  .hero__text > :nth-child(2) { animation-delay: .3s; }
  .hero__text > :nth-child(3) { animation-delay: .45s; }
  .hero__text > :nth-child(4) { animation-delay: .6s; }
}
@keyframes leaf-open {
  from { clip-path: circle(0% at 100% 0%); }
  to   { clip-path: circle(150% at 100% 0%); }
}
@keyframes leaf-settle {
  from { transform: scale(1.18); }
  to   { transform: scale(1); }
}
@keyframes leaf-outline {
  from { opacity: 0; transform: rotate(-8deg) scale(.92); }
  to   { opacity: .55; transform: none; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.leaf__badge {
  position: absolute; left: -8px; bottom: 8%;
  background: #fff; border-radius: var(--radius); padding: 14px 18px;
  box-shadow: 0 16px 34px rgba(15, 42, 26, .18);
  display: flex; align-items: center; gap: 12px; max-width: 290px;
}
.leaf__badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--forest); line-height: 1; }
.leaf__badge span { font-size: .98rem; color: var(--muted); line-height: 1.3; }
.stars, .leaf__badge span.stars { display: inline-flex; gap: 2px; color: #d99a00; }
.stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .leaf { justify-self: center; max-width: 440px; order: -1; aspect-ratio: 1 / 1; }
  .leaf__badge { left: 0; bottom: -6px; }
}

/* ---------- Proof bar ---------- */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; }
.proof li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--forest); }
.proof .icon { color: var(--green); width: 24px; height: 24px; }

/* ---------- Stats (Citadel-style big numbers) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.stat { padding: 34px 24px 6px 0; border-right: 1px solid rgba(255,255,255,.18); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 5.5vw, 4.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--wood); }
.stat__label { margin-top: 10px; font-size: 1.08rem; color: #c9d8cc; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 20px; }
  .stat:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- "I kept putting it off" ---------- */
.mirror { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mirror__quote { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; color: var(--bark); margin: 0 0 .5em; }
.mirror__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.mirror__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .mirror { grid-template-columns: 1fr; } .mirror__photo { aspect-ratio: 4 / 3; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-decoration: none; color: var(--ink);
  transition: border-color .18s ease, background-color .18s ease;
}
a.service:hover { border-color: var(--green); background: #fbfdfb; color: var(--ink); }
.service__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin-bottom: 6px; }
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--muted); }
.service__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--green); }
.service--emergency { background: var(--forest); border-color: var(--forest); color: #e7efe8; }
.service--emergency h3 { color: #fff; }
.service--emergency p { color: #c9d8cc; }
.service--emergency .service__icon { background: var(--orange); color: #fff; }
.service--emergency .service__more { color: var(--wood); }
a.service--emergency:hover { background: #163b25; border-color: #163b25; color: #e7efe8; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--wood); color: var(--bark); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  margin-bottom: 16px;
  /* tree rings */
  box-shadow: 0 0 0 5px #f6e5c8, 0 0 0 7px var(--wood);
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Photo strip / gallery ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; }
.gallery button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-alt); }
.gallery figcaption { margin-top: 10px; font-size: 1rem; color: var(--muted); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 20, 14, .88); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--forest); cursor: pointer; display: grid; place-items: center; }
.lightbox__close .icon { width: 26px; height: 26px; }

/* ---------- Reviews + embeds ---------- */
.embed-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 3vw, 28px); }
.lc_reviews_widget { min-height: 420px; }
.form-frame { width: 100%; min-height: 1284px; border: 0; border-radius: 8px; }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.area__state { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.area__state h3 { display: flex; align-items: center; gap: 10px; }
.area__state h3 .icon { color: var(--green); }
.area ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.area li { display: flex; gap: 8px; align-items: baseline; }
.area li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); flex: none; transform: translateY(-2px); }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(48px, 7vw, 80px); }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.2rem; color: #e3f1e6; max-width: 34em; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(48px, 7vw, 84px); }
.page-head p { font-size: 1.3rem; color: var(--muted); max-width: 40em; margin: 0; }
.crumbs { font-size: 1rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--green); margin-top: 4px; }

/* Service detail blocks */
.svc-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.svc-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
@media (max-width: 760px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail img { aspect-ratio: 16 / 10; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 26px; height: 26px; color: var(--green); margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--forest); }
.contact-list a { font-weight: 700; font-size: 1.15rem; }
.pay-box { background: #fff7f2; border: 2px solid #f3c8b0; border-radius: var(--radius); padding: 24px; }
.pay-box h3 { color: var(--orange-dark); }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.post-card:hover { border-color: var(--green); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__body h3 { margin: 0; }
.post-card__body p { margin: 0; color: var(--muted); }
.post-card time { font-size: .98rem; color: var(--muted); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.article { max-width: 44rem; margin: 0 auto; }
.article h2 { font-size: 1.75rem; margin-top: 1.6em; }
.article img { width: 100%; border-radius: var(--radius); margin: 8px 0 28px; aspect-ratio: 16 / 10; object-fit: cover; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article .meta { color: var(--muted); font-size: 1rem; }
.note { background: var(--green-tint); border-left: 5px solid var(--green); padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding-block: 64px 40px; }
.footer-grid h3 { font-size: 1.1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--green); text-decoration: underline; }
.footer-brand img { width: 120px; margin-bottom: 14px; border-radius: var(--radius-sm); }
.footer-brand p { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px 28px; color: var(--muted); font-size: .98rem; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Very narrow screens ---------- */
.stats > *, .area > *, .area__state, .footer-grid > *, .services > *, .gallery > * { min-width: 0; }
.footer-grid a, .contact-list a { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .area ul { grid-template-columns: 1fr; }
  .area__state { padding: 22px; }
}
@media (max-width: 360px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2n), .stat + .stat { border-right: 0; padding-left: 0; }
  .callbar .btn { font-size: .95rem; }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(15,42,26,.1);
  }
  .callbar .btn { min-height: 52px; padding: 10px; font-size: 1.05rem; }
}
