/* ============================================================
   Able Tree Services — Design System
   Palette: pine green / charcoal / brass gold / stone white
   Type: Fraunces (display) + Inter (body/UI)
   ============================================================ */

:root{
  --pine:        #16302A;
  --pine-dark:   #0E211C;
  --charcoal:    #17181B;
  --stone:       #F5F6F2;
  --stone-deep:  #EBEDE5;
  --sage:        #E2E7DC;
  --brass:       #A97C2F;
  --brass-light: #C79A4C;
  --white:       #FFFFFF;
  --line:        rgba(23,24,27,0.12);
  --line-light:  rgba(255,255,255,0.22);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1240px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--charcoal);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  margin:0 0 0.5em;
  letter-spacing:-0.01em;
  color:var(--pine-dark);
}
h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); font-weight:560; }
h2{ font-size:clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size:clamp(1.2rem, 2vw, 1.5rem); }
p{ margin:0 0 1em; max-width:70ch; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
ul{ padding-left:1.2em; }

:focus-visible{ outline:3px solid var(--brass); outline-offset:2px; }

.container{ max-width:var(--max); margin:0 auto; padding:0 var(--gap); }
.section{ padding:clamp(3rem,7vw,6rem) 0; }
.section--tight{ padding:clamp(2rem,4vw,3.5rem) 0; }
.section--sage{ background:var(--sage); }
.section--stone{ background:var(--stone); }
.section--pine{ background:var(--pine-dark); color:var(--white); }
.section--pine h2, .section--pine h3{ color:var(--white); }

.eyebrow{ font-size:0.8rem; color:var(--brass); font-weight:600; margin-bottom:0.6em; display:block; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:0.5em;
  font-family:var(--font-body); font-weight:600; font-size:0.95rem;
  padding:0.85em 1.6em; border-radius:var(--radius); border:1px solid transparent;
  text-decoration:none; cursor:pointer; transition:background .18s ease, color .18s ease, border-color .18s ease, transform .08s ease;
  line-height:1.2;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--brass); color:var(--white); }
.btn-primary:hover{ background:var(--brass-light); }
.btn-outline{ background:transparent; color:var(--pine-dark); border-color:var(--pine-dark); }
.btn-outline:hover{ background:var(--pine-dark); color:var(--white); }
.btn-outline-light{ background:transparent; color:var(--white); border-color:var(--line-light); }
.btn-outline-light:hover{ background:var(--white); color:var(--pine-dark); }
.btn-ghost{ background:transparent; color:var(--pine-dark); padding:0.85em 0.2em; }
.btn-ghost:hover{ color:var(--brass); }
.btn-row{ display:flex; flex-wrap:wrap; gap:0.85rem; align-items:center; }
.btn-sm{ padding:0.6em 1.1em; font-size:0.85rem; }

/* ---------- Header ---------- */
#site-header{ position:sticky; top:0; z-index:200; background:rgba(246,247,242,0.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:0.9rem var(--gap); max-width:var(--max); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:0.6rem; text-decoration:none; }
.brand-mark{ width:50px; height:50px; border-radius:50%; background:var(--pine-dark); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:1.1rem; flex-shrink:0; overflow: hidden; }
.brand-mark img {width:100%; height:100%; object-fit: contain; }
.brand-name{ font-family:var(--font-display); font-weight:600; font-size:1.05rem; color:var(--pine-dark); line-height:1.15; }
.brand-name small{ display:block; font-family:var(--font-body); font-weight:500; font-size:0.65rem; letter-spacing:0.04em; color:var(--brass); }

