/* Building Repair Centre — site styles */
:root {
  --navy: #13366a;        /* logo navy */
  --navy-deep: #0a2552;
  --navy-ink: #071a3a;
  --navy-soft: #1f4b8c;
  --sky: #24a3d6;         /* original site accent */
  --sky-strong: #12729c;  /* sky for text on white (AA) */
  --sky-soft: #e8f5fb;
  --ink: #142033;
  --muted: #51607a;
  --line: #dde4ee;
  --tint: #f2f6fa;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 37, 82, .09);
  --shadow-lg: 0 24px 60px rgba(10, 37, 82, .16);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 116px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-underline-offset: 3px; }
a:hover { color: var(--sky-strong); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-deep); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.45rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
[role="list"] { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-deep); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--xl { width: 64px; height: 64px; color: var(--sky-strong); margin: 0 auto 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 12px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: .9em 1.6em; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--sky); color: var(--navy-ink); box-shadow: 0 8px 20px rgba(36, 163, 214, .28); }
.btn--accent:hover { background: #45b4e1; color: var(--navy-ink); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-soft); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-family: var(--font-head); color: var(--navy); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-strong); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--sky); }
.eyebrow--light { color: #8fd3ef; }

/* Top bar & header */
.topbar { background: var(--navy-deep); color: #c9d4e6; font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .45em; }
.topbar__links { gap: 24px !important; }
.topbar a { color: #e3ebf7; text-decoration: none; }
.topbar a:hover { color: var(--sky); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(10, 37, 82, .1); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list > li > a { color: var(--navy-deep); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav__list > li > a:hover { color: var(--sky-strong); background: var(--sky-soft); }
.nav__list > li > a[aria-current="page"], .nav__has-sub.is-active > a { color: var(--sky-strong); box-shadow: inset 0 -3px 0 var(--sky); border-radius: 8px 8px 0 0; }
.nav__sub-toggle { background: none; border: 0; color: var(--navy-deep); padding: 8px 4px; margin-left: -8px; cursor: pointer; display: inline-flex; border-radius: 6px; }
.nav__sub-toggle .icon { transition: transform .2s; }
.nav__sub {
  position: absolute; top: 100%; left: -16px; min-width: 330px; padding: 14px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub, .nav__has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__has-sub.is-open .nav__sub-toggle .icon { transform: rotate(180deg); }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--navy-deep); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__sub a .icon { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--sky-soft); color: var(--sky-strong); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--tint); color: var(--navy); }
.nav__mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 46px; padding: .6em 1.1em; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 2px solid var(--line); color: var(--navy-deep); width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1180px) {
  .header-cta__call span { display: none; }
  .header-cta__call { width: 46px; padding: 0 !important; }
  .nav__list > li > a { padding: 10px 9px; }
}
@media (max-width: 1060px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; background: var(--white); }
  .brand img { width: 124px; }
  .menu-toggle { display: inline-flex; }
  .header-cta__quote { display: none; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-deep); overflow-y: auto; margin: 0;
    padding: 12px var(--gutter) 120px; display: none;
  }
  /* Closed menu uses display:none (an off-screen transform would widen the mobile layout viewport) */
  .nav.is-open { display: block; animation: nav-in .3s var(--ease) both; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__list > li > a { flex: 1; padding: 16px 4px; font-size: 1.1rem; color: var(--white); }
  .nav__list > li > a:hover { background: none; color: var(--sky); }
  .nav__list > li > a[aria-current="page"], .nav__has-sub.is-active > a { color: var(--sky); box-shadow: none; }
  .nav__sub-toggle { margin: 0; padding: 12px; color: var(--white); }
  .nav__sub-toggle .icon { width: 22px; height: 22px; }
  .nav__sub { position: static; display: none; min-width: 0; width: 100%; padding: 0 0 14px; background: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { display: none; }
  .nav__has-sub.is-open .nav__sub { display: block; }
  .nav__sub a { color: #e3ebf7; padding: 9px 8px; }
  .nav__sub a .icon { background: rgba(255, 255, 255, .08); color: var(--sky); width: 30px; height: 30px; padding: 7px; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--sky); }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 28px; color: #c9d4e6; font-size: .95rem; }
  .nav__mobile-cta a:not(.btn) { color: var(--sky); }
  body.nav-open { overflow: hidden; }
}

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px); box-shadow: 0 -6px 24px rgba(10, 37, 82, .16);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
  .mobile-bar__call { background: var(--navy); color: var(--white); }
  .mobile-bar__quote { background: var(--sky); color: var(--navy-ink); }
  .mobile-bar a:hover { color: inherit; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .header-cta__call { display: none !important; }
}

/* Home hero: text beside a photo collage (originals are max 1600px, so never stretched full width) */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: radial-gradient(110% 130% at 90% 10%, var(--navy-soft) 0%, var(--navy) 42%, var(--navy-deep) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero__lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); max-width: 54ch; color: #dde7f5; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px !important; color: #e3ebf7; font-weight: 500; font-size: .95rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: .55em; }
.hero__facts .icon { color: var(--sky); width: 1.3em; height: 1.3em; }
.collage { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 26px 60px rgba(0, 0, 0, .35); }
.collage__a { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.collage__b, .collage__c { aspect-ratio: 4 / 3.4; }
.collage::after { content: ""; position: absolute; z-index: -1; right: -22px; bottom: -22px; width: 55%; height: 55%; border-radius: var(--radius); background: var(--sky); opacity: .9; }
.hero__media-anim img { animation: rise .9s var(--ease) both; }
.hero__media-anim img:nth-child(2) { animation-delay: .12s; }
.hero__media-anim img:nth-child(3) { animation-delay: .24s; }
@keyframes nav-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .collage { max-width: 620px; margin-right: 22px; }
}

.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: radial-gradient(120% 140% at 85% 20%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(52px, 7vw, 96px); }
.page-hero--sm .page-hero__grid { grid-template-columns: 1fr; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 72px); }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 60ch; color: #dde7f5; margin: 0; }
.page-hero .hero__actions { margin-top: 28px; }
.page-hero__photo { position: relative; }
.page-hero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(36, 163, 214, .5); border-radius: var(--radius); }
.page-hero__photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__photo { max-width: 560px; margin-right: 18px; }
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: #b8c6dc; margin-bottom: 18px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #e3ebf7; text-decoration: none; }
.breadcrumbs a:hover { color: var(--sky); }

