/* Nisby Home Renovations — site styles */
:root {
  --blue: #1a56b0; --blue-d: #123f86; --navy: #0b1f3f; --navy-2: #102a52; --ink: #14213a; --text: #3c4a60; --muted: #6b7890;
  --accent: #e8461e; --accent-d: #c93810; --sky: #e9f1fb; --line: #dfe6f0; --bg: #fff; --gold: #f5b301;
  --r: 14px; --r-lg: 22px; --shadow: 0 18px 50px -20px rgba(11, 31, 63, .35); --shadow-sm: 0 6px 20px -10px rgba(11, 31, 63, .3);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif; --body: 'Barlow', system-ui, sans-serif;
  --hdr: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font: 700 1rem/1 var(--body);
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.06rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px var(--blue); }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px var(--accent); }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.btn-fb { background: #1877f2; color: #fff; } .btn-fb:hover { color: #fff; background: #0f63d0; }
.btn-ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff; } .btn-ig:hover { color: #fff; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--accent); font-size: .95rem; }
.eyebrow { font: 700 .82rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9em; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow.center, .center .eyebrow { justify-content: center; }
.eyebrow.light { color: #ffb59f; }

/* top bar + header */
.topbar { background: var(--sky); color: #3d5070; font-size: .84rem; border-bottom: 1px solid #d6e2f2; }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 44px; }
.tb-item { display: inline-flex; align-items: center; gap: 9px; color: #3d5070; font-weight: 500; white-space: nowrap; transition: color .2s; }
a.tb-item:hover { color: var(--blue); }
.tb-item em { font-style: normal; color: var(--accent); font-weight: 600; padding-left: 10px; margin-left: 2px; border-left: 1px solid #c9d7ea; }
.tb-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 2px 6px rgba(11, 31, 63, .08); }
.tb-ic .ic { width: 12px; height: 12px; }
.tb-item + .tb-item { padding-left: 22px; border-left: 1px solid #c9d7ea; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tb-sep { width: 1px; height: 18px; background: #c9d7ea; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.socials.sm a { width: 30px; height: 30px; background: var(--blue); color: #fff; }
.socials.sm a:hover { background: var(--accent); }
.socials.sm .ic { width: 14px; height: 14px; }
.socials.lg a { width: 46px; height: 46px; }
.socials.lg .ic { width: 20px; height: 20px; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.hdr.scrolled { box-shadow: 0 10px 30px -18px rgba(11, 31, 63, .4); border-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: var(--hdr); transition: height .3s; }
.hdr.scrolled .hdr-in { height: 70px; }
.brand img { height: 58px; width: auto; transition: height .3s; }
.hdr.scrolled .brand img { height: 48px; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav > ul > li > a { display: block; padding: 10px 12px; font: 600 1rem var(--body); color: var(--ink); border-radius: 8px; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--blue); }
.nav > ul > li > a[aria-current]::after { content: ''; display: block; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 2px; }
.sub-t { background: none; border: 0; padding: 4px; margin-left: -10px; color: var(--muted); cursor: pointer; display: grid; }
.sub-t .ic { width: 15px; height: 15px; }
.drop, .mega { position: absolute; top: 100%; left: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .22s; }
.drop { list-style: none; padding: 10px; margin: 0; min-width: 230px; }
.drop a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.drop a:hover { background: var(--sky); color: var(--blue); }
.has-mega { position: static !important; }
.mega { left: 50%; width: min(1100px, 96vw); transform: translate(-50%, 10px); top: calc(100% - 6px); }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 26px; padding: 28px; }
.mega-h { font: 800 1.3rem var(--display); text-transform: uppercase; color: var(--ink); display: block; padding-bottom: 6px; border-bottom: 2px solid var(--sky); margin-bottom: 6px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.mega-col ul a { display: block; padding: 3px 0; color: var(--text); font-size: .94rem; }
.mega-col ul a:hover { color: var(--accent); }
.mega-all { grid-column: 1 / -1; justify-self: end; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (hover: hover) and (min-width: 1181px) {
  .has-sub:hover > .drop, .has-sub:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.nav-foot { display: none; }
.hdr-call { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 800 1.2rem var(--display); white-space: nowrap; }
.hdr-call > .ic { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.hdr-call small { display: block; font: 600 .72rem var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }

@media (max-width: 1320px) { .hdr-call { display: none; } }
@media (max-width: 1180px) {
  .hdr { backdrop-filter: none; background: #fff; } /* a backdrop-filter would trap the fixed drawer inside the header */
  .burger { display: grid; place-items: center; }
  .hdr-cta { margin-left: auto; }
  .nav:not(.open) { visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s; }
  .burger { margin-left: 0; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; z-index: 60; padding: 90px 22px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow); margin: 0; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { flex: 1; padding: 14px 4px; font-size: 1.15rem; }
  .nav > ul > li > a[aria-current]::after { display: none; }
  .sub-t { margin: 0; padding: 12px; }
  .sub-t .ic { transition: transform .2s; }
  .has-sub.open .sub-t .ic { transform: rotate(180deg); }
  .drop, .mega { position: static; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; display: none; width: 100%; padding: 0 0 12px; }
  .has-sub.open > .drop, .has-sub.open > .mega { display: block; }
  .mega-in { grid-template-columns: 1fr 1fr; padding: 4px; gap: 14px; }
  .mega-h { font-size: 1.05rem; }
  .mega-col ul { display: none; }
  .mega-all { grid-column: 1 / -1; justify-self: start; }
  .nav-foot { display: grid; gap: 12px; margin-top: 24px; }
  .nav-foot .socials { justify-content: center; margin-top: 6px; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(11, 31, 63, .5); z-index: 55; }
  body.nav-open .hdr { z-index: 56; } /* the drawer lives inside the header, so lift the header over the overlay */
  .burger[aria-expanded="true"] { position: fixed; right: 20px; top: 20px; z-index: 70; }
}
@media (max-width: 760px) {
  .hide-sm, .topbar-in > .tb-item:first-child { display: none; }
  .tb-right { margin: 0 auto; }
  .hdr-cta { display: none; }
  .burger { margin-left: auto; }
  :root { --hdr: 70px; }
  .brand img { height: 46px; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* home hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.slides, .slide { position: absolute; inset: 0; }
.slides { z-index: -2; }
.slide { opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.on img { animation: kb 9s ease-out forwards; }
@keyframes kb { from { transform: scale(1.14) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 22, 48, .94) 0%, rgba(8, 22, 48, .78) 42%, rgba(8, 22, 48, .25) 75%, rgba(8, 22, 48, .45) 100%), linear-gradient(0deg, rgba(8, 22, 48, .6), transparent 40%); }
.hero-in { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; padding: 90px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .92; margin-bottom: .35em; text-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.hero h1 em { display: block; color: #fff; -webkit-text-stroke: 0; background: linear-gradient(90deg, #ff7a52, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.hero .lead { font-size: 1.22rem; max-width: 600px; color: #dbe5f5; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: #c9d6ea; font-size: .95rem; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .ic { width: 18px; height: 18px; }
.hero-guy { position: relative; height: 520px; align-self: end; margin-bottom: -120px; }
.hg-glow { position: absolute; right: -40px; bottom: 40px; width: 420px; height: 420px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(232, 70, 30, .45), rgba(26, 86, 176, .25) 45%, transparent 70%); filter: blur(10px); }
.hg-m { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.hg-stats { position: absolute; left: -70px; top: 70px; display: grid; gap: 22px; }
.hg-stat { display: grid; padding: 12px 18px 12px 16px; background: rgba(8, 22, 48, .55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .16); border-left: 4px solid var(--accent);
  border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); animation: floaty 6s ease-in-out infinite; }
.hg-stat:nth-child(2) { margin-left: 34px; animation-delay: -2s; }
.hg-stat:nth-child(3) { animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.hg-stat b { font: 800 2.1rem/1 var(--display); color: #fff; }
.hg-stat span { font-size: .85rem; color: #c9d6ea; margin-top: 3px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots i { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero-dots i.on::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: bar 6s linear forwards; transform-origin: left; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; right: 40px; bottom: 30px; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; padding: 70px 0 100px; gap: 30px; }
  .hero-guy { height: 300px; margin: 0; max-width: 460px; width: 100%; }
  .hg-glow { right: auto; left: -40px; bottom: 0; width: 300px; height: 300px; }
  .hg-m { right: auto; left: 0; }
  .hg-stats { left: 165px; right: 0; top: 50%; transform: translateY(-50%); gap: 10px; }
  .hg-stat { animation: none; padding: 9px 14px; }
  .hg-stat:nth-child(2) { margin-left: 0; }
  .hg-stat b { font-size: 1.6rem; }
  .hg-stat span { font-size: .8rem; }
  .scroll-cue { display: none; }
}

/* stats */
.stats { background: var(--blue); color: #fff; position: relative; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 0, rgba(255, 255, 255, .15), transparent 40%), radial-gradient(circle at 90% 100%, rgba(232, 70, 30, .35), transparent 40%); }
.stats-in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 20px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .15); }
.stat:first-child { border: 0; }
.stat b { display: block; font: 800 clamp(2.6rem, 5vw, 3.8rem)/1 var(--display); }
.stat span { font-weight: 500; color: #d6e3f7; }
@media (max-width: 760px) { .stats-in { grid-template-columns: 1fr 1fr; } .stat { padding: 28px 10px; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .15); } }

/* sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.sec.alt { background: var(--sky); }
.sec.dark { background: var(--navy); color: #c4d1e6; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 10%, rgba(26, 86, 176, .5), transparent 45%); }
.sec.dark > .wrap { position: relative; }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head > p, .sec-head .prose p { font-size: 1.1rem; }
.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }
.split-head > p { max-width: 460px; margin: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h3, .prose h4 { margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; margin-top: 2px; stroke-width: 3; }
figure { margin: 0; }
figure.inline { margin: 1.6em 0; border-radius: var(--r); overflow: hidden; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(60px, 8vw, 110px); }
.split.flip .split-txt { order: 2; }
.split-txt h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.frame { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.frame:hover img { transform: scale(1.05); }
.split-img { position: relative; }
.split-img::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--r-lg); border: 3px solid var(--accent); opacity: .3; z-index: -1; }
.split.flip .split-img::before { inset: 22px 22px -22px -22px; }
.sec.alt .split-img::before { border-color: var(--blue); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-txt { order: 0; } .split-img::before { display: none; } }

/* trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-i { display: flex; align-items: center; gap: 14px; padding: 24px 16px; }
.trust-i > .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.trust-i b { display: block; font: 800 1.35rem/1.1 var(--display); color: var(--ink); text-transform: uppercase; }
.trust-i small { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .trust-in { grid-template-columns: 1fr 1fr; } .trust-i { padding: 16px 6px; } }

/* page hero */
.phero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); }
.phero-bg { position: absolute; inset: 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s ease-out forwards; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 22, 48, .95), rgba(8, 22, 48, .7) 55%, rgba(8, 22, 48, .35)); }
.phero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.phero h1 { color: #fff; max-width: 900px; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.phero .lead { font-size: 1.18rem; color: #dbe5f5; max-width: 680px; }
.phero.slim { padding: 70px 0 60px; }
.phero.slim h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.phero-in.center h1, .phero-in.center .lead { margin-inline: auto; }
.phero-in.center .hero-actions { justify-content: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: .9rem; color: #9fb1cf; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: #c9d6ea; }
.crumbs a:hover { color: #fff; }
.crumbs li:last-child a { color: #fff; pointer-events: none; }
.nf-m { width: 120px; margin: 0 auto 10px; }

/* cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--text); transition: transform .3s, box-shadow .3s; border: 1px solid var(--line); }
a.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text); }
.pcard-img { background: linear-gradient(160deg, var(--sky), #fff); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; }
.pcard-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s; }
a.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-b { padding: 22px; }
.pcard-b h3 { font-size: 1.45rem; text-transform: uppercase; }
.pcard-b p { font-size: .97rem; }
.fgrid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.fgrid.n1 { grid-template-columns: 1fr; max-width: 820px; }
.fgrid.n2 { grid-template-columns: 1fr 1fr; }
.fcard { position: relative; background: #fff; border-radius: var(--r); padding: 30px 28px 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.fcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), var(--blue)); transform: scaleY(.25); transform-origin: top; transition: transform .4s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard:hover::before { transform: scaleY(1); }
.fnum { position: absolute; right: 18px; top: 10px; font: 800 3.2rem/1 var(--display); color: var(--sky); }
.sec.alt .fnum { color: #dbe7f6; }
.fcard h3 { position: relative; font-size: 1.4rem; text-transform: uppercase; padding-right: 40px; }
.fcard p { font-size: .98rem; }
.fcard > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .fgrid, .fgrid.n2 { grid-template-columns: 1fr; } }
.sec-head + .faq, .split + .faq, .split + .pgrid, .split + .fgrid, .split + .gal { margin-top: 50px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-i { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s, border-color .3s; }
.faq-i[open] { box-shadow: var(--shadow-sm); border-color: #c5d5ec; }
.faq-i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font: 700 1.25rem/1.25 var(--display); color: var(--ink); }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-i[open] summary i { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-a { padding: 0 24px 20px; }

/* gallery */
.gal { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.gal.n1 { grid-template-columns: 1fr; max-width: 800px; margin-inline: auto; }
.gal.n2 { grid-template-columns: 1fr 1fr; }
.gal-i, .ws-i, .mas-i, .soc-i { display: block; position: relative; overflow: hidden; border-radius: var(--r); cursor: zoom-in; background: var(--sky); }
.gal-i { aspect-ratio: 4 / 3; }
.gal-i img, .ws-i img, .soc-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.gal-i:hover img, .ws-i:hover img, .mas-i:hover img, .soc-i:hover img { transform: scale(1.07); }
@media (max-width: 700px) { .gal { grid-template-columns: 1fr 1fr; } }
.wstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ws-i { aspect-ratio: 3 / 4; scroll-snap-align: start; }

/* service cards */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.sgrid.sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.scard { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); color: #fff; }
.scard.sm { aspect-ratio: 1; }
.scard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .4s; opacity: .9; }
.scard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 22, 48, .9), rgba(8, 22, 48, 0) 60%); }
.scard:hover img { transform: scale(1.08); opacity: 1; }
.scard-b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.scard-b b { font: 800 1.4rem/1.05 var(--display); text-transform: uppercase; }
.scard.sm .scard-b b { font-size: 1.2rem; }
.scard .more { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .3s; }
.scard:hover .more { transform: rotate(-45deg); }
.scard:hover { color: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips.left { justify-content: flex-start; margin-bottom: 26px; }
.chip { display: inline-block; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* home service grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; background: var(--navy); isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 22, 48, .95) 8%, rgba(8, 22, 48, .2) 60%, rgba(8, 22, 48, .1)); transition: background .4s; }
.svc:hover { color: #fff; }
.svc:hover img { transform: scale(1.1); }
.svc:hover::before { background: linear-gradient(0deg, rgba(26, 86, 176, .96) 15%, rgba(26, 86, 176, .35) 70%, rgba(8, 22, 48, .2)); }
.svc-b { position: absolute; inset: auto 0 0; padding: 24px; display: flex; flex-direction: column; }
.svc-n { font: 800 1rem var(--display); color: var(--accent); letter-spacing: .1em; }
.svc:hover .svc-n { color: #ffb59f; }
.svc-b b { font: 800 2rem/1 var(--display); text-transform: uppercase; margin: 4px 0 6px; }
.svc-b small { font-size: .95rem; color: #d6e1f3; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .4s, margin .4s; }
.svc:hover .svc-b small, .svc:focus-visible .svc-b small { max-height: 120px; opacity: 1; margin-bottom: 10px; }
.svc .more { color: #fff; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc { aspect-ratio: 16 / 11; } .svc-b small { max-height: none; opacity: 1; margin-bottom: 8px; } }
@media (hover: none) { .svc-b small { max-height: none; opacity: 1; margin-bottom: 8px; } }

/* before / after */
.ba-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.ba-copy p { font-size: 1.08rem; }
.ba-tabs { display: grid; gap: 8px; margin: 26px 0 30px; }
.ba-tab { text-align: left; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #c4d1e6; padding: 13px 18px; border-radius: 12px; font: 600 1rem var(--body); cursor: pointer; transition: .2s; display: flex; justify-content: space-between; }
.ba-tab::after { content: '→'; opacity: 0; transition: .2s; }
.ba-tab:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ba-tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ba-tab.on::after { opacity: 1; }
.ba-pane { display: none; }
.ba-pane.on { display: block; animation: fadein .5s; }
@keyframes fadein { from { opacity: 0; transform: scale(.98); } }
.ba { --pos: 50%; }
.ba-in { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); user-select: none; background: var(--navy); }
.ba-in img, .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-in img { object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-in::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .4); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-handle .ic { width: 18px; height: 18px; margin: 0 -3px; stroke-width: 3; }
.ba-tag { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 700 .78rem var(--body); letter-spacing: .12em; text-transform: uppercase; background: rgba(8, 22, 48, .75); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag.l { left: 16px; } .ba-tag.r { right: 16px; background: var(--accent); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; touch-action: pan-y; }
.ba figcaption { margin-top: 12px; font: 700 1.15rem var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: .03em; }
.sec.dark .ba figcaption { color: #fff; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
@media (max-width: 980px) { .ba-wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; } .ba-wrap > * { min-width: 0; } .ba-tabs { grid-template-columns: 1fr 1fr; } .ba-copy { order: 0; } }
@media (max-width: 700px) { .ba-grid { grid-template-columns: 1fr; } .ba-tabs { display: flex; overflow-x: auto; } .ba-tab { flex: none; } }

/* pillars */
.pillars-sec { background: linear-gradient(180deg, #fff, var(--sky)); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pil { background: #fff; border-radius: var(--r-lg); padding: 34px 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.pil:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pil > .ic { width: 62px; height: 62px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, var(--blue), #2f76de); color: #fff; margin-bottom: 22px; box-shadow: 0 12px 24px -10px var(--blue); }
.pil:nth-child(2n) > .ic { background: linear-gradient(135deg, var(--accent), #ff7a52); box-shadow: 0 12px 24px -10px var(--accent); }
.pil .eyebrow { margin-bottom: .4em; }
.pil h3 { font-size: 1.6rem; text-transform: uppercase; }
.pil p:last-child { margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* story */
.story-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-img { position: relative; }
.frame.tilt { transform: rotate(-2deg); aspect-ratio: 4 / 5; }
.since { position: absolute; right: -18px; bottom: 34px; background: var(--accent); color: #fff; padding: 18px 26px; border-radius: var(--r); box-shadow: var(--shadow); text-align: center; transform: rotate(3deg); }
.since b { display: block; font: 600 .8rem var(--body); letter-spacing: .2em; text-transform: uppercase; }
.since span { font: 800 3rem/1 var(--display); }
.pull { margin: 24px 0; padding: 22px 26px; background: #fff; border-left: 5px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; font: 700 italic 1.45rem/1.3 var(--display); color: var(--ink); box-shadow: var(--shadow-sm); }
.pull cite { display: block; margin-top: 10px; font: 600 normal .92rem var(--body); color: var(--muted); }
@media (max-width: 860px) { .story-in { grid-template-columns: 1fr; } .since { right: 10px; } }

/* reviews */
.reviews { background: #fff; overflow: hidden; }
.sec.alt + .reviews, .reviews:has(+ .sec:not(.alt)) { background: #fff; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 2px 30px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv { position: relative; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rv-q { position: absolute; right: 22px; top: 18px; width: 54px; height: 54px; color: var(--sky); }
.rv blockquote { margin: 14px 0 22px; font-size: 1.04rem; color: var(--ink); flex: 1; position: relative; }
.rv figcaption { display: flex; align-items: center; gap: 12px; }
.av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--accent)); color: #fff; display: grid; place-items: center; font: 800 1.3rem var(--display); }
.rv figcaption b { display: block; color: var(--ink); }
.rv figcaption small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .85rem; }
.rv .g { width: 14px; height: 14px; }
.rv-nav { display: flex; justify-content: center; gap: 12px; }
.rv-b { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.rv-b:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 1000px) { .rv-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .rv-track { grid-auto-columns: 86%; gap: 16px; } }

/* showroom */
.show-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.show-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.show-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.show-list .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.show-list a { color: var(--ink); }
@media (max-width: 860px) { .show-in { grid-template-columns: 1fr; } }

/* brands */
.brands { padding: 50px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-in { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-in { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 30px)); } }
.brand-i { flex: none; width: 150px; display: grid; place-items: center; }
.brand-i img { max-height: 80px; width: auto; filter: grayscale(1); opacity: .65; transition: .3s; }
.brand-i:hover img { filter: none; opacity: 1; }

/* social grid */
.soc-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.soc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.soc-i { aspect-ratio: 1; cursor: pointer; }
.soc-i span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(24, 119, 242, .7); color: #fff; opacity: 0; transition: opacity .3s; }
.soc-i span .ic { width: 38px; height: 38px; }
.soc-i:hover span { opacity: 1; }
@media (max-width: 700px) { .soc-grid { grid-template-columns: 1fr 1fr; } }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post:hover .post-img img { transform: scale(1.06); }
.post-b { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-b time { font: 700 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.post-b h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.post-b p { font-size: .96rem; flex: 1; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* article */
.post-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); text-transform: none; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.article { font-size: 1.08rem; }
.article h2, .article h3, .article h4 { text-transform: none; margin-top: 1.5em; }
.article h3 { font-size: 1.7rem; }
.article-side { position: sticky; top: 100px; }
.side-card { position: relative; background: var(--navy); color: #c4d1e6; border-radius: var(--r-lg); padding: 110px 26px 26px; margin-top: 90px; text-align: center; display: grid; gap: 12px; }
.side-card h3 { color: #fff; font-size: 1.7rem; text-transform: uppercase; margin: 0; }
.side-card p { margin: 0; }
.side-m { position: absolute; width: 110px; left: 50%; top: -80px; transform: translateX(-50%); }
.side-tel { color: #fff; font: 800 1.3rem var(--display); display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
.side-card .socials { justify-content: center; }
.side-card .socials a { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 960px) { .article-wrap { grid-template-columns: 1fr; } .article-side { position: static; } }

/* about */
.letter-sec { overflow: hidden; }
.letter { position: relative; max-width: 900px; margin-inline: auto; }
.letter-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 60px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); font-size: 1.08rem; position: relative; }
.letter-card::before { content: '“'; position: absolute; top: -20px; left: 30px; font: 800 9rem/1 var(--display); color: var(--accent); }
.sig { font: 700 italic 2rem var(--display); color: var(--ink); margin: 1em 0 0; }
.letter-m { position: absolute; right: -40px; bottom: -40px; width: 170px; z-index: 1; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
@media (max-width: 760px) { .letter-m { width: 100px; right: -10px; bottom: -60px; } }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--accent), var(--blue)); border-radius: 3px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 0 0 36px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 103px; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.tl-y { font: 800 1.7rem/1 var(--display); color: var(--blue); text-align: right; padding-right: 16px; }
.timeline h3 { text-transform: uppercase; margin-bottom: .2em; }
.timeline p { margin: 0; }
@media (max-width: 600px) { .timeline::before { left: 8px; } .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 36px; } .timeline li::before { left: 1px; } .tl-y { text-align: left; } }

/* services overview */
.svc-row .split-txt h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* work */
.filters { margin-bottom: 30px; }
.masonry { columns: 4 240px; column-gap: 14px; }
.mas-i { break-inside: avoid; margin-bottom: 14px; }
.mas-i img { width: 100%; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.mas-i.hide { display: none; }
.mas-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(8, 22, 48, .78); color: #fff; font: 700 .75rem var(--body); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: .3s; }
.mas-i:hover .mas-tag { opacity: 1; transform: none; }

/* financing */
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.fin-card img { height: 70px; width: auto; margin-bottom: 22px; }
.fin-card h3 { font-size: 1.9rem; text-transform: uppercase; }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.calc { background: #fff; border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.calc-out { grid-column: 1 / -1; background: var(--navy); color: #c4d1e6; border-radius: var(--r); padding: 22px; text-align: center; }
.calc-out b { display: block; font: 800 3.4rem/1.1 var(--display); color: #fff; }
.calc-out span { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
@media (max-width: 860px) { .fin-grid, .calc-wrap { grid-template-columns: 1fr; } .calc { grid-template-columns: 1fr; padding: 24px; } }

/* forms */
label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: #f8fafd; transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26, 86, 176, .12); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.radios { display: flex; gap: 10px; }
.radio { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; flex: 1; }
.radio input { width: auto; accent-color: var(--accent); }
.radio:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.qform { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.qform h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.qform .muted { margin: -8px 0 0; }
.qform .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: #138a4a; } .form-msg.err { color: var(--accent-d); }
.cinfo { display: grid; gap: 14px; }
.cinfo-i { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .3s; }
a.cinfo-i:hover { transform: translateX(6px); color: var(--text); }
.cinfo-i > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--blue); color: #fff; }
.cinfo-i small { display: block; color: var(--muted); font-size: .85rem; }
.cinfo-i b { display: block; color: var(--ink); font: 800 1.35rem/1.2 var(--display); }
.cinfo-i > span { flex: 1; }
.hrs { list-style: none; margin: 4px 0 0; padding: 0; }
.hrs li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.hrs b { font: 600 1rem var(--body); }
.cinfo-soc { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r); padding: 18px 22px; font-weight: 600; }
.cinfo-soc .socials a { background: rgba(255, 255, 255, .1); color: #fff; }
.map iframe { display: block; width: 100%; height: 440px; border: 0; filter: saturate(.9); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* CTA */
.cta-inline { padding-block: 40px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: linear-gradient(120deg, var(--blue), var(--navy)); color: #d6e3f7; border-radius: var(--r-lg); padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(rgba(232, 70, 30, .5), transparent 70%); }
.cta-card > div { position: relative; z-index: 1; max-width: 640px; }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-card p:last-child { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band { background: linear-gradient(110deg, var(--accent) 0%, #f0622f 45%, var(--blue-d) 45.1%, var(--navy) 100%); color: #fff; padding: 0; overflow: hidden; }
.cta-in { display: grid; grid-template-columns: 170px 1fr auto; gap: 40px; align-items: center; padding: 50px 0 0; }
.cta-mascot { width: 170px; align-self: end; }
.cta-in > div:nth-child(2) { padding-bottom: 50px; }
.cta-in h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .2em; }
.cta-in p { margin: 0; color: #dfe8f6; font-size: 1.1rem; }
.cta-band .eyebrow.light { color: #fff; }
.cta-band .cta-actions { padding-bottom: 50px; }
@media (max-width: 1000px) {
  .cta-band { background: linear-gradient(160deg, var(--blue-d), var(--navy)); }
  .cta-in { grid-template-columns: 110px 1fr; gap: 20px 26px; padding-top: 40px; }
  .cta-mascot { width: 110px; grid-row: span 2; }
  .cta-in > div:nth-child(2) { padding-bottom: 0; }
  .cta-band .cta-actions { padding-bottom: 40px; }
}
@media (max-width: 600px) { .cta-in { grid-template-columns: 1fr; } .cta-mascot { display: none; } .cta-band .cta-actions .btn { flex: 1; } }

/* footer */
.ftr { background: #071631; color: #9fb1cf; padding-top: 80px; font-size: .97rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.ftr h3 { color: #fff; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1em; }
.ftr-about > img { height: 46px; width: auto; margin-bottom: 20px; }
.ftr a { color: #c4d1e6; }
.ftr a:hover { color: #fff; }
.ftr .socials { margin: 22px 0; }
.ftr .socials a { background: rgba(255, 255, 255, .08); color: #fff; }
.ftr .socials a:hover { background: var(--accent); }
.bbb img { height: 54px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }
.flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.flinks a { display: inline-flex; transition: transform .2s; }
.flinks a:hover { transform: translateX(4px); }
.fcontact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.fcontact li { display: flex; gap: 12px; }
.fcontact .ic { color: var(--accent); margin-top: 4px; }
.fhours { list-style: none; margin: 0; padding: 14px 16px; background: rgba(255, 255, 255, .05); border-radius: 12px; }
.fhours li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.fhours li span:last-child { color: #fff; font-weight: 600; }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.ftr-bot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; }
@media (max-width: 1000px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ftr-grid { grid-template-columns: 1fr; gap: 34px; } .ftr { padding-top: 60px; } }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; padding: 8px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: 0 10px 40px -10px rgba(11, 31, 63, .5);
    transform: translateY(140%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
  .mbar.show { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 700; background: var(--sky); color: var(--blue); }
  .mbar .mbar-q { background: var(--accent); color: #fff; }
  .ftr-bot { padding-bottom: 80px; }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 14, 32, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; animation: fadein .3s; }
.lb[hidden] { display: none; }
.lb figure { max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb figcaption { color: #c4d1e6; font-weight: 600; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: var(--accent); }
.lb button .ic { width: 24px; height: 24px; }
.lb-x { top: 16px; right: 16px; }
.lb-p { left: 14px; top: 50%; margin-top: -26px; }
.lb-n { right: 14px; top: 50%; margin-top: -26px; }
@media (max-width: 600px) { .lb { padding: 70px 10px; } .lb-p, .lb-n { top: auto; bottom: 14px; margin: 0; } .lb-p { left: calc(50% - 62px); } .lb-n { right: calc(50% - 62px); } }

@media (max-width: 1100px) { .hide-md { display: none; } }
