:root {
  --coal: #1b1e20;
  --ink: #222729;
  --muted: #585d5f;
  --paper: #f1eee8;
  --surface: #fcfaf5;
  --line: #d4d0c7;
  --orange: #fb793a;
  --heading: 'Bahnschrift', 'Arial Narrow', 'Segoe UI', sans-serif;
  font: 100%/1.5 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select, textarea, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ac420e; outline-offset: 4px; }
.hero :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--orange); }
.frame { width: min(100% - 112px, 1264px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: 8px auto auto 8px; z-index: 3; padding: 12px; background: var(--surface); }
section, footer { scroll-margin-top: 16px; }

.header { color: #f7f4ee; background: #1c2022; border-bottom: 1px solid #3c4142; position: relative; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; font: 720 25px/.95 var(--heading); letter-spacing: -.028em; }
.brand-icon { width: 32px; height: 32px; background: var(--orange); position: relative; display: inline-block; border-radius: 3px; }
.brand-icon::before, .brand-icon::after { content: ''; position: absolute; width: 8px; height: 19px; background: var(--coal); top: 6px; transform: skewX(-24deg); }
.brand-icon::before { left: 8px; }
.brand-icon::after { left: 17px; height: 12px; top: 13px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 32px); }
.nav a, .header-phone { font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; padding: 9px 0; }
.nav a:hover, a.header-phone:hover { color: var(--orange); }
.header-phone { padding: 9px 14px; border: 1px solid #777b77; border-radius: 3px; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; background: #242424; color: #f9f5ed; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: center 58%; }
.hero::after { content: ''; background: linear-gradient(90deg, #15191bf7 0%, #181c1eeb 22%, #1a1c1ec4 38%, #17191b4d 67%, #17191b0a 100%); }
.hero-inner { min-height: clamp(500px, 43vw, 620px); padding-block: clamp(53px, 6.5vw, 98px) 44px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.location { font-weight: 650; font-size: 16px; display: flex; align-items: center; gap: 10px; color: #f7c0a3; margin-bottom: 21px; }
.location > span:first-child { width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); }
.location strong { font-weight: inherit; }
h1, h2, h3 { font-family: var(--heading); }
h1 { font-size: clamp(56px, 7vw, 106px); font-weight: 760; line-height: .94; letter-spacing: -.064em; }
.hero-lead { color: #eee8de; max-width: 475px; font-size: 21px; line-height: 1.43; margin-top: 24px; }
.hero-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 53px; padding: 12px 20px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; text-align: center; font-size: 16px; font-weight: 750; line-height: 1.3; cursor: pointer; }
.primary { background: var(--orange); color: #1a1c1e; }
.primary:hover { background: #ff9462; }
.outline { background: #26272773; border-color: #aaa8a2; color: #fff; }
.outline:hover { background: #383c3e; }
.demo-label { font-size: 14px; font-weight: 700; color: #ffddca; margin-top: 19px; padding: 6px 9px; border-left: 3px solid var(--orange); background: #1b1e20df; }

.facts { border-bottom: 1px solid var(--line); background: #e9e5dc; }
.facts-inner { display: grid; grid-template-columns: 1.14fr 1fr 1fr; }
.facts-inner div { display: flex; flex-direction: column; padding: 23px 28px; border-left: 1px solid var(--line); }
.facts-inner div:last-child { border-right: 1px solid var(--line); }
.facts strong { font: 720 clamp(23px, 2.25vw, 34px)/1 var(--heading); letter-spacing: -.045em; margin-bottom: 7px; }
.facts span { color: #4b5050; font-size: 15px; line-height: 1.35; }

h2 { font-size: clamp(36px, 4.45vw, 65px); font-weight: 740; line-height: 1; letter-spacing: -.057em; }
h3 { font-size: 25px; line-height: 1.07; letter-spacing: -.025em; }
.catalog { padding-block: 68px 75px; }
.section-header { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: end; }
.section-header p, .delivery-lead { max-width: 450px; font-size: 18px; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.filters button { border: 1px solid #c4c0b7; border-radius: 3px; background: transparent; color: var(--ink); padding: 7px 13px; font-size: 15px; font-weight: 630; min-height: 40px; cursor: pointer; }
.filters button[aria-pressed='true'] { border-color: var(--coal); background: var(--coal); color: #fff; }
.filters button:hover:not([aria-pressed='true']) { background: #e2ded5; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 16px; }
.category { border: 1px solid #c9c4ba; min-width: 0; background: var(--surface); display: flex; flex-direction: column; }
.category img { width: 100%; height: clamp(130px, 12.5vw, 192px); object-fit: cover; }
.category-copy { padding: 16px 17px; display: flex; flex: 1; flex-direction: column; gap: 6px; }
.category-copy p { color: var(--muted); line-height: 1.35; }
.category-copy a { width: fit-content; margin-top: auto; padding-top: 7px; text-underline-offset: 4px; text-decoration-color: #ae562f; font-size: 15px; font-weight: 700; }
.category-copy a:hover { color: #963d18; }
.catalog-more { color: var(--muted); margin-top: 20px; }
.catalog-more a { color: var(--ink); text-underline-offset: 3px; font-weight: 650; }

.order { padding-block: 63px 69px; background: #282c2d; color: #f8f3eb; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin-top: 27px; }
.steps li { padding: 16px 0 0; border-top: 1px solid #666762; }
.steps span { color: var(--orange); font: 650 19px/1 var(--heading); margin-bottom: 13px; display: block; }
.steps p { color: #dad5c9; margin-top: 8px; max-width: 340px; }
.logistics { display: grid; grid-template-columns: .93fr 1.12fr; gap: 44px; padding-block: 72px; }
.delivery-lead { margin-top: 14px; }
.delivery-details { border-top: 1px solid var(--line); }
.delivery-details div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.delivery-details h3 { font-size: 23px; }
.delivery-details p { color: var(--muted); margin-top: 5px; }

.quote { background: #e2ded3; padding-block: 68px; border-top: 1px solid #d0c9bb; }
.quote-inner { display: grid; grid-template-columns: .93fr 1.12fr; gap: 44px; align-items: start; }
.quote-copy { padding-top: 12px; }
.quote-copy > p { font-size: 18px; color: #4e504c; max-width: 380px; margin-top: 17px; }
.quote-copy .quote-demo { max-width: 425px; font-size: 15px; padding: 10px 12px; border-left: 3px solid #b84a18; background: #eeeadf; }
.form-panel { background: var(--surface); border: 1px solid #c7c0b2; padding: 24px; min-width: 0; }
#quote-form, .result { display: grid; gap: 7px; }
.form-panel label { font-weight: 700; font-size: 15px; }
.form-panel select, .form-panel input, .form-panel textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #a9a69d; border-radius: 3px; color: var(--ink); background: white; margin-bottom: 6px; }
.form-panel textarea { resize: vertical; }
.form-panel [readonly]:not(#draft) { background: #f0eee7; }
.form-panel .button { justify-self: start; }
.result { margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.plain { color: var(--ink); border-color: #a9a69d; background: #f0eee7; }
.plain:hover { background: #e2ddd0; }
.form-note { color: var(--muted); font-size: 15px; }
.form-note:not(:empty) { margin-top: 10px; }

.footer { background: #1c2022; color: #f4efe5; padding: 47px 0 17px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr .55fr; gap: 25px; padding-bottom: 31px; }
.footer h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.footer address, .footer p { color: #ded8cc; font-style: normal; }
.footer p { margin-top: 12px; max-width: 310px; }
.footer .contact-note { margin-top: 5px; font-size: 14px; }
.contact-note:empty { display: none; }
.footer nav { display: grid; align-content: start; gap: 5px; }
.footer a { text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #51524d; color: #ded8cc; font-size: 14px; }
.error-page { padding-block: 80px; }
.error-page p { margin: 15px 0 22px; }

@media (max-width: 1050px) {
  .frame { width: calc(100% - 64px); }
  .header-inner { gap: 14px; }
  .nav { gap: 15px; }
  .header-phone { padding-inline: 9px; }
}

@media (max-width: 820px) {
  .frame { width: calc(100% - 44px); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .header-phone { display: none; }
  .menu-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid #797c77; min-height: 42px; padding: 6px 10px; color: #f7f4ee; background: transparent; border-radius: 3px; cursor: pointer; }
  .menu-toggle span { width: 14px; height: 10px; border-block: 1px solid currentColor; }
  .nav { flex: 1 0 100%; flex-wrap: wrap; gap: 0 18px; padding-block: 0 12px; }
  .header:has(.menu-toggle:not([hidden])) .nav { display: none; }
  .header:has(.menu-toggle[aria-expanded='true']) .nav { display: flex; }
  .hero-inner { min-height: 470px; }
  .facts-inner div { padding: 15px 13px; }
  .catalog { padding-block: 53px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category img { height: 144px; }
  .order, .quote { padding-block: 52px; }
  .logistics { padding-block: 54px; }
  .logistics, .quote-inner { gap: 25px; }
}

@media (max-width: 560px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { min-height: 58px; }
  .brand { font-size: 22px; }
  .brand-icon { transform: scale(.88); transform-origin: left center; }
  .nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .header:has(.menu-toggle[aria-expanded='true']) .nav { display: grid; }
  .hero-photo { object-position: 69% 53%; }
  .hero::after { background: linear-gradient(90deg, #181b1bed, #181b1bc4 44%, #191c1c54), linear-gradient(0deg, #171918ce, #181b1b00 80%); }
  .hero-inner { min-height: 480px; padding-block: 42px 33px; }
  .location { margin-bottom: 18px; }
  h1 { font-size: clamp(35px, 10.8vw, 58px); }
  .hero-lead { margin-top: 17px; font-size: 17px; max-width: 310px; }
  .hero-actions { display: grid; width: 100%; gap: 8px; margin-top: 21px; }
  .button { min-height: 49px; }
  .demo-label { margin-top: 14px; }
  .facts-inner { grid-template-columns: 1fr; padding-block: 4px; }
  .facts-inner div, .facts-inner div:last-child { border: 0; padding: 12px 0; }
  .facts-inner div + div { border-top: 1px solid var(--line); }
  .facts-inner div:not(:first-child) strong { font-size: 22px; }
  .section-header, .logistics, .quote-inner, .footer-main { grid-template-columns: 1fr; gap: 12px; }
  .section-header p, .delivery-lead, .quote-copy > p { font-size: 16px; }
  .catalog { padding-block: 38px 42px; }
  .filters { margin-top: 16px; gap: 6px; }
  .filters button { min-height: 42px; padding-inline: 9px; font-size: 14px; }
  .catalog-grid { gap: 9px; margin-top: 11px; }
  .category img { height: clamp(89px, 27vw, 140px); }
  .category-copy { padding: 9px 9px 5px; gap: 5px; }
  .category-copy h3 { font-size: 18px; }
  .category-copy p { font-size: 15px; line-height: 1.28; }
  .category-copy a { font-size: 14px; padding-block: 9px; min-height: 44px; }
  .order, .logistics, .quote { padding-block: 38px; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .steps li { display: grid; grid-template-columns: 33px 1fr; gap: 3px 8px; }
  .steps li span { grid-row: span 2; }
  .steps p { margin: 0; }
  .delivery-details { margin-top: 5px; }
  .quote-copy { padding: 0 0 7px; }
  .form-panel { padding: 15px; }
  .form-panel .button { width: 100%; }
  .footer { padding-top: 30px; }
  .footer-main { gap: 21px; padding-bottom: 18px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
