/* =====================================================================
   Bagui Painting & Remodeling — site styles
   Tokens mirror the Figma "Bagui Design System" (Foundations page).
   ===================================================================== */
:root {
  --navy-900: #1a2340; --navy-800: #212c4f; --navy-700: #2a3660; --blue-600: #166fb5;
  --gold-500: #d6a203; --gold-400: #ffd234; --gold-100: #fbf1d0;
  --cream: #f6f3ec; --cream-2: #efe9dc; --white: #fff; --n50: #fafafc; --n100: #eef0f4;
  --n600: #494c50; --ink: #0e0f11; --black: #000;
  --green-wa: #25a244; --red: #d64545;
  --text: var(--ink); --muted: var(--n600);
  --line: rgba(14, 15, 17, .1); --line-inv: rgba(255, 255, 255, .16);
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --pill: 999px;
  --shadow-1: 0 10px 30px rgba(26, 35, 64, .10); --shadow-2: 0 24px 60px rgba(26, 35, 64, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 140px);
  --font-h: "Outfit", system-ui, sans-serif; --font-b: "Inter", system-ui, sans-serif;
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; font: 400 17px/1.65 var(--font-b); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--gold-500); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.t-navy { background: var(--navy-900); color: var(--white); }
.t-ink { background: var(--ink); color: var(--white); }
.t-cream { background: var(--cream); }
.t-white { background: var(--white); }
.t-gold { background: var(--gold-500); color: var(--ink); }
.t-navy .muted, .t-ink .muted { color: rgba(255, 255, 255, .72); }
.muted { color: var(--muted); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--pill); font: 600 12px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); background: rgba(26, 35, 64, .07); border: 1px solid rgba(26, 35, 64, .1); margin-bottom: 18px; }
.t-navy .eyebrow, .t-ink .eyebrow, .hero .eyebrow, .phero .eyebrow, .footer .eyebrow { color: var(--gold-400); background: rgba(214, 162, 3, .12); border-color: rgba(214, 162, 3, .3); }
.display { font-size: clamp(42px, 7.4vw, 96px); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.h1 { font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.03em; line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.028em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.accent { color: var(--gold-500); font-style: normal; }
.t-cream .accent, .t-white .accent { color: #a57c00; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head p { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn { --bg: var(--gold-500); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: var(--pill); background: var(--bg); color: var(--fg); font: 600 16px/1 var(--font-b); text-decoration: none; border: 1.5px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214, 162, 3, .35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --bg: var(--white); --fg: var(--ink); box-shadow: none; border-color: var(--white); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { --bg: var(--ink); --fg: var(--white); box-shadow: none; }
.btn--navy { --bg: var(--navy-900); --fg: var(--white); }
.btn--navy:hover { box-shadow: 0 12px 28px rgba(26, 35, 64, .35); }
.btn--wa { --bg: var(--green-wa); --fg: #fff; }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 18px 32px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: var(--white); transition: background-color .35s, box-shadow .35s, transform .45s var(--ease), height .35s var(--ease); }
.header.is-solid { background: rgba(26, 35, 64, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); --header-h: 70px; }
.header.is-hidden { transform: translateY(-100%); }
.header .container { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: calc(var(--header-h) - 26px); width: auto; transition: height .35s var(--ease); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 12px; font: 500 15px/1 var(--font-b); text-decoration: none; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__drop { position: relative; }
.nav__drop svg { width: 14px; transition: transform .3s var(--ease); }
.nav__drop.is-open > .nav__link svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; background: var(--white); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; }
.nav__drop.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s, transform .35s var(--ease); }
.mega a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); text-decoration: none; font-weight: 500; transition: background-color .2s; }
.mega a:hover { background: var(--cream); }
.mega__ico { width: 36px; height: 36px; border-radius: 10px; background: var(--gold-100); display: grid; place-items: center; flex: none; }
.mega__ico svg { width: 20px; height: 20px; color: var(--navy-900); }
.mega__all { grid-column: 1 / -1; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px !important; justify-content: space-between; color: var(--navy-900); font-weight: 600 !important; }
.header__cta { display: flex; gap: 10px; align-items: center; }
.header__phone { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }
.header__phone svg { width: 18px; color: var(--gold-500); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-inv); background: transparent; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .2s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__cta .btn { display: none; }
}
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--navy-900); color: var(--white); padding: calc(var(--header-h) + 20px) var(--gutter) 40px; overflow-y: auto; visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu-open .mnav { visibility: visible; clip-path: circle(150% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease); }
.menu-open { overflow: hidden; }
.mnav a { display: block; text-decoration: none; }
.mnav__main a { font: 600 clamp(30px, 8vw, 44px)/1.15 var(--font-h); padding: 6px 0; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease), color .2s; }
.menu-open .mnav__main a { opacity: 1; transform: none; }
.mnav__main a:hover { color: var(--gold-500); }
.mnav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 22px 0; padding: 20px 0; border-block: 1px solid var(--line-inv); }
.mnav__sub a { color: rgba(255, 255, 255, .78); font-size: 15px; }
.mnav__cta { display: grid; gap: 12px; }
@media (min-width: 1081px) { .mnav { display: none; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: radial-gradient(1200px 600px at 85% 20%, #22305a 0%, transparent 60%), linear-gradient(160deg, #141b33 0%, var(--navy-900) 45%, #121830 100%); color: var(--white); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .lead { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 28px 0 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; color: var(--gold-500); }
.reels { position: relative; height: min(640px, 72vh); }
.reel { position: absolute; width: 46%; aspect-ratio: 9 / 16; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: #0b1022; border: 1px solid rgba(255, 255, 255, .08); }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel:nth-child(1) { left: 0; top: 12%; z-index: 2; }
.reel:nth-child(2) { left: 30%; top: 0; z-index: 3; width: 50%; }
.reel:nth-child(3) { right: 0; top: 22%; z-index: 1; }
.reel__tag { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: var(--pill); background: rgba(14, 15, 17, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 12px/1 var(--font-b); letter-spacing: .04em; }
.reel__tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; margin-right: 7px; vertical-align: 1px; animation: rec 1.6s infinite; }
@keyframes rec { 50% { opacity: .3; } }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: grid; justify-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold-500), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-columns: 1fr; }
  .reels { height: 420px; margin-top: 8px; }
  .reel { border-radius: var(--r-lg); }
  .hero__scroll { display: none; }
}

/* split words (animated headings) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; color: var(--white); padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; background: var(--navy-900); }
.phero__bg { position: absolute; inset: -10% 0 0; z-index: -2; }
.phero__bg img { width: 100%; height: 110%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 27, 51, .95) 0%, rgba(26, 35, 64, .82) 45%, rgba(26, 35, 64, .35) 100%); }
.phero .lead { color: rgba(255, 255, 255, .82); max-width: 640px; margin-top: 22px; }
.phero .actions { margin-top: 34px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--gold-500); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--pill); font: 500 13px/1 var(--font-b); background: rgba(255, 255, 255, .1); border: 1px solid var(--line-inv); }
.tag svg { width: 15px; color: var(--gold-500); }
.t-cream .tag, .t-white .tag { background: var(--white); border-color: var(--line); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--gold-500); color: var(--ink); padding: 18px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; font: 600 clamp(20px, 2.4vw, 28px)/1 var(--font-h); letter-spacing: -.01em; white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; font-size: .6em; opacity: .55; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- process (horizontal on desktop) ---------- */
.hs { position: relative; overflow: hidden; }
.hs__track { display: flex; gap: 24px; }
.step { flex: 0 0 min(420px, 80vw); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-inv); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; }
.step__n { font: 700 clamp(56px, 6vw, 84px)/.8 var(--font-h); letter-spacing: -.04em; color: rgba(255, 255, 255, .06); }
.step__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--white); color: var(--navy-900); }
.step__ico svg { width: 28px; height: 28px; }
.step h3 { font-size: 26px; }
.step p { color: rgba(255, 255, 255, .72); margin: 0; }
.step__img { margin: auto 0 0; padding-top: 8px; }
.step__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); transition: transform 1s var(--ease); }
.step:hover .step__img img { transform: scale(1.03); }
@media (max-width: 991px) { .hs__track { flex-direction: column; } .step { flex-basis: auto; min-height: 0; } }

