:root {
  --ink: #171917;
  --ink-soft: #2c302d;
  --paper: #f5f3ee;
  --surface: #fff;
  --line: #d9d7d0;
  --orange: #f06824;
  --orange-dark: #ce4e12;
  --muted: #626762;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font: 16px/1.5 Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }

.site-header { width: min(1240px, calc(100% - 48px)); min-height: 88px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; background: var(--orange); color: #fff; font-size: 22px; font-weight: 900; clip-path: polygon(0 0, 100% 0, 100% 74%, 76% 100%, 0 100%); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.08; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
nav { display: flex; gap: 36px; font-size: 15px; font-weight: 700; }
nav a:hover, .header-phone:hover { color: var(--orange-dark); }
.header-phone { justify-self: end; font-weight: 800; }

.hero { position: relative; min-height: 670px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); padding-left: max(24px, calc((100vw - 1240px) / 2)); background: var(--ink); color: #fff; }
.hero::before { content: ""; position: absolute; z-index: 1; width: 460px; height: 28px; left: -100px; bottom: 48px; background: var(--orange); transform: rotate(-18deg); }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 680px; padding: 80px 56px 130px 0; }
.eyebrow, .kicker { color: var(--orange); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { font-size: 14px; }
h1 { max-width: 720px; margin: 28px 0 24px; font-size: clamp(3.3rem, 6.2vw, 6.4rem); line-height: .94; letter-spacing: -.065em; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 600px; margin-bottom: 34px; color: #d5d7d5; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #c6470e; }
.button-primary:hover { background: #b6410b; }
.button-secondary { border: 1px solid #5b5f5c; }
.button-secondary:hover { background: #2b2e2c; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,25,23,.58), transparent 48%); pointer-events: none; }
.material-tag { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 32px; width: 280px; padding: 20px 22px; background: rgba(255,255,255,.94); color: var(--ink); }
.material-tag span { display: block; color: var(--orange-dark); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-address { position: absolute; left: max(24px, calc((100vw - 1240px) / 2)); bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 15px 18px; background: #fff; color: var(--ink); }
.hero-address > span { color: var(--orange); }

.catalog-section, .contact-section, footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.catalog-section { padding: 112px 0 124px; }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 60px; margin-bottom: 46px; }
.kicker { margin-bottom: 8px; font-size: 13px; }
.catalog-section .kicker { color: #b6410b; }
.section-heading h2, .contact-intro h2 { margin: 0; font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.section-heading > p { margin: 0; color: var(--muted); }
.new-product { display: grid; grid-template-columns: auto minmax(220px, .8fr) 1.4fr; align-items: center; gap: 24px; margin-bottom: 24px; padding: 24px 28px; border-left: 8px solid var(--orange); background: var(--ink); color: #fff; }
.new-product span { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.new-product strong { font-size: 22px; }
.new-product p { margin: 0; color: #c8cbc8; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { position: relative; min-width: 0; min-height: 330px; overflow: hidden; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { z-index: 1; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(23,25,23,.1); }
.product-card.featured { background: var(--surface); color: var(--ink); }
.product-photo { height: 190px; overflow: hidden; background: #ebe8e0; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.product-card:hover .product-photo img { transform: scale(1.025); }
.product-photo-contain { padding: 16px; background: #f8f7f3; }
.product-photo-contain img { object-fit: contain; }
.product-content { min-height: 140px; flex: 1; padding: 22px 24px 24px; border-top: 1px solid var(--line); }
.featured .product-content { border-top: 4px solid var(--orange); padding-top: 18px; }
.product-card h3 { max-width: 260px; margin: 0; font-size: 21px; line-height: 1.15; }
.product-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.product-badge { display: inline-flex; width: fit-content; margin-bottom: 12px; padding: 5px 8px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-badge-new { background: var(--ink); }
.uplast-lines { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border: 1px solid var(--line); border-top: 0; background: #ebe8e0; }
.uplast-lines span { padding: 5px 8px; background: #c6470e; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.photo-sources { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.photo-sources a { text-decoration: underline; text-underline-offset: 2px; }
.photo-sources a:hover { color: var(--orange-dark); }

.assortment-block { scroll-margin-top: 24px; margin-top: 88px; padding-top: 64px; border-top: 1px solid var(--line); }
.assortment-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 60px; margin-bottom: 30px; }
.assortment-heading h2 { margin: 0; font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.assortment-heading > p { margin: 0; color: var(--muted); }
.assortment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.assortment-card { min-width: 0; overflow: hidden; display: grid; grid-template-rows: 260px auto; background: var(--surface); border: 1px solid var(--line); transition: transform 180ms ease, box-shadow 180ms ease; }
.assortment-card:hover { z-index: 1; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(23,25,23,.1); }
.assortment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.assortment-card:hover img { transform: scale(1.025); }
.assortment-card span { min-height: 58px; display: flex; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 800; }
.assortment-card-wide { grid-column: span 2; }
.assortment-grid-mdf .assortment-card:not(.assortment-card-wide) img { object-position: center 38%; }
.assortment-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin-top: 12px; padding: 20px 24px; background: var(--ink); color: #fff; }
.assortment-cta strong { font-size: 20px; }
.assortment-cta span { color: #c8cbc8; }
.assortment-cta .button { min-height: 46px; }

.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; margin-bottom: 104px; background: var(--orange); }
.contact-intro { padding: 58px; }
.contact-intro .kicker { color: #51200c; }
.contact-intro > p:not(.kicker) { margin: 24px 0 28px; color: #542510; font-size: 17px; }
.contact-phone { display: block; font-size: clamp(1.65rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.035em; }
.landline { display: flex; width: fit-content; flex-direction: column; margin-top: 16px; font-size: 20px; font-weight: 900; }
.landline span { color: #662b10; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.contact-details { padding: 34px 42px; background: var(--ink); color: #fff; }
.contact-details article { padding: 26px 0; border-bottom: 1px solid #3c403d; }
.contact-details article:last-child { border-bottom: 0; }
.contact-details h3 { margin-bottom: 13px; font-size: 20px; }
address { color: #bdc1bd; font-style: normal; }
.map-links { display: flex; gap: 20px; margin-top: 14px; }
.map-links a { color: var(--orange); font-weight: 800; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 28px; padding: 9px 0; color: #bdc1bd; }
.hours dd { margin: 0; color: #fff; font-weight: 800; white-space: nowrap; }

footer { min-height: 128px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 0; }
footer > a { justify-self: end; color: var(--ink); font-size: 17px; font-weight: 900; }
.mobile-call { display: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .hero-copy { padding: 72px 24px 210px; }
  .hero-visual { position: absolute; inset: auto 0 0; height: 245px; opacity: .62; }
  .hero-visual > img { clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%); }
  .material-tag { display: none; }
  .hero-address { left: 24px; right: 24px; bottom: 26px; }
  .new-product { grid-template-columns: auto 1fr; }
  .new-product p { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .assortment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assortment-cta { grid-template-columns: 1fr auto; }
  .assortment-cta span { grid-column: 1 / -1; grid-row: 2; }
  .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .site-header { width: calc(100% - 32px); min-height: 76px; }
  .header-phone { font-size: 0; }
  .header-phone::after { content: "☎"; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); font-size: 20px; }
  .hero { min-height: 660px; }
  .hero-copy { width: 100%; min-width: 0; padding: 52px 16px 244px; }
  .eyebrow { margin-bottom: 20px; font-size: 12px; }
  h1 { margin: 0 0 20px; overflow-wrap: anywhere; word-break: break-word; font-size: clamp(2.15rem, 9.5vw, 4rem); line-height: .98; letter-spacing: -.055em; }
  .hero-lead { margin-bottom: 24px; font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 52px; padding-inline: 16px; text-align: center; }
  .hero-visual { height: 220px; }
  .hero-address { left: 16px; right: 16px; bottom: 82px; width: calc(100% - 32px); min-height: 56px; flex-wrap: wrap; padding: 12px 14px; font-size: 13px; line-height: 1.35; }
  .catalog-section, .contact-section, footer { width: calc(100% - 32px); }
  .catalog-section { padding: 64px 0 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .contact-intro h2 { overflow-wrap: anywhere; font-size: clamp(2.1rem, 10.5vw, 3rem); }
  .assortment-block { margin-top: 64px; padding-top: 48px; }
  .assortment-heading { grid-template-columns: 1fr; gap: 18px; }
  .assortment-heading h2 { overflow-wrap: anywhere; font-size: clamp(2.1rem, 10.5vw, 3rem); }
  .assortment-grid { grid-template-columns: 1fr; }
  .assortment-card, .assortment-card-wide { grid-column: auto; grid-template-rows: 250px auto; }
  .assortment-cta { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .assortment-cta span { grid-column: auto; grid-row: auto; }
  .assortment-cta .button { margin-top: 8px; }
  .new-product { grid-template-columns: 1fr; gap: 8px; padding: 22px 20px; }
  .new-product p { grid-column: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-photo { height: 180px; }
  .product-content { min-height: 124px; padding: 20px; }
  .featured .product-content { padding-top: 16px; }
  .product-card h3 { max-width: none; }
  .uplast-lines { align-items: flex-start; flex-direction: column; }
  .contact-section { width: 100%; margin-bottom: 54px; }
  .contact-intro, .contact-details { padding: 34px 24px; }
  .contact-phone { overflow-wrap: anywhere; font-size: clamp(1.45rem, 7vw, 2rem); }
  .map-links { display: grid; gap: 4px; }
  .map-links a { min-height: 44px; align-items: center; }
  .hours div { display: grid; gap: 2px; }
  footer { min-height: 110px; }
  footer .brand > span:last-child { display: none; }
  footer > a { display: none; }
  .mobile-call { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(10px, env(safe-area-inset-bottom, 0px)); z-index: 20; min-height: 54px; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: #c6470e; color: #fff; font-weight: 900; text-align: center; box-shadow: 0 10px 28px rgba(0,0,0,.24); }
}

@media (max-width: 360px) {
  .brand small { display: none; }
  .brand strong { font-size: 15px; }
  .new-product strong { font-size: 20px; }
  .contact-intro, .contact-details { padding-inline: 20px; }
}

@media (hover: none) {
  .button:hover, .product-card:hover, .product-card:hover .product-photo img { transform: none; }
}

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