:root {
  --navy: #061a2f;
  --navy-2: #0e2942;
  --blue: #009ed1;
  --cyan: #00b7e8;
  --ink-soft: #536579;
  --line: #dce3ea;
  --line-dark: rgba(255,255,255,.16);
  --paper: #fff;
  --mist: #f2f6f9;
  --radius: 18px;
  --shadow: 0 25px 70px rgba(7,27,49,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.noise {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 15;
  height: 86px; padding: 0 clamp(24px, 5vw, 82px);
  display: flex; align-items: center; gap: 36px;
  background: var(--paper); border-bottom: 1px solid rgba(7,27,49,.08);
  backdrop-filter: none; -webkit-backdrop-filter: none; transition: height .25s, box-shadow .25s;
}
.site-header.scrolled { height: 72px; box-shadow: 0 8px 30px rgba(7,27,49,.06); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .075em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; background: var(--navy); border-radius: 6px; }
.brand-mark svg { width: 24px; fill: #fff; }
.brand-name { font-size: 16px; }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; }
.desktop-nav a { position: relative; font-size: 15px; font-weight: 600; color: #35495e; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { font-size: 13px; font-weight: 700; padding: 12px 17px; border-left: 1px solid var(--line); }
.header-cta span { margin-left: 7px; color: var(--blue); }
.menu-button, .mobile-nav { display: none; }

.section-pad { padding-left: clamp(24px, 5vw, 82px); padding-right: clamp(24px, 5vw, 82px); }
.hero { position: relative; min-height: 100vh; padding-top: 148px; padding-bottom: 58px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.hero::before { content: ""; position: absolute; width: 50vw; height: 50vw; max-width: 800px; max-height: 800px; right: -18vw; top: 10vh; background: radial-gradient(circle, rgba(0,174,232,.09), transparent 66%); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 25px; color: var(--blue); font-size: 11px; letter-spacing: .17em; font-weight: 800; }
.eyebrow span { display: block; width: 28px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; max-width: 800px; font-size: clamp(48px, 5.35vw, 94px); line-height: .98; letter-spacing: -.052em; font-weight: 700; }
.hero h1 em { color: var(--blue); font-style: normal; font-weight: 500; }
.hero-lead { max-width: 665px; margin: 34px 0 0; color: var(--ink-soft); font-size: clamp(15px, 1.25vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-top: 37px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 35px; min-height: 54px; padding: 0 23px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; border-color: var(--navy); }
.button-primary:hover { background: var(--blue); border-color: var(--blue); }
.button-ghost:hover { border-color: var(--navy); }
.button span { font-size: 18px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; max-width: 680px; margin-top: 58px; padding-top: 27px; border-top: 1px solid var(--line); }
.hero-stats div { min-width: 0; }
.hero-stats strong { display: block; font-size: clamp(27px, 2.3vw, 42px); letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.hero-stats span { display: block; max-width: 220px; margin-top: 8px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: .05em; }
.hero-gallery { min-width: 0; width: 100%; align-self: center; position: relative; border: 1px solid var(--line); background: #fff; }
.gallery-viewport { overflow: hidden; aspect-ratio: 1 / 1; background: #f6f8fa; touch-action: pan-y pinch-zoom; }
.gallery-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.gallery-slide { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.gallery-toolbar { min-height: 72px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.gallery-toolbar p { margin: 0; font-size: 14px; font-weight: 700; }
.gallery-controls { display: flex; align-items: center; gap: 4px; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; background: #fff; color: var(--navy); cursor: pointer; font-size: 22px; }
.gallery-controls button:hover { color: var(--blue); border-color: var(--line); background: var(--mist); }
.gallery-controls #gallery-toggle { font-size: 17px; }
.gallery-counter { min-width: 52px; text-align: center; color: var(--ink-soft); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-visual { position: relative; min-height: 650px; align-self: stretch; background: linear-gradient(155deg, #f8fafc 0%, #eef3f7 100%); border-radius: 2px; overflow: hidden; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(9,42,67,.05) 1px, transparent 1px),linear-gradient(90deg, rgba(9,42,67,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.pluvia-visual { position: absolute; inset: 2% -2% auto -2%; width: 104%; height: 94%; }
.anniversary-badge { position: absolute; top: 25px; right: 25px; z-index: 3; width: 120px; height: 120px; padding: 13px; border: 1px solid rgba(7,27,49,.23); background: rgba(255,255,255,.75); backdrop-filter: blur(12px); display: grid; grid-template-columns: 1fr 43px; grid-template-rows: auto 1fr; }
.anniversary-badge > span { grid-column: 1/-1; font-size: 7px; letter-spacing: .13em; color: var(--ink-soft); }
.anniversary-badge strong { font-size: 53px; line-height: .9; align-self: end; letter-spacing: -.08em; }
.anniversary-badge small { align-self: end; justify-self: end; text-align: right; font-size: 7px; line-height: 1.5; font-weight: 800; }
.visual-label { position: absolute; z-index: 2; font-size: 8px; letter-spacing: .16em; font-weight: 700; color: var(--ink-soft); }
.visual-label-top { top: 27px; left: 27px; }
.visual-label-top i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #24b879; box-shadow: 0 0 0 4px rgba(36,184,121,.12); }
.visual-label-bottom { left: 29px; bottom: 26px; display: flex; gap: 16px; align-items: baseline; }
.visual-label-bottom b { color: var(--navy); font-size: 14px; letter-spacing: .04em; }
.visual-label-bottom span { letter-spacing: .08em; }
.bim-grid path { stroke: #c6d1dc; stroke-width: 1; }
.flow-dots { filter: drop-shadow(0 0 5px rgba(0,174,232,.8)); }
.drain { animation: hover 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.drain:nth-of-type(2) { animation-delay: -.9s; }
.drain:nth-of-type(3) { animation-delay: -1.8s; }
@keyframes hover { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.scroll-cue { position: absolute; left: clamp(24px,5vw,82px); bottom: 26px; display: flex; gap: 12px; align-items: center; font-size: 8px; letter-spacing: .16em; color: var(--ink-soft); font-weight: 800; }
.scroll-cue span { position: relative; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; }
.scroll-cue span::after { content: ""; position: absolute; width: 4px; height: 4px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); top: 7px; left: 9px; }

.technology { padding-top: 125px; padding-bottom: 135px; background: var(--mist); }
.section-heading { display: grid; grid-template-columns: .7fr 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .realizations-head h2 { margin: 0; font-size: clamp(38px, 4.2vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.section-heading > p:last-child, .realizations-head > p { margin: 0; color: var(--ink-soft); line-height: 1.75; font-size: 14px; max-width: 430px; }
.technology-stage { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stage-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stage-tabs button { position: relative; min-height: 82px; border: 0; border-right: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; transition: background .25s, color .25s; }
.stage-tabs button:last-child { border-right: 0; }
.stage-tabs button span { margin-right: 16px; font-size: 10px; color: #8997a5; }
.stage-tabs button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 3px; background: var(--blue); transition: right .25s; }
.stage-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.stage-tabs button[aria-selected="true"]::after { right: 0; }
.stage-content { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 500px; }
.stage-copy { padding: clamp(45px, 5vw, 82px); display: flex; flex-direction: column; justify-content: center; }
.stage-kicker { margin: 0 0 15px; color: var(--blue); font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.stage-copy h3 { margin: 0; max-width: 480px; font-size: clamp(30px, 3vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.stage-copy > p:not(.stage-kicker) { margin: 25px 0; color: var(--ink-soft); line-height: 1.7; font-size: 14px; }
.stage-copy ul { list-style: none; padding: 0; margin: 7px 0 0; }
.stage-copy li { position: relative; padding: 12px 0 12px 25px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.stage-copy li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border: 2px solid var(--blue); border-radius: 50%; }
.technical-plan { align-self: center; min-width: 0; margin: 35px; background: #fff; }
.technical-plan img { display: block; width: 100%; height: auto; }
.technical-plan figcaption { margin-top: 16px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }

.realizations { padding-top: 130px; padding-bottom: 0; }
.realizations-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 60px; margin-bottom: 55px; }
.map-shell { border: 1px solid var(--line); background: #f4f7fa; box-shadow: var(--shadow); }
.map-toolbar { min-height: 78px; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.map-search { min-width: 280px; height: 46px; padding: 0 15px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); }
.map-search span { font-size: 24px; transform: rotate(-15deg); color: var(--ink-soft); }
.map-search input { width: 100%; border: 0; outline: 0; font-size: 12px; color: var(--navy); }
.filters { display: flex; gap: 5px; margin: 0 auto; }
.filter { height: 38px; padding: 0 14px; border: 0; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.filter.active { background: #e9f2f6; color: #007eaa; }
.import-button { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 9px; color: #fff; background: var(--navy); font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s; }
.import-button:hover { background: var(--blue); }
.import-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.map-area { position: relative; min-height: 640px; overflow: hidden; }
.poland-map { display: block; width: min(720px, 73%); height: 640px; margin: 0 auto; }
.poland-shape { fill: #fff; stroke: #9cafbf; stroke-width: 2; }
.map-summary { position: absolute; top: 36px; left: 35px; z-index: 2; width: 145px; padding: 18px; background: rgba(255,255,255,.9); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.map-summary span { display: block; font-size: 7px; letter-spacing: .15em; color: var(--ink-soft); }
.map-summary strong { display: block; margin: 6px 0 5px; font-size: 36px; letter-spacing: -.05em; }
.map-summary small { display: block; font-size: 8px; line-height: 1.35; color: var(--blue); font-weight: 700; }
.map-summary a { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 7px; line-height: 1.45; color: var(--ink-soft); font-weight: 700; }
.map-summary a:hover { color: var(--blue); }
.map-marker { cursor: pointer; transition: opacity .2s; }
.map-marker .pulse { fill: rgba(0,158,209,.16); transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
.map-marker .dot { fill: var(--navy); stroke: #fff; stroke-width: 3; transition: fill .2s, r .2s; }
.map-marker:hover .dot, .map-marker:focus .dot, .map-marker.active .dot { fill: var(--cyan); }
.map-marker.is-hidden { opacity: 0; pointer-events: none; }
@keyframes pulse { 0% { scale: .45; opacity: .8; } 100% { scale: 1.7; opacity: 0; } }
.map-tooltip { position: absolute; z-index: 4; display: none; min-width: 215px; padding: 17px 18px; color: #fff; background: var(--navy); box-shadow: 0 18px 40px rgba(7,27,49,.23); pointer-events: none; }
.map-tooltip.show { display: block; }
.map-tooltip::after { content: ""; position: absolute; left: 22px; bottom: -8px; border: 8px solid transparent; border-top-color: var(--navy); border-bottom: 0; }
.tooltip-type { display: block; color: #6fd9f5; font-size: 7px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
.tooltip-name { display: block; margin: 6px 0; font-size: 14px; }
.tooltip-meta { color: #9fb0bf; font-size: 9px; }
.map-hint { position: absolute; bottom: 25px; left: 35px; display: flex; gap: 8px; align-items: center; font-size: 7px; letter-spacing: .12em; color: var(--ink-soft); }
.map-hint span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.import-status { position: absolute; right: 28px; bottom: 24px; max-width: 330px; padding: 12px 15px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(7,27,49,.1); font-size: 10px; display: none; }
.import-status.show { display: block; }
.import-status.error { border-color: #df7070; color: #912c2c; }
.partners { padding: 110px 0 100px; }
.partners > p { margin: 0 0 35px; text-align: center; color: var(--ink-soft); font-size: 14px; letter-spacing: .18em; font-weight: 700; }
.partner-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-grid > span { min-width: 0; min-height: 128px; padding: 20px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.partner-logo { display: block; width: 100%; max-width: 155px; height: 64px; overflow: hidden; }
.partner-logo.partner-badge { width: 78px; height: 78px; }
.partner-respol { filter: brightness(1.04); }
.partner-grid .partner-main { flex-direction: column; color: var(--navy); }
.partner-main b { font-size: 18px; letter-spacing: .08em; }
.partner-main small { margin-top: 4px; color: var(--blue); font-size: 6px; letter-spacing: .12em; }
.contact-panel { position: relative; min-height: 490px; margin: 0 calc(-1 * clamp(24px, 5vw, 82px)); padding: 82px clamp(24px, 5vw, 82px); display: grid; grid-template-columns: 1.45fr 1fr; gap: 50px; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.contact-panel::before { content: ""; position: absolute; width: 600px; height: 600px; right: -120px; top: -190px; border: 1px solid rgba(0,183,232,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(0,183,232,.03),0 0 0 160px rgba(0,183,232,.025); }
.eyebrow.light { color: #65d8f7; }
.contact-panel h2 { margin: 0; font-size: clamp(40px, 4.5vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.contact-link { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(16px, 1.5vw, 24px); font-weight: 600; }
.contact-link span { color: var(--cyan); }
.contact-meta { position: absolute; bottom: 32px; left: clamp(24px, 5vw, 82px); right: clamp(24px, 5vw, 82px); display: flex; justify-content: space-between; color: #8fa1b1; font-size: 7px; letter-spacing: .18em; }
footer { height: 80px; margin: 0 calc(-1 * clamp(24px, 5vw, 82px)); padding: 0 clamp(24px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #03111e; color: #728598; font-size: 7px; letter-spacing: .16em; }
footer a { color: #b5c2cd; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-visual { min-height: 560px; }
  .section-heading { grid-template-columns: 1fr 1.4fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .stage-content { grid-template-columns: 1fr 1.25fr; }
  .partner-grid { grid-template-columns: repeat(4,1fr); }
  .map-toolbar { flex-wrap: wrap; }
  .filters { order: 3; width: 100%; justify-content: center; }
}

@media (max-width: 780px) {
  .site-header { height: 68px; padding: 0 20px; }
  .brand-name { font-size: 13px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; gap: 6px; margin-left: auto; width: 38px; height: 38px; padding: 11px 7px; background: transparent; border: 0; cursor: pointer; }
  .menu-button span { width: 24px; height: 2px; background: var(--navy); transition: transform .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 68px; left: 0; right: 0; padding: 18px 24px 26px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,27,49,.08); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
  .section-pad { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 85px; display: block; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 68px); }
  .hero-lead { margin-top: 24px; }
  .hero-actions { display: grid; }
  .button { width: 100%; justify-content: space-between; }
  .hero-stats { gap: 12px; margin-top: 40px; }
  .hero-stats strong { font-size: 28px; }
  .hero-stats span { font-size: 7px; }
  .hero-visual { min-height: 475px; margin-top: 42px; }
  .hero-gallery { margin-top: 42px; }
  .gallery-toolbar { padding: 10px 12px; }
  .gallery-toolbar p { font-size: 13px; }
  .anniversary-badge { width: 98px; height: 98px; top: 16px; right: 16px; }
  .anniversary-badge strong { font-size: 43px; }
  .visual-label-top { left: 18px; top: 18px; }
  .pluvia-visual { top: 6%; height: 91%; }
  .scroll-cue { display: none; }
  .technology, .realizations { padding-top: 85px; }
  .technology { padding-bottom: 85px; }
  .section-heading, .realizations-head { display: block; }
  .section-heading .eyebrow, .realizations-head .eyebrow { margin-bottom: 20px; }
  .section-heading > p:last-child, .realizations-head > p { margin-top: 24px; }
  .technology-stage { margin: 0 -20px; border-left: 0; border-right: 0; }
  .stage-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(110px,1fr)); }
  .stage-tabs button { min-height: 66px; font-size: 11px; }
  .stage-content { display: block; min-height: 0; }
  .stage-copy { padding: 45px 24px 30px; }
  .technical-plan { margin: 22px 16px 28px; }
  .map-shell { margin: 0 -20px; border-left: 0; border-right: 0; }
  .map-toolbar { padding: 12px; }
  .map-search { min-width: 0; flex: 1; }
  .import-button { padding: 0 13px; }
  .filters { justify-content: flex-start; overflow-x: auto; }
  .filter { flex: 0 0 auto; }
  .map-area { min-height: 550px; }
  .poland-map { width: 115%; height: 550px; transform: translateX(-6%); }
  .map-summary { top: 18px; left: 16px; width: 122px; padding: 14px; }
  .map-summary strong { font-size: 28px; }
  .map-hint { left: 18px; bottom: 16px; }
  .import-status { right: 14px; left: 14px; bottom: 46px; max-width: none; }
  .map-tooltip { min-width: 190px; }
  .partners { padding: 75px 0 70px; }
  .partner-grid { grid-template-columns: repeat(2,1fr); }
  .partner-grid > span { min-height: 112px; padding: 22px; }
  .partner-logo { height: 58px; }
  .partner-logo.partner-badge { width: 68px; height: 68px; }
  .contact-panel { min-height: 520px; margin: 0 -20px; padding: 60px 24px 95px; display: block; }
  .contact-panel h2 { font-size: 44px; }
  .contact-link { margin-top: 70px; font-size: 15px; }
  .contact-meta { left: 24px; right: 24px; flex-direction: column; gap: 8px; }
  footer { margin: 0 -20px; padding: 0 20px; }
  footer span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Attachment integration and real project browser */
.hero { overflow: clip; }
html { overflow-x: clip; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 13px; }
.project-location-note, .project-source { display: block; margin-top: 10px; }
.hero h1 { font-size: clamp(45px, 4.65vw, 82px); overflow-wrap: normal; }
[hidden] { display: none !important; }
section, #kontakt, #partnerzy { scroll-margin-top: 100px; }
:focus-visible { outline: 3px solid #009ed1; outline-offset: 5px; }
.brand-art { display: block; width: clamp(260px, 27vw, 395px); height: 65px; filter: brightness(1.008); }
.hero-stats strong .stat-number { display: inline; color: inherit; font: inherit; letter-spacing: inherit; }
.stage-tabs small { margin-left: 7px; color: #007b9e; font-size: 9px; }
.stage-tabs button[aria-selected="true"] small { color: #6fd9f5; }
.assembly-photo { position: relative; margin: 35px; min-height: 430px; background: #edf3f7; }
.assembly-photo-media { position: absolute; inset: 0 0 56px; overflow: hidden; }
.assembly-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform .5s; }
.assembly-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 13px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; min-height: 56px; background: #fff; font-size: 9px; }
.assembly-photo figcaption span { color: #536579; }
.scope-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; color: #536579; font-size: 12px; line-height: 1.6; }
.scope-row span { border-top: 2px solid #ccdbe5; padding-top: 14px; }
.geberit-art { width: 150px; max-width: 100%; height: 35px; }
.partner-grid .partner-main { filter: none; }
.contact-details { z-index: 1; min-width: 0; }
.contact-phone, .contact-details address { font-family: inherit; font-size: 22px; }
.contact-phone { display: block; margin-top: 20px; }
.contact-details address { color: inherit; font-style: normal; line-height: 1.8; margin-top: 24px; }
.contact-details address:first-child { margin-top: 0; }
.company-registers { display: block; margin-top: 12px; font-size: 16px; font-weight: 400; }
.contact-details .contact-phone + .contact-link { margin-top: 8px; }
@media (max-width: 780px) { .contact-details { margin-top: 32px; } }
.service-page-main { padding-top: calc(var(--header-height) + 40px); padding-bottom: 70px; }
.service-back { display: inline-block; padding: 12px 0; font-size: 14px; color: var(--ink-soft); }
.service-page .service { margin-top: 22px; padding-top: 35px; }
.service-heading h1 { margin: 0 0 25px; font-size: clamp(35px, 3.7vw, 62px); line-height: 1.1; letter-spacing: -.04em; }
.service-videos { min-width: 0; align-self: center; margin: 35px; display: grid; gap: 24px; }
.service-videos figure { margin: 0; }
.service-videos video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fff; }
.service-videos figcaption { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 1100px) { .service-videos { margin: 0 35px 35px; } }
@media (max-width: 780px) { .service-videos { margin: 0 16px 28px; } }
.year-filter { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.year-filter > span { color: #536579; }
.year-filter select { padding: 11px 7px; border: 1px solid #dce3ea; color: #061a2f; background: #fff; font: inherit; max-width: 140px; }
.map-toolbar { flex-wrap: wrap; }
.map-summary { width: 155px; }
.map-summary strong { font-size: 32px; }
.map-summary small { overflow-wrap: anywhere; }
.poland-map { width: min(800px, 100%); max-width: 100%; }
.map-marker .dot { stroke-width: 2; }
.map-marker:hover .dot, .map-marker:focus .dot, .map-marker.selected .dot { fill: #007fac; }
.marker-count { fill: #fff; font: 800 14px Manrope, Arial, sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.marker-city { fill: var(--navy); stroke: #f4f7fa; stroke-width: 4px; paint-order: stroke; stroke-linejoin: round; font: 700 11px Manrope, Arial, sans-serif; pointer-events: none; }
.tooltip-zoom { margin-top: 12px; min-height: 40px; width: 100%; padding: 9px 12px; color: #fff; background: #087da4; border: 1px solid #57b3d0; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (max-width: 780px) { .marker-city { display: none; } }
.map-marker.selected { filter: drop-shadow(0 0 5px #00b7e8); }
.map-tooltip { max-width: 270px; }
.map-caption { background: #fff; border-top: 1px solid #dce3ea; padding: 22px 30px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; font-size: 11px; color: #536579; line-height: 1.8; }
.map-caption p { margin: 0; }
.import-help summary { cursor: pointer; font-weight: 700; color: #061a2f; }
.import-help p { margin-top: 12px; }
#restore-data, #map-selection { border: 1px solid #dce3ea; padding: 8px 12px; background: #fff; font-size: 11px; cursor: pointer; margin-top: 12px; }
.project-list-header { display: flex; align-items: center; gap: 18px; padding: 28px 30px 20px; background: #fff; border-top: 1px solid #dce3ea; flex-wrap: wrap; }
.project-list-header h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
#map-results-count { color: #536579; font-size: 11px; }
#map-selection { margin: 0 0 0 auto; }
.project-results { padding: 0 30px 28px; background: #fff; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.project-card { padding: 19px; border: 1px solid #dce3ea; font-size: 12px; min-width: 0; }
.project-card-heading { display: flex; gap: 12px; justify-content: space-between; align-items: start; flex-wrap: wrap; }
.project-card strong { font-size: 14px; overflow-wrap: anywhere; }
.project-type { font-size: 8px; color: #087da4; background: #edf6f8; padding: 3px 6px; }
.project-meta { color: #536579; font-size: 11px; line-height: 1.7; }
.project-location { background: transparent; border: 0; border-bottom: 1px solid #afc9d4; color: #087da4; font: inherit; padding: 0 0 3px; cursor: pointer; text-align: left; }
.project-location-note, .project-source { font-size: 9px; color: #6c7987; line-height: 1.6; }
.load-more { display: block; width: 100%; padding: 22px; border: 0; border-top: 1px solid #dce3ea; background: #edf3f7; cursor: pointer; font-size: 12px; font-weight: 700; }
.map-source-attribution { display: block; margin-top: 8px; font-size: 9px; }
@media (max-width: 1100px) {
  .site-header { gap: 20px; }
  .desktop-nav { gap: 18px; }
  .header-cta { padding-right: 0; }
  .project-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .hero h1 { font-size: clamp(30px, 8.6vw, 46px); line-height: 1.05; }
  .site-header { gap: 14px; }
  .brand { min-width: 0; }
  .menu-button { flex-shrink: 0; }
  .brand-art { width: min(270px, calc(100vw - 105px)); height: 52px; }
  .hero-stats strong .stat-number { font: inherit; }
  .assembly-photo { height: 430px; margin: 22px 16px 28px; }
  .scope-row { grid-template-columns: repeat(2,1fr); gap: 18px; font-size: 11px; }
  .contact-details .contact-link { margin-top: 36px; }
  .contact-panel { padding-bottom: 115px !important; }
  .map-toolbar .map-search { flex-basis: calc(100% - 145px); }
  .map-toolbar .filters { order: 4; }
  .map-toolbar .year-filter { order: 3; width: 100%; }
  .year-filter select { max-width: none; flex: 1; }
  .map-area .poland-map { width: 100%; height: 410px; transform: none; margin-top: 80px; }
  .map-area .map-summary { top: 12px; left: 16px; width: calc(100% - 32px); padding: 10px 14px; display: flex; gap: 12px; align-items: center; }
  .map-summary > span { max-width: 68px; line-height: 1.5; }
  .map-summary > strong { font-size: 28px; margin: 0; }
  .map-summary > small { flex: 1; }
  .map-summary > a { max-width: 85px; margin: 0; border: 0; padding: 0; }
  .map-caption { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .project-results { grid-template-columns: 1fr; padding: 0 16px 20px; }
  .project-list-header { padding: 23px 18px 18px; gap: 12px; }
  #map-selection { margin-left: 0; }
}

.import-status { max-height: 180px; overflow-y: auto; }

.project-status { display: block; margin-top: 12px; color: #687a8b; font-size: 9px; }
.project-status.ongoing { color: #007d53; font-weight: 700; }

.download-dataset { display: inline-block; margin-top: 13px; color: #087da4; font-weight: 700; border-bottom: 1px solid #afc9d4; }

/* Project pins and readable, scrollable project details. */
.map-tooltip { width: 330px; max-width: calc(100% - 16px); min-width: 0; padding: 18px; pointer-events: auto; }
.map-tooltip::after { display: none; }
.tooltip-type { padding-right: 22px; font-size: 10px; letter-spacing: .08em; }
.tooltip-name { font-size: 17px; margin: 7px 0 4px; }
.tooltip-meta { color: #c2d2df; font-size: 12px; }
.tooltip-close { position: absolute; right: 5px; top: 5px; width: 32px; height: 32px; border: 0; background: transparent; color: #fff; font-size: 25px; cursor: pointer; }
.tooltip-projects { list-style: none; margin: 13px 0 0; padding: 0; max-height: 215px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #79b3cb #19374e; }
.tooltip-project { border-top: 1px solid #355066; padding: 11px 4px 11px 0; }
.tooltip-project strong { display: block; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.tooltip-project span { display: block; color: #d2e0eb; font-size: 13px; line-height: 1.7; margin-top: 4px; }
.tooltip-close:focus-visible, .tooltip-projects:focus-visible { outline: 2px solid #83def5; outline-offset: 2px; }
.project-outlets { font-weight: 700; color: #087da4; }
.project-status.planned { color: #846022; }
@media (max-width: 600px) { .tooltip-projects { max-height: 160px; } .map-tooltip { padding: 14px; } }
.map-zoom { position: absolute; right: 24px; top: 24px; z-index: 3; display: flex; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 16px #071b3108; }
.map-zoom button { height: 42px; min-width: 42px; padding: 0 12px; color: var(--navy); border: 0; border-right: 1px solid var(--line); background: #fff; font: 600 14px Manrope, Arial, sans-serif; cursor: pointer; }
.map-zoom button:first-child, .map-zoom button:nth-child(2) { font-size: 22px; }
.map-zoom button:last-child { border-right: 0; }
.map-zoom button:disabled { color: #aebbc7; cursor: default; }
.map-zoom button:not(:disabled):hover { background: #eef7fa; }
.poland-map.is-zoomed { touch-action: none; cursor: grab; }
.poland-map.is-zoomed:active { cursor: grabbing; }
@media(max-width: 780px) { .map-zoom { right: 12px; top: 18px; } .map-zoom button { min-width: 36px; padding: 0 8px; font-size: 12px; } .poland-map { transform: none; } }
@media (max-width: 780px) {
  .map-zoom { top: 78px; right: 16px; }
  .map-area .poland-map { margin-top: 120px; }
  .map-area { min-height: 580px; }
}
@media (max-width: 780px) {
  .map-area .map-summary { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
  .map-summary > span { grid-column: 1; grid-row: 1; max-width: none; font-size: 10px; }
  .map-summary > strong { grid-column: 2; grid-row: 1 / span 2; }
  .map-summary > small { grid-column: 1; grid-row: 2; font-size: 11px; }
  .map-summary > a { display: none; }
}

/* Portfolio presented through the map only. */
.realizations-head { grid-template-columns: 1fr; }
.map-credits { display: block; padding: 10px 18px; text-align: right; color: #687b8c; font-size: 11px; }
.map-credits a { text-decoration: underline; text-underline-offset: 2px; }
.map-status { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 14px 18px; background: #fff; color: var(--navy); font-size: 14px; text-align: center; border: 1px solid var(--line); }
.map-status.error { color: #912c2c; }
@media (max-width: 780px) {
  .map-area { min-height: 510px; }
  .map-area .poland-map { margin-top: 48px; height: 430px; }
  .map-zoom { top: 14px; right: 14px; }
  .map-credits { padding: 10px 14px; text-align: center; }
}
@media (max-width: 780px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .hero-stats span { font-size: 10px; max-width: 150px; }
}
@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats span { max-width: none; }
  .gallery-toolbar { flex-wrap: wrap; justify-content: center; gap: 5px; }
  .gallery-toolbar p { width: 100%; text-align: center; }
}

/* Open page composition: heading, photographs, then company scale. */
.hero { display: block; min-height: 0; padding-top: 154px; padding-bottom: 70px; }
.hero::before { display: none; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; margin-bottom: 44px; }
.hero-heading .eyebrow { margin-bottom: 22px; }
.hero h1 { max-width: none; font-size: clamp(44px, 4.25vw, 76px); line-height: 1.06; letter-spacing: -.045em; }
.hero h1 em { display: inline-block; margin-top: .14em; font-size: .7em; line-height: 1.16; letter-spacing: -.025em; }
.hero h1 em span { white-space: nowrap; }
.hero-lead { margin: 0; max-width: 540px; font-size: 16px; line-height: 1.7; }
.hero-lead + .hero-lead { margin-top: 16px; }
.hero-actions { margin-top: 24px; gap: 12px; }
.hero-actions .button { min-height: 48px; padding: 0 17px; gap: 19px; font-size: 12px; }
@media (min-width: 1101px) {
  .hero-copy { grid-template-areas: "heading description" ". actions"; row-gap: 24px; }
  .hero-intro { display: contents; }
  .hero-heading { grid-area: heading; }
  .hero-description { grid-area: description; }
  .hero-actions { grid-area: actions; margin-top: 0; }
}
.hero-gallery { border: 0; margin: 0; background: transparent; }
.gallery-viewport { aspect-ratio: auto; height: clamp(330px, 30.5vw, 490px); background: transparent; }
.gallery-track { position: relative; display: flex; gap: 16px; width: 100%; height: 100%; }
.gallery-slide { flex: 0 0 auto; width: auto; height: 100%; aspect-ratio: var(--photo-ratio); overflow: hidden; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-toolbar { min-height: 65px; padding: 12px 0 0; border: 0; }
.gallery-toolbar p { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gallery-controls { gap: 7px; }
.gallery-controls button { background: transparent; }
.gallery-counter { min-width: 66px; }
.hero-stats { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); max-width: none; margin-top: 25px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats strong { font-size: clamp(26px, 2.65vw, 42px); letter-spacing: -.045em; }
.hero-stats > div > span { max-width: none; margin-top: 10px; font-size: 12px; line-height: 1.6; letter-spacing: .045em; }
@media (max-width: 1100px) {
  .hero { padding-top: 130px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-copy { grid-template-columns: 1fr; gap: 24px; margin-bottom: 34px; }
  .hero h1 { font-size: clamp(44px, 5.8vw, 64px); }
  .hero-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
  .hero-actions { margin-top: 0; }
}
@media (max-width: 780px) {
  .hero { padding-top: 108px; padding-bottom: 48px; }
  .hero-copy { gap: 22px; margin-bottom: 30px; }
  .hero-heading .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(32px, 8.7vw, 58px); line-height: 1.08; }
  .hero-intro { display: block; }
  .hero-lead { font-size: 15px; line-height: 1.7; }
  .hero-actions { display: flex; flex-wrap: wrap; margin-top: 22px; gap: 10px; }
  .hero-actions .button { flex: 1 1 160px; width: auto; min-height: 48px; gap: 10px; padding: 0 13px; font-size: 11px; }
  .gallery-viewport { height: clamp(180px, calc((100vw - 40px) / 1.51), 350px); }
  .gallery-track { gap: 12px; }
  .gallery-toolbar { flex-wrap: nowrap; justify-content: space-between; min-height: 60px; gap: 8px; }
  .gallery-toolbar p { width: auto; text-align: left; font-size: 11px; letter-spacing: .025em; }
  .gallery-controls { gap: 0; }
  .gallery-counter { min-width: 48px; font-size: 12px; }
  .gallery-controls button { width: 40px; height: 44px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; margin-top: 19px; padding-top: 26px; }
  .hero-stats > div:first-child { grid-column: 1 / -1; }
  .hero-stats strong { font-size: clamp(23px, 5.8vw, 34px); }
  .hero-stats > div > span { font-size: 11px; margin-top: 8px; }
}
@media (max-width: 360px) {
  .hero-stats { grid-template-columns: 1fr; gap: 22px; }
  .hero-stats strong { font-size: 30px; }
  .gallery-toolbar { flex-wrap: wrap; }
}

/* Wordmark size halfway between the original and enlarged header. */
:root { --header-height: calc((86px + clamp(112px, 11.5vw, 196px)) / 2); }
.site-header, .site-header.scrolled { height: var(--header-height); gap: 28px; }
.brand { flex: 0 0 auto; }
.brand-art { width: calc((clamp(260px, 27vw, 395px) + clamp(580px, 54vw, 980px)) / 2); height: auto; aspect-ratio: 2048 / 345; }
.desktop-nav { flex: 0 0 auto; gap: 24px; }
.desktop-nav a { white-space: nowrap; }
.hero { padding-top: calc(var(--header-height) + 64px); }
section, #kontakt, #partnerzy, #serwis { scroll-margin-top: calc(var(--header-height) + 24px); }
@media (max-width: 1200px) {
  :root { --header-height: calc((86px + clamp(110px, 14vw, 154px)) / 2); }
  .site-header { gap: 18px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-art { width: calc((clamp(260px, 27vw, 395px) + min(68vw, 740px)) / 2); max-width: calc(90vw - 56px); }
  .desktop-nav { display: none; }
  .menu-button { display: grid; flex: 0 0 42px; gap: 6px; margin-left: auto; width: 42px; height: 42px; padding: 13px 9px; background: transparent; border: 0; cursor: pointer; }
  .menu-button span { width: 24px; height: 2px; background: var(--navy); transition: transform .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 10px clamp(20px, 5vw, 60px) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,27,49,.08); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
  .hero { padding-top: calc(var(--header-height) + 44px); }
}
@media (max-width: 780px) {
  :root { --header-height: calc((68px + clamp(80px, 17vw, 124px)) / 2); }
  .site-header { gap: 12px; }
  .brand-art { width: calc((min(270px, calc(100vw - 105px)) + min(560px, calc(100vw - 94px))) / 2); max-width: none; }
  .hero { padding-top: calc(var(--header-height) + 34px); }
}

/* Discourage casual image saving while preserving gallery navigation. */
img, .protected-photo { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
img { -webkit-user-drag: none; }
.protected-photo img { pointer-events: none; }

/* Technology introduction and the original project drawing. */
.technology .section-heading { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px 60px; align-items: center; }
.technology .section-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.technology .section-heading h2 { grid-column: 1; }
.technology-intro { grid-column: 2; min-width: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.technology-intro p { margin: 0; }
.technology-intro p + p { margin-top: 16px; }
@media (max-width: 1100px) {
  .technology .section-heading { gap: 24px 36px; }
  .stage-content { grid-template-columns: 1fr; }
  .technical-plan { margin: 0 35px 35px; }
  .stage-copy { padding: 40px 35px 30px; }
}
@media (max-width: 900px) {
  .technology .section-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .technology .section-heading h2, .technology-intro { grid-column: 1; }
}
@media (max-width: 780px) {
  .stage-copy { padding: 35px 24px 28px; }
  .technical-plan { margin: 0 16px 28px; }
}

/* Technology detail and service requests. */
.bim-gallery { align-self: center; min-width: 0; margin: 35px; }
.bim-viewport { position: relative; width: 100%; aspect-ratio: 1498 / 1050; background: #fff; touch-action: pan-y; }
.bim-slide { position: absolute; inset: 0; margin: 0; }
.bim-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bim-slide:not([hidden]) { animation: bim-reveal .35s ease; }
.bim-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.bim-toolbar p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.bim-controls { display: flex; align-items: center; gap: 2px; }
.bim-controls button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); font-size: 20px; cursor: pointer; }
.bim-controls button:hover { background: var(--mist); }
#bim-counter, #assembly-counter { min-width: 58px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.assembly-gallery .bim-viewport { aspect-ratio: auto; height: clamp(340px, 38vw, 560px); }
.assembly-gallery .bim-toolbar { justify-content: flex-end; border: 0; padding-top: 0; margin-top: 8px; }
@keyframes bim-reveal { from { opacity: .3; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bim-slide:not([hidden]) { animation: none; } }
@media (max-width: 1100px) { .bim-gallery { margin: 0 35px 35px; } }
@media (max-width: 780px) { .bim-gallery { margin: 0 16px 28px; } .bim-toolbar { justify-content: center; } .bim-toolbar p { flex-basis: 100%; text-align: center; } }

.standard-statement { margin: -8px 0 38px; padding: 0 0 0 20px; border-left: 3px solid var(--blue); max-width: 920px; font-size: 18px; line-height: 1.6; font-weight: 600; }
.stage-copy #stage-list li { font-weight: 600; }
.stage-warranty { display: flex; flex-direction: column; gap: 5px; padding: 15px 0 15px 18px; margin: 24px 0 !important; border-left: 3px solid var(--blue); }
.stage-warranty strong { font-size: 26px; color: var(--navy); line-height: 1.2; }
.stage-warranty span { color: var(--ink-soft); font-size: 13px; }
.stage-service-link { margin-top: 26px; }
.service { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(35px, 5vw, 80px); padding: 90px 0 0; margin-top: 80px; border-top: 1px solid var(--line); }
.service-heading h2 { margin: 0 0 25px; font-size: clamp(35px, 3.7vw, 62px); line-height: 1.1; letter-spacing: -.04em; }
.service-heading > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 30px; max-width: 390px; }
.service-heading > a { display: block; width: fit-content; max-width: 100%; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.service-heading > .service-phone { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.service-form { min-width: 0; background: var(--mist); padding: clamp(24px, 3vw, 44px); }
.service-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea { display: block; width: 100%; min-width: 0; background: #fff; border: 1px solid #c9d6e1; color: var(--navy); border-radius: 0; padding: 12px 13px; font: inherit; font-size: 16px; line-height: 1.5; }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note { margin: 0 0 25px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.form-honey { display: none; }
.service-photo-field { margin-top: 27px; }
.photo-picker { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 10px 17px; border: 1px solid #aebfce; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; overflow: hidden; }
.photo-picker > span { font-size: 22px; font-weight: 400; }
.photo-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-picker:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
#photo-help { color: var(--ink-soft); font-size: 12px; margin: 9px 0 0; line-height: 1.5; }
.service-photo-preview { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.service-photo-preview img { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.service-photo-preview > div { min-width: 0; }
#service-photo-name { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
#remove-service-photo { background: none; border: 0; padding: 9px 0; min-height: 40px; font-size: 13px; text-decoration: underline; cursor: pointer; }
.form-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.form-submit-row .button { font-size: 14px; padding: 0 22px; gap: 20px; }
.form-submit-row > p { font-size: 12px; line-height: 1.6; margin: 0; color: var(--ink-soft); }
.form-feedback { margin: 12px 0 0; color: #a4212c; font-size: 14px; line-height: 1.6; }
.form-feedback:empty { display: none; }
.form-provider { color: var(--ink-soft); font-size: 12px; line-height: 1.6; margin: 24px 0 0; }
.form-provider a { text-decoration: underline; }
.service-form [type="submit"]:disabled { opacity: .65; cursor: wait; transform: none; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; margin-top: 60px; }
  .service-heading > p:not(.eyebrow) { max-width: 650px; }
}
@media (max-width: 780px) {
  .standard-statement { font-size: 16px; margin: 0 0 30px; padding-left: 16px; }
  .service-form { padding: 25px 20px; }
  .service-fields { grid-template-columns: 1fr; gap: 20px; }
  .form-submit-row .button { width: 100%; }
}
