/* Panther Heat and Air: site stylesheet (mobile-first, no build step) */
:root{
  --ink:#111214; --ink-2:#1a1b1f; --ink-3:#26272c; --line-d:rgba(255,255,255,.12);
  --paper:#ffffff; --sand:#f5f3ef; --sand-2:#ece8e1; --line:#e3ded5;
  --text:#1b1c20; --muted:#5f6068; --muted-d:#b4b5bc;
  --red:#d7143a; --red-2:#f0284f; --red-d:#a80d2b; --gold:#f5b400;
  --r:18px; --r-sm:12px;
  --sh:0 1px 2px rgba(17,18,20,.06),0 10px 30px -8px rgba(17,18,20,.16);
  --sh-lg:0 30px 60px -20px rgba(0,0,0,.45);
  --head:"Barlow Condensed","Arial Narrow",system-ui,sans-serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --header-h:68px; --bar-h:64px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--paper);color:var(--text);font:16px/1.65 var(--body);-webkit-font-smoothing:antialiased;padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom))}
img{max-width:100%;height:auto;display:block}
a{color:var(--red)}
h1,h2,h3{font-family:var(--head);line-height:1.02;margin:0 0 .45em;letter-spacing:.005em}
h1,h2{text-transform:uppercase;font-weight:800}
h2{font-size:clamp(2.1rem,5.2vw,3.25rem)}
h3{font-size:1.4rem;font-weight:700}
p{margin:0 0 1em}
.accent{color:var(--red-2)}
.wrap{width:min(1200px,100% - 2.5rem);margin-inline:auto}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:.6rem 1rem;z-index:200}
.skip:focus{left:1rem}
:focus-visible{outline:3px solid var(--red-2);outline-offset:3px;border-radius:6px}
.kicker{font:700 .78rem/1 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--red);margin:0 0 .9rem;display:inline-flex;align-items:center;gap:.6rem}
.kicker::before{content:"";width:22px;height:2px;background:currentColor}
.muted{color:var(--muted)}
svg{flex:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;font:700 1rem/1 var(--body);min-height:48px;padding:.9rem 1.4rem;border-radius:999px;text-decoration:none;border:1.5px solid transparent;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s;cursor:pointer;white-space:nowrap}
.btn svg{width:1.15em;height:1.15em;fill:currentColor}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 10px 24px -8px rgba(215,20,58,.6)}
.btn-primary:hover{background:var(--red-2)}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.btn-glass{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.4);backdrop-filter:blur(6px)}
.btn-glass:hover{background:rgba(255,255,255,.18);border-color:#fff}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-sm{min-height:42px;padding:.6rem 1.05rem;font-size:.92rem}
.btn-lg{min-height:56px;padding:1rem 1.6rem;font-size:1.05rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 0}
.cta-row .btn{flex:1 1 100%}

/* Top bar */
.topbar{display:none;background:var(--ink);color:var(--muted-d);font-size:.84rem}
.topbar-inner{display:flex;gap:1.75rem;align-items:center;height:38px}
.topbar span{display:inline-flex;align-items:center;gap:.45rem}
.topbar strong{color:#fff;font-weight:600}
.topbar .ico{width:15px;height:15px;fill:var(--red-2)}
.tb-addr{margin-left:auto}

/* Header */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:.75rem;height:var(--header-h)}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--ink);margin-right:auto}
.brand img{width:46px;height:46px;border-radius:50%;background:var(--ink);object-fit:cover;box-shadow:0 0 0 2px var(--red)}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-name{font:800 1.6rem/1 var(--head);text-transform:uppercase;letter-spacing:.05em}
.brand-sub{font:700 .7rem/1.3 var(--body);text-transform:uppercase;letter-spacing:.22em;color:var(--red)}
.header-call{display:flex;align-items:center;gap:.6rem;color:var(--ink);text-decoration:none;font:800 1.05rem/1.1 var(--body)}
.hc-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--red);box-shadow:0 8px 18px -8px rgba(215,20,58,.7)}
.hc-icon svg{width:20px;height:20px;fill:#fff}
.header-call-text{display:none}
.header-call-text small{display:block;font:600 .7rem/1.2 var(--body);color:var(--red);letter-spacing:.12em;text-transform:uppercase}
.header-book{display:none}
.nav{display:none}
.nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:0;padding:10px;cursor:pointer}
.nav-toggle span{width:24px;height:2px;background:var(--ink);border-radius:2px;transition:.2s}
.nav-open .nav{display:flex;position:absolute;top:var(--header-h);left:0;right:0;flex-direction:column;background:#fff;border-bottom:1px solid var(--line);padding:.75rem 1.25rem 1.5rem;box-shadow:var(--sh)}
.nav a{color:var(--ink);text-decoration:none;font-weight:600;padding:.75rem 0;border-bottom:1px solid var(--sand-2)}
.nav .btn{margin-top:1rem;border:0;color:#fff}
.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-open .nav-toggle span:nth-child(2){opacity:0}
.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Hero */
.hero{position:relative;isolation:isolate;color:#fff;background:var(--ink);overflow:hidden;min-height:600px;display:flex;align-items:center}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% 30%;z-index:-2}
.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,10,12,.35) 0%,rgba(10,10,12,.55) 35%,rgba(10,10,12,.9) 70%,rgba(10,10,12,.96) 100%)}
.hero-inner{display:grid;gap:2rem;padding:9rem 0 2.5rem;align-items:end}
.rating-chip{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);color:#fff;text-decoration:none;padding:.45rem .9rem .45rem .5rem;border-radius:999px;font-size:.88rem;margin-bottom:1.25rem}
.rating-chip .g{width:22px;height:22px;background:#fff;border-radius:50%;padding:3px}
.rating-chip span:last-child{color:#d9d9de}
.stars-sm{display:inline-flex;gap:1px}
.stars-sm svg{width:15px;height:15px;fill:var(--gold)}
.hero h1{font-size:clamp(2.9rem,11vw,5.4rem);margin-bottom:.35em;text-shadow:0 2px 30px rgba(0,0,0,.35)}
.hero h1 .accent{display:block}
.hero .lead{font-size:clamp(1.02rem,2.4vw,1.2rem);color:#e6e6ea;max-width:36rem;margin:0}
.hero-note{margin:1rem 0 0;font-size:.92rem;color:#cfcfd5;font-weight:500}
.hero-review{display:none;margin:0;background:rgba(255,255,255,.96);color:var(--text);border-radius:var(--r);padding:1.4rem 1.5rem;box-shadow:var(--sh-lg);max-width:360px;justify-self:end}
.hero-review blockquote{margin:.6rem 0 .9rem;font:500 1.02rem/1.55 var(--body)}
.hero-review figcaption{display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:600;color:var(--muted)}
.hero-review .g{width:18px;height:18px}

/* Trust strip */
.trust{background:var(--ink-2);color:#fff;border-top:1px solid var(--line-d)}
.trust-inner{list-style:none;margin:0 auto;padding:1.1rem 0;display:grid;grid-template-columns:1fr 1fr;gap:1rem .75rem}
.trust li{display:flex;align-items:center;gap:.7rem;min-width:0}
.trust li>svg{width:34px;height:34px;padding:7px;border-radius:10px;background:rgba(255,255,255,.08);fill:var(--red-2)}
.trust li>svg.g{background:#fff;padding:6px}
.trust strong{display:block;font:700 .95rem/1.2 var(--body)}
.trust span{display:block;font-size:.8rem;color:var(--muted-d);line-height:1.3}

/* Sections */
.section{padding:clamp(3.75rem,8vw,6.5rem) 0}
.section-head{max-width:44rem;margin:0 auto 2.5rem;text-align:center}
.section-head .kicker{justify-content:center}
.section-head p:last-child{color:var(--muted);font-size:1.05rem;margin:0}
.section-head.left{text-align:left;margin-inline:0}
.section-head.left .kicker{justify-content:flex-start}
.dark{background:var(--ink);color:#fff}
.dark .kicker{color:var(--red-2)}

/* Reviews */
.reviews{background:var(--sand)}
.reviews-head{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:2rem}
.reviews-head h2{margin:0}
.rating-summary{display:flex;align-items:center;gap:.9rem;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:.85rem 1rem;box-shadow:var(--sh);flex-wrap:wrap}
.rating-summary>.g{width:36px;height:36px}
.rs-score{font:800 1.7rem/1 var(--head);display:flex;align-items:center;gap:.5rem}
.rs-count{font-size:.85rem;color:var(--muted)}
.rating-summary .btn{margin-left:auto}
.review-cards{display:grid;grid-auto-flow:column;grid-auto-columns:86%;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:.25rem .25rem 1.25rem;margin:0 -.25rem;scrollbar-width:thin}
.review-card{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;box-shadow:var(--sh);display:flex;flex-direction:column;position:relative}
.review-card::before{content:"\201C";position:absolute;top:.4rem;right:1.1rem;font:800 4.5rem/1 Georgia,serif;color:var(--sand-2)}
.review-card blockquote{margin:.75rem 0 1.25rem;font-size:.98rem;line-height:1.6;flex:1}
.review-card footer{display:flex;align-items:center;gap:.7rem;border-top:1px solid var(--sand-2);padding-top:1rem}
.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font:700 .9rem/1 var(--body)}
.review-card cite{font-style:normal;font-weight:700;display:block;line-height:1.2}
.review-card small{color:var(--muted);font-size:.8rem;display:flex;align-items:center;gap:.3rem}
.review-card small .g{width:13px;height:13px}

/* Services */
.svc-grid{display:grid;gap:1.25rem}
.svc{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.svc:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(17,18,20,.06),0 24px 40px -14px rgba(17,18,20,.25)}
.svc-media{position:relative;aspect-ratio:16/10;background:var(--ink)}
.svc-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.svc-fallback{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(120% 90% at 85% 0%,rgba(215,20,58,.45),transparent 55%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 14px),linear-gradient(160deg,#25262b,#111214)}
.ico-lg{width:64px;height:64px;fill:rgba(255,255,255,.88);filter:drop-shadow(0 6px 18px rgba(0,0,0,.4))}
.svc-body{padding:1.25rem 1.35rem 1.4rem}
.svc h3{display:flex;align-items:center;gap:.55rem;font-size:1.45rem;text-transform:uppercase}
.svc h3 .ico{width:22px;height:22px;fill:var(--red)}
.svc p{color:var(--muted);margin:0;font-size:.97rem}
.svc-cta{background:linear-gradient(160deg,var(--red),var(--red-d));color:#fff;border:0;justify-content:center}
.svc-cta .kicker{color:#ffd1da}
.svc-cta h3{font-size:1.8rem}
.svc-cta p{color:#ffe3e8;margin-bottom:1.25rem}
.svc-cta .btn{background:#fff;color:var(--red-d);box-shadow:none}

/* Financing */
.fin-grid{display:grid;gap:2.5rem;align-items:center}
.fin-media{border-radius:var(--r);overflow:hidden;box-shadow:var(--sh-lg);aspect-ratio:4/3;position:relative}
.fin-media img{width:100%;height:100%;object-fit:cover}
.fin-media::after{content:"Free estimates";position:absolute;left:1rem;bottom:1rem;background:var(--red);color:#fff;font:800 1.05rem/1 var(--head);letter-spacing:.08em;text-transform:uppercase;padding:.6rem .9rem;border-radius:8px}
.fin-copy p{color:#d4d4da;font-size:1.05rem}
.checks{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.6rem}
.checks li{position:relative;padding-left:2rem;font-weight:500}
.checks li::before{content:"";position:absolute;left:0;top:.2rem;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.5 16.6-4.1-4.1 1.4-1.4 2.7 2.7 7.2-7.2 1.4 1.4z'/%3E%3C/svg%3E") center/80% no-repeat}

/* Gallery */
.jobs{background:var(--paper)}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.g-item{margin:0;border-radius:var(--r-sm);overflow:hidden;aspect-ratio:1;background:var(--sand-2)}
.g-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.g-item:hover img{transform:scale(1.04)}
.g-item:first-child{grid-column:span 2;aspect-ratio:16/10}

/* Why */
.why{background:var(--sand);overflow:hidden}
.why-grid{display:grid;gap:2rem;align-items:center}
.why-art{display:none}
.why-list{display:grid;gap:1.4rem;margin:1.75rem 0 2rem}
.why-list>div{display:grid;grid-template-columns:auto 1fr;column-gap:1rem}
.why-list h3{font-size:1.3rem;text-transform:uppercase;margin:.15rem 0 .2rem}
.why-list p{grid-column:2;color:var(--muted);margin:0}
.ico-badge{grid-row:span 2;width:48px;height:48px;padding:12px;border-radius:14px;background:var(--ink);fill:#fff}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:.75rem;counter-reset:s}
.steps li{display:flex;gap:1rem;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);padding:1rem 1.1rem}
.steps li>span{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;font:800 1.1rem/1 var(--head)}
.steps strong{display:block;font-weight:700}
.steps div{color:var(--muted);font-size:.95rem;line-height:1.45}
.steps div strong{color:var(--text)}

/* Area */
.area-grid{display:grid;gap:2rem;align-items:center}
.towns{list-style:none;padding:0;margin:1.25rem 0 1.25rem;display:flex;flex-wrap:wrap;gap:.5rem}
.towns li{display:inline-flex;align-items:center;gap:.35rem;background:var(--sand);border:1px solid var(--line);padding:.45rem .8rem;border-radius:999px;font-weight:600;font-size:.92rem}
.towns .ico{width:14px;height:14px;fill:var(--red)}
.map{position:relative;border-radius:var(--r);overflow:hidden;min-height:340px;background:var(--sand-2);box-shadow:var(--sh);border:1px solid var(--line)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;text-align:center}

/* FAQ */
.faq{background:var(--paper);border-top:1px solid var(--sand-2)}
.faq-grid{display:grid;gap:1.5rem}
.faq-list{display:grid;gap:.6rem}
.faq-item{background:var(--sand);border:1px solid var(--line);border-radius:var(--r-sm)}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem 1.2rem;font-weight:700;font-size:1.02rem}
.faq-item summary::-webkit-details-marker{display:none}
.plus{flex:none;width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid var(--line);position:relative}
.plus::before,.plus::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;background:var(--red);transform:translate(-50%,-50%);transition:transform .2s}
.plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.faq-item[open] .plus::after{transform:translate(-50%,-50%) rotate(0)}
.faq-item[open]{background:#fff;box-shadow:var(--sh)}
.faq-a{padding:0 1.2rem 1.1rem;color:var(--muted)}
.faq-a p{margin:0}

/* Final CTA */
.final-cta{background:radial-gradient(90% 140% at 100% 0%,#ff3f63 0%,transparent 55%),linear-gradient(135deg,var(--red) 0%,var(--red-d) 100%);color:#fff;padding:clamp(3rem,7vw,5rem) 0}
.final-inner{display:grid;gap:1rem;align-items:center}
.final-cta h2{margin:0 0 .5rem}
.final-cta h2 .accent{color:#fff;opacity:.75;display:block}
.final-cta p{margin:0;color:#ffe1e7}
.final-cta .btn-light{color:var(--red-d)}

/* Footer */
.site-footer{background:var(--ink);color:var(--muted-d);font-size:.92rem;padding:3rem 0 1.5rem}
.footer-inner{display:grid;gap:1.75rem}
.footer-brand{display:flex;gap:.9rem;align-items:flex-start}
.footer-brand img{width:52px;height:52px;border-radius:50%;box-shadow:0 0 0 2px var(--red)}
.footer-brand div,.footer-col{display:flex;flex-direction:column;gap:.15rem}
.site-footer strong{color:#fff;font-size:1rem}
.site-footer a{color:#fff}
.footer-badges{list-style:none;padding:0;margin:0;display:grid;gap:.4rem}
.footer-badges li::before{content:"\2713";color:var(--red-2);margin-right:.5rem;font-weight:700}
.footer-legal{border-top:1px solid var(--line-d);margin-top:2rem;padding-top:1.25rem;font-size:.84rem}

/* Sticky mobile bar */
.mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;display:grid;grid-template-columns:1.2fr 1fr;gap:.5rem;padding:.5rem .6rem calc(.5rem + env(safe-area-inset-bottom));background:rgba(17,18,20,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line-d)}
.mobile-bar a{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;border-radius:12px;font:700 1rem/1 var(--body);text-decoration:none}
.mobile-bar svg{width:18px;height:18px;fill:currentColor}
.mb-call{background:var(--red);color:#fff}
.mb-book{background:#fff;color:var(--ink)}

/* ---------- >= 600px ---------- */
@media (min-width:600px){
  .cta-row .btn{flex:0 0 auto}
  .header-call-text{display:block}
  .trust-inner{grid-template-columns:repeat(4,1fr);padding:1.35rem 0}
  .review-cards{grid-auto-columns:calc((100% - 1rem)/2)}
  .svc-grid{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .g-item:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
  .reviews-head{flex-direction:row;align-items:flex-end;justify-content:space-between}
  .steps{grid-template-columns:repeat(3,1fr)}
  .steps li{flex-direction:column}
}

/* ---------- >= 960px ---------- */
@media (min-width:960px){
  body{padding-bottom:0}
  .mobile-bar{display:none}
  .topbar{display:block}
  :root{--header-h:78px}
  .nav{display:flex;align-items:center;gap:1.6rem;margin-right:1.5rem}
  .nav a{padding:0;border:0;font-size:.95rem;color:#3a3b41}
  .nav a:hover{color:var(--red)}
  .nav .nav-book{display:none}
  .nav-toggle{display:none}
  .header-book{display:inline-flex;margin-left:.5rem}
  .hero{min-height:660px}
  .hero-shade{background:linear-gradient(90deg,rgba(10,10,12,.92) 0%,rgba(10,10,12,.78) 42%,rgba(10,10,12,.25) 75%,rgba(10,10,12,.35) 100%)}
  .hero-img{object-position:70% 40%}
  .hero-inner{grid-template-columns:1.7fr 1fr;padding:4.5rem 0;align-items:center}
  .hero h1{font-size:clamp(3.6rem,5.6vw,4.9rem)}
  .hero h1 .accent{display:inline}
  .hero-review{display:block}
  .review-cards{grid-auto-flow:row;grid-template-columns:repeat(3,1fr);overflow:visible;padding:0;margin:0}
  .svc-grid{grid-template-columns:repeat(3,1fr)}
  .fin-grid{grid-template-columns:1fr 1.1fr;gap:4rem}
  .fin-media{aspect-ratio:4/5;max-width:480px;justify-self:center;width:100%}
  .gallery{grid-template-columns:repeat(4,1fr);grid-auto-rows:220px}
  .g-item{aspect-ratio:auto}
  .why-grid{grid-template-columns:.8fr 1.4fr;gap:4rem}
  .why-art{display:block;position:relative;align-self:end}
  .why-art::before{content:"";position:absolute;inset:12% 0 0;border-radius:50% 50% var(--r) var(--r);background:radial-gradient(circle at 50% 30%,rgba(215,20,58,.18),transparent 65%),var(--sand-2)}
  .why-art img{position:relative;max-height:620px;width:auto;margin:auto}
  .why-list{grid-template-columns:1fr 1fr;gap:1.75rem 2rem}
  .area-grid{grid-template-columns:1fr 1.15fr;gap:4rem}
  .map{min-height:440px}
  .faq-grid{grid-template-columns:.8fr 1.5fr;gap:4rem;align-items:start}
  .final-inner{grid-template-columns:1.4fr auto;gap:3rem}
  .final-inner .cta-row{margin:0}
  .footer-inner{grid-template-columns:1.3fr .8fr 1.5fr 1.1fr}
}

/* Gallery: keep the grid hole-free for any number of filled slots (3–9). Empty slots remove themselves. */
@media (max-width:599px){
  .g-item:last-child:nth-child(even){grid-column:span 2;aspect-ratio:16/10}
}
@media (min-width:960px){
  .gallery:has(> .g-item:nth-child(3):last-child){grid-template-columns:1.6fr 1fr;grid-auto-rows:240px}
  .gallery:has(> .g-item:nth-child(3):last-child) .g-item:first-child{grid-column:auto;grid-row:span 2}
  .gallery:has(> .g-item:nth-child(4):last-child),
  .gallery:has(> .g-item:nth-child(6):last-child){grid-template-columns:repeat(3,1fr);grid-auto-rows:260px}
  .gallery:has(> .g-item:nth-child(4):last-child) .g-item:first-child{grid-row:span 1}
  .gallery:has(> .g-item:nth-child(4):last-child) .g-item:last-child{grid-column:span 3}
  .gallery:has(> .g-item:nth-child(6):last-child) .g-item:first-child{grid-column:auto;grid-row:auto}
  .gallery:has(> .g-item:nth-child(5):last-child),
  .gallery:has(> .g-item:nth-child(8):last-child){grid-template-columns:repeat(3,1fr)}
  .gallery:has(> .g-item:nth-child(5):last-child) .g-item:first-child,
  .gallery:has(> .g-item:nth-child(8):last-child) .g-item:first-child{grid-row:auto}
  .gallery:has(> .g-item:nth-child(7):last-child) .g-item:first-child{grid-row:auto}
}

/* 8 service cards + CTA: 3x3 on desktop; CTA spans the row on 2-col tablets */
@media (min-width:600px) and (max-width:959px){.svc-grid .svc-cta{grid-column:1/-1}}
.cta-email{display:flex;align-items:center;gap:.45rem;margin-top:.6rem!important;flex-wrap:wrap}
.cta-email svg{width:18px;height:18px;fill:#fff;flex:none}
.cta-email a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px;word-break:break-all}
.footer-brand a[href^="mailto"]{word-break:break-all}
.footer-services span{line-height:1.6}
.err-page{text-align:center;padding:5rem 0 6rem}
.err-page h1{margin:.2rem 0 .8rem}
.err-page p{color:var(--muted);max-width:34rem;margin:0 auto 1.75rem}
.err-page .cta-row{justify-content:center}
/* keep the area under the footer dark (sticky-bar spacer, short pages) */
html{background:var(--ink)}
body{padding-bottom:0}
@media (max-width:959px){body:has(.mobile-bar) .site-footer{padding-bottom:calc(1.5rem + var(--bar-h) + env(safe-area-inset-bottom))}}
.err-page{min-height:calc(100vh - 220px);display:flex;flex-direction:column;justify-content:center}
.legal{padding-top:2.5rem;padding-bottom:3.5rem;max-width:820px}.legal h2{font-size:1.7rem;margin:2rem 0 .5rem}

/* Slogan */
.hero-slogan{margin:1rem 0 0;font-family:inherit;font-size:clamp(1.15rem,2.2vw,1.4rem);font-weight:700;font-style:italic;color:#ff4d6d;letter-spacing:.01em}
.footer-slogan{display:block;font-style:italic;opacity:.85;margin:.15rem 0 .25rem}
