/* =========================================================
   Tree Hugger Collective. Location page add-ons.
   Complements styles.css. Uses the same design tokens.
   ========================================================= */

/* Interior hero: shorter than the homepage hero */
.hero--page{min-height:clamp(380px,46vh,520px)}
.hero--page .hero__inner{padding-block:clamp(2.4rem,7vh,4rem)}
.hero--page h1{font-size:clamp(2rem,4.6vw,3.3rem);max-width:20ch}
.hero__meta{display:flex;flex-wrap:wrap;gap:.5rem .7rem;margin-top:1.6rem}
.hero__meta .pill{display:inline-flex;align-items:center;gap:.45rem;font-size:.82rem;font-weight:500;color:#eef2ea;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);padding:.4rem .8rem;border-radius:50px}
.hero__meta .pill svg{width:15px;height:15px;color:var(--leaf-soft)}

/* Breadcrumb */
.crumbs{background:var(--cream);border-bottom:1px solid var(--line)}
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding-block:.75rem;font-size:.82rem;color:var(--muted)}
.crumbs li{display:flex;align-items:center;gap:.5rem}
.crumbs li::after{content:"/";color:var(--line-strong)}
.crumbs li:last-child::after{content:""}
.crumbs a{color:var(--forest);font-weight:500}
.crumbs a:hover{text-decoration:underline;text-underline-offset:2px}
.crumbs li[aria-current]{color:var(--muted)}

/* Article prose (rendered location copy) */
.article{padding-block:clamp(3rem,6vw,5rem)}
.article .container{display:grid;grid-template-columns:minmax(0,1fr);max-width:1180px}
.prose{max-width:74ch;margin-inline:auto;font-size:1.04rem;color:var(--body)}
.prose.wide{max-width:80ch}
.prose h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:2.6rem 0 1rem;letter-spacing:-.02em}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:1.22rem;margin:1.8rem 0 .7rem;color:var(--forest-2)}
.prose p{margin:0 0 1.15rem}
.prose strong{color:var(--ink)}
.prose a{color:var(--forest);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--moss)}
.prose a:hover{text-decoration-color:var(--leaf)}
.prose ul,.prose ol{margin:0 0 1.3rem;padding-left:0}
.prose ul li{position:relative;padding-left:1.7rem;margin-bottom:.6rem;list-style:none}
.prose ul li::before{content:"";position:absolute;left:0;top:.55em;width:9px;height:9px;border-radius:50%;background:var(--leaf);box-shadow:0 0 0 3px rgba(95,145,80,.16)}
.prose ol{counter-reset:n;padding-left:0}
.prose ol li{position:relative;padding-left:2.2rem;margin-bottom:.7rem;list-style:none;counter-increment:n}
.prose ol li::before{content:counter(n);position:absolute;left:0;top:-.1em;width:1.6rem;height:1.6rem;background:var(--cream-2);color:var(--forest);font-family:var(--ff-display);font-weight:600;font-size:.85rem;border-radius:50%;display:grid;place-items:center}

/* Pull testimonial / blockquote */
.prose blockquote,.tst-card{
  margin:2rem 0;padding:1.5rem 1.6rem;background:#fff;border:1px solid var(--line);
  border-left:4px solid var(--leaf);border-radius:var(--radius);box-shadow:var(--shadow-sm);
}
.prose blockquote p{font-size:1.06rem;color:var(--ink);font-style:italic;margin-bottom:.6rem}
.prose blockquote p:last-child{margin-bottom:0;font-style:normal;font-size:.92rem;color:var(--muted)}
.tst-card .stars{display:flex;gap:2px;margin-bottom:.6rem}
.tst-card .stars svg{width:18px;height:18px;color:var(--star)}
.tst-card blockquote{all:unset}
.tst-card .quote{font-size:1.06rem;color:var(--ink);font-style:italic;line-height:1.6;margin-bottom:.8rem}
.tst-card .who{display:flex;align-items:center;gap:.7rem}
.tst-card .who .av{width:40px;height:40px;border-radius:50%;background:var(--forest);color:#fff;display:grid;place-items:center;font-weight:600;flex:none}
.tst-card .who b{display:block;color:var(--ink);font-size:.95rem}
.tst-card .who span{font-size:.83rem;color:var(--muted)}

/* Local quick-facts band */
.localfacts{background:var(--cream)}
.lf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.lf{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem 1.3rem}
.lf .k{display:flex;align-items:center;gap:.5rem;font-size:.74rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--leaf);margin-bottom:.5rem}
.lf .k svg{width:16px;height:16px}
.lf .v{font-size:.96rem;color:var(--body)}
.lf .v strong{color:var(--ink)}
@media (max-width:900px){.lf-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.lf-grid{grid-template-columns:1fr}}

