/* ============================================================
   Ryan Fencing — stylesheet
   Green/white, clean & simple, large + legible (all ages)
   ============================================================ */

:root{
  --green:        #2f6b45;   /* refined mid green */
  --green-dark:   #1f4d34;
  --green-deep:   #143026;   /* deep forest — hero & footer */
  --green-light:  #e8efe9;
  --green-tint:   #f3f6f1;
  --gold:         #b2905e;   /* muted brass accent */
  --gold-soft:    #cdb992;
  --ink:          #18231c;
  --body:         #49554e;
  --muted:        #78827a;
  --line:         #e8e3d7;   /* warm hairline */
  --white:        #ffffff;
  --cream:        #f7f4ec;   /* warm stone */
  --star:         #c19f4c;   /* muted gold star */
  --shadow-sm:    0 1px 2px rgba(20,48,38,.05);
  --shadow-md:    0 10px 30px rgba(20,48,38,.08);
  --shadow-lg:    0 24px 64px rgba(20,48,38,.12);
  --radius:       10px;
  --radius-lg:    16px;
  --wrap:         1180px;
  --font:  "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
body{ overflow-x:clip; }
body{
  margin:0;
  font-family:var(--font);
  font-size:18px;
  line-height:1.7;
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--green-dark); text-decoration:none; }
a:hover{ text-decoration:underline; }
h1,h2,h3,h4{ color:var(--ink); margin:0 0 .5em; font-family:var(--font); }
h1,h2{ font-weight:800; line-height:1.15; letter-spacing:-.02em; }
h3,h4{ font-weight:700; line-height:1.25; letter-spacing:-.01em; }
h1{ font-size:clamp(2.1rem, 5vw, 3.5rem); }
h2{ font-size:clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size:1.32rem; }
p{ margin:0 0 1.1em; }
.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 22px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  font-weight:600; font-size:1.02rem; line-height:1; letter-spacing:.01em;
  padding:16px 30px; border-radius:8px; border:1px solid transparent;
  cursor:pointer; transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  text-decoration:none !important;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--green); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--green-dark); box-shadow:var(--shadow-md); }
.btn-ghost{ background:transparent; color:var(--green-dark); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--green); background:var(--green-tint); }
.btn-white{ background:#fff; color:var(--green-dark); }
.btn-white:hover{ background:var(--cream); }
.btn-lg{ padding:18px 36px; font-size:1.08rem; }

/* ---------- header ---------- */
/* wrapper must not box the sticky header, or it scrolls away */
#site-header{ display:contents; }
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.96); backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .2s ease;
}
.site-header.scrolled{ box-shadow:0 6px 22px rgba(22,58,23,.10); }
.header-inner{ display:flex; align-items:center; gap:16px; min-height:112px; max-width:1260px; }
.brand{ display:flex; align-items:center; gap:14px; text-decoration:none !important; flex:none; }
.brand img{ width:auto; max-width:none; }
.brand-full{ height:100px; }
.brand .brand-fallback{ font-weight:800; color:var(--green-dark); font-size:1.4rem; letter-spacing:-.02em; }
.main-nav{ margin:0 auto; display:flex; align-items:center; gap:8px; }
.main-nav a{
  color:var(--ink); font-weight:700; font-size:1rem;
  padding:9px 12px; border-radius:10px; text-decoration:none !important;
}
.main-nav a:hover{ background:var(--green-tint); color:var(--green-dark); }
.main-nav a.active{ color:var(--green-dark); background:var(--green-light); }
.header-cta{ display:flex; align-items:center; gap:22px; justify-self:end; }
/* top-bar quote button removed on all sizes — the phone is the header CTA, and
   "Get a Free Quote" appears on every page + in the mobile menu (keeps room for the big logo + Security nav) */
