/*
Theme Name: Бархатный код
Theme URI: https://dimafedorov.ru/uniforme/
Author: Бархатный код
Description: Премиальные бархатные жилетки-фартуки для индустрии гостеприимства.
Version: 2.5.0
Text Domain: uniforme
Requires at least: 6.4
Requires PHP: 8.0
*/

@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Prata"; src: url("assets/fonts/prata-cyrillic.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Prata"; src: url("assets/fonts/prata-latin.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #211b1d;
  --ink-soft: #554b4e;
  --wine: #641a2c;
  --wine-deep: #3c0d19;
  --paper: #f2eee8;
  --paper-deep: #e2dbd2;
  --white: #fffdf9;
  --line: rgba(33, 27, 29, .18);
  --success: #285c44;
  --error: #8e2638;
  --display: "Prata", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --wrap: min(1280px, calc(100vw - 80px));
  --space-section: clamp(88px, 10vw, 160px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid #b77784; outline-offset: 4px; }

.eyebrow, .section-index { margin: 0 0 24px; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-light { color: rgba(255, 253, 249, .68); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 em, h2 em { font-weight: 400; color: #d3a8b1; }
h2 { margin-bottom: 36px; font-size: clamp(46px, 6.4vw, 92px); }
h3 { line-height: 1.25; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 15px 25px; border: 1px solid var(--wine); background: var(--wine); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .055em; text-decoration: none; text-align: center; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.button:hover { background: var(--wine-deep); border-color: var(--wine-deep); transform: translateY(-2px); }
.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-light:hover { border-color: #e6d7da; background: #e6d7da; }
.button-small { min-height: 42px; padding: 11px 18px; font-size: 11px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.text-link-light { color: var(--white); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.header-row { min-height: 90px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid rgba(255,255,255,.24); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-symbol { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid currentColor; font-family: var(--display); font-size: 15px; letter-spacing: -.04em; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word strong { font-family: var(--display); font-size: 17px; font-weight: 400; letter-spacing: .01em; }
.brand-word small { margin-top: 5px; font-size: 7px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .66; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; align-items: center; margin: 0; padding: 0; list-style: none; }
.main-nav a, .header-phone { font-size: 11px; font-weight: 700; letter-spacing: .065em; text-decoration: none; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-phone { white-space: nowrap; }
.header-cta { border-color: rgba(255,255,255,.7); background: transparent; }
.header-cta:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.45); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }

.hero { min-height: 850px; display: grid; grid-template-columns: minmax(440px, .85fr) minmax(520px, 1.15fr); position: relative; overflow: hidden; background: var(--wine-deep); color: var(--white); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 150px max(48px, calc((100vw - 1280px) / 2)) 96px max(40px, calc((100vw - 1280px) / 2)); position: relative; z-index: 2; }
.hero-copy::before { content: ""; width: 1px; height: 110px; position: absolute; left: max(40px, calc((100vw - 1280px) / 2)); bottom: 0; background: rgba(255,255,255,.34); }
.hero h1 { max-width: 720px; margin: 0 0 34px; font-size: clamp(55px, 6.1vw, 98px); }
.hero-title-line { display: block; }
.hero-title-main { font-size: .72em; line-height: 1.08; letter-spacing: -.055em; white-space: nowrap; }
.hero-title-sub { white-space: nowrap; }
.hero-lead { max-width: 600px; margin-bottom: 38px; color: rgba(255,253,249,.76); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hero-sample { margin: 23px 0 0; color: rgba(255,253,249,.58); font-size: 11px; line-height: 1.6; }
.hero-visual { min-width: 0; height: 850px; margin: 0; position: relative; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,13,25,.56), transparent 35%), linear-gradient(0deg, rgba(20,12,15,.55), transparent 32%); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.68) contrast(1.04); }
.hero-visual figcaption { position: absolute; right: 38px; bottom: 33px; left: 38px; z-index: 2; display: flex; justify-content: space-between; color: rgba(255,255,255,.76); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-code { position: absolute; right: -15px; bottom: -16px; z-index: 3; display: flex; gap: 20px; align-items: flex-end; font-family: var(--display); font-size: clamp(70px, 10vw, 158px); line-height: .68; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.24); pointer-events: none; }
.hero-code span:last-child { color: rgba(255,255,255,.08); -webkit-text-stroke: 0; }

.fact-line { border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.fact-line-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-line p { min-height: 120px; margin: 0; padding: 27px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.fact-line p:last-child { border-right: 1px solid var(--line); }
.fact-line strong { font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.2; }
.fact-line span { margin-top: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.manifesto-grid { display: grid; grid-template-columns: 1fr 4fr; gap: 40px; }
.manifesto h2 { max-width: 990px; }
.manifesto h2 em { color: var(--wine); }
.manifesto-lead { max-width: 710px; margin: 48px 0 0 auto; padding-left: 40px; border-left: 1px solid var(--wine); color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; }

.gallery-section { padding: 0 0 var(--space-section); overflow: hidden; }
.gallery-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; margin-bottom: 64px; }
.gallery-heading h2 { margin-bottom: 0; font-size: clamp(48px, 6vw, 86px); }
.gallery-heading > p { max-width: 490px; margin-bottom: 10px; color: var(--ink-soft); }
.editorial-gallery { width: min(1600px, 100%); margin: auto; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 240px 280px 360px; gap: 16px; padding: 0 16px; }
.gallery-shot { min-width: 0; min-height: 0; padding: 0; border: 0; position: relative; overflow: hidden; background: #d5cec5; cursor: zoom-in; }
.gallery-shot::after { content: "+"; width: 38px; height: 38px; position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; background: rgba(255,253,249,.9); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.gallery-shot:hover::after, .gallery-shot:focus-visible::after { opacity: 1; transform: none; }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery-shot:hover img { transform: scale(1.025); }
.gallery-shot-a { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery-shot-b { grid-column: 5 / 9; grid-row: 1 / 2; }
.gallery-shot-b img { object-position: center 35%; }
.gallery-quote { grid-column: 9 / 13; grid-row: 1 / 2; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; background: var(--wine); color: var(--white); }
.gallery-quote p { max-width: 360px; margin: 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.15; }
.gallery-quote span { color: rgba(255,255,255,.63); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gallery-shot-c { grid-column: 5 / 9; grid-row: 2 / 4; }
.gallery-shot-c img { object-position: center 28%; }
.gallery-shot-d { grid-column: 9 / 13; grid-row: 2 / 4; }
.gallery-shot-e { grid-column: 1 / 3; grid-row: 3 / 4; }
.gallery-shot-f { grid-column: 3 / 5; grid-row: 3 / 4; }
.gallery-dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 30px 80px; border: 0; background: rgba(20,15,17,.94); color: var(--white); }
.gallery-dialog[open] { display: grid; grid-template-columns: 50px minmax(0,1fr) 50px; align-items: center; gap: 24px; }
.gallery-dialog::backdrop { background: rgba(20,15,17,.94); }
.gallery-dialog img { max-width: 100%; max-height: calc(100vh - 60px); margin: auto; object-fit: contain; }
.gallery-close, .gallery-arrow { border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); cursor: pointer; }
.gallery-close { width: 46px; height: 46px; position: fixed; top: 24px; right: 24px; z-index: 2; font-size: 27px; }
.gallery-arrow { width: 50px; height: 50px; font-size: 20px; }

.product { border-top: 1px solid var(--line); background: var(--white); }
.product-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 11vw; align-items: start; }
.product-sticky { position: sticky; top: 48px; }
.product-sticky h2 { font-size: clamp(48px, 5.5vw, 80px); }
.product-sticky > p:not(.section-index) { max-width: 470px; margin-bottom: 35px; color: var(--ink-soft); font-size: 18px; }
.product-features { border-top: 1px solid var(--ink); }
.product-features article { display: grid; grid-template-columns: 120px 1fr; gap: 12px 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.product-features span { grid-row: 1 / 3; padding-top: 5px; color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-features h3 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 400; }
.product-features p { max-width: 450px; margin: 0; color: var(--ink-soft); }

.constructor-section { background: #dcd5cd; }
.constructor-heading { display: grid; grid-template-columns: 1fr 4fr; gap: 40px; margin-bottom: 64px; }
.constructor-heading > div { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; }
.constructor-heading h2 { margin-bottom: 0; font-size: clamp(48px, 5.9vw, 86px); }
.constructor-heading > div p { margin-bottom: 8px; color: var(--ink-soft); }
.configurator { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(480px, 1.1fr); min-height: 750px; background: var(--white); }
.config-preview { min-height: 750px; position: relative; overflow: hidden; background: #d3d0cb; }
.config-preview > img, .config-preview canvas { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 24%; }
.config-preview canvas { z-index: 1; }
.config-preview-label { position: absolute; right: 25px; bottom: 25px; left: 25px; z-index: 2; margin: 0; padding: 16px 19px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,253,249,.91); backdrop-filter: blur(8px); }
.config-preview-label span { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.config-preview-label strong { font-family: var(--display); font-size: 21px; font-weight: 400; }
.config-panel { padding: clamp(35px, 5vw, 72px); display: flex; flex-direction: column; }
.config-panel-head { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.config-panel-head > p:last-child { display: flex; flex-direction: column; align-items: flex-end; margin: 0; }
.config-panel-head strong { font-family: var(--display); font-size: 30px; font-weight: 400; }
.config-panel-head span { color: var(--ink-soft); font-size: 10px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px 18px; margin: 36px 0; }
.swatch { min-width: 0; padding: 0; border: 0; display: flex; align-items: center; gap: 8px; background: none; font-size: 9px; text-align: left; cursor: pointer; }
.swatch::before { content: ""; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: var(--swatch-color); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .2s ease, box-shadow .2s ease; }
.swatch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch:hover::before { transform: scale(1.1); }
.swatch[aria-pressed="true"] { font-weight: 700; }
.swatch[aria-pressed="true"]::before { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--ink); }
.config-footer { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.config-footer p { max-width: 360px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }

.branding-section { background: var(--paper); }
.branding-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 9vw; align-items: center; }
.branding-image { height: 740px; position: relative; overflow: hidden; }
.branding-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82); }
.branding-image span { position: absolute; right: 0; bottom: 0; padding: 24px 28px; background: var(--paper); font-family: var(--display); font-size: 25px; line-height: 1.12; }
.branding-copy h2 { font-size: clamp(47px, 5.3vw, 76px); }
.branding-copy h2 em { color: var(--wine); }
.branding-copy > p:not(.section-index) { max-width: 580px; color: var(--ink-soft); font-size: 18px; }
.branding-list { margin: 46px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.branding-list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.branding-list li::before { content: "—"; margin-right: 20px; color: var(--wine); }

.sample-section { background: var(--wine); color: var(--white); }
.sample-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: center; }
.sample-grid h2 { margin-bottom: 0; font-size: clamp(52px, 6vw, 88px); }
.sample-offer { padding-left: 55px; border-left: 1px solid rgba(255,255,255,.33); }
.sample-offer strong { font-family: var(--display); font-size: clamp(76px, 8vw, 120px); font-weight: 400; line-height: 1; }
.sample-offer p { max-width: 490px; margin: 25px 0 30px; color: rgba(255,255,255,.73); }

.process-head { display: grid; grid-template-columns: 1fr 4fr; gap: 40px; margin-bottom: 70px; }
.process-head > div { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.process-head h2 { margin: 0; font-size: clamp(46px, 5.7vw, 82px); }
.process-head p { color: var(--ink-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.steps article { min-height: 320px; padding: 26px 28px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.steps article:first-child { border-left: 1px solid var(--line); }
.steps span { color: var(--wine); font-family: var(--display); font-size: 17px; }
.steps h3 { margin: auto 0 12px; font-family: var(--display); font-size: 28px; font-weight: 400; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.production { height: 850px; min-height: 850px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--ink); color: var(--white); }
.production-image { height: 100%; min-height: 0; display: grid; place-items: center; position: relative; overflow: hidden; background: #0e0b0c; }
.production-image img, .production-image video { width: 100%; height: 100%; max-height: none; display: block; position: absolute; inset: 0; z-index: 1; object-fit: cover; object-position: 58% center; filter: saturate(.82) contrast(1.03); }
.production-copy { height: 100%; min-height: 0; padding: clamp(70px, 9vw, 140px); display: flex; flex-direction: column; justify-content: center; }
.production-copy h2 { font-size: clamp(49px, 5.5vw, 80px); }
.production-copy > p:not(.eyebrow):not(.production-note) { max-width: 600px; color: rgba(255,255,255,.7); font-size: 18px; }
.production-note { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.47); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.production-note a { color: rgba(255,255,255,.78); text-underline-offset: 5px; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; }
.faq-grid > div:first-child { position: sticky; top: 48px; align-self: start; }
.faq-grid h2 { font-size: clamp(50px, 5.7vw, 82px); }
.faq-grid > div:first-child > p:last-child { max-width: 400px; color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; padding: 24px 54px 24px 0; position: relative; display: flex; align-items: center; font-family: var(--display); font-size: 24px; line-height: 1.25; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; color: var(--wine); font-family: var(--body); font-size: 22px; font-weight: 400; transform: translateY(-50%); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { max-width: 670px; margin: -5px 0 28px; color: var(--ink-soft); }

.request { background: var(--wine-deep); color: var(--white); }
.request-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 10vw; align-items: center; }
.request h2 { max-width: 700px; font-size: clamp(54px, 6.7vw, 96px); }
.request-grid > div > p:not(.eyebrow):not(.max-note) { max-width: 510px; color: rgba(255,255,255,.68); font-size: 18px; }
.direct-contacts { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px 35px; }
.direct-contacts a { font-family: var(--display); font-size: 23px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.46); }
.max-note { margin: 12px 0 0; color: rgba(255,255,255,.48); font-size: 10px; }
.lead-form { padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(255,255,255,.23); background: rgba(255,255,255,.055); }
.lead-form .field { margin-bottom: 26px; }
.lead-form label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.63); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.lead-form input { width: 100%; min-height: 58px; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.42); border-radius: 0; background: transparent; color: var(--white); font-size: 19px; outline: 0; }
.lead-form input::placeholder { color: rgba(255,255,255,.35); }
.lead-form input:focus { border-bottom-color: var(--white); }
.lead-form .button { width: 100%; margin-top: 9px; }
.form-privacy { margin: 14px 0 0; color: rgba(255,255,255,.68); font-size: 9px; line-height: 1.55; text-align: center; }
.form-status { padding: 12px 14px; background: rgba(255,255,255,.1); font-size: 12px; }
.form-status[data-status="success"] { border-left: 2px solid #84b49b; }
.form-status[data-status="error"] { border-left: 2px solid #d9808f; }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 68px 0 24px; background: #171214; color: var(--white); }
.footer-grid { padding-bottom: 55px; display: grid; grid-template-columns: 1.1fr .8fr 1fr auto; gap: 48px; align-items: start; }
.brand-footer { align-items: flex-start; }
.footer-grid > p { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.8; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: 11px; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-contacts a { font-family: var(--display); font-size: 18px; text-decoration: none; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.page-main { background: var(--white); }
.thank-you-page { min-height: 100vh; background: var(--wine-deep); color: var(--white); }
.thank-you-hero { min-height: 760px; padding: 175px 0 110px; display: flex; align-items: center; }
.thank-you-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(60px, 9vw, 140px); align-items: center; }
.thank-you-copy h1 { max-width: 820px; margin: 0 0 34px; font-size: clamp(58px, 7.3vw, 105px); }
.thank-you-lead { max-width: 650px; margin-bottom: 42px; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.6vw, 21px); }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
.thank-you-phone { color: var(--white); font-family: var(--display); font-size: 21px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.48); }
.thank-you-steps { border-top: 1px solid rgba(255,255,255,.28); }
.thank-you-step { min-height: 118px; padding: 24px 0; display: grid; grid-template-columns: 42px 1fr; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
.thank-you-step span { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.thank-you-step h2 { margin: 0 0 7px; font-family: var(--display); font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.thank-you-step p { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.6; }
.page-hero { padding: 175px 0 96px; background: var(--wine-deep); color: var(--white); }
.page-hero .eyebrow { color: rgba(255,255,255,.62); }
.page-hero h1 { max-width: 1060px; margin: 0 0 32px; font-size: clamp(52px, 7vw, 98px); }
.page-hero > .wrap > p:last-child { max-width: 780px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.6vw, 21px); }
.content-area { max-width: 1080px; padding-block: clamp(72px, 8vw, 120px); }
.content-area > *:not(.seo-facts):not(.seo-grid):not(.page-cta):not(.seo-note):not(.production-proof) { max-width: 820px; }
.content-area .page-lead { max-width: 920px; margin-bottom: 72px; color: var(--ink-soft); font-family: var(--display); font-size: clamp(24px, 3vw, 38px); line-height: 1.35; }
.content-area h2 { margin: 72px 0 24px; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.08; }
.content-area h3 { margin-bottom: 12px; font-family: var(--display); font-size: 24px; font-weight: 400; }
.content-area p, .content-area li { color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.content-area a:not(.button) { color: var(--wine); text-underline-offset: 3px; }
.content-area ul, .content-area ol { margin: 0 0 30px; padding-left: 24px; }
.content-area li + li { margin-top: 8px; }
.seo-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 70px 0; border: 1px solid var(--line); }
.seo-facts > div { min-height: 155px; padding: 28px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.seo-facts > div:last-child { border-right: 0; }
.seo-facts strong { font-family: var(--display); font-size: 24px; font-weight: 400; }
.seo-facts span { margin-top: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 50px 0; background: var(--line); border: 1px solid var(--line); }
.seo-grid section { padding: 34px; background: var(--paper); }
.seo-grid section p { margin: 0; font-size: 14px; line-height: 1.7; }
.seo-note { max-width: 820px; margin: 56px 0; padding: 30px 34px; border-left: 3px solid var(--wine); background: var(--paper); }
.seo-note strong { font-family: var(--display); font-size: 22px; font-weight: 400; }
.seo-note p { margin: 8px 0 0; }
.page-cta { margin-top: 100px; padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; background: var(--paper); }
.page-cta h2 { margin: 0 0 24px; }
.page-cta p:last-child { max-width: 600px; margin-bottom: 0; }
.production-proof { margin-top: 96px; padding-top: 86px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.production-proof > header { max-width: 820px; margin-bottom: 52px; }
.production-proof > header h2 { margin-top: 0; }
.production-proof > header > p:last-child { max-width: 680px; }
.production-proof-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 18px; align-items: start; }
.production-video { margin: 0; padding: 14px; background: var(--ink); color: var(--white); }
.production-video video { width: 100%; height: auto; display: block; background: #0e0b0c; aspect-ratio: 9 / 16; }
.production-video figcaption, .production-photo-grid figcaption { padding: 13px 2px 2px; font-size: 9px; font-weight: 700; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.production-video figcaption { color: rgba(255,255,255,.66); }
.production-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.production-photo-grid figure { margin: 0; }
.production-photo-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper-deep); }
.production-photo-grid figcaption { color: var(--ink-soft); }

@media (max-width: 1120px) {
  :root { --wrap: min(100% - 48px, 1100px); }
  .main-nav, .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .hero { grid-template-columns: .9fr 1.1fr; }
  .hero-copy { padding-left: 32px; padding-right: 32px; }
  .hero-copy::before { left: 32px; }
  .hero h1 { font-size: clamp(50px, 6.6vw, 75px); }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .config-footer { grid-template-columns: 1fr; }
  .constructor-heading > div, .process-head > div { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --wrap: calc(100% - 36px); --space-section: 88px; }
  .site-header { position: absolute; }
  .header-row { min-height: 74px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.is-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .site-header.is-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-header.is-open .main-nav { position: fixed; inset: 74px 0 0; display: block; padding: 45px 28px; background: var(--wine-deep); }
  .site-header.is-open .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-open .main-nav a { display: block; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-family: var(--display); font-size: 29px; font-weight: 400; }
  .hero { min-height: 0; display: flex; flex-direction: column-reverse; }
  .hero-visual { height: 72vh; min-height: 560px; }
  .hero-visual::after { background: linear-gradient(0deg, var(--wine-deep) 0%, rgba(60,13,25,.5) 23%, transparent 52%); }
  .hero-visual figcaption { display: none; }
  .hero-copy { margin-top: -110px; padding: 0 18px 70px; }
  .hero-copy::before { display: none; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-code { right: 0; bottom: 5px; font-size: 80px; opacity: .7; }
  .fact-line-inner { width: 100%; grid-template-columns: 1fr 1fr; }
  .fact-line p { min-height: 105px; padding: 20px 18px; }
  .fact-line p:nth-child(odd) { border-left: 0; }
  .fact-line p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .manifesto-grid, .constructor-heading, .process-head { grid-template-columns: 1fr; gap: 20px; }
  .manifesto-lead { margin-top: 35px; padding-left: 22px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 28px; }
  .editorial-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 260px 430px 290px; padding: 0 12px; }
  .gallery-shot-a { grid-column: 1; grid-row: 1; }
  .gallery-shot-b { grid-column: 2; grid-row: 1; }
  .gallery-quote { grid-column: 1 / 3; grid-row: 2; }
  .gallery-shot-c { grid-column: 1; grid-row: 3; }
  .gallery-shot-d { grid-column: 2; grid-row: 3; }
  .gallery-shot-e { grid-column: 1; grid-row: 4; }
  .gallery-shot-f { grid-column: 2; grid-row: 4; }
  .gallery-dialog { padding: 70px 14px 20px; }
  .gallery-dialog[open] { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 7px; }
  .gallery-arrow { width: 42px; height: 42px; }
  .product-grid, .branding-grid, .sample-grid, .request-grid, .faq-grid { grid-template-columns: 1fr; gap: 60px; }
  .product-sticky, .faq-grid > div:first-child { position: static; }
  .constructor-heading > div { grid-template-columns: 1fr; gap: 18px; }
  .configurator { grid-template-columns: 1fr; }
  .config-preview { min-height: 690px; }
  .branding-image { height: 650px; }
  .sample-offer { padding: 40px 0 0; border-top: 1px solid rgba(255,255,255,.33); border-left: 0; }
  .process-head > div { gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps article { min-height: 260px; border-bottom: 1px solid var(--line); }
  .production { height: 850px; min-height: 850px; display: block; position: relative; }
  .production-image { min-height: 850px; height: 850px; position: absolute; inset: 0; }
  .production-image::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(33,27,29,.02) 20%, rgba(33,27,29,.38) 52%, var(--ink) 82%); }
  .production-image img, .production-image video { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
  .production-copy { min-height: 850px; padding: 48px 24px 62px; position: relative; z-index: 3; justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contacts { grid-column: 2; grid-row: 1; }
  .seo-grid { grid-template-columns: 1fr; }
  .page-cta { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .production-proof-layout { grid-template-columns: 1fr; }
  .production-video { width: min(430px, 100%); margin-inline: auto; }
  .thank-you-hero { min-height: 0; padding: 145px 0 90px; }
  .thank-you-layout { grid-template-columns: 1fr; gap: 70px; }
  .thank-you-steps { max-width: 620px; }
}

@media (max-width: 520px) {
  :root { --wrap: calc(100% - 28px); --space-section: 72px; }
  body { font-size: 15px; }
  .brand-word small { display: none; }
  .brand-word strong { font-size: 15px; }
  h2 { font-size: 43px; }
  .hero-visual { min-height: 510px; height: 68vh; }
  .hero-visual img { object-position: center 20%; }
  .hero-copy { margin-top: -85px; padding-bottom: 60px; }
  .hero h1 { margin-bottom: 25px; font-size: clamp(43px, 14vw, 61px); }
  .hero-actions { align-items: stretch; gap: 20px; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-code { display: none; }
  .fact-line strong { font-size: 21px; }
  .fact-line span { font-size: 8px; }
  .manifesto h2, .gallery-heading h2, .product-sticky h2, .constructor-heading h2, .branding-copy h2, .sample-grid h2, .process-head h2, .production-copy h2, .faq-grid h2, .request h2 { font-size: 43px; }
  .manifesto-lead { font-size: 16px; }
  .editorial-gallery { grid-template-rows: 310px 230px 340px 230px; gap: 8px; padding: 0 8px; }
  .gallery-quote { padding: 28px 22px; }
  .gallery-quote p { font-size: 24px; }
  .gallery-dialog[open] { display: flex; align-items: center; justify-content: center; }
  .gallery-arrow { position: fixed; bottom: 18px; }
  .gallery-prev { left: calc(50% - 52px); }
  .gallery-next { right: calc(50% - 52px); }
  .product-features article { grid-template-columns: 1fr; }
  .product-features span { grid-row: auto; }
  .configurator { width: 100%; }
  .config-preview { min-height: 620px; }
  .config-panel { padding: 32px 18px; }
  .config-panel-head { flex-direction: column; gap: 0; }
  .config-panel-head > p:last-child { align-items: flex-start; }
  .swatches { grid-template-columns: repeat(3, 1fr); gap: 15px 8px; }
  .swatch { flex-direction: column; align-items: flex-start; }
  .swatch::before { width: 32px; height: 32px; flex-basis: 32px; }
  .branding-image { height: 520px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 230px; border-left: 1px solid var(--line); }
  .production-copy { padding: 42px 20px 54px; }
  .production-copy h2 { font-size: 40px; }
  .production-copy > p:not(.eyebrow):not(.production-note) { display: none; }
  .faq-list summary { font-size: 21px; }
  .direct-contacts { flex-direction: column; align-items: flex-start; }
  .lead-form { padding: 30px 20px; }
  .page-hero { padding: 130px 0 66px; }
  .page-hero h1 { font-size: 46px; }
  .content-area .page-lead { margin-bottom: 50px; }
  .content-area h2 { margin-top: 55px; font-size: 38px; }
  .seo-facts { grid-template-columns: 1fr; }
  .seo-facts > div { min-height: 105px; border-right: 0; border-bottom: 1px solid var(--line); }
  .seo-facts > div:last-child { border-bottom: 0; }
  .seo-grid section { padding: 26px; }
  .page-cta { margin-top: 70px; padding: 30px 22px; }
  .production-proof { margin-top: 70px; padding-top: 60px; }
  .production-proof > header { margin-bottom: 36px; }
  .production-photo-grid { grid-template-columns: 1fr; gap: 28px; }
  .thank-you-hero { padding: 125px 0 72px; }
  .thank-you-copy h1 { font-size: 48px; line-height: 1.04; }
  .thank-you-actions { align-items: stretch; flex-direction: column; }
  .thank-you-actions .button { width: 100%; }
  .thank-you-phone { align-self: flex-start; }
  .thank-you-step { grid-template-columns: 32px 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-contacts { grid-column: auto; grid-row: auto; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

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