/* Sections */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-deep); color: #dce5f2; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 740px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.section-head--light p:last-child { color: #c9d4e6; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split__text > p { color: #2f3b50; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stack { position: relative; padding-bottom: 18%; }
.stack img { border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.stack__a { width: 88%; aspect-ratio: 4 / 3.2; }
.stack__b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--white); }
.ticks { display: grid; gap: 10px; margin: 20px 0 28px !important; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 22px; height: 22px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-strong); stroke-width: 3; }
.more-link { margin-top: 24px; }

/* Sector cards */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sector-grid--5 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .sector-grid, .sector-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sector-grid, .sector-grid--5 { grid-template-columns: 1fr; } }
.sector a { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 0 var(--line), var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.sector a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.sector__img { aspect-ratio: 16 / 11; overflow: hidden; }
.sector__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sector a:hover .sector__img img { transform: scale(1.05); }
.sector__badge { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--white); color: var(--sky-strong); box-shadow: var(--shadow); }
.sector__badge .icon { width: 24px; height: 24px; }
.sector__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.sector__body h3 { margin-bottom: .4em; }
.sector__body p { color: var(--muted); font-size: .97rem; flex: 1; }
.sector__more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.sector__more .icon { transition: transform .2s var(--ease); }
.sector a:hover .sector__more .icon { transform: translateX(4px); }