.main-nav{ display:flex; align-items:center; gap:1.6rem; }
.main-nav a{ text-decoration:none; font-size:0.92rem; font-weight:500; color:var(--charcoal); padding:0.3em 0; border-bottom:2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"]{ border-bottom-color:var(--brass); }
.has-dropdown{ position:relative; }
.dropdown{ display:none; position:absolute; top:100%; left:0; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 12px 28px rgba(23,24,27,0.12); min-width:260px; padding:0.5rem; margin-top:0.6rem; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ display:block; }
.dropdown a{ display:block; padding:0.6em 0.8em; border-radius:3px; border:none; font-size:0.9rem; }
.dropdown a:hover{ background:var(--stone); border:none; }

.header-actions{ display:flex; align-items:center; gap:0.9rem; }
.phone-link{ display:flex; align-items:center; gap:0.4em; text-decoration:none; font-weight:600; font-size:0.9rem; color:var(--pine-dark); }
.header-cta{ display:none; }
@media (min-width:920px){ .header-cta{ display:inline-flex; } }

.nav-toggle{ display:none; background:none; border:1px solid var(--line); border-radius:4px; width:42px; height:38px; align-items:center; justify-content:center; cursor:pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ content:""; display:block; width:20px; height:2px; background:var(--pine-dark); position:relative; transition:transform .2s ease, opacity .2s ease; }
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width:919px){
  .main-nav{ position:fixed; inset:0 0 0 auto; width:min(320px,85vw); height:100vh; background:var(--white); flex-direction:column; align-items:stretch; gap:0; padding:5.2rem 1.5rem 2rem; transform:translateX(100%); transition:transform .25s ease; overflow-y:auto; }
  .main-nav.open{ transform:translateX(0); box-shadow:-16px 0 40px rgba(0,0,0,0.18); }
  .main-nav a{ padding:0.85em 0; border-bottom:1px solid var(--line); font-size:1.05rem; }
  .dropdown{ display:block; position:static; box-shadow:none; border:none; padding:0 0 0 0.8rem; margin:0; }
  .has-dropdown:hover .dropdown{ display:block; }
  .header-actions .phone-link span{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-scrim{ display:none; position:fixed; inset:0; background:rgba(14,33,28,0.4); z-index:150; }
  .nav-scrim.open{ display:block; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:min(88vh,780px); display:flex; align-items:flex-end; color:var(--white); background:linear-gradient(180deg, rgba(14,33,28,0.55), rgba(14,33,28,0.86)), var(--pine-dark); background-size:cover; background-position:center; }
.hero-content{ padding:4rem 0 3.5rem; max-width:760px; }
.hero-content h1{ color:var(--white); }
.hero-content .lede{ font-size:1.15rem; color:rgba(255,255,255,0.9); max-width:56ch; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:0.6rem; margin:1rem 0 1.6rem; }
.hero-badge{ font-size:0.78rem; font-weight:600; border:1px solid var(--line-light); border-radius:100px; padding:0.4em 0.9em; }

/* ---------- Emergency strip ---------- */
.emergency-strip{ background:var(--charcoal); color:var(--white); padding:0.85rem 0; }
.emergency-strip .container{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0.8rem; }
.emergency-strip strong{ color:var(--brass-light); }
.emergency-strip p{ margin:0; font-size:0.92rem; }

/* ---------- Trust bar ---------- */
.trust-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.trust-item{ background:var(--white); padding:1.4rem 1.2rem; text-align:center; }
.trust-item .num{ font-family:var(--font-display); font-size:1.6rem; color:var(--pine-dark); display:block; margin-bottom:0.2em; }
.trust-item span{ font-size:0.82rem; color:#4b4f4a; }

/* ---------- Why choose / split ---------- */
.split{ display:grid; grid-template-columns:1fr; gap:2.5rem; align-items:center; }
@media (min-width:860px){ .split{ grid-template-columns:1fr 1fr; } .split--rev .split-media{ order:2; } }
.split-media img{ border-radius:var(--radius); width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }
.reason-list{ list-style:none; padding:0; margin:1.4rem 0 0; display:grid; gap:0.9rem; }
.reason-list li{ display:flex; gap:0.8rem; align-items:flex-start; padding-bottom:0.9rem; border-bottom:1px solid var(--line); }
.reason-list li:last-child{ border-bottom:none; }
.reason-mark{ color:var(--brass); font-family:var(--font-display); font-weight:600; flex-shrink:0; }

/* ---------- Service cards ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.5rem; margin-top:2rem; }
.service-card{ position:relative; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; background:var(--white); display:flex; flex-direction:column; transition:border-color .18s ease, box-shadow .18s ease; }
.service-card:hover{ border-color:var(--brass); box-shadow:0 14px 30px rgba(23,24,27,0.1); }
.service-card .thumb{ aspect-ratio:4/3; background:var(--sage) center/cover no-repeat; }
.service-card .body{ padding:1.25rem 1.3rem 1.5rem; flex:1; display:flex; flex-direction:column; }
.service-card h3{ margin-bottom:0.35em; font-size:1.15rem; }
.service-card .learn{ margin-top:auto; font-size:0.85rem; font-weight:600; color:var(--brass); padding-top:0.8rem; }

.compact-services{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:0.9rem; margin-top:1.5rem; }
.compact-services a{ text-decoration:none; color:var(--pine-dark); border:1px solid var(--line); border-radius:var(--radius); padding:0.9rem 1rem; font-weight:600; font-size:0.9rem; display:block; transition:background .15s ease, border-color .15s ease; }
.compact-services a:hover{ background:var(--sage); border-color:var(--brass); }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:1.6rem 1.5rem; counter-reset:step; margin-top:2rem; }
.step{ position:relative; padding-top:2.4rem; }
.step::before{ counter-increment:step; content:counter(step); font-family:var(--font-display); font-size:1.1rem; color:var(--white); background:var(--pine-dark); width:2.1rem; height:2.1rem; border-radius:50%; display:flex; align-items:center; justify-content:center; position:absolute; top:0; left:0; }
.step h4{ margin-bottom:0.3em; font-size:1.02rem; }
.step p{ font-size:0.92rem; color:#4b4f4a; }

/* ---------- Gallery preview ---------- */
.work-preview-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin-top:2rem; }
.work-preview-grid img{ width:100%; height:100%; object-fit:cover; aspect-ratio:1/1; border-radius:var(--radius); }
.work-preview-grid a{ display:block; overflow:hidden; border-radius:var(--radius); }
.work-preview-grid img{ transition:transform .35s ease; }
.work-preview-grid a:hover img{ transform:scale(1.04); }

/* ---------- Final CTA ---------- */
.final-cta{ text-align:center; }
.final-cta .container{ max-width:720px; }

/* ---------- Footer ---------- */
#site-footer{ background:var(--pine-dark); color:rgba(255,255,255,0.82); padding:3rem 0 1.5rem; }
.footer-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:2rem; padding-bottom:2rem; border-bottom:1px solid var(--line-light); }
.footer-grid h4{ color:var(--white); font-family:var(--font-body); font-size:0.85rem; letter-spacing:0.03em; margin-bottom:0.8em; }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:grid; gap:0.55rem; }
.footer-grid a{ text-decoration:none; color:rgba(255,255,255,0.78); font-size:0.9rem; }
.footer-grid a:hover{ color:var(--brass-light); }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; padding-top:1.5rem; font-size:0.8rem; color:rgba(255,255,255,0.55); }
.footer-social{ display:flex; gap:0.9rem; }
.footer-brand{ display:flex; align-items:center; gap:0.6rem; margin-bottom:1rem; }

