* { box-sizing: border-box; }
:root { font: 17px/1.55 system-ui,sans-serif; color:#242b2d; background:#f4f5f5; }
body { max-width: 1200px; margin:auto; background:white; }
header,footer { padding: 20px clamp(20px,5vw,64px); background:#202629; color:white; }
header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; }
.brand { color:inherit; font-weight:800; letter-spacing:.09em; text-decoration:none; }
nav { display:flex; gap:6px; }
nav button { min-height:44px; border:1px solid #8b979a; background:transparent; color:white; padding:6px 9px; }
nav button[aria-pressed="true"] { background:white; color:#202629; }
.hero { display:grid; align-items:center; min-height:440px; padding:clamp(24px,7vw,80px); color:white; background:linear-gradient(90deg,#1b2226 8%,#1b2226d9 53%,#1b222650),url("photos/boiler.jpeg") center 47%/cover; }
.hero div { max-width:620px; }
h1,h2,p { margin-top:0; } h1 { font-size:clamp(2.4rem,6vw,4.3rem); line-height:1.05; margin-bottom:20px; }
h2 { font-size:clamp(1.6rem,3vw,2.2rem); line-height:1.13; }
.action { display:inline-block; background:#a73820; color:white; padding:11px 18px; border:0; text-decoration:none; font-weight:700; }
button { font:inherit; cursor:pointer; } button:disabled { opacity:.65; cursor:wait; }
.services,.contact { padding:clamp(26px,5vw,64px); }
.services ul { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:0; list-style:none; margin-bottom:0; }
.services li { padding:15px; border-left:3px solid #a73820; background:#f4f5f5; }
.contact { background:#eef0f0; display:grid; grid-template-columns:1fr 1.25fr; gap:28px; }
label { display:block; margin-bottom:12px; font-weight:600; }
input,textarea { display:block; width:100%; border:1px solid #828e91; padding:8px; font:inherit; background:white; color:inherit; }
textarea { resize:vertical; } #status { min-height:1.55em; margin:8px 0 0; }
:focus-visible { outline:3px solid #187296; outline-offset:3px; }
@media(max-width:650px){ .services ul,.contact { grid-template-columns:1fr; } .hero { min-height:360px; } }

.sections { display:flex; flex-wrap:wrap; gap:4px 22px; padding:8px clamp(20px,5vw,64px); background:#fff; border-bottom:1px solid #dee2e3; }
.sections a { display:inline-grid; align-items:center; min-height:44px; color:#202629; font-weight:650; text-decoration:none; }
.sections a:hover, address a:hover { text-decoration:underline; }
.hero { border-bottom:5px solid #a73820; }
.hero .action { margin:4px 8px 4px 0; }
.action-secondary { background:#fff; color:#202629; }
.content-section { padding:clamp(26px,5vw,64px); }
.content-section > p { max-width:74ch; }
.services,.partners { background:#f4f5f5; }
.services ul { grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr)); }
.services li { background:white; }
.services .offer-list { margin-top:24px; }
.offer-list li { font-weight:700; }
.partners ul { display:flex; flex-wrap:wrap; gap:8px; padding:0; list-style:none; }
.partners li { border:1px solid #d2d9dc; background:white; padding:8px 14px; font-weight:650; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:12px; }
.gallery-item { display:block; background:#eef0f0; }
.gallery-item img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
#gallery-view { width:min(900px, calc(100% - 24px)); max-height:calc(100% - 24px); border:0; color:white; background:#202629; }
#gallery-view::backdrop { background:#101416dc; }
#gallery-view img { display:block; width:100%; height:min(65vh,650px); object-fit:contain; }
.gallery-bar,.gallery-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#gallery-view button { min-height:44px; padding:6px 12px; background:white; color:#202629; border:0; }
address { font-style:normal; }
address a { color:#87311d; overflow-wrap:anywhere; }