/* ---------- before / after ---------- */
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; user-select: none; touch-action: pan-y; box-shadow: var(--shadow-2); background: #ccc; --pos: 50%; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 20px rgba(0, 0, 0, .3); }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-1); border: 0; cursor: ew-resize; }
.ba__knob svg { width: 26px; }
.ba__label { position: absolute; top: 18px; padding: 8px 14px; border-radius: var(--pill); background: rgba(14, 15, 17, .6); color: var(--white); font: 600 12px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba__label--b { left: 18px; } .ba__label--a { right: 18px; background: var(--gold-500); color: var(--ink); }
.ba-caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; align-items: center; }

/* ---------- services list (hover preview) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.svc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item a { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.svc__item a:hover, .svc__item a:focus-visible, .svc__item.is-active a { padding-left: 18px; }
.svc__num { font: 500 14px/1 var(--font-b); color: var(--muted); }
.svc__name { font: 600 clamp(22px, 2.4vw, 32px)/1.1 var(--font-h); letter-spacing: -.02em; }
.svc__short { display: block; font: 400 15px/1.5 var(--font-b); color: var(--muted); margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s; }
.svc__item.is-active .svc__short, .svc__item a:hover .svc__short { max-height: 60px; opacity: 1; }
.svc__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, transform .4s var(--ease), border-color .3s; }
.svc__go svg { width: 18px; }
.svc__item.is-active .svc__go, .svc__item a:hover .svc__go { background: var(--gold-500); border-color: var(--gold-500); transform: rotate(-45deg); }
.svc__preview { position: sticky; top: 100px; aspect-ratio: 1 / 1.08; max-height: calc(100vh - 130px); width: 100%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); background: var(--n100); }
.svc__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc__preview img.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc__preview { display: none; } .svc__short { max-height: none; opacity: 1; } }

/* ---------- project cards ---------- */
.projects-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 30px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; cursor: grab; }
.projects-rail::-webkit-scrollbar { display: none; }
.projects-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.pcard { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; text-decoration: none; display: block; position: relative; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--n100); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 15, 17, .75), transparent 55%); }
.pcard__count { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .92); font: 600 12px/1 var(--font-b); color: var(--ink); }
.pcard__count svg { width: 14px; }
.pcard__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: var(--white); }
.pcard__city { font: 600 12px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.pcard__title { font: 600 24px/1.15 var(--font-h); margin-top: 8px; }
.pcard__client { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.project-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.project-facts { margin: 0; background: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-1); display: grid; gap: 0; }
.project-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font: 600 12px/1.6 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .project-intro { grid-template-columns: 1fr; } }
/* folder look in gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 26px; }
.gallery-grid .pcard { flex: none; }
.gallery-grid .pcard__media { aspect-ratio: 4 / 3.4; }
.folder { position: relative; padding-top: 12px; }
.folder::before, .folder::after { content: ""; position: absolute; left: 6%; right: 6%; top: 6px; height: 40px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--cream-2); z-index: -1; transition: transform .5s var(--ease); }
.folder::after { left: 12%; right: 12%; top: 0; background: #e3dccb; z-index: -2; }
.pcard:hover .folder::before { transform: translateY(-4px) rotate(-1deg); }
.pcard:hover .folder::after { transform: translateY(-8px) rotate(1.5deg); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font: 500 15px/1 var(--font-b); transition: background-color .25s, color .25s, border-color .25s; }
.filter[aria-pressed="true"] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.pcard.is-hidden { display: none; }

/* ---------- feature / checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks strong { display: block; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pillar { padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.t-navy .pillar, .t-ink .pillar { background: rgba(255, 255, 255, .05); border-color: var(--line-inv); }
.pillar__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-100); color: var(--navy-900); margin-bottom: 18px; }
.t-navy .pillar__ico, .t-ink .pillar__ico { background: var(--gold-500); color: var(--ink); }
.pillar__ico svg { width: 24px; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }

/* media frames */
.frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); background: var(--n100); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.stamp { position: absolute; z-index: 3; width: 150px; height: 150px; border-radius: 50%; background: var(--gold-500); color: var(--ink); display: grid; place-items: center; text-align: center; font: 600 15px/1.15 var(--font-h); padding: 20px; box-shadow: var(--shadow-2); }
.stamp strong { display: block; font-size: 34px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-inv); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--navy-900); padding: 30px 26px; }
.stat strong { display: block; font: 600 clamp(36px, 4vw, 52px)/1 var(--font-h); color: var(--gold-500); margin-bottom: 8px; }
.stat span { color: rgba(255, 255, 255, .75); font-size: 15px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- zones / map ---------- */
.map { height: clamp(380px, 52vw, 560px); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); background: #dfe5ec; z-index: 1; }
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zone { border-radius: var(--r-lg); padding: 28px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.zone h3 { font-size: 24px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.zone h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--zone, var(--gold-500)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--zone, #d6a203) 22%, transparent); flex: none; }
.zone ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.zone li a, .zone li span { display: inline-block; padding: 6px 12px; border-radius: var(--pill); background: var(--cream); font-size: 14px; text-decoration: none; }
.zone li a { background: var(--navy-900); color: var(--white); }
.zone li a:hover { background: var(--gold-500); color: var(--ink); }
.zone__contact { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.zone__contact strong { display: block; font-size: 16px; }
.zone__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr; } }
.leaflet-container { font-family: var(--font-b); }
.map-pin { display: block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.map-pin--hq { width: 26px; height: 26px; background: var(--gold-500) !important; }
.leaflet-popup-content { margin: 14px 16px; font-size: 14px; }
.leaflet-popup-content a { color: var(--navy-900); font-weight: 600; }
.city-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.city-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.city-link small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.city-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: transparent; }
.city-link svg { width: 18px; flex: none; }

/* ---------- testimonial / reviews ---------- */
.review { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.review img { border-radius: var(--r-xl); aspect-ratio: 1; object-fit: cover; }
.review blockquote { margin: 0; font: 500 clamp(22px, 2.6vw, 34px)/1.3 var(--font-h); letter-spacing: -.015em; }
.stars { display: flex; gap: 4px; color: var(--gold-500); margin-bottom: 18px; }
.stars svg { width: 22px; }
.review cite { display: block; margin-top: 22px; font-style: normal; color: rgba(255, 255, 255, .75); }
.review cite strong { color: var(--white); display: block; font: 600 20px/1.3 var(--font-h); }
@media (max-width: 760px) { .review { grid-template-columns: 1fr; } .review img { max-width: 220px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.t-cream .faq details { border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font: 600 18px/1.35 var(--font-h); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 400 22px/1 var(--font-b); transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold-500); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy-900); color: var(--white); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.cta-band:hover .cta-band__bg img { transform: scale(1); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(26, 35, 64, .96) 0%, rgba(26, 35, 64, .86) 45%, rgba(26, 35, 64, .55) 100%); }
.cta-band p { color: rgba(255, 255, 255, .82); }
.cta-band .btn--navy { --bg: var(--gold-500); --fg: var(--ink); border-color: var(--gold-500); }
.cta-band .btn--ghost-dark { --fg: var(--white); border-color: rgba(255, 255, 255, .7); }
.cta-band .btn--ghost-dark:hover { --bg: var(--white); --fg: var(--ink); }
.cta-band .h2 { max-width: 640px; }
.cta-band p { margin-top: 14px; max-width: 560px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.card { background: var(--white); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-1); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 14px/1.3 var(--font-b); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--n50); font: 500 16px/1.4 var(--font-b); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(214, 162, 3, .2); background: var(--white); }
.field .is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(214, 69, 69, .15) !important; }
.field__error { color: var(--red); font-size: 13px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-done { text-align: center; padding: 20px 0; }
.form-done:focus { outline: none; }
.form-done__ico { width: 72px; height: 72px; border-radius: 50%; background: #e6f6ea; color: #1f7a3a; display: grid; place-items: center; margin: 0 auto 18px; }
.form-done__ico svg { width: 34px; }
.form-done .actions { justify-content: center; margin-top: 22px; }
.hp { position: absolute; left: -9999px; }

/* sticky aside on service pages */
.layout-aside { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside .card { padding: 28px; }
@media (max-width: 980px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 20px; }
.prose p { color: var(--muted); font-size: 18px; }
.prose > * + h2 { margin-top: 56px; }
.prose .checks { margin: 24px 0; }

/* photo grid / lightbox */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-grid a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--n100); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid a:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 10, 20, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lb img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: var(--r-md); object-fit: contain; }
.lb button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-inv); background: rgba(255, 255, 255, .06); color: var(--white); font-size: 26px; display: grid; place-items: center; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; margin-top: -27px; }
.lb__next { right: 20px; top: 50%; margin-top: -27px; }
.lb__fs { top: 20px; right: 86px; font-size: 20px !important; }
.lb:fullscreen img { max-width: 100vw; max-height: 100vh; border-radius: 0; }
.lb__count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .7); font-size: 14px; }
.vid-card { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 9 / 16; max-height: 640px; background: #000; }
.vid-card video { width: 100%; height: 100%; object-fit: cover; }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.member__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--n100); margin-bottom: 14px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member h3 { font-size: 21px; }
.member p { color: var(--muted); font-size: 15px; }