/* ---------- Forms ---------- */
.form-panel{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.5rem,3vw,2.5rem); }
.field{ margin-bottom:1.2rem; }
.field label{ display:block; font-size:0.85rem; font-weight:600; margin-bottom:0.4em; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field textarea{
  width:100%; padding:0.75em 0.9em; border:1px solid var(--line); border-radius:var(--radius); font-family:var(--font-body); font-size:0.95rem; background:var(--stone);
}
.field input:focus, .field textarea:focus{ background:var(--white); }
.radio-row{ display:flex; flex-wrap:wrap; gap:0.6rem; }
.radio-pill{ position:relative; }
.radio-pill input{ position:absolute; opacity:0; inset:0; cursor:pointer; }
.radio-pill span{ display:inline-block; padding:0.55em 1.1em; border:1px solid var(--line); border-radius:100px; font-size:0.88rem; }
.radio-pill input:checked + span{ background:var(--pine-dark); color:var(--white); border-color:var(--pine-dark); }
.radio-pill input:focus-visible + span{ outline:3px solid var(--brass); outline-offset:2px; }
.checkbox-row{ display:flex; gap:0.6em; align-items:flex-start; font-size:0.85rem; }
.checkbox-row input{ margin-top:0.3em; }
.form-note{ font-size:0.8rem; color:#5b5f5a; margin-top:0.4rem; }
.form-status{ margin-top:1rem; padding:0.9rem 1rem; border-radius:var(--radius); font-size:0.9rem; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ background:#E7F0E4; color:#20521F; }
.form-status.err{ background:#F6E3DF; color:#7A2A1B; }

/* ---------- Process (contact page) ---------- */
.process-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.5rem; margin-top:2rem; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ width:100%; text-align:left; background:none; border:none; padding:1.2rem 0; font-family:var(--font-body); font-weight:600; font-size:1rem; cursor:pointer; display:flex; justify-content:space-between; gap:1rem; align-items:center; color:var(--pine-dark); }
.faq-q .plus{ flex-shrink:0; font-family:var(--font-display); font-size:1.3rem; transition:transform .2s ease; }
.faq-item[open] .plus{ transform:rotate(45deg); }
.faq-a{ padding:0 0 1.3rem; font-size:0.95rem; color:#3c403c; }

/* ---------- Important links ---------- */
.link-table{ display:grid; gap:0.75rem; margin-top:1.5rem; }
.link-row{ display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem 1.2rem; border:1px solid var(--line); border-radius:var(--radius); flex-wrap:wrap; }
.link-row .city{ font-weight:600; }

/* ---------- Gallery (Pictures page) ---------- */
.gallery-filters{ display:flex; gap:0.6rem; flex-wrap:wrap; margin:1.5rem 0 2rem; }
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.1rem; }
.gallery-card{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--white); }
.gallery-card .imgs{ display:grid; grid-template-columns:1fr; }
.gallery-card .imgs.before-after{ grid-template-columns:1fr 1fr; }
.gallery-card img{ width:100%; aspect-ratio:4/3; object-fit:cover; cursor:zoom-in; }
.gallery-card .cap{ padding:0.9rem 1rem; }
.gallery-card .cap .tag{ font-size:0.72rem; text-transform:uppercase; letter-spacing:0.04em; color:var(--brass); font-weight:700; }
.ba-label{ text-align:center; font-size:0.7rem; font-weight:700; letter-spacing:0.05em; padding:0.3em; background:var(--stone-deep); }

/* Lightbox */
.lightbox{ position:fixed; inset:0; background:rgba(10,14,12,0.92); display:none; align-items:center; justify-content:center; z-index:500; padding:2rem; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:min(92vw,1100px); max-height:86vh; object-fit:contain; border-radius:2px; }
.lightbox-close{ position:absolute; top:1.2rem; right:1.5rem; background:none; border:1px solid var(--line-light); color:var(--white); width:42px; height:42px; border-radius:50%; font-size:1.3rem; cursor:pointer; }
.lightbox-cap{ position:absolute; bottom:1.5rem; left:0; right:0; text-align:center; color:rgba(255,255,255,0.85); font-size:0.85rem; }

/* ---------- Generic content pages ---------- */
.page-hero{ background:var(--pine-dark); color:var(--white); padding:3.5rem 0 2.8rem; }
.page-hero h1{ color:var(--white); margin-bottom:0.3em; }
.breadcrumbs{ font-size:0.8rem; color:rgba(255,255,255,0.65); margin-bottom:1rem; }
.breadcrumbs a{ color:rgba(255,255,255,0.85); text-decoration:none; }
.prose h2{ margin-top:2rem; }
.prose h3{ margin-top:1.4rem; }
.prose ul{ margin-bottom:1.2rem; }
.callout{ background:var(--sage); border-left:3px solid var(--pine); padding:1.2rem 1.4rem; border-radius:var(--radius); margin:1.6rem 0; }
.callout.brass{ background:#F7EEDD; border-left-color:var(--brass); }
.related-links{ display:flex; flex-wrap:wrap; gap:0.7rem; margin-top:1rem; }
.related-links a{ font-size:0.85rem; text-decoration:none; border:1px solid var(--line); border-radius:100px; padding:0.5em 1em; }
.related-links a:hover{ border-color:var(--brass); color:var(--brass); }

/* Back to top */
#back-to-top{ position:fixed; bottom:1.4rem; right:1.4rem; width:44px; height:44px; border-radius:50%; background:var(--pine-dark); color:var(--white); border:none; display:none; align-items:center; justify-content:center; cursor:pointer; z-index:120; opacity:0.85; }
#back-to-top.show{ display:flex; }
#back-to-top:hover{ opacity:1; }

/* 404 */
.notfound{ text-align:center; padding:6rem 0; }
.notfound .code{ font-family:var(--font-display); font-size:5rem; color:var(--sage); line-height:1; }

/* Confirmation panel */
.confirm-panel{ text-align:center; padding:3rem 2rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--stone); }
.confirm-panel .mark{ width:56px; height:56px; border-radius:50%; background:var(--pine-dark); color:var(--white); display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; font-size:1.5rem; }

@media (max-width:600px){
  .header-inner{ padding:0.75rem 1rem; }
  .brand-name{ font-size:0.92rem; }
}

/* ============================================================
   Interactivity layer — scroll reveals, hover physics, motion
   All motion respects prefers-reduced-motion (see top of file).
   ============================================================ */

/* Cross-document page transitions (progressive enhancement — 
   no-op in browsers that don't support the View Transitions API) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce){
  @view-transition { navigation: none; }
}

/* Header shrink-on-scroll */
#site-header{ transition: box-shadow .25s ease; }
#site-header.scrolled{ box-shadow:0 6px 20px rgba(14,33,28,0.08); }
#site-header .header-inner{ transition: padding .25s ease; }
#site-header.scrolled .header-inner{ padding-top:0.55rem; padding-bottom:0.55rem; }
#site-header.scrolled .brand-mark{ width:34px; height:34px; font-size:0.95rem; }
.brand-mark{ transition: width .25s ease, height .25s ease, font-size .25s ease; }

/* Hero: single orchestrated entrance on load (not scroll-triggered) */
@keyframes heroUp{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:translateY(0); } }
.hero-content > *{ animation: heroUp .75s cubic-bezier(.2,.7,.3,1) both; }
.hero-content > *:nth-child(1){ animation-delay:.05s; }
.hero-content > *:nth-child(2){ animation-delay:.16s; }
.hero-content > *:nth-child(3){ animation-delay:.27s; }
.hero-content > *:nth-child(4){ animation-delay:.38s; }
.hero-content > *:nth-child(5){ animation-delay:.48s; }

/* Scroll-reveal system (applied via JS to card/list items) */
.reveal{ opacity:0; transform:translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); will-change: transform, opacity; }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* Buttons: magnetic hover pull (JS sets transform; this smooths the release) */
.btn{ transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s cubic-bezier(.2,.7,.3,1); }

