:root { --ink:#252822; --rust:#963f20; --line:#d8d4cb; --paper:#faf9f5 }
* { box-sizing:border-box }
body { margin:auto; max-width:1240px; padding:0 5%; background:var(--paper); color:var(--ink); font:17px/1.55 Manrope,sans-serif }
nav,footer,.categories { display:flex; flex-wrap:wrap; gap:12px 24px; align-items:center }
nav,footer { justify-content:space-between; padding:22px 0; border-bottom:1px solid var(--line) }
a { color:inherit; text-underline-offset:5px }
nav b { letter-spacing:.06em }
h1,h2,h3 { line-height:1.12; letter-spacing:-.035em; margin:0 }
h1 { font-size:clamp(35px,5vw,66px); margin-top:44px }
h2 { font-size:clamp(28px,3vw,40px) }
h3 { font-size:23px }
p { color:#52544e; max-width:74ch }
.categories a { color:var(--rust); font-weight:bold }
section { padding:40px 0; border-bottom:1px solid var(--line); scroll-margin-top:10px }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:24px 0 32px }
article { display:flex; flex-direction:column }
.photo { aspect-ratio:1; background: #e6e2da url(facade-models.jpg) no-repeat; background-size:300% 200%; margin-bottom:20px; border-radius:6px }
article p { font-size:16px }
button { padding:13px 18px; font:inherit; font-weight:bold; border:0; border-radius:6px; cursor:pointer; background:#146647; color:white }
article button { margin-top:auto; background:var(--rust) }
button:hover { filter:brightness(.88) }
.quote { background:#efede6; padding:clamp(16px,3vw,34px); display:grid; grid-template-columns:2fr 3fr; gap:24px; border-radius:8px }
form { display:grid; gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); min-width:0 }
label { font-size:15px }
form > :is(label:first-child,button,small) { grid-column:1/-1 }
input,select { display:block; width:100%; padding:11px; font:inherit; font-size:16px; border:1px solid #93887c; border-radius:5px; background:white; color:inherit; margin-top:5px }
select:focus { outline:3px solid var(--rust); outline-offset:2px }
@media(max-width:920px){ .quote {grid-template-columns:1fr} }
@media(max-width:760px){ .grid,form {grid-template-columns:100%} .grid {gap:36px} h1 {margin-top:26px} }
.photo { display:block; width:100%; background-size:303% 202% }
.extra { background-image:url(facade-extra.jpg) }
.code { color:var(--rust); font-weight:bold; letter-spacing:.06em }
article h3 { margin:6px 0 }
article p { margin:6px 0 18px }
.detail { display:grid; grid-template-columns:1fr 1fr; gap:5%; align-items:start }
.detail h1 { font-size:clamp(30px,4vw,50px); margin:12px 0 20px }
form > label:last-of-type { grid-column:1/-1 }
@media(max-width:760px){ .detail {grid-template-columns:1fr;gap:12px} }
.cassette { background-image:url(cassettes.jpg); background-size:303% auto; background-position:left center }
.intro { display:grid; grid-template-columns:1.1fr 1fr; background:#242924; color:white; margin-top:22px }
.intro div { padding:clamp(22px,3vw,44px) }
.intro h1 { margin:0; font-size:clamp(34px,4vw,58px) }
.intro p { color:#f3eee7 }
.intro img { width:100%; height:100%; min-height:0; max-height:410px; object-fit:cover }
.action { display:inline-block; padding:13px 20px; background:var(--rust); color:white; font-weight:bold; text-decoration:none; border-radius:5px }
.intro .action { background:#f6c194; color:var(--ink) }
.departments { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-top:22px }
.departments a { text-decoration:none }
.departments a:hover h3 { color:var(--rust); text-decoration:underline }
.departments p { font-size:16px }
.basket { background:url(kz-basket-1.jpg) center/cover }
.trim { background-position:50% 0 }
.linear { background-position:50% 100% }
.home .quote { grid-template-columns:1fr 1fr; margin:32px 0 }
@media(max-width:980px){ .departments {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:720px){
  .intro,.home .quote {grid-template-columns:1fr}
  .intro img {height:190px}
  .departments {gap:14px}
  .departments h3 {font-size:18px;overflow-wrap:anywhere}
  .departments p {font-size:14px}
}