/* Trades grid */
.trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.trade { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.trade:hover { border-color: #b8dcef; box-shadow: var(--shadow); transform: translateY(-2px); }
.trade .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-strong); stroke-width: 1.8; }
.trade h3 { font-size: 1rem; margin: 2px 0 4px; }
.trade p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.trades--compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.trades--compact .trade { padding: 12px 14px; align-items: center; }
.trades--compact .trade .icon { width: 38px; height: 38px; padding: 9px; }
.trades--compact .trade h3 { margin: 0; font-size: .95rem; }
@media (min-width: 1100px) {
  .trades--compact { grid-template-columns: repeat(7, 1fr); }
  .trades--compact .trade { flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; }
  .trades--compact .trade h3 { font-size: .9rem; }
}
.trades--full { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .trades--full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trades--full { grid-template-columns: 1fr; } }
.section--dark .trades--compact .trade { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--dark .trades--compact .trade h3 { color: var(--white); }
.section--dark .trades--compact .trade .icon { background: rgba(36, 163, 214, .16); color: #8fd3ef; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 560px) { .clients { grid-template-columns: 1fr; } }
.clients li { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.clients .icon { color: var(--sky-strong); }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--sky); transition: box-shadow .2s; border-radius: inherit; }
.gallery__item:focus-visible::after { box-shadow: inset 0 0 0 4px var(--sky); }
.gallery--1 { grid-template-columns: minmax(0, 640px); }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
@media (min-width: 601px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery--1 { grid-template-columns: 1fr; } }
.gallery--lead li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--lead li:first-child .gallery__item { aspect-ratio: auto; height: 100%; }
@media (max-width: 600px) { .gallery--lead li:first-child { grid-row: auto; } .gallery--lead li:first-child .gallery__item { aspect-ratio: 4 / 3; } }

/* Projects */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 600 .92rem/1 var(--font-head); padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-deep); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; min-height: 42px; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pgroups { display: grid; gap: clamp(40px, 6vw, 72px); }
.pgroup[hidden] { display: none; }
.pgroup__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pgroup__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.pgroup__head p { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.pgroup__tag { font: 700 .76rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sky-strong); background: var(--sky-soft); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.pgroup__count { color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .pgroup__head { grid-template-columns: 1fr; } .pgroup__tag { justify-self: start; } }
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .featured { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .featured { grid-template-columns: 1fr; } }
.fp { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fp__img { aspect-ratio: 4 / 3; overflow: hidden; }
.fp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fp:hover .fp__img img { transform: scale(1.04); }
.fp__body { padding: 20px 22px 24px; }
.fp__body p { color: var(--muted); font-size: .97rem; }
.fp .pgroup__tag { display: inline-block; margin-bottom: 12px; }
.fp h3 a { color: inherit; text-decoration: none; }
.fp h3 a:hover { color: var(--sky-strong); }

/* Steps */
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .steps__list { grid-template-columns: 1fr; } }
.steps__list li { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.steps__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--navy-ink); font: 800 1.1rem var(--font-head); margin-bottom: 18px; }
.steps__list p { margin: 0; color: #c9d4e6; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 8px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: #b9c7db; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 1.04rem; margin: 0; font-weight: 700; }
.faq summary .icon { width: 22px; height: 22px; color: var(--sky-strong); transition: transform .25s var(--ease); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 20px 6px; color: #2f3b50; }
.faq-group + .faq-group { margin-top: 56px; }

/* Service pages */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 1000px) { .svc-layout { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose p, .prose li { color: #2f3b50; }
.prose-block + .prose-block { margin-top: clamp(32px, 4vw, 48px); }
.includes { display: grid; gap: 12px; margin-top: 18px !important; }
.includes li { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.includes .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-strong); stroke-width: 3; margin-top: 2px; }
.includes strong { display: block; font-family: var(--font-head); color: var(--navy-deep); }
.includes span { color: var(--muted); font-size: .97rem; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1000px) { .svc-aside { position: static; } }
.svc-aside__card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.svc-aside__card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-aside__body { padding: 24px; display: grid; gap: 10px; }
.svc-aside__body h2 { font-size: 1.25rem; margin: 0; }
.svc-aside__body p { margin: 0; color: var(--muted); }
.svc-aside__hours { display: flex; align-items: center; gap: 8px; font-size: .92rem; margin-top: 6px !important; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .value-grid { grid-template-columns: 1fr; } }
.value-grid li { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.value-grid .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-strong); margin-bottom: 14px; }
.value-grid p { color: var(--muted); margin: 0; }

/* Forms */
.quote-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-top: 5px solid var(--sky); }
.quote-card h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.quote-card__intro { color: var(--muted); }
.quote-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: .94rem; color: var(--navy-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfe;
  border: 1.5px solid #c9d3e1; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-strong); box-shadow: 0 0 0 4px rgba(36, 163, 214, .2); background: var(--white); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.field__error { color: #b42318; font-size: .88rem; font-weight: 500; margin: 0; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status.is-success { background: #e7f7ee; color: #14532d; border: 1px solid #a7e3bf; }
.form-status.is-error { background: #fdecea; color: #7a1c13; border: 1px solid #f3b8b1; }
.quote-form button[disabled] { opacity: .7; cursor: progress; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside h2 { font-size: 1.5rem; }
.contact-list { display: grid; gap: 18px; margin-bottom: 28px !important; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--sky-soft); color: var(--navy); }
.contact-list span { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; font-size: 1.08rem; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-aside__note { display: flex; gap: 14px; padding: 18px 20px; background: #fff7e6; border: 1px solid #f5d48f; border-radius: var(--radius-sm); }
.contact-aside__note .icon { width: 24px; height: 24px; color: #a15c00; margin-top: 2px; }
.contact-aside__note p { margin: 0; font-size: .96rem; }

/* CTA band & footer */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, var(--navy-soft), var(--navy)); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c9d4e6; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--navy-deep); color: #b8c6dc; padding-top: clamp(56px, 7vw, 88px); font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1.45fr 1.1fr .9fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img { width: 150px; margin-bottom: 18px; }
.site-footer__title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: #dce5f2; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer__contact li { display: flex; gap: 10px; align-items: center; }
.site-footer__contact a { overflow-wrap: anywhere; }
@media (min-width: 1001px) { .site-footer__contact a { overflow-wrap: normal; white-space: nowrap; } }
.site-footer__contact .icon { color: var(--sky); }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .88rem; }
.site-footer__base .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__base p { margin: 0; }
.message-page { min-height: 50vh; display: flex; align-items: center; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(4, 12, 28, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 72px; }
.lightbox img { max-width: min(1400px, calc(100vw - 144px)); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #e3ebf7; text-align: center; max-width: 60ch; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background-color .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox figure { padding: 64px 12px 96px; }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 200px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); transform: scaleX(-1); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* Motion: only when JS is running and motion is OK */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .topbar, .site-header, .mobile-bar, .cta-band, .lightbox { display: none !important; }
  .hero, .page-hero { color: var(--ink); background: none; }
  .hero h1, .page-hero h1 { color: var(--navy); }
}