/* Cards: tilt + lift (JS sets transform on desktop; keep a smooth base transition) */
.service-card, .gallery-card{ transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease; transform-style:preserve-3d; }
.service-card .thumb{ transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.service-card:hover .thumb{ transform:scale(1.045); }

/* Branch-line divider — draws itself in on scroll (brand motif) */
.divider-branch{ max-width:var(--max); margin:0 auto; padding:1.5rem var(--gap) 0; }
.divider-branch svg{ width:100%; height:34px; display:block; }
.divider-branch path{ fill:none; stroke:var(--brass); stroke-width:1.6; stroke-linecap:round; stroke-dasharray:1500; stroke-dashoffset:1500; transition: stroke-dashoffset 1.5s cubic-bezier(.2,.7,.3,1); }
.divider-branch.in path{ stroke-dashoffset:0; }
@media (prefers-reduced-motion: reduce){ .divider-branch path{ stroke-dashoffset:0; transition:none; } }

/* Live pulse dot for emergency/24-7 badges */
.pulse-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; background:#E8544A; margin-right:0.5em; position:relative; top:-1px; animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.45; transform:scale(0.72); } }

/* Custom FAQ accordion (replaces native <details> for smooth animation) */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item .faq-q{ width:100%; text-align:left; background:none; border:none; padding:1.2rem 0; font-family:var(--font-body); font-weight:600; font-size:1rem; cursor:pointer; display:flex; justify-content:space-between; gap:1rem; align-items:center; color:var(--pine-dark); }
.faq-item .faq-q .plus{ flex-shrink:0; font-family:var(--font-display); font-size:1.3rem; transition:transform .25s ease; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); color:var(--brass); }
.faq-item .faq-a{ max-height:0; overflow:hidden; opacity:0; transition:max-height .38s cubic-bezier(.2,.7,.3,1), opacity .3s ease; }
.faq-item.open .faq-a{ max-height:480px; opacity:1; }
.faq-item .faq-a-inner{ padding-bottom:1.3rem; font-size:0.95rem; color:#3c403c; }

/* Back to top: small hover lift */
#back-to-top{ transition: opacity .2s ease, transform .2s ease, background .18s ease; }
#back-to-top:hover{ transform:translateY(-3px); }