.header-cta .btn{ display:none; }
/* refined, bespoke header quote button */
.header-cta .btn-primary{
  background:var(--green-deep); color:#fff; border:none;
  font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  padding:15px 26px; border-radius:4px; box-shadow:none;
  position:relative;
}
.header-cta .btn-primary::after{
  content:""; position:absolute; left:26px; right:26px; bottom:11px; height:1px;
  background:var(--gold-soft); opacity:.6; transition:opacity .25s ease;
}
.header-cta .btn-primary:hover{ background:var(--green-dark); transform:none; }
.header-cta .btn-primary:hover::after{ opacity:1; }
.header-phone{ display:inline-flex; align-items:center; gap:8px; font-weight:800; color:var(--green-deep); white-space:nowrap; text-decoration:none !important; }
.header-phone svg{ width:20px; height:20px; }
.nav-cta{ display:none; }   /* mobile-menu only */
.nav-call{ display:none; }  /* mobile-menu only */
.brand-compact{ display:none; }   /* mobile only (desktop uses full logo) */
.nav-toggle{ display:none; border:1px solid var(--line); background:#fff; border-radius:10px; padding:10px; cursor:pointer; }
.nav-toggle svg{ width:24px; height:24px; display:block; }

/* ---------- hero ---------- */
.hero{ position:relative; background:var(--green-deep); color:#fff; overflow:hidden; }
.hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(115deg, rgba(22,58,23,.92) 0%, rgba(22,58,23,.72) 45%, rgba(22,58,23,.35) 100%); }
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.92; transform-origin:center; animation:kenburns 30s ease-in-out infinite alternate; will-change:transform; }
@keyframes kenburns{ from{ transform:scale(1.03); } to{ transform:scale(1.13); } }
.hero-inner{ animation:heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .hero-bg, .hero-inner{ animation:none; } }
.hero-inner{ position:relative; z-index:2; padding:clamp(36px,5vw,64px) 0 clamp(52px,7vw,92px); max-width:760px; }
.hero h1{ color:#fff; }
.hero p.lead{ font-size:1.3rem; color:#e7f0e4; margin-bottom:1.6em; max-width:620px; }
.eyebrow{ display:inline-flex; align-items:center; gap:12px; color:var(--gold-soft); font-weight:600; font-size:.82rem; text-transform:uppercase; letter-spacing:.22em; margin-bottom:24px; padding-bottom:14px; border-bottom:1px solid rgba(205,185,146,.35); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:28px; }
.hero-trust{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; color:#dfeadc; font-weight:600; }
.hero-trust .stars{ color:var(--star); letter-spacing:2px; }

/* ---------- generic section ---------- */
section{ padding:clamp(56px,8vw,96px) 0; }
.section-tint{ background:var(--cream); }
.section-green{ background:var(--green-deep); color:#eaf3e6; }
.section-green h2, .section-green h3{ color:#fff; }
.section-head{ max-width:720px; margin:0 auto 48px; text-align:center; }
.section-head.left{ margin-left:0; text-align:left; }
.section-head .kicker{ color:var(--gold); font-weight:600; text-transform:uppercase; letter-spacing:.2em; font-size:.8rem; margin-bottom:16px; }
.section-head p{ color:var(--muted); font-size:1.15rem; }
.kicker{ color:var(--gold); font-weight:600; text-transform:uppercase; letter-spacing:.2em; font-size:.8rem; margin-bottom:16px; }

/* ---------- feature cards ---------- */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:34px; box-shadow:none; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:transparent; }
.card .ico{ width:54px; height:54px; border-radius:12px; background:var(--green-tint); color:var(--green); display:grid; place-items:center; margin-bottom:20px; border:1px solid var(--line); }
.card .ico svg{ width:30px; height:30px; }
.card h3{ margin-bottom:.35em; }
.card p{ color:var(--muted); margin-bottom:0; font-size:1.02rem; }
.card ul{ margin:.6em 0 0; padding-left:1.15em; color:var(--muted); }
.card ul li{ margin-bottom:.3em; }

/* ---------- image-topped cards ---------- */
.card-media{ padding:0; overflow:hidden; display:flex; flex-direction:column; }
.card-media .card-photo{ height:190px; overflow:hidden; }
.card-media .card-photo img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.card-media:hover .card-photo img{ transform:scale(1.05); }
.card-media .card-body{ padding:28px 30px 32px; }
.card-media .card-body h3{ margin-bottom:.4em; }
.card-media .card-body p{ margin-bottom:0; }

/* ---------- service rows (services page) ---------- */
.svc-row{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:44px; align-items:center; margin-bottom:60px; }
.svc-row:last-child{ margin-bottom:0; }
.svc-row:nth-of-type(even) .svc-media{ order:2; }
.svc-media{ position:relative; }
.svc-media img{ width:100%; height:100%; min-height:280px; max-height:360px; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
@media (max-width:820px){
  .svc-row{ grid-template-columns:1fr; gap:22px; margin-bottom:44px; }
  .svc-row:nth-of-type(even) .svc-media{ order:0; }
  .svc-media img{ min-height:220px; max-height:280px; }
}

/* ---------- service list (services page) ---------- */
.svc-cat{ margin-bottom:40px; }
.svc-cat h3{ font-size:1.55rem; display:flex; align-items:center; gap:12px; }
.svc-cat h3 .dot{ width:12px; height:12px; border-radius:50%; background:var(--green); flex:none; }
.pill-list{ display:flex; flex-wrap:wrap; gap:12px; margin-top:6px; }
.pill{ background:var(--cream); border:1px solid var(--line); border-radius:6px; padding:10px 18px; font-weight:600; font-size:.98rem; color:var(--ink); transition:border-color .25s ease, background .25s ease; }
.pill:hover{ border-color:var(--gold-soft); background:#fff; }

/* ---------- gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gallery-grid .g-item{ position:relative; border-radius:var(--radius); overflow:hidden; background:var(--green-light); box-shadow:var(--shadow-sm); cursor:pointer; aspect-ratio:4/3; }
.gallery-grid .g-item img{ width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery-grid .g-item:hover img{ transform:scale(1.05); }
.gallery-grid .g-item::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(20,48,38,.28), transparent 45%); opacity:0; transition:opacity .4s ease; }
.gallery-grid .g-item:hover::after{ opacity:1; }
.gallery-note{ text-align:center; color:var(--muted); margin-top:26px; }

/* lightbox */
.lightbox{ position:fixed; inset:0; z-index:200; background:rgba(11,25,12,.92); display:none; align-items:center; justify-content:center; padding:24px; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:92vw; max-height:84vh; border-radius:10px; box-shadow:var(--shadow-lg); }
.lb-btn{ position:absolute; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3); color:#fff; width:54px; height:54px; border-radius:50%; font-size:1.6rem; cursor:pointer; display:grid; place-items:center; }
.lb-btn:hover{ background:rgba(255,255,255,.28); }
.lb-close{ top:22px; right:22px; }
.lb-prev{ left:22px; top:50%; transform:translateY(-50%); }
.lb-next{ right:22px; top:50%; transform:translateY(-50%); }
.lb-counter{ position:absolute; bottom:22px; left:50%; transform:translateX(-50%); color:#e7f0e4; font-weight:700; }

/* ---------- reviews ---------- */
.review-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px; box-shadow:none; display:flex; flex-direction:column; height:100%; transition:box-shadow .3s ease; }
.review-card:hover{ box-shadow:var(--shadow-md); }
.review-card .stars{ color:var(--star); letter-spacing:3px; font-size:1rem; margin-bottom:16px; }
.review-card blockquote{ margin:0 0 20px; font-size:1.1rem; line-height:1.6; color:var(--ink); }
.review-card .who{ margin-top:auto; display:flex; align-items:center; gap:12px; }
.review-card .avatar{ width:44px; height:44px; border-radius:50%; background:var(--green); color:#fff; display:grid; place-items:center; font-weight:800; }
.review-card .who b{ color:var(--ink); display:block; }
.review-card .who span{ color:var(--muted); font-size:.9rem; }

/* ---------- leave a review ---------- */
.review-form-grid{ display:grid; grid-template-columns:1.25fr .9fr; gap:30px; align-items:start; }
.review-elsewhere{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; }
.review-elsewhere h3{ margin-bottom:.4em; }
.review-elsewhere .btn{ width:100%; justify-content:center; margin-bottom:12px; }
.review-elsewhere .btn:last-child{ margin-bottom:0; }
.star-rating{ display:inline-flex; gap:8px; }
.star-rating .star{ background:none; border:none; padding:2px; cursor:pointer; font-size:2rem; line-height:1; color:var(--line); transition:color .15s ease, transform .12s ease; }
.star-rating .star:hover{ transform:scale(1.12); }
.star-rating .star.on{ color:var(--star); }
@media (max-width:820px){ .review-form-grid{ grid-template-columns:1fr; } }

/* ---------- stats strip ---------- */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; text-align:center; }
.stats .stat b{ display:block; font-size:2.7rem; color:#fff; font-weight:800; line-height:1; letter-spacing:-.02em; }
.stats .stat span{ color:var(--gold-soft); font-weight:500; letter-spacing:.03em; font-size:.95rem; }

/* ---------- pricing ---------- */
.price-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.price-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow-sm); }
.price-card.feature{ border-color:var(--green); box-shadow:var(--shadow-md); position:relative; }
.price-card .tag{ position:absolute; top:-13px; left:32px; background:var(--green); color:#fff; font-weight:800; font-size:.8rem; padding:6px 14px; border-radius:999px; letter-spacing:.03em; }
.price-card h3{ margin-bottom:.2em; }
.price-card .from{ font-size:2.2rem; font-weight:800; color:var(--green-dark); line-height:1; margin:.2em 0 .1em; }
.price-card .from small{ font-size:1rem; color:var(--muted); font-weight:600; }
.price-card .price-tbd{ display:inline-block; background:var(--green-light); color:var(--green-dark); font-weight:800; padding:8px 16px; border-radius:10px; margin:.2em 0 .6em; }
.price-card ul{ list-style:none; padding:0; margin:0 0 22px; }
.price-card ul li{ padding:9px 0 9px 30px; position:relative; border-bottom:1px solid var(--line); color:var(--ink); }
.price-card ul li:last-child{ border-bottom:0; }
.price-card ul li::before{ content:"✔"; position:absolute; left:0; color:var(--green); font-weight:800; }
.price-banner{ background:var(--green-light); border:1px dashed var(--green); border-radius:var(--radius); padding:22px 26px; text-align:center; color:var(--green-deep); font-weight:600; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.contact-list{ list-style:none; padding:0; margin:0 0 26px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--line); }
.contact-list .ci{ width:46px; height:46px; border-radius:12px; background:var(--green-light); color:var(--green-dark); display:grid; place-items:center; flex:none; }
.contact-list .ci svg{ width:24px; height:24px; }
.contact-list b{ display:block; color:var(--ink); font-size:1.05rem; }
.contact-list a{ font-weight:700; }
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow-md); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:700; color:var(--ink); margin-bottom:7px; }
.field input, .field textarea, .field select{
  width:100%; padding:14px 16px; border:1.5px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:1rem; color:var(--ink); background:#fff;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color:var(--green); box-shadow:0 0 0 3px var(--green-light); }
.form-note{ font-size:.9rem; color:var(--muted); margin-top:8px; }

/* ---------- full-width photo band ---------- */
.photo-band{ position:relative; min-height:340px; display:grid; place-items:center; overflow:hidden; }
.photo-band img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.photo-band::after{ content:""; position:absolute; inset:0; background:linear-gradient(rgba(22,58,23,.58), rgba(22,58,23,.74)); }
.photo-band .pb-inner{ position:relative; z-index:2; text-align:center; color:#fff; max-width:760px; padding:56px 22px; }
.photo-band .pb-inner h2{ color:#fff; }
.photo-band .pb-inner p{ color:#e3f1e0; font-size:1.2rem; margin-bottom:0; }

/* ---------- FAQ ---------- */
.faq{ max-width:840px; margin:0 auto; }
.faq details{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); margin-bottom:14px; overflow:hidden; transition:box-shadow .25s ease; }
.faq details[open]{ box-shadow:var(--shadow-sm); }
.faq summary{ cursor:pointer; padding:20px 26px; font-weight:700; color:var(--ink); font-size:1.1rem; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--green); font-weight:700; font-size:1.5rem; line-height:1; flex:none; transition:transform .25s ease; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details[open] summary{ border-bottom:1px solid var(--line); }
.faq .faq-body{ padding:18px 26px 22px; color:var(--muted); font-size:1.02rem; }
.faq .faq-body p{ margin:0; }
.faq .faq-body a{ font-weight:700; }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--green); color:#fff; border-radius:var(--radius-lg); padding:clamp(36px,6vw,60px); text-align:center; box-shadow:var(--shadow-md); }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#e3f1e0; font-size:1.2rem; max-width:600px; margin:0 auto 26px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- footer ---------- */
.site-footer{ background:var(--green-deep); color:#cfe0cb; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1.4fr; gap:48px; margin-bottom:44px; }
.footer-rating{ display:flex; align-items:center; gap:10px; margin-top:20px; color:#dbe8d7; font-weight:700; }
.footer-rating .stars{ color:var(--star); letter-spacing:2px; }
.site-footer h4{ color:#fff; font-size:1.05rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.site-footer a{ color:#cfe0cb; }
.site-footer a:hover{ color:#fff; }
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:10px; }
.footer-brand img{ height:86px; width:auto; margin-bottom:18px; filter:brightness(0) invert(1); opacity:.95; }
.footer-brand p{ color:#b9cdb4; max-width:340px; }
.footer-contact li{ display:flex; gap:12px; margin-bottom:14px; align-items:flex-start; line-height:1.5; }
.footer-contact li svg{ width:20px; height:20px; flex:none; margin-top:3px; color:#8fb98a; }
.footer-contact li a, .footer-contact li span{ padding-top:0; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.14); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:#9fb79a; font-size:.92rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ background:var(--green-deep); color:#fff; padding:clamp(48px,7vw,80px) 0; }
.page-hero .crumbs{ color:#a9c4a3; font-weight:600; margin-bottom:14px; font-size:.95rem; }
.page-hero .crumbs a{ color:#a9c4a3; }
.page-hero h1{ color:#fff; margin-bottom:.25em; }
.page-hero p{ color:#dceada; font-size:1.2rem; max-width:640px; margin:0; }

/* ---------- helpers ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.split img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); width:100%; }
.checklist{ list-style:none; padding:0; margin:0; }
.checklist li{ position:relative; padding:8px 0 8px 34px; color:var(--ink); font-weight:600; }
.checklist li::before{ content:"✔"; position:absolute; left:0; top:8px; color:var(--green); font-weight:800; background:var(--green-light); width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:.8rem; }
.skip-link{ position:absolute; left:-999px; }
.skip-link:focus{ left:12px; top:12px; background:#fff; padding:10px 16px; border-radius:8px; z-index:100; }

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .main-nav a{ padding:10px 11px; font-size:.98rem; }
  .header-cta .btn{ display:none; }        /* keep phone + nav, drop the quote button */
}
/* Collapse to the hamburger menu whenever the full horizontal nav + big logo won't fit.
   Full logo and phone stay visible here — there's plenty of room without the inline nav. */
@media (max-width:1260px){
  .nav-toggle{ display:inline-flex; }
  .main-nav{
    position:fixed; inset:112px 0 auto 0; z-index:150; background:#fff;
    flex-direction:column; align-items:stretch; margin:0;
    padding:14px 22px 22px; border-bottom:1px solid var(--line); box-shadow:var(--shadow-md);
    transform:translateY(-160%); transition:transform .25s ease; gap:2px;
  }
  .main-nav.open{ transform:translateY(0); }
  .main-nav a{ padding:15px 14px; font-size:1.06rem; border-radius:10px; }
  .main-nav .nav-call{ display:flex; justify-content:center; gap:8px; margin-top:12px; }
  .main-nav .nav-call svg{ width:18px; height:18px; }
  .main-nav .nav-cta{ display:flex; justify-content:center; margin-top:8px; }
}
@media (max-width:900px){
  .grid-3,.grid-4,.price-grid,.gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .split,.contact-grid{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:repeat(2,1fr); gap:30px 22px; }
}
@media (max-width:760px){
  body{ font-size:17px; }
  .header-inner{ display:flex; justify-content:space-between; min-height:84px; }
  .brand-full{ display:none; }
  .brand-compact{ display:block; height:54px; width:auto; }
  .header-cta{ gap:10px; }
  .header-cta .header-phone{ display:none; }   /* freed up so the logo can be bigger; Call is in the menu */
  .main-nav{
    position:fixed; inset:84px 0 auto 0; background:#fff; flex-direction:column; align-items:stretch; margin:0;
    padding:14px 22px 22px; border-bottom:1px solid var(--line); box-shadow:var(--shadow-md);
    transform:translateY(-140%); transition:transform .25s ease; gap:2px;
  }
  .main-nav.open{ transform:translateY(0); }
  .main-nav a{ padding:15px 12px; font-size:1.1rem; border-radius:10px; }
  .main-nav .nav-call{ display:flex; justify-content:center; gap:8px; margin-top:12px; }
  .main-nav .nav-call svg{ width:18px; height:18px; }
  .main-nav .nav-cta{ display:flex; justify-content:center; margin-top:8px; }
  .nav-toggle{ display:inline-flex; }
  .header-phone span.lbl{ display:none; }
  .header-cta .btn{ display:none; }
  .eyebrow{ display:block; letter-spacing:.14em; font-size:.72rem; line-height:1.9; }
  .hero p.lead{ font-size:1.15rem; }
  .hero-actions{ width:100%; }
  .hero-actions .btn{ width:100%; justify-content:center; }
  .cta-actions{ flex-direction:column; width:100%; }
  .cta-actions .btn{ width:100%; justify-content:center; }
  .btn-row{ flex-direction:column; }
  .btn-row .btn{ width:100%; justify-content:center; }
  .grid-3,.grid-4,.price-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .footer-brand img{ height:60px; }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .section-head p, .section-head.left p{ font-size:1.05rem; }
}
@media (max-width:420px){
  .wrap{ padding:0 16px; }
  .brand-compact{ height:50px; }
  .footer-brand img{ height:54px; }
  .stats .stat b{ font-size:2.3rem; }
  .btn-lg{ padding:16px 26px; }
}