/* contact info */
.info-list { display: grid; gap: 22px; }
.info { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; text-decoration: none; }
.info__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-500); color: var(--ink); display: grid; place-items: center; }
.info__ico svg { width: 22px; }
.info small { display: block; color: rgba(255, 255, 255, .65); font-size: 13px; }
.t-cream .info small, .t-white .info small { color: var(--muted); }
.info strong { font-size: 18px; }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 26px; margin: 46px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: var(--white); padding: clamp(64px, 8vw, 110px) 0 36px; position: relative; overflow: hidden; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--line-inv); }
.footer__cta .h2 { max-width: 720px; }
.phone-pill { display: inline-flex; align-items: center; gap: 16px; padding: 10px 30px 10px 10px; border-radius: var(--pill); background: var(--gold-500); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease); }
.phone-pill:hover { transform: translateY(-3px); }
.phone-pill i { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.phone-pill i svg { width: 24px; }
.phone-pill strong { font: 600 24px/1.1 var(--font-h); display: block; }
.phone-pill small { font: 600 12px/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr; gap: 36px; padding: 0 0 56px; }
.footer h4 { font: 600 13px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .86); transition: color .2s; }
.footer a:hover { color: var(--gold-500); }
.footer__brand p { color: rgba(255, 255, 255, .7); margin: 18px 0 22px; font-size: 15px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-inv); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink); }
.social svg { width: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-inv); font-size: 14px; color: rgba(255, 255, 255, .6); }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1000px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- mobile sticky CTA ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 8px; border-radius: var(--pill); background: rgba(26, 35, 64, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); transform: translateY(140%); transition: transform .5s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; padding: 10px 14px; font-size: 15px; }
.mbar .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
@media (max-width: 760px) { .mbar { display: grid; } }

