:root {
  --orange: #f05a24;
  --orange-dark: #e74d13;
  --ink: #151515;
  --muted: #68635f;
  --cream: #f8f3ef;
  --radius: clamp(10px, 1vw, 16px);
  --gap: clamp(12px, 1.1vw, 18px);
  --section-space: clamp(40px, 4vw, 60px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; font-size: var(--font-body); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: 88.5%; max-width: 1360px; margin-inline: auto; }
.wide-container { width: 91%; max-width: 1400px; margin-inline: auto; }
.section { margin-top: clamp(22px, 1.6vw, 28px); }
#main > section + section { margin-top: var(--section-space); }
h2 { font-size: var(--font-heading); line-height: 1.15; font-weight: 750; letter-spacing: -.035em; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }
.icon { flex-shrink: 0; }
.arrow { display: inline-block; position: relative; width: 18px; height: 12px; flex-shrink: 0; }
.arrow::before { content: ""; position: absolute; width: 17px; height: 1.5px; background: currentColor; left: 0; top: 5px; }
.arrow::after { content: ""; position: absolute; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); right: 1px; top: 1.5px; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 47px; padding: 11px 25px; border-radius: 11px; font-size: var(--font-body); font-weight: 650; line-height: 1.2; text-align: center; transition: background .2s, box-shadow .2s; }
.button-primary { color: #fff; background: linear-gradient(105deg, #ff650b, #ed501a); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 15%); }
.button-primary:hover { background: var(--orange-dark); box-shadow: 0 5px 16px rgb(240 90 36 / 18%); }
.button-outline { background: rgb(255 255 255 / 55%); border-color: #77716b; }
.button-outline:hover { background: #fff; border-color: var(--orange); }
.text-link { color: var(--orange-dark); font-size: var(--font-body); font-weight: 550; display: inline-flex; align-items: center; gap: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.round-arrow { width: 36px; height: 36px; padding: 0; border: 0; background: #fff; color: #54504c; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; box-shadow: 0 2px 7px rgb(0 0 0 / 12%); transition: color .2s, background .2s; }
.round-arrow:hover { color: var(--orange); background: #fff9f5; }

.site-header { --header-height: 96px; position: relative; z-index: 20; background: #fcf9f6; }
.header-inner { width: 90%; max-width: 1410px; min-height: 65px; margin-inline: auto; display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px); }
.site-header .header-inner { min-height: var(--header-height); padding-block: 20px; }
.logo { display: block; flex-shrink: 0; width: clamp(160px, 13.6vw, 210px); }
.logo img { width: 100%; height: auto; }
.site-header .logo img { width: 90%; transform: translateX(20px); }
.header-address { border-left: 1px solid #c4beb8; padding-left: 23px; display: flex; align-items: center; gap: 10px; font-size: var(--font-sm); line-height: 1.35; }
.header-address:hover, .header-phones a:hover, .main-nav > a:hover { color: var(--orange-dark); }
.header-phones { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.header-phones a { display: block; font-size: var(--font-body); font-weight: 750; line-height: 1.35; }
.header-phones .second-phone { margin-top: 6px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); margin-left: auto; margin-right: 60px; font-size: var(--font-body); font-weight: 600; }
.main-nav > a { white-space: nowrap; }
.catalog-menu { position: relative; }
.catalog-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; min-height: 40px; }
.catalog-menu summary::-webkit-details-marker { display: none; }
.chevron { width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin-top: -3px; }
.catalog-menu[open] .chevron { transform: rotate(225deg); margin-top: 3px; }
.catalog-dropdown { position: absolute; top: calc(100% + 10px); right: -120px; width: 490px; background: #fff; padding: 24px; box-shadow: 0 12px 40px rgb(34 23 15 / 16%); border: 1px solid #eee6df; border-radius: 16px; font-size: var(--font-sm); font-weight: 400; }
.catalog-dropdown a { display: block; padding: 7px 0; }
.catalog-dropdown a:hover { color: var(--orange); }
.catalog-dropdown > a { color: var(--orange-dark); font-weight: 700; padding-top: 0; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.dropdown-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 10px; }
.dropdown-heading { font-weight: 700; margin-bottom: 4px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid #ddd3ca; border-radius: 8px; background: transparent; padding: 9px; }

.hero { position: relative; background: #f7f1eb; overflow: hidden; }
.hero-picture { position: absolute; inset: 0; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #faf5ef, #faf5eff2 calc(26% + 80px), #faf5ef80 calc(38% + 80px), transparent calc(50% + 80px)); }
.hero-inner { position: relative; padding-top: clamp(30px, 2.4vw, 39px); padding-bottom: clamp(28px, 2.4vw, 39px); min-height: clamp(430px, 30.3vw, 490px); display: flex; flex-direction: column; justify-content: space-between; gap: 27px; }
.hero-copy { width: calc(100% - 30px); max-width: 560px; margin-left: 30px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: var(--font-body); line-height: 1.3; margin-bottom: 17px; font-weight: 500; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--orange); flex-shrink: 0; }
h1 { color: #343434; font-size: var(--font-display); font-weight: 800; line-height: .99; letter-spacing: -.035em; }
h1 span { display: block; color: var(--orange); }
.hero-description { font-size: var(--font-lead); line-height: 1.2; margin-top: 13px; letter-spacing: -.02em; }
.hero-actions { display: flex; gap: 18px; margin-top: 21px; }
.hero-actions .button-primary { min-width: 260px; }
.hero-actions .button-outline { padding-inline: 23px; font-size: var(--font-sm); }
.hero-benefits { display: flex; max-width: 700px; }
.hero-benefits li { display: flex; align-items: center; gap: 11px; padding-inline: 21px; border-left: 1px solid #c4bab0; font-size: var(--font-xs); font-weight: 550; line-height: 1.3; }
.hero-benefits li:first-child { border-left: 0; padding-left: 0; }
.hero-benefits li:last-child { padding-right: 0; }
.hero-benefits img { flex-shrink: 0; }

.catalog-grid { display: grid; grid-template-columns: 1.06fr 1.94fr; gap: var(--gap); height: clamp(240px, 20.4vw, 315px); }
.catalog-secondary { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); min-width: 0; min-height: 0; }
.catalog-row { display: grid; gap: var(--gap); min-width: 0; min-height: 0; }
.catalog-row-top { grid-template-columns: repeat(2, 1fr); }
.catalog-row-bottom { grid-template-columns: repeat(3, 1fr); }
.category-card { position: relative; min-width: 0; min-height: 0; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: #eee4db; }
.category-card > img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; transition: transform .4s; }
.category-card:hover > img { transform: scale(1.035); }
.category-card[href="/ofisnaya-mebel/"] > img { translate: 0 -10px; }
.category-label { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 15px 8px 20px; min-height: 43px; font-weight: 700; font-size: var(--font-body); line-height: 1.1; background: linear-gradient(90deg, rgb(255 251 246 / 91%), rgb(255 249 243 / 67%) 64%, rgb(255 255 255 / 12%)); backdrop-filter: blur(7px); }
.category-label .round-arrow { width: 30px; height: 30px; box-shadow: none; }
.category-label .arrow { width: 15px; transform: scale(.8); }
.category-featured .category-label { font-size: var(--font-subheading); padding-block: 10px; }
.category-featured .round-arrow { width: 36px; height: 36px; color: var(--orange); }

.advantages > h2 { margin-bottom: 17px; }
.advantages-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.advantage { background: linear-gradient(130deg, #fcf7f3, #f5f0ec); border: 1px solid #efe8e3; border-radius: var(--radius); padding: 14px clamp(16px, 1.7vw, 27px); min-height: 150px; }
.advantage-icon { display: block; width: 64px; height: 64px; margin-bottom: 11px; border-radius: 12px; background-image: url("/assets/optimized/home/advantages-icons-3d-768-559f55ea04.webp"); background-size: 300% 200%; background-repeat: no-repeat; }
.advantage-icon-1 { background-position: 0 0; }
.advantage-icon-2 { background-position: 50% 0; }
.advantage-icon-3 { background-position: 100% 0; }
.advantage-icon-4 { background-position: 0 100%; }
.advantage-icon-5 { background-position: 50% 100%; }
.advantage-icon-6 { background-position: 100% 100%; }
.advantage h3 { font-size: var(--font-body); line-height: 1.18; font-weight: 700; min-height: 43px; letter-spacing: -.035em; }
.advantage p { margin-top: 10px; font-size: var(--font-sm); line-height: 1.4; letter-spacing: -.02em; }

.portfolio-heading { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 18px; row-gap: 4px; }
.portfolio-heading > span { font-size: var(--font-xs); color: var(--muted); }
.portfolio-slider { position: relative; }
.portfolio-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-item { flex: 0 0 calc((100% - 30px) / 4); height: clamp(170px, 14.5vw, 225px); border: 0; padding: 0; overflow: hidden; border-radius: var(--radius); background: #e5d8cc; scroll-snap-align: start; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio-item:hover img { transform: scale(1.04); }
.slider-prev, .slider-next { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); color: var(--orange); width: 42px; height: 42px; }
.slider-prev { left: -22px; }
.slider-next { right: -22px; }
.slider-prev .arrow, .review-prev .arrow, .gallery-prev .arrow { transform: rotate(180deg); }
.portfolio-track:focus-visible { outline-offset: 4px; border-radius: var(--radius); }

.about { display: grid; grid-template-columns: 1fr 1.07fr; gap: 14px 38px; align-items: stretch; margin-top: 21px; }
.about h2, .brands h2 { font-size: var(--font-subheading); }
.about h2::after { content: ""; display: block; margin-top: 8px; width: 63px; height: 3px; background: var(--orange); }
.about p { font-size: var(--font-body); line-height: 1.5; margin-top: 14px; letter-spacing: -.015em; }
.about p + p { margin-top: 10px; }
.about-image { width: 100%; height: 100%; min-height: 210px; max-height: 270px; object-fit: cover; object-position: center 52%; border-radius: var(--radius); }
.about-details { grid-column: 1 / -1; min-width: 0; }
.about-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; width: fit-content; min-height: 44px; padding: 10px 16px; border: 1px solid #77716b; border-radius: 10px; font-size: var(--font-sm); font-weight: 600; cursor: pointer; list-style: none; }
.about-toggle::-webkit-details-marker { display: none; }
.about-toggle:hover { border-color: var(--orange); background: var(--cream); }
.about-label-open, .about-details[open] .about-label-closed { display: none; }
.about-details[open] .about-label-open { display: inline; }
.about-details[open] .chevron { transform: rotate(225deg); }
.about-details-content { max-width: 80ch; padding-top: 22px; overflow-wrap: break-word; }
.about-details-content h3 { font-size: var(--font-body); line-height: 1.3; letter-spacing: -.025em; }
.about-details-content h3:not(:first-child) { margin-top: 26px; }
.about .about-details-content p { font-size: var(--font-body); line-height: 1.6; }
.about-details-content a { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.about-details-content a:hover { color: var(--orange-dark); }

.order-section { margin-top: 24px; background: radial-gradient(ellipse at 24% 0%, #484847, #30302f 80%); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; padding: 12px 31px 12px 56px; border-radius: 18px; }
.order-process { padding: 3px 0 15px; }
.order-process h2 { font-size: var(--font-heading); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 27px; margin-top: 18px; }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: "→"; color: #ddd; font-size: var(--font-subheading); font-weight: 300; position: absolute; top: 24px; right: -12px; }
.steps img { width: 33px; height: 33px; margin-bottom: 7px; }
.steps h3 { font-size: var(--font-sm); font-weight: 600; }
.steps p { font-size: var(--font-xs); line-height: 1.3; margin-top: 7px; color: #f0ece8; }
.lead-form { color: var(--ink); }
.estimate-form { border-radius: 14px; background: #fcfaf8; padding: 12px 30px 10px; }
.estimate-form h3 { font-size: var(--font-subheading); font-weight: 750; line-height: 1.05; letter-spacing: -.025em; margin-bottom: 9px; }
.input-field { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 32px; border: 1px solid #d9d5d1; background: #fffdfb; border-radius: 7px; padding: 5px 12px; color: #777; }
.input-field:focus-within { outline: 2px solid var(--orange); outline-offset: 1px; }
.input-field input { border: 0; outline: 0; padding: 0; width: 100%; min-width: 0; background: transparent; font-size: var(--font-sm); color: #222; line-height: 1.4; }
.input-field img { width: 17px; height: 17px; filter: grayscale(1); opacity: .8; flex-shrink: 0; }
.person-icon { display: block; position: relative; width: 17px; height: 17px; flex-shrink: 0; }
.person-icon::before { content: ""; position: absolute; border: 1px solid #888; width: 6px; height: 6px; border-radius: 50%; left: 5px; top: 0; }
.person-icon::after { content: ""; position: absolute; border: 1px solid #888; width: 12px; height: 7px; border-radius: 6px 6px 2px 2px; left: 2px; bottom: 0; }
.estimate-form .input-field + .input-field { margin-top: 5px; }
.estimate-form .button { margin-top: 6px; min-height: 35px; padding: 7px 10px; width: 100%; font-size: var(--font-sm); border-radius: 7px; gap: 10px; }
.form-policy { color: #746d66; font-size: var(--font-xs); line-height: 1.25; margin-top: 6px; }
.form-policy a { text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 12px; font-size: var(--font-sm); line-height: 1.4; padding: 10px 12px; border: 1px solid #f0bba8; border-radius: 8px; background: #fff2eb; color: #7b3821; }

.reviews { margin-top: 12px; }
.reviews h2 { text-align: center; font-size: var(--font-subheading); margin-bottom: 7px; }
.reviews-slider { position: relative; max-width: 1000px; width: 73%; margin: auto; }
.review-content { background: linear-gradient(120deg, #fbf6f2, #f4eeea); border-radius: 18px; padding: 9px 26px 8px; }
.review-slide { display: grid; grid-template-columns: 175px 1fr; align-items: center; gap: 40px; min-height: 77px; }
.review-slide figcaption { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: var(--font-sm); line-height: 1.15; }
.review-slide figcaption img { border-radius: 50%; object-fit: cover; width: 48px; height: 48px; }
.review-slide blockquote { position: relative; font-size: var(--font-sm); line-height: 1.3; padding-right: 18px; }
.review-slide blockquote::before { content: "“"; color: var(--orange); position: absolute; left: -36px; top: -13px; font-size: var(--font-display); font-family: Georgia, serif; font-weight: bold; }
.review-prev, .review-next { position: absolute; top: 50%; transform: translateY(-50%); width: 31px; height: 31px; color: var(--orange); }
.review-prev { left: -55px; }
.review-next { right: -55px; }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 0; }
.review-dots button { position: relative; background: transparent; width: 15px; height: 16px; border: 0; padding: 0; }
.review-dots button::before { content: ""; display: block; width: 6px; height: 6px; border: 1px solid #95867b; border-radius: 50%; margin: auto; }
.review-dots button[aria-pressed="true"]::before { border-color: var(--orange); background: var(--orange); }

.brands { margin-top: 12px; margin-bottom: var(--section-space); }
.brands h2 { text-align: center; line-height: 1.2; }
.brands h2::before { content: ''; display: block; width: 90px; height: 5px; margin: 0 auto 14px; border-radius: 5px; background: var(--orange); }
.brands-description { margin: 12px auto 20px; color: var(--muted); font-size: var(--font-body); line-height: 1.5; text-align: center; }
.brand-rows { display: grid; gap: 10px; }
.brand-list { border-radius: 24px; background: #faf7f5; box-shadow: 0 12px 28px rgb(45 32 19 / 7%); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 12px 10px; align-items: center; }
.brand-list li { display: flex; justify-content: center; align-items: center; min-width: 0; min-height: 40px; padding-inline: 18px; border-left: 1px solid #d3ccc7; }
.brand-list li:first-child { border-left: 0; }
.brand-list img { width: 80%; max-width: 160px; height: auto; object-fit: contain; transform: scale(var(--brand-logo-scale, 1)); }
.brand-list img[src$="/boyard.webp"], .brand-list img[src$="/kronospan.webp"], .brand-list img[src$="/samet.webp"] { --brand-logo-scale: .75; }
.brand-list img[src$="/blum.webp"] { --brand-logo-scale: .9; }
.brand-list img[src$="/rehau.webp"] { --brand-logo-scale: .765; }
.brand-list img[src$="/lamarty.webp"] { --brand-logo-scale: .9; }
.brand-list img[src$="/slotex.webp"] { --brand-logo-scale: .92; }
.brand-list img[src$="/gtv.webp"] { --brand-logo-scale: .828; }
.brand-list img[src$="/aristo.webp"] { --brand-logo-scale: .855; }

.consultation-strip { margin: 9px 16px 9px; border-radius: 16px; background: linear-gradient(90deg, #f6efe9 35%, #f6efe9ed 65%, #f6efe96b), url("/assets/home/consultation-cta-background-1600x440.webp") center 64% / cover no-repeat; }
.consultation-inner { max-width: 1360px; width: 91%; margin: auto; display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 28px; min-height: 88px; padding-block: 12px; }
.consultation-inner h2 { font-size: var(--font-subheading); }
.consultation-inner > div > p { margin-top: 6px; font-size: var(--font-xs); line-height: 1.3; }
.inline-form { display: grid; grid-template-columns: 1fr 1.1fr 1.6fr; gap: 6px 12px; margin-right: 8%; }
.inline-form .input-field { min-height: 36px; }
.inline-form .input-field input { font-size: var(--font-xs); }
.inline-form .button { border-radius: 8px; padding: 8px 12px; min-height: 36px; font-size: var(--font-xs); gap: 10px; white-space: nowrap; }
.inline-form .form-policy, .inline-form .form-status { grid-column: 1 / -1; margin-top: 0; }
.site-footer { margin-top: var(--section-space); background: #30302f; color: #fff; }
.site-footer .header-inner { min-height: 64px; gap: 26px; }
.footer-logo { width: 185px; }
.footer-tagline { border-left: 1px solid #a59c94; padding-left: 26px; font-size: var(--font-xs); line-height: 1.35; }
.site-footer nav { display: flex; gap: 34px; font-size: var(--font-xs); margin-left: auto; }
.site-footer nav a:hover { color: #ff9565; }
.footer-phones { display: grid; gap: 4px; margin-left: auto; white-space: nowrap; }
.footer-phones a:first-child { font-size: var(--font-body); font-weight: 700; }
.footer-phones a:last-child { font-size: var(--font-xs); color: #d8d1cc; text-align: right; }

dialog { border: 0; padding: 0; color: var(--ink); border-radius: 20px; }
dialog::backdrop { background: rgb(25 21 17 / 72%); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 10px; right: 14px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 90%); font-size: var(--font-heading); line-height: 1; z-index: 2; }
.consultation-dialog { width: min(460px, calc(100% - 32px)); padding: 35px; background: #fcf9f5; }
.dialog-icon { margin-bottom: 14px; }
.consultation-dialog h2 { font-size: var(--font-heading); }
.consultation-dialog > p { font-size: var(--font-sm); line-height: 1.4; margin-top: 12px; color: var(--muted); }
.dialog-form { display: grid; gap: 10px; margin-top: 22px; }
.dialog-form .input-field { min-height: 46px; }
.dialog-form .form-policy { margin-top: 0; font-size: var(--font-xs); }
.dialog-phone { display: block; text-align: center; margin-top: 22px; font-size: var(--font-body); font-weight: 700; }
.gallery-dialog { width: min(1140px, calc(100% - 40px)); max-height: calc(100dvh - 40px); background: #fff; overflow: hidden; }
.gallery-dialog figure { margin: 0; }
.gallery-dialog figure > img { width: 100%; max-height: calc(100dvh - 125px); object-fit: contain; background: #e9e2db; }
.gallery-dialog figcaption { font-size: var(--font-sm); text-align: center; padding: 16px 50px; }
.gallery-prev, .gallery-next { position: absolute; top: 45%; z-index: 2; color: var(--orange); }
.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }

@media (min-width: 1600px) {
  .hero-picture img { object-position: center 64%; }
  .hero-inner { min-height: 490px; }
}
@media (max-width: 1250px) {
  h1 { font-size: var(--font-heading); }
  .header-inner { gap: 16px; }
  .logo { width: 158px; }
  .header-address { font-size: var(--font-xs); padding-left: 17px; gap: 6px; }
  .header-address .icon { width: 20px; }
  .header-phones a { font-size: var(--font-xs); }
  .main-nav { font-size: var(--font-sm); gap: 20px; margin-right: 0; }
  .header-phones { gap: 5px; }
  .hero-inner { min-height: 370px; }
  .hero-copy { max-width: 485px; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { min-height: 42px; font-size: var(--font-xs); padding-inline: 19px; }
  .hero-actions .button-primary { min-width: 220px; }
  .hero-description { font-size: var(--font-lead); }
  .hero-benefits li { font-size: var(--font-xs); gap: 8px; padding-inline: 15px; }
  .hero-benefits img { width: 29px; height: 29px; }
  .category-label { font-size: var(--font-sm); padding-left: 15px; padding-right: 10px; }
  .category-featured .category-label { font-size: var(--font-subheading); }
  .advantage { padding: 13px 17px; }
  .advantage h3 { font-size: var(--font-body); min-height: 29px; }
  .advantage p { font-size: var(--font-xs); margin-top: 7px; }
  .advantage-icon { width: 56px; height: 56px; margin-bottom: 9px; }
  .advantage { min-height: 135px; }
  .about p { font-size: var(--font-body); }
  .order-section { grid-template-columns: minmax(0, 1fr) 290px; padding: 12px 22px 12px 38px; gap: 22px; }
  .steps { gap: 20px; }
  .steps h3 { font-size: var(--font-xs); }
  .steps p { font-size: var(--font-xs); }
  .steps li:not(:last-child)::after { right: -9px; }
  .estimate-form { padding-inline: 22px; }
  .estimate-form h3 { font-size: var(--font-body); }
  .estimate-form .button { font-size: var(--font-xs); }
  .review-slide { grid-template-columns: 130px 1fr; gap: 32px; }
  .review-slide blockquote, .review-slide figcaption { font-size: var(--font-xs); }
  .consultation-inner { width: 92%; grid-template-columns: 1fr 1.15fr; gap: 20px; }
  .consultation-inner h2 { font-size: var(--font-subheading); }
  .consultation-inner > div > p { font-size: var(--font-xs); }
  .inline-form { gap: 6px; margin-right: 4%; }
  .inline-form .button { font-size: var(--font-xs); padding-inline: 9px; }
  .inline-form .input-field { padding-inline: 8px; gap: 6px; }
  .inline-form .input-field input { font-size: var(--font-xs); }
  .site-footer nav { gap: 25px; font-size: var(--font-xs); }
  .footer-phones a:first-child { font-size: var(--font-sm); }
}
@media (max-width: 1050px) and (min-width: 901px) {
  .header-inner { min-height: 44px; width: calc(100% - 32px); gap: 12px; }
  .logo { width: 145px; }
  .main-nav { gap: 12px; font-size: var(--font-xs); }
  .header-address { max-width: 186px; padding-left: 13px; }
  .header-phones .icon { width: 18px; }
  .hero-inner { min-height: 310px; padding-top: 22px; padding-bottom: 21px; gap: 18px; }
  h1 { font-size: var(--font-heading); line-height: .96; }
  .eyebrow { font-size: var(--font-xs); line-height: 1.2; margin-bottom: 10px; }
  .hero-description { font-size: var(--font-lead); line-height: 1.1; margin-top: 9px; }
  .hero-actions { margin-top: 14px; }
  .hero-actions .button { min-height: 33px; font-size: var(--font-xs); padding: 8px 16px; }
  .hero-actions .button-primary { min-width: 195px; }
  .hero-benefits img { width: 26px; height: 26px; }
  .hero-benefits li { font-size: var(--font-xs); }
  .hero-copy { max-width: 440px; }
  .catalog-grid { height: 208px; }
  .section { margin-top: 15px; }
  .section-heading, .advantages > h2 { margin-bottom: 11px; }
  h2 { font-size: var(--font-subheading); }
  .text-link { font-size: var(--font-xs); }
  .category-label { font-size: var(--font-xs); padding-block: 6px; min-height: 33px; }
  .category-label .round-arrow { width: 25px; height: 25px; }
  .category-featured .category-label { font-size: var(--font-body); }
  .advantages-grid { gap: 7px; }
  .advantage { min-height: 104px; padding: 9px 16px; }
  .advantage-icon { width: 48px; height: 48px; margin-bottom: 6px; }
  .advantage h3 { font-size: var(--font-sm); min-height: 24px; }
  .advantage p { font-size: var(--font-xs); margin-top: 4px; }
  .portfolio-item { height: 149px; }
  .portfolio-heading > span { font-size: var(--font-xs); }
  .slider-prev, .slider-next { width: 33px; height: 33px; }
  .slider-prev { left: -17px; }
  .slider-next { right: -17px; }
  .about { column-gap: 30px; }
  .about h2, .brands h2 { font-size: var(--font-subheading); }
  .about p { font-size: var(--font-body); margin-top: 10px; line-height: 1.5; }
  .about-image { min-height: 155px; max-height: 270px; }
  .order-section { margin-top: 16px; grid-template-columns: minmax(0, 1fr) 255px; padding: 6px 22px 6px 38px; gap: 21px; }
  .order-process h2 { font-size: var(--font-subheading); }
  .steps { margin-top: 14px; gap: 22px; }
  .steps img { width: 27px; height: 27px; margin-bottom: 4px; }
  .steps h3 { font-size: var(--font-xs); }
  .steps p { font-size: var(--font-xs); margin-top: 5px; }
  .steps li:not(:last-child)::after { font-size: var(--font-body); }
  .estimate-form { padding: 6px 20px; }
  .estimate-form h3 { font-size: var(--font-sm); margin-bottom: 6px; }
  .estimate-form .input-field { min-height: 22px; padding-block: 2px; }
  .estimate-form .input-field input { font-size: var(--font-xs); }
  .estimate-form .button { min-height: 26px; font-size: var(--font-xs); padding: 5px; }
  .estimate-form .form-policy { font-size: var(--font-xs); }
  .review-content { padding: 6px 25px 3px; }
  .review-slide { min-height: 53px; }
  .review-slide figcaption img { width: 40px; height: 40px; }
  .review-slide figcaption, .review-slide blockquote { font-size: var(--font-xs); }
  .reviews h2 { font-size: var(--font-subheading); }
  .consultation-inner { min-height: 65px; padding-block: 8px; }
  .consultation-inner h2 { font-size: var(--font-subheading); }
  .site-footer .header-inner { gap: 20px; min-height: 46px; }
  .footer-tagline { font-size: var(--font-xs); padding-left: 18px; }
  .site-footer nav { gap: 23px; }
}
@media (max-width: 900px) {
  .site-header { --header-height: 88px; }
  .site-header .header-inner { padding-block: 16px; }
  .container { width: calc(100% - 48px); }
  .wide-container { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 40px); min-height: 66px; gap: 16px; }
  .logo { width: 180px; }
  .header-address { margin-left: auto; font-size: var(--font-sm); }
  .header-phones a { font-size: var(--font-sm); }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; flex-shrink: 0; margin-left: auto; }
  .menu-toggle span { width: 20px; height: 1.5px; background: #242424; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-right: 0; padding: 12px 24px 20px; background: #fffaf6; box-shadow: 0 12px 20px rgb(34 23 15 / 10%); font-size: var(--font-body); flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 14px 0; border-bottom: 1px solid #e7dfd8; }
  .catalog-menu summary { min-height: 49px; }
  .catalog-dropdown { position: static; width: 100%; box-shadow: none; margin-bottom: 10px; padding: 15px; font-size: var(--font-xs); }
  .hero-inner { padding-top: 32px; min-height: 410px; gap: 30px; }
  .hero-picture::after { background: linear-gradient(90deg, #f8f3edf5, #f8f3edb3 calc(58% + 80px), transparent calc(100% + 80px)); }
  .hero-copy { max-width: 485px; }
  .hero-description { font-size: var(--font-lead); }
  .hero-benefits li { font-size: var(--font-xs); }
  .hero-benefits { max-width: 560px; }
  .catalog-grid { height: 300px; grid-template-columns: .9fr 1.5fr; }
  .category-label { padding-inline: 12px; font-size: var(--font-sm); }
  .category-label .round-arrow { width: 24px; height: 24px; }
  .catalog-row-bottom { grid-template-columns: repeat(3, 1fr); }
  .catalog-row-bottom .category-label { flex-wrap: nowrap; padding: 7px 9px; gap: 5px; font-size: var(--font-xs); }
  .catalog-row-bottom .round-arrow { width: 21px; height: 21px; }
  .category-featured .category-label { font-size: var(--font-subheading); }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .advantage { padding: 18px; min-height: 153px; }
  .advantage h3 { font-size: var(--font-body); }
  .advantage p { font-size: var(--font-sm); }
  .portfolio-item { flex-basis: calc((100% - 20px) / 3); height: 190px; }
  .portfolio-heading { flex-direction: column; gap: 5px; }
  .portfolio-heading > span { font-size: var(--font-xs); }
  .about { column-gap: 25px; }
  .about h2, .brands h2 { font-size: var(--font-subheading); }
  .about p { font-size: var(--font-body); line-height: 1.5; }
  .about-image { min-height: 210px; max-height: 320px; }
  .order-section { grid-template-columns: 1fr; padding: 24px; }
  .order-process { padding-bottom: 0; }
  .order-process h2 { font-size: var(--font-subheading); }
  .steps { margin-top: 24px; }
  .steps h3 { font-size: var(--font-sm); }
  .steps p { font-size: var(--font-xs); }
  .estimate-form { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 8px 12px; padding: 18px; }
  .estimate-form h3 { grid-column: 1 / -1; margin: 0 0 4px; }
  .estimate-form h3 br { display: none; }
  .estimate-form .input-field + .input-field, .estimate-form .button { margin-top: 0; }
  .estimate-form .form-policy, .estimate-form .form-status { grid-column: 1 / -1; }
  .reviews { margin-top: 22px; }
  .reviews-slider { width: calc(100% - 70px); }
  .review-slide { grid-template-columns: 110px 1fr; }
  .review-slide blockquote { font-size: var(--font-xs); padding-right: 0; }
  .review-prev { left: -40px; }
  .review-next { right: -40px; }
  .brands { margin-top: 20px; }
  .brand-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .brand-list li:nth-child(3n + 1) { border-left: 0; }
  .consultation-strip { margin-top: 18px; }
  .consultation-inner { grid-template-columns: 1fr; gap: 16px; padding-block: 22px; }
  .consultation-inner h2 { font-size: var(--font-subheading); }
  .consultation-inner > div > p { font-size: var(--font-xs); }
  .inline-form { width: 90%; margin: 0; gap: 8px 12px; }
  .inline-form .button { font-size: var(--font-xs); }
  .inline-form .input-field input { font-size: var(--font-sm); }
  .site-footer .header-inner { flex-wrap: wrap; padding-block: 20px; gap: 18px 24px; }
  .site-footer nav { order: 4; width: 100%; justify-content: space-between; font-size: var(--font-xs); }
  .footer-tagline { font-size: var(--font-xs); }
}
@media (max-width: 600px) {
  :root { --radius: 13px; --gap: 10px; }
  .container { width: calc(100% - 36px); }
  .wide-container { width: calc(100% - 24px); }
  .section { margin-top: 29px; }
  h2 { font-size: var(--font-subheading); }
  .header-inner { width: calc(100% - 32px); min-height: 68px; gap: 12px; }
  .logo { width: 145px; }
  .header-address { display: none; }
  .header-phones .icon { display: none; }
  .header-phones a { font-size: var(--font-xs); }
  .menu-toggle { width: 34px; height: 36px; padding-inline: 6px; }
  .hero { padding-bottom: 0; }
  .hero-picture img { object-position: center bottom; }
  .hero-picture::after { background: linear-gradient(180deg, #faf5efe8, #faf5efcc calc(40% + 80px), transparent calc(72% + 80px)); }
  .hero-inner { padding-top: 27px; padding-bottom: 20px; min-height: 680px; justify-content: flex-start; gap: 23px; }
  .hero-copy { max-width: 440px; }
  .eyebrow { font-size: var(--font-xs); gap: 8px; margin-bottom: 15px; }
  .eyebrow::before { width: 20px; }
  h1 { font-size: var(--font-heading); line-height: 1.01; letter-spacing: -.04em; }
  .hero-description { font-size: var(--font-lead); line-height: 1.35; margin-top: 15px; max-width: 390px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 9px; flex-wrap: wrap; margin-top: 20px; }
  .hero-actions .button { font-size: var(--font-xs); min-height: 43px; padding-inline: 13px; gap: 10px; }
  .hero-actions .button-primary { min-width: 0; flex-grow: 1; }
  .hero-actions .button-outline { flex-grow: 1; }
  .hero-benefits { max-width: 430px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; margin-top: 0; padding: 14px; border-radius: 12px; background: rgb(255 251 247 / 84%); backdrop-filter: blur(9px); }
  .hero-benefits li { padding-inline: 0; border: 0; font-size: var(--font-xs); gap: 9px; }
  .hero-benefits img { width: 28px; height: 28px; }
  .hero-benefits br { display: none; }
  .section-heading { align-items: flex-start; gap: 12px; margin-bottom: 15px; }
  .section-heading h2 { font-size: var(--font-subheading); }
  .text-link { font-size: var(--font-xs); gap: 8px; line-height: 1.3; margin-top: 6px; }
  .text-link .arrow { transform: scale(.8); }
  .catalog-grid { grid-template-columns: 1fr; height: auto; gap: 10px; }
  .category-featured { height: 230px; }
  .catalog-secondary { display: contents; }
  .catalog-row { gap: 10px; }
  .catalog-row-top { grid-template-columns: 1fr 1fr; }
  .catalog-row-top .category-card { height: 150px; }
  .catalog-row-bottom { grid-template-columns: 1fr 1fr; }
  .catalog-row-bottom .category-card { height: 150px; }
  .catalog-row-bottom .category-card:last-child { grid-column: 1 / -1; height: 150px; }
  .category-label, .catalog-row-bottom .category-label { font-size: var(--font-body); padding: 9px 13px; flex-wrap: nowrap; }
  .category-label .round-arrow, .catalog-row-bottom .round-arrow { width: 28px; height: 28px; }
  .category-featured .category-label { font-size: var(--font-subheading); }
  .catalog-row-bottom .category-card:last-child img { object-position: center 55%; }
  .advantages > h2 { margin-bottom: 15px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .advantage { padding: 18px; min-height: 165px; }
  .advantage-icon { width: 56px; height: 56px; }
  .advantage h3 { font-size: var(--font-body); min-height: 34px; }
  .advantage p { font-size: var(--font-sm); line-height: 1.4; }
  .portfolio-item { flex-basis: 82%; height: 230px; }
  .portfolio-track { margin-right: -18px; padding-right: 18px; }
  .slider-prev, .slider-next { width: 34px; height: 34px; }
  .slider-prev { left: -10px; }
  .slider-next { right: -10px; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .about h2, .brands h2 { font-size: var(--font-subheading); }
  .about p { font-size: var(--font-body); line-height: 1.55; margin-top: 15px; }
  .about-image { order: 2; min-height: 0; height: 225px; }
  .about-details { order: 1; }
  .about .about-details-content p { font-size: var(--font-body); }
  .order-section { margin-top: 27px; padding: 24px 18px 18px; gap: 24px; }
  .order-process h2 { font-size: var(--font-subheading); max-width: 330px; }
  .steps { grid-template-columns: 1fr; gap: 21px; margin-top: 25px; }
  .steps li { padding-left: 50px; }
  .steps img { position: absolute; left: 0; top: 0; width: 31px; height: 31px; }
  .steps li:not(:last-child)::after { content: ""; top: 39px; right: auto; left: 15px; width: 1px; height: 19px; background: #69625c; }
  .steps h3 { font-size: var(--font-body); }
  .steps p { font-size: var(--font-xs); margin-top: 5px; }
  .steps p br { display: none; }
  .estimate-form { display: flex; flex-direction: column; gap: 9px; padding: 20px; }
  .estimate-form h3 { font-size: var(--font-subheading); margin-bottom: 3px; }
  .estimate-form h3 br { display: inline; }
  .estimate-form .input-field { min-height: 42px; }
  .estimate-form .button { min-height: 42px; font-size: var(--font-sm); margin-top: 0; }
  .form-policy { font-size: var(--font-xs); }
  .reviews { margin-top: 28px; }
  .reviews h2 { font-size: var(--font-subheading); max-width: 300px; margin: 0 auto 15px; }
  .reviews-slider { width: 100%; }
  .review-content { padding: 20px 28px 12px; }
  .review-slide { grid-template-columns: 1fr; gap: 19px; min-height: 225px; align-content: start; }
  .review-slide figcaption { flex-direction: row; justify-content: center; gap: 12px; font-size: var(--font-sm); }
  .review-slide figcaption img { width: 48px; height: 48px; }
  .review-slide blockquote { font-size: var(--font-sm); line-height: 1.5; padding-left: 15px; }
  .review-slide blockquote::before { left: -10px; top: -8px; font-size: var(--font-heading); }
  .review-prev { left: -10px; }
  .review-next { right: -10px; }
  .review-dots { margin-top: 10px; }
  .brands { margin-top: 24px; }
  .brands h2 { padding-inline: 8px; }
  .brands h2::before { width: 64px; height: 4px; margin-bottom: 12px; }
  .brands-description { margin: 10px auto 16px; padding-inline: 14px; }
  .brand-list { border-radius: 18px; padding: 10px 4px; gap: 10px 0; }
  .brand-list li { min-height: 36px; padding-inline: 10px; }
  .consultation-strip { margin: 20px 12px 12px; background-position: 75% center; }
  .consultation-inner { width: auto; padding: 23px 20px; gap: 18px; background: rgb(250 244 238 / 78%); border-radius: inherit; }
  .consultation-inner h2 { font-size: var(--font-subheading); }
  .consultation-inner > div > p { font-size: var(--font-sm); line-height: 1.4; margin-top: 10px; }
  .inline-form { width: 100%; grid-template-columns: 1fr; gap: 9px; }
  .inline-form .input-field, .inline-form .button { min-height: 43px; }
  .inline-form .button { font-size: var(--font-sm); }
  .inline-form .form-policy { margin-top: 3px; }
  .site-footer .header-inner { gap: 18px; padding-block: 23px; }
  .footer-tagline { margin-left: auto; padding-left: 18px; font-size: var(--font-xs); }
  .site-footer nav { order: 3; gap: 14px; font-size: var(--font-xs); flex-wrap: wrap; }
  .footer-phones { order: 4; width: 100%; grid-template-columns: 1fr 1fr; border-top: 1px solid #57504c; padding-top: 15px; margin-top: 2px; gap: 10px; }
  .footer-phones a:first-child, .footer-phones a:last-child { font-size: var(--font-xs); font-weight: 550; color: #fff; }
  .consultation-dialog { padding: 30px 24px 24px; }
  .gallery-dialog { width: calc(100% - 20px); }
  .gallery-dialog figcaption { font-size: var(--font-xs); padding: 13px 45px; }
}
@media (max-width: 480px) {
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-list li:nth-child(3n + 1) { border-left: 1px solid #d3ccc7; }
  .brand-list li:nth-child(2n + 1) { border-left: 0; }
}
@media (max-width: 365px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .logo { width: 98px; }
  .site-header .logo img { transform: translateX(8px); }
  .header-inner { gap: 9px; }
  .hero-inner { min-height: 700px; }
  .eyebrow { font-size: var(--font-xs); }
  .hero-actions { flex-direction: column; max-width: 290px; }
  .hero-benefits li { font-size: var(--font-xs); }
  .hero-benefits img { width: 24px; }
  .section-heading h2 { font-size: var(--font-subheading); }
  .text-link { font-size: var(--font-xs); }
  .advantage { padding: 15px; }
  .advantage h3 { font-size: var(--font-body); }
  .advantage p { font-size: var(--font-xs); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
