@font-face { font-family: Landing; src: url('/media/fonts/rubik-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Landing; src: url('/media/fonts/rubik-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Landing; src: url('/media/fonts/rubik-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root { --ink: #29262b; --muted: #655e62; --accent: #c92b32; --accent-hover: #ad2027; --coral: #ec654e; --gold: #f4bc41; --orange: linear-gradient(125deg, var(--coral), var(--gold)); --line: #eadfda; --soft: #fff7f0; --radius: 12px; --shadow: 0 10px 32px #4d281012; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.55 Landing, Arial, sans-serif; }
button,input,select,textarea { font: inherit; color: inherit; }
button,summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
h1,h2,h3,p { overflow-wrap: break-word; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
button:disabled { opacity: .65; cursor: default; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 50; padding: 12px 18px; background: #fff; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.ui-icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius); background: var(--accent); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s, box-shadow .18s, transform .18s; }
.button:hover { background: var(--accent-hover); box-shadow: 0 5px 14px #a02d2b20; }
.button:active { transform: translateY(1px); }
.button.secondary { color: var(--accent); background: #fff; border-color: #e8b5ab; }
/* Шапка. */
.site-header { position: absolute; top: 16px; left: 20px; right: 20px; z-index: 20; max-width: 1200px; margin-inline: auto; border: 1px solid #ffffff45; border-radius: 16px; background: #302b2ee8; color: #fff; box-shadow: 0 8px 28px #24170f18; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 16px; padding: 8px 16px; width: 100%; }
.brand { flex: 0 0 174px; display: block; }
.brand img { width: 172px; height: 68px; object-fit: contain; }
.nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 4px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 7px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: #ffffff12; color: #ffd39c; }
.header-action { flex: 0 0 164px; text-align: right; }
.header-action button { width: 164px; min-height: 44px; margin: 0; padding: 6px 12px; border: 1px solid #efb5a6; border-radius: 9px; color: #fff; background: #ffffff0d; font-size: 13px; }
.header-action button:hover { background: #ffffff25; }
.menu-toggle,.mobile-menu-contacts,.menu-close { display: none; }
.site-header.is-scrolled { position: fixed; top: 12px; background: #302b2ef2; }
.site-header.is-scrolled .header-row { min-height: 66px; }
.site-header.is-scrolled .brand img { width: 138px; height: 50px; }
/* Первый экран и формы. */
.section.hero { position: relative; min-height: 820px; padding: 215px 0 120px; text-align: center; background: url('/media/images/decor/hero-7301ed3ce6.webp') center/cover no-repeat; }
.hero-eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border: 1px solid #e4c9b5; border-radius: 30px; background: #ffffffde; color: #5a4540; font-size: 14px; font-weight: 500; }
.hero h1 { max-width: 880px; margin: 0 auto 18px; font-size: clamp(38px,4.6vw,62px); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.hero-description { max-width: 620px; margin: 0 auto 34px; font-size: 19px; line-height: 1.55; color: #433b3e; }
.promo-frame,.measurement-frame { position: relative; width: min(850px,100%); margin-inline: auto; padding: 24px; border: 1px solid #f0ceba; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.hero-promo { max-width: 720px; background: #fffffff2; }
.promo-inner { position: relative; z-index: 1; }
.promo-title { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.promo-label { flex-shrink: 0; padding: 5px 12px; border-radius: 7px; background: #ffeadf; color: #a72a22; font-size: 14px; font-weight: 500; }
.promo-title p { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.45; }
.promo-title p strong { color: var(--accent); }
.inline-form { display: grid; position: relative; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: start; }
.inline-form.phone-only { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
label { display: grid; gap: 7px; min-width: 0; font-size: 14px; font-weight: 500; }
input,select,textarea { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #d5cbc6; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color .18s, box-shadow .18s; }
input::placeholder,textarea::placeholder { color: #847b7b; font-weight: 400; }
input:focus,textarea:focus,select:focus { outline: none; border-color: #c87d66; box-shadow: 0 0 0 3px #efac7b20; }
input[readonly] { background: #f5f3f1; color: #655f5e; }
input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true] { border-color: #b7232a; }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox],input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--accent); }
.field-error { display: block; font-size: 12px; font-weight: 400; line-height: 1.4; color: #ab2028; }
.form-result { grid-column: 1/-1; margin: 0; font-size: 14px; line-height: 1.5; color: #276023; }
.form-result:empty { display: none; }
.form-result[data-state=error] { color: #ab2028; }
.form-result[data-state=pending] { color: var(--muted); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-stack { position: relative; display: grid; gap: 18px; }
.form-stack .button { width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.wide { grid-column: 1/-1; }
/* Разделы и преимущества. */
.section { position: relative; padding: 80px 0; }
.section-title { position: relative; z-index: 1; max-width: 960px; margin: 0 auto 40px; font-size: clamp(28px,3vw,38px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; text-align: center; }
.section-title:not(.plain-title)::before { position: absolute; content: ''; left: 50%; top: -20px; width: 85px; height: 75px; transform: translateX(-50%); background: url('/media/icons/logo-in-title.svg') center/contain no-repeat; opacity: .07; z-index: -1; }
.orange-section { background: var(--orange); color: var(--ink); padding-block: 105px; }
.orange-section::before,.orange-section::after { position: absolute; content: ''; left: 0; width: 100%; height: 42px; pointer-events: none; background-size: 100% 100%; }
.orange-section::before { top: -1px; background-image: url('/media/images/decor/plashka2-373658f7fb.webp'); }
.orange-section::after { bottom: -1px; background-image: url('/media/images/decor/plashka1-f858bf8e42.webp'); }
.trust-section { margin-top: -50px; padding-top: 100px; }
.trust-section::before { display: none; }
.icon-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.icon-grid li { display: flex; min-width: 0; align-items: flex-start; gap: 18px; padding: 24px; border: 1px solid #f0e4dd; border-radius: 16px; background: #fffffff2; box-shadow: 0 4px 16px #65331a08; }
.icon-grid img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.icon-grid li>div { min-width: 0; width: 100%; }
.icon-grid h3 { margin: 0 0 7px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.icon-grid p { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--muted); }
.services-list li { align-items: center; }
/* Каталог и галереи. */
.types-caption { margin: -16px 0 24px; color: var(--muted); font-size: 13px; text-align: center; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 auto 32px; }
.tabs button { min-height: 44px; padding: 10px 16px; border: 1px solid #e7d7cc; border-radius: 30px; color: #4c4144; background: #fff9f4; font-size: 15px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.tabs button:hover { border-color: #c97662; }
.tabs button[aria-selected=true] { border-color: var(--accent); background: var(--accent); color: #fff; }
.carousel { position: relative; }
.scroll-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px)/4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #dfcec2 transparent; padding-bottom: 8px; }
.scroll-track>* { min-width: 0; scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.zoom { display: block; width: 100%; border: 0; padding: 0; background: #f6f1ed; cursor: zoom-in; }
.card .zoom img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body,.review-text { display: flex; flex-direction: column; flex: 1; padding: 20px 16px; }
.card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.card-body>.button { display: flex; width: 100%; margin-top: auto; padding-inline: 12px; font-size: 14px; }
.room-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 4px; margin: 0 0 20px; font-size: 12px; line-height: 1.4; }
.room-facts span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.room-facts img { width: 19px; height: 19px; flex: 0 0 19px; }
.carousel-controls,.project-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }
.carousel-controls button,.project-controls button { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid #ddc7b9; border-radius: 50%; background: #fff; color: var(--accent); }
.carousel-controls button:hover,.project-controls button:hover { background: #fff1e4; border-color: #b65540; }
.project-controls output { min-width: 60px; text-align: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
/* Порядок заказа и расчёт. */
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li { min-width: 0; counter-increment: steps; }
.step-image { position: relative; height: 98px; margin-bottom: 18px; }
.step-image img { width: 90px; height: 90px; object-fit: contain; }
.step-image::after { content: counter(steps, decimal-leading-zero); position: absolute; right: 16px; top: 8px; color: #e8d6c9; font-size: 38px; font-weight: 500; }
.steps h3 { margin: 0 0 12px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.steps .button { display: flex; width: 100%; margin-top: 10px; padding-inline: 12px; font-size: 14px; }
.steps a.button { border-color: var(--line); background: #fff; color: #64504b; }
.work-hours { margin: 0 auto 24px; text-align: center; }
.work-hours p { margin: 0; color: #49312d; font-size: 16px; font-weight: 400; line-height: 1.6; }
.work-hours p br { display: none; }
.work-hours strong { font-weight: 500; }
.calculator-form { max-width: 920px; margin: auto; padding: 32px; border: 1px solid #f2d5c1; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.calculator-fields { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4,auto); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 32px; }
.calculator-fields label { display: grid; grid-template-columns: minmax(0,1fr) 90px; align-items: start; gap: 8px 12px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.calculator-fields label>span:first-child { align-self: center; }
.calculator-fields input { padding-inline: 10px; }
.calculator-fields .field-error { grid-column: 1/-1; }
.quote-frame { width: 100%; margin-top: 28px; padding: 26px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.quote-frame>h3 { margin: 0 0 16px; font-size: 20px; font-weight: 500; text-align: center; }
.quote-frame .promo-title { margin-bottom: 20px; }
.quote-frame .promo-title p { font-size: 16px; }
.measurement-frame h2 { margin: 0 0 24px; font-size: 29px; font-weight: 500; line-height: 1.3; text-align: center; }
.measurement-frame h2 em { font-style: normal; color: var(--accent); }
.advantages-list { margin-bottom: 40px; }
.measure-section { background: var(--orange); overflow: hidden; }
.measure-section .measurement-frame { padding: 32px; }
/* Подбор цвета. */
.room-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.room-preview { position: relative; overflow: hidden; border: 1px solid #e2b99f; border-radius: 18px; box-shadow: var(--shadow); background: #fff; }
.room-color-preview { background: linear-gradient(var(--room-ceiling) 0 24%,var(--room-wall) 24% 69%,var(--room-floor) 69% 100%); }
.room-color-preview>img { position: relative; width: 100%; background-size: 100% 100%; }
.room-preview[data-surface='Матовый'] .room-color-preview>img { background-image: url('/media/images/decor/odevalka-room-matovii-f1bfb058df.webp'); }
.room-preview[data-surface='Сатиновый'] .room-color-preview>img { background-image: url('/media/images/decor/odevalka-room-satin-2aa43ce55b.webp'); }
.room-preview[data-surface='Глянцевый'] .room-color-preview>img { background-image: url('/media/images/decor/odevalka-room-glyanec-63020c43fd.webp'); }
.room-controls { display: grid; gap: 18px; min-width: 0; }
.room-controls fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.room-controls legend { margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.room-controls legend output { margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.surface-options { display: flex; flex-wrap: wrap; gap: 6px; }
.surface-options label { position: relative; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff9f4; font-size: 14px; font-weight: 400; cursor: pointer; }
.surface-options label:has(input:checked) { border-color: var(--accent); color: var(--accent); background: #fff1ec; }
.surface-options input,.lighting-options input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.surface-options label:has(input:focus-visible),.lighting-options label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.room-controls>.button { margin-top: 2px; }
.color-controls { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.color-targets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.color-targets button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 44px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: #fff9f4; font-size: 13px; font-weight: 500; }
.color-targets button[aria-selected=true] { border-color: var(--accent); color: var(--accent); background: #fff1ec; }
.color-target-sample { width: 12px; height: 12px; flex: 0 0 12px; border: 1px solid #00000020; border-radius: 3px; }
.color-summary { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 6px; }
.color-sample { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #00000020; border-radius: 8px; }
.color-code { font-family: monospace; font-size: 14px; font-weight: 500; }
.color-reset { margin-left: auto; min-height: 44px; padding: 6px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 12px; }
.color-reset:hover { color: var(--accent); }
.rgb-row { display: grid; grid-template-columns: 18px minmax(0,1fr) 28px; align-items: center; gap: 10px; min-height: 44px; }
.rgb-row label { display: grid; place-items: center; height: 44px; font-size: 13px; }
.rgb-row output { text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.rgb-range { appearance: none; -webkit-appearance: none; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; box-shadow: none; cursor: pointer; touch-action: pan-y; }
.rgb-range:focus { box-shadow: none; }
.rgb-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rgb-range::-webkit-slider-runnable-track { height: 12px; border: 1px solid #00000020; border-radius: 999px; background: var(--rgb-track); }
.rgb-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin-top: -7px; border: 3px solid #fff; border-radius: 50%; background: var(--rgb-value); box-shadow: 0 0 0 1px #655e6266; }
.rgb-range::-moz-range-track { height: 12px; box-sizing: border-box; border: 1px solid #00000020; border-radius: 999px; background: var(--rgb-track); }
.rgb-range::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; background: var(--rgb-value); box-shadow: 0 0 0 1px #655e6266; }

.lighting-zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.lighting-zoom>img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.lighting-zoom-hint { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff60; border-radius: 11px; color: #fff; background: #29262ba6; pointer-events: none; }
.lighting-zoom:focus-visible { outline-offset: -5px; }
.lighting-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; }
.lighting-caption>span:last-child { font-size: 12px; font-weight: 400; color: var(--muted); }
.lighting-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; padding: 3px; }
.lighting-options label { position: relative; display: block; min-height: 44px; cursor: pointer; border-radius: 8px; }
.lighting-options img { width: 100%; height: 100%; min-height: 44px; aspect-ratio: 3/2; border-radius: inherit; object-fit: cover; }
.lighting-number { position: absolute; left: 5px; bottom: 5px; padding: 1px 5px; border-radius: 4px; background: #29262bcc; color: #fff; font-size: 11px; line-height: 1.4; font-weight: 500; pointer-events: none; }
.lighting-options label:has(input:checked) { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Выполненные работы. */
.project-gallery { position: relative; overflow: hidden; }
.project-track { position: relative; height: 540px; }
.project-card { margin: 0; position: absolute; top: 10px; left: 50%; width: min(600px,74%); transform: translateX(calc(-50% + var(--offset,0px))) scale(var(--scale,1)); transform-origin: center 40%; z-index: var(--depth,1); transition: transform .3s; }
.project-card .zoom { overflow: hidden; border: 3px solid #fff; border-radius: 16px; box-shadow: var(--shadow); }
.project-card .zoom>img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-request { display: none; width: min(340px,100%); margin: 20px auto 0; }
.project-card.is-active .project-request { display: flex; }
.project-gift { max-width: 760px; margin: 32px auto 0; padding: 24px; border: 1px solid #ffedda; border-radius: 18px; background: #fffffff2; text-align: center; }
.project-gift p { margin: 0 0 18px; font-size: 20px; font-weight: 500; line-height: 1.5; }
.project-gift p br { display: none; }
.project-gift strong { color: var(--accent); }
/* Ответы, отзывы и контакты. */
.advantages-section .section-title span { display: block; margin-top: 8px; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq { max-width: 960px; margin: auto; }
.faq details { margin: 0 0 12px; padding: 0 24px; border: 1px solid #ffe2ca; border-radius: 14px; background: #ffffffed; }
.faq summary { position: relative; display: block; padding: 20px 40px 20px 0; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--accent); background: #fff0e3; font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 24px; max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.reviews-section .scroll-track { grid-auto-columns: calc((100% - 40px)/3); }
.review-card .zoom img { aspect-ratio: 4/3; }
.review-text .review-name { margin: 0 0 6px; font-size: 18px; }
.review-text .muted { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 400; }
.review-text .muted span { display: block; margin-top: 3px; }
.review-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.review-text details { margin-top: auto; font-size: 14px; line-height: 1.7; }
.review-text summary { display: flex; align-items: center; min-height: 44px; list-style: none; color: var(--accent); font-weight: 500; cursor: pointer; }
.review-text summary::-webkit-details-marker { display: none; }
.review-text:has(details[open]) .review-excerpt { display: none; }
.contacts { min-height: 540px; padding: 0; }
.contacts>.container { position: static; }
.contact-map { position: absolute; inset: 0; width: 100%; height: 540px; border: 0; background: #f4f3ef; }
.contact-card { position: absolute; top: 80px; right: max(30px,calc((100% - 1160px)/2)); width: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 40px #33281c28; }
.contact-card h2 { margin: 0; padding: 24px 24px 0; font-size: 25px; font-weight: 500; line-height: 1.3; }
.contact-text { padding: 20px 24px 26px; }
.contact-text p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.contact-text>a { display: block; padding-block: 3px; color: var(--accent); font-size: 20px; font-weight: 500; text-decoration: none; }
.contact-text>a.email { font-size: 16px; }
.contact-text>a+p { margin-top: 18px; }
.footer { padding: 36px 0 16px; background: #fffdfb; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { flex: 0 0 190px; }
.footer-brand img { width: 190px; height: 75px; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--accent); }
.social-links a:hover { background: #fff0e3; }
.social-links svg { width: 23px; height: 25px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.social-links .solid { fill: currentColor; stroke: none; }
.footer-callback { display: flex; align-items: center; gap: 20px; }
.footer-callback button { min-height: 46px; padding: 10px 18px; border: 1px solid #cc9b89; border-radius: 12px; background: transparent; color: var(--accent); font-size: 14px; font-weight: 500; }
.footer-callback button:hover { background: #fff0e3; }
.footer-callback a { display: block; padding-block: 3px; font-size: 17px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.footer-copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 12px; }
.footer-copy p { margin: 0 0 6px; }
.footer-copy>a { font-size: 12px; }
.agency-logo { display: flex; align-items: center; justify-content: center; width: 49px; height: 49px; margin: 18px auto 0; }
.agency-logo img { flex: 0 0 24.5px; width: 24.5px; height: 24.5px; object-fit: contain; }
.go-top { position: fixed; right: 16px; bottom: 16px; z-index: 15; display: none; place-items: center; width: 44px; height: 44px; border: 1px solid #e1b8a2; border-radius: 12px; color: var(--accent); background: #fff; box-shadow: var(--shadow); }
body.is-scrolled .go-top { display: grid; }
body:has(input:focus,textarea:focus,dialog[open]) .go-top { visibility: hidden; }
/* Диалоги, квиз, политика. */
dialog { width: min(520px,calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; border: 1px solid #ead7c8; border-radius: 20px; padding: 24px 30px 32px; box-shadow: 0 18px 80px #281b2345; }
dialog::backdrop { background: #241d25a6; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog h2 { margin: 8px 0 26px; font-size: 27px; font-weight: 500; line-height: 1.3; text-align: center; }
.close-dialog { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: #f8f2ed; font-size: 28px; line-height: 1; }
.close-dialog:focus-visible { outline: none; background: var(--accent); color: #fff; }
#image-dialog { width: auto; max-width: min(1100px,calc(100% - 32px)); padding: 16px; }
#image-dialog img { max-height: calc(100dvh - 120px); width: auto; object-fit: contain; margin: 10px auto 0; border-radius: 10px; }
.policy { max-width: 850px; padding: 150px 0 60px; line-height: 1.8; }
.policy h1 { font-size: 34px; line-height: 1.25; }
.policy h2 { margin-top: 32px; font-size: 22px; line-height: 1.4; }
.quiz-hero { padding: 175px 0 70px; text-align: center; background: #fff4df url('/media/images/decor/hero-7301ed3ce6.webp') center/cover; }
.quiz-hero h1 { max-width: 800px; margin: 0 auto 20px; font-size: clamp(32px,4vw,52px); line-height: 1.2; letter-spacing: -.02em; }
.quiz-hero .lead { margin: 0 auto 24px; font-size: 18px; }
.quiz-intro { margin: 0 auto; text-align: center; font-size: 28px; font-weight: 500; line-height: 1.3; }
.quiz-box { max-width: 850px; margin: 32px auto 0; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.quiz-progress { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.quiz-progress progress { flex: 1; accent-color: var(--accent); height: 8px; }
.quiz-box fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-box legend { width: 100%; margin-bottom: 24px; font-size: 24px; font-weight: 500; line-height: 1.4; }
.quiz-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.quiz-options label { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; cursor: pointer; }
.quiz-options label:has(input:checked) { border-color: var(--accent); background: #fff5ee; }
.quiz-options input { flex: 0 0 20px; }
.quiz-buttons { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.quiz-buttons [data-quiz-previous] { border-color: var(--line); color: var(--ink); background: #fff; }
noscript { display: block; padding: 120px 16px 16px; background: #fff3cf; text-align: center; }
@media (max-width:1199px) { .nav a { font-size: 12px; padding-inline: 5px; } .brand { flex-basis: 150px; } .brand img { width: 148px; } .header-row { gap: 10px; } .icon-grid li { padding: 20px; gap: 14px; } .footer-callback { gap: 12px; } .footer-callback a { font-size: 15px; } }
@media (max-width:991px) {
 .section { padding-block: 64px; }
 .orange-section { padding-block: 85px; }
 .scroll-track { grid-auto-columns: calc((100% - 40px)/3); }
 .icon-grid { gap: 16px; }
 .icon-grid li { flex-direction: column; gap: 12px; }
 .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
 .room-layout { grid-template-columns: minmax(0,1fr); }
 .room-preview { max-width: 720px; width: 100%; margin: auto; }
 .room-controls { max-width: 720px; width: 100%; margin: auto; }
 .project-track { height: 540px; }
 .footer-row { flex-wrap: wrap; justify-content: center; }
 .reviews-section .scroll-track { grid-auto-columns: calc((100% - 20px)/2); }
}
@media (max-width:767px) {
 .container { width: calc(100% - 32px); }
 .section { padding-block: 52px; }
 .section-title { margin-bottom: 28px; font-size: 28px; }
 .orange-section { padding-block: 76px; }
 .section.hero { min-height: 730px; padding: 170px 0 95px; background-position: center; }
 .hero h1 { max-width: 520px; font-size: clamp(34px,8vw,44px); line-height: 1.14; }
 .hero-description { max-width: 420px; margin-bottom: 26px; font-size: 16px; line-height: 1.5; }
 .hero-eyebrow { font-size: 12px; margin-bottom: 14px; }
 .hero-promo { max-width: 420px; padding: 22px; }
 .promo-title { flex-direction: column; gap: 10px; margin-bottom: 18px; }
 .promo-title p { font-size: 19px; }
 .inline-form,.inline-form.phone-only { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .inline-form .button { width: 100%; }
 .trust-section { margin-top: -42px; padding-top: 70px; }
 .icon-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .icon-grid li { padding: 18px 14px; }
 .icon-grid h3 { font-size: 15px; line-height: 1.4; }
 .icon-grid p { font-size: 13px; }
 .icon-grid img { flex-basis: 48px; width: 48px; height: 48px; }
 .tabs { justify-content: flex-start; flex-wrap: nowrap; max-width: 100%; margin-bottom: 24px; padding: 4px 2px 10px; overflow-x: auto; scrollbar-width: thin; }
 .tabs button { flex-shrink: 0; }
 .scroll-track { grid-auto-columns: calc((100% - 16px)/2); gap: 16px; }
 .steps { gap: 28px 20px; }
 .steps h3 { font-size: 16px; }
 .steps p { font-size: 14px; }
 .step-image { height: 78px; margin-bottom: 12px; }
 .step-image img { width: 72px; height: 72px; }
 .step-image::after { font-size: 30px; right: 0; }
 .calculator-form { padding: 24px 20px; }
 .calculator-fields { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0,1fr); gap: 14px; }
 .calculator-fields label { grid-template-columns: minmax(0,1fr) 90px; }
 .quote-frame { margin-top: 24px; padding-top: 24px; }
 .quote-frame>h3 { font-size: 20px; }
 .quote-frame .promo-title p { font-size: 15px; }
 .measurement-frame,.measure-section .measurement-frame { padding: 26px 20px; }
 .measurement-frame h2 { font-size: 25px; }
 .work-hours p { font-size: 14px; }
 .work-hours strong { white-space: nowrap; }
 .room-layout { gap: 24px; }
 .room-controls { gap: 20px; }
 .surface-options label { padding: 11px; }
 .project-card { width: 85%; }
 .project-track { height: 450px; }
 .project-gift { margin-top: 24px; padding: 24px 20px; }
 .project-gift p { font-size: 18px; }
 .advantages-section .section-title span { font-size: 17px; }
 .faq details { padding-inline: 18px; }
 .faq summary { font-size: 16px; padding-block: 18px; }
 .faq details p { font-size: 14px; line-height: 1.65; }
 .contacts { display: flex; min-height: 0; padding: 0; }
 .contacts>.container { width: 100%; display: flex; flex-direction: column; }
 .contact-card { position: relative; top: auto; right: auto; width: calc(100% - 32px); max-width: 500px; margin: 24px auto; order: -1; box-shadow: var(--shadow); }
 .contact-card h2 { padding-top: 24px; }
 .contact-map { position: static; height: 390px; }
 .footer-row { flex-direction: column; gap: 24px; }
 .footer-brand { flex-basis: auto; }
 .footer-callback { flex-direction: column-reverse; gap: 16px; text-align: center; }
 .footer-callback a { font-size: 18px; }
 .footer-copy { margin-top: 24px; }
 body.is-scrolled .go-top { display: none; }
 dialog { padding: 18px 22px 26px; }
 dialog h2 { font-size: 25px; }
 .quiz-hero { padding: 140px 0 50px; }
 .quiz-box { padding: 24px 20px; }
 .quiz-intro { font-size: 25px; }
 .quiz-box legend { font-size: 21px; }
 .quiz-options { grid-template-columns: minmax(0,1fr); }
 .quiz-buttons .button { padding-inline: 16px; }
 .policy { padding-top: 130px; }
 .policy h1 { font-size: 28px; }
}
@media (max-width:480px) { .scroll-track,.reviews-section .scroll-track { grid-auto-columns: 100%; } .project-track { height: 330px; } .steps { grid-template-columns: minmax(0,1fr); gap: 28px; } .steps li { position: relative; padding-left: 76px; } .step-image { position: absolute; top: 0; left: 0; width: 60px; height: 60px; } .step-image img { width: 56px; height: 56px; } .step-image::after { display: none; } .steps .button { font-size: 13px; padding-inline: 8px; } }
/* Плавающая плашка сохраняет пространство системной области Safari. */
@media (max-width:991px), (pointer:coarse) and (max-height:500px) {
 :root { --header-height: 64px; --header-offset: calc(12px + env(safe-area-inset-top, 0px)); }
 html { scroll-padding-top: calc(var(--header-offset) + var(--header-height) + 20px); }
 .site-header,.site-header.is-scrolled { position: fixed; top: var(--header-offset); left: max(15px,env(safe-area-inset-left,0px)); right: max(15px,env(safe-area-inset-right,0px)); width: auto; max-width: 560px; margin-inline: auto; padding: 0; border: 1px solid transparent; border-radius: 18px; background: transparent; box-shadow: none; }
 .site-header::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none; }
 .site-header::before,.nav { border: 1px solid #ffffff40; background: linear-gradient(135deg,#ffffff16,#ffffff03 55%,#ffffff08),#29272cb3; -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 #ffffff24,0 8px 28px #20181424; }
 .site-header .header-row,.site-header.is-scrolled .header-row { width: 100%; min-height: calc(var(--header-height) - 2px); padding: 6px 10px 6px 12px; gap: 16px; }
 .site-header .brand { display: block; flex: 0 1 auto; }
 .site-header .brand img,.site-header.is-scrolled .brand img { width: 128px; height: 50px; object-fit: contain; }
 .header-action { display: none; }
 .menu-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 13px; background: var(--accent); color: #fff; }
 .menu-toggle .ui-icon { width: 24px; height: 24px; }
 .menu-toggle[aria-expanded=true] .menu-open { display: none; }
 .menu-toggle[aria-expanded=true] .menu-close { display: block; }
 .nav { position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; display: none; width: auto; max-height: calc(100dvh - var(--header-offset) - var(--header-height) - 8px - max(12px,env(safe-area-inset-bottom,0px))); flex-direction: column; align-items: stretch; gap: 3px; padding: 12px; border-radius: 18px; overflow-y: auto; overscroll-behavior: contain; }
 .nav.is-open { display: flex; }
 .nav a { flex-shrink: 0; min-height: 44px; padding: 12px; border-radius: 10px; font-size: 15px; text-align: left; }
 .nav a:hover,.nav a:focus-visible { background: #ffffff0d; color: #ffbc86; }
 .mobile-menu-contacts { display: grid; flex-shrink: 0; gap: 8px; margin-top: 8px; padding: 12px 8px 8px; border-top: 1px solid #ffffff24; }
 .mobile-menu-contacts .menu-phone { justify-content: center; min-height: 44px; padding: 10px 0; font-size: 20px; font-weight: 500; text-align: center; white-space: nowrap; }
 .mobile-menu-contacts .button { width: 100%; min-height: 48px; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
 dialog { max-height: calc(100dvh - 2 * max(16px,env(safe-area-inset-top,0px),env(safe-area-inset-bottom,0px))); }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .button,.project-card,input,select,textarea { transition: none; } }
[hidden] { display: none; }