/* ---------- chat assistant ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 120; font-family: var(--font-b); }
@media (max-width: 760px) { .chat { bottom: 84px; right: 14px; } }
.chat__launcher { height: 60px; padding: 8px 22px 8px 8px; border-radius: var(--pill); border: 0; background: var(--navy-900); color: var(--white); box-shadow: 0 14px 34px rgba(26, 35, 64, .45); display: flex; align-items: center; gap: 12px; position: relative; transition: transform .35s var(--ease), background-color .3s, padding .35s var(--ease); }
.chat__launcher:hover { transform: translateY(-2px); }
.chat__face { position: relative; width: 44px; height: 44px; flex: none; }
.chat__face img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500); }
.chat__launcher-label { font: 600 15px/1 var(--font-b); white-space: nowrap; }
.chat__launcher .chat__launcher-icon { display: none; }
.chat.is-open .chat__launcher { padding: 0; width: 60px; justify-content: center; }
.chat.is-open .chat__face, .chat.is-open .chat__launcher-label { display: none; }
.chat.is-open .chat__launcher .chat__launcher-icon { display: block; }
@media (max-width: 760px) { .chat__launcher { height: 54px; padding: 6px 16px 6px 6px; } .chat__face, .chat__face img { width: 42px; height: 42px; } .chat__launcher-label { font-size: 14px; } }
.chat__teaser-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; float: left; margin: 0 12px 4px 0; }
.chat__avatar img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat__launcher-icon { width: 28px; height: 28px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v10a2 2 0 01-2 2H9l-5 4v-4H4a2 2 0 01-2-2V6a2 2 0 012-2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v10a2 2 0 01-2 2H9l-5 4v-4H4a2 2 0 01-2-2V6a2 2 0 012-2z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .35s var(--ease); }
.chat.is-open .chat__launcher { background: var(--gold-500); color: var(--ink); }
.chat.is-open .chat__launcher-icon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); transform: rotate(90deg); }
.chat__dot { position: absolute; bottom: 0; right: 0; width: 13px; height: 13px; border-radius: 50%; background: #3ad16a; border: 2px solid var(--navy-900); }
.chat__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3ad16a; animation: ping 2.2s var(--ease) infinite; }
.chat.is-open .chat__dot { display: none; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.chat__teaser { position: absolute; right: 0; bottom: 78px; width: 280px; background: var(--white); color: var(--ink); border-radius: 18px 18px 4px 18px; padding: 16px 40px 16px 18px; box-shadow: var(--shadow-2); font-size: 15px; line-height: 1.45; animation: pop .5s var(--ease) both; }
.chat__teaser p { margin: 0; cursor: pointer; }
.chat__teaser-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--n100); font-size: 18px; line-height: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.chat__panel { position: absolute; right: 0; bottom: 80px; width: min(400px, calc(100vw - 28px)); height: min(620px, calc(100svh - 130px)); background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(14, 15, 17, .32); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: pop .45s var(--ease) both; }
.chat__panel[hidden] { display: none; }
@media (max-width: 760px) { .chat__panel { position: fixed; inset: auto 8px 8px 8px; width: auto; height: min(640px, calc(100svh - 16px)); } .chat.is-open .chat__launcher { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; z-index: 2; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy-900); color: var(--white); }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-500); flex: none; position: relative; }
.chat__avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #3ad16a; border: 2px solid var(--navy-900); }
.chat__title { display: block; font: 600 17px/1.2 var(--font-h); }
.chat__status { font-size: 13px; color: rgba(255, 255, 255, .7); }
.chat__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--n50); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: pop .35s var(--ease) both; word-wrap: break-word; }
.msg--bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg--user { background: var(--navy-900); color: var(--white); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { color: var(--navy-900); font-weight: 600; }
.msg__summary { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--cream); font-size: 13px; line-height: 1.5; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--n600); opacity: .4; animation: bounce 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 10px; background: var(--n50); max-height: 168px; overflow-y: auto; }
.chat__chips:empty { display: none; }
.chip { padding: 9px 14px; border-radius: var(--pill); border: 1.5px solid var(--navy-900); background: var(--white); color: var(--navy-900); font: 600 14px/1.2 var(--font-b); transition: background-color .2s, color .2s, transform .2s; }
.chip:hover { background: var(--navy-900); color: var(--white); transform: translateY(-1px); }
.chat__input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--white); }
.chat__input[hidden] { display: none; }
.chat__input input { flex: 1; min-height: 46px; border-radius: var(--pill); border: 1px solid var(--line); padding: 0 18px; font: 500 16px/1 var(--font-b); background: var(--n50); }
.chat__input input:focus { outline: none; border-color: var(--gold-500); background: #fff; }
.chat__input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold-500); color: var(--ink); font-size: 16px; }
.chat__legal { margin: 0; padding: 0 16px 10px; font-size: 11px; color: var(--muted); background: var(--white); text-align: center; }

/* ---------- reveal defaults (JS adds .js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 110; background: var(--gold-500); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- small-screen overflow guards ---------- */
.split > *, .layout-aside > *, .project-intro > *, .hero__grid > * { min-width: 0; }
.card .btn, .cta-band .btn { white-space: normal; text-align: center; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 600px) {
  .stamp { width: 118px; height: 118px; right: 10px !important; bottom: -22px !important; font-size: 13px; padding: 14px; }
  .stamp strong { font-size: 26px; }
  .phone-pill { padding-right: 20px; }
  .phone-pill strong { font-size: 20px; }
}