/* FAQ accordion */
.faq{max-width:74ch;margin-inline:auto}
.faq-item{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:.7rem;overflow:hidden}
.faq-item summary{cursor:pointer;list-style:none;padding:1.05rem 1.2rem;font-family:var(--ff-display);font-weight:600;color:var(--ink);font-size:1.02rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.4rem;color:var(--leaf);transition:transform .3s var(--ease);flex:none}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item .a{padding:0 1.2rem 1.15rem;color:var(--body);font-size:.98rem}
.faq-item .a p{margin:0 0 .8rem}.faq-item .a p:last-child{margin:0}

/* Mini service links row */
.svc-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem}
.svc-mini a{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.3rem;transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s}
.svc-mini a:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line-strong)}
.svc-mini .t{display:flex;align-items:center;gap:.6rem;font-family:var(--ff-display);font-weight:600;color:var(--ink);margin-bottom:.35rem}
.svc-mini .t svg{width:22px;height:22px;color:var(--leaf)}
.svc-mini p{font-size:.9rem;color:var(--muted);margin:0}
@media (max-width:760px){.svc-mini{grid-template-columns:1fr}}

/* Nearby areas chips */
.nearby{margin-top:1.4rem;display:flex;flex-wrap:wrap;gap:.5rem}
.nearby a{font-size:.86rem;color:var(--forest);background:var(--cream);border:1px solid var(--line);padding:.4rem .85rem;border-radius:50px;transition:background .25s,border-color .25s}
.nearby a:hover{background:var(--cream-2);border-color:var(--line-strong)}

/* Compact contact CTA for interior pages */
.cta-strip{background:linear-gradient(rgba(16,31,21,.93),rgba(16,31,21,.96)),url(../img/cta.jpg) center/cover no-repeat;color:#fff;border-radius:var(--radius-lg);padding:clamp(2rem,4vw,3rem);text-align:center}
.cta-strip h2{color:#fff;margin-bottom:.7rem}
.cta-strip p{color:#dde6da;max-width:54ch;margin:0 auto 1.5rem}
.cta-strip .btns{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center}

/* Work gallery */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.gallery figure{margin:0;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3;border:1px solid var(--line);background:var(--cream-2)}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.gallery figure:hover img{transform:scale(1.06)}
@media (max-width:760px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.gallery{grid-template-columns:1fr 1fr;gap:.6rem}}

/* Featured review */
.review-wrap{max-width:680px;margin:0 auto}
.review-wrap .gr-card{padding:1.7rem 1.8rem}
.review-wrap .gr-text{font-size:1.04rem;line-height:1.65}

/* Article intro eyebrow sits tight to first heading */
.article .prose>.eyebrow{margin-bottom:1rem}
.article .prose>h2:nth-of-type(1){margin-top:.2rem}

/* ---- fixes: review card google logo + emergency band containment ---- */
.gr-top svg{width:22px;height:22px;flex:none}
.gr-brand svg{width:24px;height:24px;flex:none}
.emergency .inner{flex-direction:column;align-items:center;text-align:center;gap:1.3rem}
.emergency .inner>div:first-child{max-width:62ch}
.emergency p{margin-inline:auto}
.emergency__actions{flex-direction:row;flex-wrap:wrap;justify-content:center;width:100%;min-width:0;gap:.8rem}
.emergency__actions .btn{width:auto;flex:1 1 240px;max-width:340px}

/* ---- mobile safety nets (small screens) ---- */
img,picture{max-width:100%}
@media (max-width:600px){
  html,body{overflow-x:hidden}
  .hero--page h1{font-size:clamp(1.6rem,7.5vw,2.1rem)}
  .hero__actions{flex-wrap:wrap}
  .hero__actions .btn{flex:1 1 100%;justify-content:center}
  .lf-grid{grid-template-columns:1fr}
  .svc-mini{grid-template-columns:1fr}
  .cta-strip .btns{flex-direction:column}
  .cta-strip .btns .btn{width:100%}
  .crumbs ol{font-size:.78rem}
}
