:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --line: rgba(255,255,255,.12);
  --text: #f6f5ef;
  --muted: #9b9f9b;
  --green: #52dc88;
  --wood: #d9aa7f;
  --page: min(1440px, calc(100vw - 64px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img,svg,video { display: block; max-width: 100%; }
img { height: auto; }
video { background: transparent; object-fit: contain; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 50; top: 10px; left: 10px; padding: 10px 14px; background: var(--green); color: #061008; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { width: var(--page); height: 116px; margin: 0 auto; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 36px; position: relative; z-index: 20; }
.site-header.is-scrolled { background: rgba(11,13,12,.94); }
.brand { width: 106px; height: 106px; display: grid; place-items: center; overflow: hidden; }
.brand img { width: 112px; height: 112px; object-fit: contain; }
.desktop-nav { justify-self: center; display: flex; gap: clamp(28px,4vw,70px); font-size: 15px; }
.desktop-nav a,.header-phone { transition: color .2s ease; }
.desktop-nav a:hover,.header-phone:hover { color: var(--green); }
.header-phone { color: var(--green); font-size: clamp(18px,2vw,25px); font-weight: 800; white-space: nowrap; }
.menu-button { display: none; border: 0; background: none; color: var(--text); cursor: pointer; }
.menu-button i { display: inline-block; width: 22px; height: 10px; margin-left: 10px; border-top: 2px solid; border-bottom: 2px solid; }
.mobile-menu { position: fixed; z-index: 19; inset: 80px 0 auto; padding: 24px; background: #0b0d0c; border-bottom: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 14px 0; font-size: 22px; border-bottom: 1px solid var(--line); }
main { width: var(--page); margin: 0 auto; }
.hero { min-height: 650px; position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; background: #000; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#000 0 26%,transparent 58%); pointer-events: none; }
.hero-copy { position: relative; z-index: 4; width: 40%; padding: 24px 0 56px 14px; }
.eyebrow,.section-kicker { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .27em; font-size: 14px; font-weight: 700; }
.hero h1,.section-heading h2,.delivery h2,.contacts h2 { margin: 0; text-transform: uppercase; font-family: "Arial Narrow",Impact,sans-serif; font-weight: 900; line-height: .88; letter-spacing: -.04em; }
.hero h1 { font-size: clamp(68px,7.2vw,118px); }
.hero h1 span { display: block; }
.hero h1 .timber { color: var(--wood); }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; margin-top: 28px; padding: 0 34px; border-radius: 30px; font-weight: 800; }
.button-green { color: #061109; background: var(--green); box-shadow: 0 10px 35px rgba(82,220,136,.12); }
.button-green:hover { background: #6be69b; }
.hero-art { position: absolute; z-index: 2; right: -110px; bottom: 0; width: min(1080px,76%); height: auto; }
.hero-note { position: absolute; z-index: 5; top: 28px; right: 28px; left: auto; font: italic 30px/1.1 Georgia,serif; transform: rotate(-7deg); }
.hero-note::after { content: "↙"; display: block; margin: 4px 28px 0 0; font-size: 45px; text-align: right; }
.hero-pines { display: none; }
.advantages { display: grid; grid-template-columns: repeat(4,1fr); min-height: 150px; align-items: center; border-bottom: 1px solid var(--line); }
.advantages article { min-height: 92px; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 18px; padding: 18px 32px; border-right: 1px solid var(--line); }
.advantages article:first-child { padding-left: 14px; }
.advantages article:last-child { border-right: 0; }
.advantages svg { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 2; }
.advantages h2 { margin: 0 0 8px; font-size: 15px; line-height: 1.25; }
.advantages p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.catalog { padding: 58px 0 66px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-kicker { color: var(--green); margin-bottom: 14px; }
.section-heading h2 { font-size: clamp(45px,5vw,72px); }
.section-heading > a { color: var(--green); padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card { min-width: 0; min-height: 310px; padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg,#111412,#0b0d0c); transition: transform .25s ease,border-color .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(82,220,136,.55); }
.product-art { grid-column: 1/-1; width: 100%; height: 185px; align-self: center; }
.wood-fill { fill: var(--wood); stroke: #0b0d0c; stroke-width: 3; stroke-linejoin: round; }
.grain,.endgrain { fill: none; stroke: rgba(34,19,10,.75); stroke-width: 2; stroke-linecap: round; }
.product-card h3 { margin: 0 0 7px; text-transform: uppercase; font-family: "Arial Narrow",Impact,sans-serif; font-size: 19px; letter-spacing: .02em; }
.product-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.product-card > span { align-self: end; font-size: 36px; font-weight: 200; }
.delivery { min-height: 475px; position: relative; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.delivery::before { content: ""; position: absolute; inset: 0; background: #000; }
.delivery-copy { position: relative; z-index: 3; width: 36%; padding-left: 14px; }
.delivery h2,.contacts h2 { font-size: clamp(48px,5.1vw,76px); }
.delivery-copy > p:not(.section-kicker) { max-width: 410px; color: #b8bcb8; font-size: 17px; line-height: 1.5; }
.truck-art { position: absolute; z-index: 2; right: -72px; bottom: -6px; width: min(950px,71%); }
.route-sign { position: absolute; z-index: 4; right: 8px; top: 40px; display: grid; gap: 6px; transform: rotate(-4deg); }
.route-sign span { padding: 5px 12px; border: 1px solid #fff; background: #111; font-size: 12px; text-transform: uppercase; }
.contacts { min-height: 430px; display: grid; grid-template-columns: 1fr 1.2fr .32fr; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }
.contacts-copy { padding-left: 14px; }
.contact-line { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; margin: 22px 0 0; color: #e9ebe8; font-size: 18px; line-height: 1.45; }
a.contact-line { color: var(--green); font-size: 24px; font-weight: 800; }
.contact-line > span { color: #cfd2ce; }
.map-card { height: 250px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #171a18; }
.map-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 55% 48%,rgba(82,220,136,.09),transparent 30%); }
.map-card img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.road { position: absolute; height: 1px; background: #4c514d; transform-origin: left; }
.road::after { content: ""; position: absolute; inset: -7px 0; border-top: 1px solid #2f3430; border-bottom: 1px solid #2f3430; }
.road-one { width: 120%; left: -10%; top: 37%; transform: rotate(22deg); }
.road-two { width: 90%; left: 15%; top: 75%; transform: rotate(-23deg); }
.road-three { width: 80%; left: 32%; top: -8%; transform: rotate(66deg); }
.road-four { width: 100%; left: 2%; top: 90%; transform: rotate(-67deg); }
.map-pin { position: absolute; z-index: 3; left: 50%; top: 49%; display: flex; align-items: center; gap: 13px; transform: translate(-20%,-50%); }
.map-pin b { display: grid; place-items: center; width: 36px; height: 46px; border-radius: 60% 60% 60% 0; color: #10311d; background: var(--green); transform: rotate(-45deg); }
.map-pin span { white-space: nowrap; font-weight: 700; }
.map-pin small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.contacts-logo { width: 145px; justify-self: end; }
footer { width: var(--page); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
footer a { color: var(--green); }
.footer-credit { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: rgba(246,245,239,.64); font-size: 10px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; transition: color .2s ease; }
.footer-credit strong { color: var(--text); font-weight: 600; }
.footer-credit-plus { color: #ffe43b; font-size: 22px; font-weight: 700; line-height: 1; transition: transform .2s ease; }
.footer-credit:hover { color: var(--text); }
.footer-credit:hover .footer-credit-plus { transform: rotate(90deg); }
.footer-credit:focus-visible { outline: 2px solid #ffe43b; outline-offset: 6px; }
@media (max-width:1100px) {
  :root { --page: min(100% - 40px,1040px); }
  .site-header { grid-template-columns: 110px 1fr auto; }
  .desktop-nav { gap: 22px; }
  .hero { min-height: 610px; }
  .hero-copy { width: 44%; }
  .hero-art { right: -150px; width: 82%; }
  .advantages { grid-template-columns: repeat(2,1fr); }
  .advantages article:nth-child(2) { border-right: 0; }
  .advantages article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .delivery-copy { width: 42%; }
  .truck-art { right: -150px; width: 75%; }
}
@media (max-width:760px) {
  :root { --page: calc(100% - 28px); }
  .site-header { height: 80px; grid-template-columns: 72px 1fr auto; }
  .brand { width: 68px; height: 68px; }
  .brand img { width: 74px; height: 74px; }
  .desktop-nav,.header-phone { display: none; }
  .menu-button { display: block; justify-self: end; }
  .hero { min-height: 720px; align-items: flex-start; padding-top: 62px; }
  .hero::after { background: linear-gradient(180deg,#000 0 36%,transparent 68%); }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { font-size: clamp(58px,18vw,82px); }
  .eyebrow { font-size: 12px; }
  .hero-art { width: 920px; max-width: none; right: -360px; bottom: 24px; }
  .hero-note { display: none; }
  .button { min-height: 54px; padding: 0 26px; }
  .advantages { grid-template-columns: 1fr; padding: 12px 0; }
  .advantages article,.advantages article:first-child { min-height: 105px; padding: 15px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .advantages article:last-child { border-bottom: 0; }
  .catalog { padding: 48px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 46px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { min-height: 250px; padding: 10px 11px 14px; }
  .product-art { height: 135px; }
  .product-card h3 { font-size: 16px; }
  .product-card p { font-size: 11px; }
  .delivery { min-height: 650px; align-items: flex-start; padding-top: 52px; }
  .delivery-copy { width: 100%; padding-left: 0; }
  .delivery h2,.contacts h2 { font-size: 50px; }
  .delivery-copy > p:not(.section-kicker) { width: 95%; font-size: 15px; }
  .truck-art { width: 780px; max-width: none; right: -280px; bottom: 30px; }
  .route-sign { top: auto; bottom: 240px; right: 0; }
  .contacts { min-height: 730px; grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .contacts-copy { padding-left: 0; }
  .map-card { height: 230px; }
  .contacts-logo { width: 115px; justify-self: center; }
  footer { min-height: 124px; gap: 14px 20px; flex-wrap: wrap; padding: 18px 0; }
  .footer-credit { width: 100%; margin-left: 0; }
}
@media (max-width:760px) and (orientation:portrait) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 54px 0 28px;
  }
  .hero::after { display: none; }
  .hero-copy { order: 1; width: 100%; padding: 0; }
  .hero-art {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 32px;
  }
  .delivery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 52px 0 28px;
  }
  .delivery::before { display: none; }
  .delivery-copy { order: 1; width: 100%; padding: 0 0 28px; }
  .route-sign {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0 0 20px;
    transform: none;
  }
  .route-sign span { text-align: center; }
  .truck-art {
    position: relative;
    order: 3;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