.menu-open .chat, .menu-open .mbar { display: none; }
.mnav__cta .btn { justify-content: center; }

/* ---------- process / promises (home) ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: p; }
.promise { position: relative; padding: 30px 26px 28px; border-radius: var(--r-lg); background: var(--cream); border: 1px solid transparent; transition: transform .45s var(--ease), background-color .35s, border-color .35s, box-shadow .45s var(--ease); }
.promise:hover { transform: translateY(-6px); background: var(--white); border-color: var(--line); box-shadow: var(--shadow-1); }
.promise__ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); margin-bottom: 26px; transition: transform .5s var(--ease), background-color .35s, color .35s; }
.promise__ico svg { width: 30px; height: 30px; }
.promise:hover .promise__ico { transform: rotate(-6deg) scale(1.06); background: var(--gold-500); color: var(--ink); }
.promise__n { position: absolute; top: 28px; right: 26px; font: 600 13px/1 var(--font-b); letter-spacing: .12em; color: var(--muted); }
.promise h3 { font-size: 22px; margin-bottom: 10px; }
.promise p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* ---------- services hub ---------- */
.pcard--svc .pcard__media { aspect-ratio: 4 / 3.6; }
.pcard__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-500); color: var(--ink); margin-bottom: 14px; }
.pcard__ico svg { width: 22px; height: 22px; }
.pcard__text { margin: 6px 0 0; color: rgba(255, 255, 255, .84); font-size: 15px; }
.ps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ps__col { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); }
.ps__col--problem { background: var(--n50); border: 1px solid var(--line); }
.ps__col--fix { background: var(--navy-900); color: var(--white); }
.ps__col h3 { font-size: 15px; font-family: var(--font-b); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; color: var(--muted); }
.ps__col--fix h3 { color: var(--gold-500); }
.ps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ps li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.ps li strong { display: block; font: 600 19px/1.3 var(--font-h); margin-bottom: 4px; }
.ps li span:last-child { color: var(--muted); font-size: 15.5px; }
.ps__col--fix li span:last-child { color: rgba(255, 255, 255, .75); }
.ps__col--fix li strong { color: var(--white); }
.ps__mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 69, 69, .1); color: var(--red); }
.ps__col--fix .ps__mark { background: var(--gold-500); color: var(--ink); }
.ps__mark svg { width: 18px; height: 18px; }
.pillars--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ps, .pillars--3 { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .pillars--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- static service-area map (used until a map tile key is set) ---------- */
.map-static { margin: 0 auto; max-width: 640px; }
.map-static img { display: block; width: 100%; height: auto; }
.phero + .section .map-static, .prose ~ .map-static { margin-top: 40px; }

/* lightbox: no "full screen" button once it is already full screen */
.lb:fullscreen .lb__fs { display: none; }
.lb:-webkit-full-screen .lb__fs { display: none; }

/* keep the bottom links clear of the floating chat button (and the mobile call bar) */
.footer { padding-bottom: 110px; }
@media (max-width: 760px) { .footer { padding-bottom: 170px; } }

/* footer columns never push text off-screen on phones */
.footer__cols > * { min-width: 0; }
.footer li, .footer a { overflow-wrap: anywhere; }
@media (max-width: 600px) { .footer__cols > div:last-child { grid-column: 1 / -1; } }

/* ---------- service areas: map + town list ---------- */
.areas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.areas .map-static { max-width: none; margin: 0; }
.areas__list { display: grid; gap: 26px; }
.area { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.area h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 12px; }
.area h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--zone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--zone) 22%, transparent); flex: none; }
.area__towns { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--muted); font-size: 15.5px; }
.area__towns > * { white-space: nowrap; }
.area__towns > *:not(:last-child)::after { content: "·"; display: inline-block; margin: 0 9px; color: rgba(14, 15, 17, .3); }
.area__towns a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(214, 162, 3, .6); text-underline-offset: 3px; }
.area__towns a:hover { color: #a57c00; }
.areas__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.areas__ask p { margin: 0; color: var(--muted); }
.areas__ask strong { color: var(--ink); display: block; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } .areas .map-static { max-width: 520px; margin: 0 auto; } }
