@font-face{font-family:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/92zatBhPNqw73oDd4iYl.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/92zatBhPNqw73oTd4g.woff2) format('woff2');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:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/92zatBhPNqw73oDd4iYl.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/92zatBhPNqw73oTd4g.woff2) format('woff2');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:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/92zatBhPNqw73oDd4iYl.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/92zatBhPNqw73oTd4g.woff2) format('woff2');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:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/gNMKW3F-SZuj7xmb-HY6EQ.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/gNMKW3F-SZuj7xmf-HY.woff2) format('woff2');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:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/gNMKW3F-SZuj7xmb-HY6EQ.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/gNMKW3F-SZuj7xmf-HY.woff2) format('woff2');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:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/gNMKW3F-SZuj7xmb-HY6EQ.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/gNMKW3F-SZuj7xmf-HY.woff2) format('woff2');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}
/* ==========================================================================
   VipShade — одностраничный сайт, вариант 2
   Визуальный язык образца DEX: графит и песочный, тонкий геометрический шрифт,
   плитки с диагональной штриховкой, рамочные линии, карточки со срезанным углом,
   тёмные и светлые секции вперемешку, большие бледные слова за заголовками.
   Своя деталь для штор: занавес, который раздвигается при первом заходе,
   и штриховка в виде складок ткани.
   ========================================================================== */

:root {
  --ink: #232323;
  --ink-2: #2c2c2c;
  --ink-3: #1a1a1a;
  --sand: #c9a26e;
  --sand-hi: #dcb88a;
  --sand-dk: #8f6a38;      /* песочный для мелкого текста на светлом фоне */
  --white: #ffffff;
  --paper: #f6f6f6;
  --head: #1c1c1c;
  --text: #666666;
  --text-dk: #b9b9b9;      /* основной текст на тёмном */
  --line: #e6e6e6;
  --line-dk: #3b3b3b;
  --hatch: repeating-linear-gradient(135deg, rgba(255,255,255,.28) 0 1px, transparent 1px 4px);
  --font-head: 'Jost', 'Segoe UI', system-ui, Arial, sans-serif;
  --font-body: 'Onest', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1200px;
  --head-h: 88px;
  --tile: 168px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; margin: 0; color: var(--head); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--white); color: var(--head); padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.small { font-size: .875rem; line-height: 1.6; }

/* ---------- занавес ---------- */
.curtain { position: fixed; inset: 0; z-index: 500; display: none; pointer-events: none; }
.curtain-on .curtain { display: flex; }
.curtain i { flex: 1; will-change: transform; transition: transform 1.25s cubic-bezier(.76, 0, .2, 1); background: repeating-linear-gradient(90deg, #1d1d1d 0 26px, #272727 26px 28px, #181818 28px 54px, #222 54px 56px); }
.curtain i:first-child { box-shadow: 2px 0 0 var(--sand); }
.curtain i:last-child { box-shadow: -2px 0 0 var(--sand); }
.curtain.open i:first-child { transform: translateX(-101%); }
.curtain.open i:last-child { transform: translateX(101%); }

/* ---------- кнопки ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-pad { margin-top: 48px; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border: 1px solid var(--sand);
  font: 500 .9375rem/1 var(--font-body); text-decoration: none; text-align: center; color: inherit; background: transparent;
  transition: color .3s, background .3s, border-color .3s;
}
.btn-fill { background: var(--sand); color: var(--head); }
.btn-fill:hover { background: var(--sand-hi); border-color: var(--sand-hi); }
.btn-num { font-weight: 500; margin-left: 6px; }
/* контурная кнопка: песочная штриховая плитка слева растягивается на всю кнопку */
.btn-line::before { content: ""; position: absolute; z-index: -1; left: -1px; top: -1px; bottom: -1px; width: 36px; background: var(--sand) var(--hatch); transition: width .45s cubic-bezier(.6, 0, .2, 1); }
.btn-line:hover::before { width: calc(100% + 2px); }
.btn-line:hover { color: var(--head); }
.btn-sm { min-height: 46px; padding: 0 26px 0 44px; font-size: .875rem; }
.btn-msg { padding: 0; min-width: 56px; background: var(--white); border-color: var(--white); }
.btn-msg .btn-ico { width: 28px; height: 28px; object-fit: contain; }
.btn-msg:hover { background: var(--sand-hi); border-color: var(--sand); }
.sec-light .btn-msg, .sec-grey .btn-msg { background: var(--paper); border-color: #d6d6d6; }
.sec-light .btn-msg:hover, .sec-grey .btn-msg:hover { background: var(--sand-hi); border-color: var(--sand); }
.cta-big .btn { min-height: 64px; font-size: 1.0625rem; }
.cta-big .btn-msg { min-width: 64px; }
.cta-big .btn-msg .btn-ico { width: 32px; height: 32px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 60; display: flex; align-items: stretch; height: var(--head-h); background: var(--ink); color: var(--white); }
.brand { flex: 0 0 var(--tile); display: flex; align-items: center; justify-content: center; background: #f3ede4 repeating-linear-gradient(135deg, rgba(201,162,110,.18) 0 1px, transparent 1px 4px); transition: background-color .2s; }
.brand:hover { background-color: #fff; }
.brand img { width: 128px; height: auto; }
.menu { display: none; margin: 0 auto; align-items: center; gap: 24px; padding-inline: 24px; }
.menu a { white-space: nowrap; text-decoration: none; font-size: .9375rem; font-weight: 500; color: #efefef; padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.menu a:hover { color: var(--sand); border-bottom-color: var(--sand); }
.top-right { display: none; align-items: center; gap: 18px; margin-left: auto; padding-right: 28px; }
.top-phone { font-weight: 500; text-decoration: none; white-space: nowrap; }
.top-phone:hover { color: var(--sand); }
.top-sep { width: 1px; height: 30px; background: #5a5a5a; }
.top-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; background: var(--sand); color: var(--head); font-weight: 500; text-decoration: none; transition: background .2s; }
.top-btn:hover { background: var(--sand-hi); }
.burger { flex: 0 0 96px; margin-left: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; background: var(--sand) var(--hatch); transition: background-color .2s; }
.burger:hover { background-color: var(--sand-hi); }
.burger span { width: 24px; height: 2px; background: var(--head); }
@media (min-width: 1100px) { .top-right { display: flex; } .burger { margin-left: 0; } }
@media (min-width: 1420px) { .menu { display: flex; } .top-right { margin-left: 0; } .top-phone, .top-sep { display: none; } }
@media (min-width: 1580px) { .top-phone { display: inline; } .top-sep { display: block; } }

/* ---------- боковая панель ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.62); opacity: 0; transition: opacity .35s; }
.drawer-bg.is-on { opacity: 1; }
.drawer-bg[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100vw); overflow-y: auto; background: var(--ink); color: var(--text-dk); padding: 36px 36px 44px; transform: translateX(100%); visibility: hidden; transition: transform .45s cubic-bezier(.6, 0, .2, 1), visibility 0s .45s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.drawer-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid var(--line-dk); background: transparent; color: var(--white); font-size: 1.7rem; line-height: 1; transition: .2s; }
.drawer-x:hover { background: var(--sand); border-color: var(--sand); color: var(--head); }
.drawer-logo { width: 150px; height: auto; margin-bottom: 28px; background: #f3ede4; padding: 10px 14px; }
.drawer-menu { display: flex; flex-direction: column; margin-bottom: 30px; border-top: 1px solid var(--line-dk); }
.drawer-menu a { padding: 14px 0; border-bottom: 1px solid var(--line-dk); text-decoration: none; color: var(--white); font-family: var(--font-head); font-size: 1.25rem; transition: color .2s, padding .2s; }
.drawer-menu a:hover { color: var(--sand); padding-left: 8px; }
@media (min-width: 1420px) { .drawer-menu { display: none; } }
.drawer-info h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.drawer-info p { margin-bottom: 8px; font-size: .9688rem; }
.drawer-info a { color: var(--white); text-decoration: none; }
.drawer-info a:hover { color: var(--sand); }
.drawer-msg { display: flex; gap: 10px; margin: 24px 0 28px; }
.msg { display: grid; place-items: center; width: 56px; height: 56px; background: var(--white); border: 1px solid var(--white); transition: .2s; }
.msg img { width: 30px; height: 30px; object-fit: contain; }
.msg:hover { background: var(--sand-hi); border-color: var(--sand); }
.drawer-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- появление блоков ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
}

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: clamp(620px, calc(100vh - var(--head-h)), 820px); padding: 96px 0 190px; display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: 70% 50%; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.hero-slide.is-on { opacity: 1; animation: slow 14s ease-out forwards; }
@keyframes slow { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero-shade { background: linear-gradient(90deg, rgba(24,24,24,.94) 0%, rgba(24,24,24,.82) 34%, rgba(24,24,24,.42) 66%, rgba(24,24,24,.18) 100%), linear-gradient(0deg, rgba(24,24,24,.55) 0%, transparent 35%); }
.hero-line { position: absolute; background: rgba(255,255,255,.26); z-index: 1; display: none; }
.hero-line-v { left: var(--tile); top: 0; bottom: 0; width: 1px; }
.hero-line-h { left: 0; right: 0; bottom: 118px; height: 1px; }
.hero-rail { position: absolute; z-index: 2; left: 0; top: 50%; transform: translateY(-50%); width: var(--tile); display: none; flex-direction: column; align-items: center; gap: 16px; }
.rail-title { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--sand); font-size: .875rem; letter-spacing: .04em; }
.rail-bar { width: 1px; height: 54px; background: var(--sand); }
.hero-rail a { display: block; padding: 4px; transition: transform .2s; }
.hero-rail a:hover { transform: scale(1.18); }
.hero-rail img { width: 26px; height: 26px; }
.hero-arrow { position: absolute; z-index: 2; top: 50%; margin-top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 0; background: rgba(38,38,38,.72); color: var(--white); font-size: 1.4rem; display: none; place-items: center; transition: background .2s, color .2s; }
.hero-arrow:hover { background: var(--sand); color: var(--head); }
.hero-prev { left: calc(var(--tile) + 30px); }
.hero-next { right: 120px; }
.hero-in { position: relative; z-index: 2; }
.hero-text { max-width: 840px; }
.eyebrow { font-size: .9375rem; color: var(--sand-dk); margin-bottom: 12px; font-weight: 500; letter-spacing: .02em; }
.sec-dark .eyebrow, .hero .eyebrow { color: var(--sand); }
.hero h1 { color: var(--white); font-weight: 300; font-size: clamp(2.7rem, 6vw, 4.9rem); line-height: 1.06; }
.hero h1 span { display: block; color: var(--sand); }
.hero-sub { margin-top: 26px; max-width: 580px; font-size: 1.125rem; color: #ececec; }
.hero-note { margin: 22px 0 28px; color: #fff; font-weight: 500; }
@media (min-width: 1100px) {
  .hero-line, .hero-rail { display: flex; }
  .hero-line { display: block; }
  .hero-in { padding-left: calc(var(--tile) + 44px); }
}
@media (min-width: 1360px) { .hero-arrow { display: grid; } }

/* ---------- факты (карточки на стыке с первым экраном) ---------- */
.facts { position: relative; z-index: 3; background: var(--white); padding-bottom: 80px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: -112px; }
.fact { position: relative; isolation: isolate; overflow: hidden; background: var(--white); text-align: center; padding: 44px 26px 38px; box-shadow: 0 12px 44px rgba(0,0,0,.12); display: flex; flex-direction: column; align-items: center; transition: transform .35s; }
.fact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(176,132,72,.9), rgba(176,132,72,.9)), url(../img/card-bg.jpg) center / cover; opacity: 0; transition: opacity .45s; }
.fact:hover, .fact-on { transform: translateY(-4px); }
.fact:hover::before, .fact-on::before { opacity: 1; }
.ico { width: 56px; height: 56px; fill: none; stroke: var(--sand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.fact h2 { font-size: 1.5rem; margin: 20px 0 12px; transition: color .3s; }
.fact p { font-size: .9688rem; margin-bottom: 26px; transition: color .3s; }
.fact .btn { margin-top: auto; color: var(--head); }
.fact:hover h2, .fact-on h2, .fact:hover p, .fact-on p { color: var(--white); }
.fact:hover .ico, .fact-on .ico { stroke: var(--white); }
.fact:hover .btn, .fact-on .btn { border-color: var(--white); color: var(--white); }
.fact:hover .btn::before, .fact-on .btn::before { background: var(--white); }
.fact .btn:hover { color: var(--head); }
.info-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.info-strip p { font-size: .875rem; padding-right: 32px; }
.info-strip p + p { padding-left: 32px; border-left: 1px solid var(--line); }

/* ---------- секции ---------- */
.sec { position: relative; padding: 112px 0; overflow: hidden; --sec-bg: var(--white); --cut-line: #d9d9d9; }
.sec-dark { background: var(--ink); color: var(--text-dk); --sec-bg: var(--ink); --cut-line: #4b4b4b; }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-grey { background: var(--paper); --sec-bg: var(--paper); }
.sec > .wrap { position: relative; z-index: 1; }
.sec[data-ghost]::before { content: attr(data-ghost); position: absolute; z-index: 0; top: 64px; left: max(20px, calc(50vw - 560px)); font-family: var(--font-head); font-weight: 300; font-size: clamp(5.5rem, 15vw, 14rem); line-height: .8; letter-spacing: .02em; color: rgba(35,35,35,.04); pointer-events: none; user-select: none; white-space: nowrap; }
.sec-dark[data-ghost]::before { color: rgba(255,255,255,.035); }
.lines { position: relative; }
.lines::before { content: ""; position: absolute; z-index: -1; top: -112px; bottom: -112px; left: 20px; right: 20px; border-right: 1px solid rgba(0,0,0,.06); background: linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 25% 100%; pointer-events: none; }
.sec-head { max-width: 780px; margin-bottom: 52px; padding-left: 22px; border-left: 1px solid var(--sand); }
.sec-head h2, .about-text h2, .geo h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sec-head .lead { margin-top: 18px; font-size: 1.0625rem; max-width: 680px; }
.after-grid { margin-top: 36px; max-width: 760px; }
.cut { position: relative; }
.cut::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 34px; height: 34px; background: linear-gradient(135deg, transparent calc(50% - 1px), var(--cut-line) calc(50% - 1px), var(--cut-line) 50%, var(--sec-bg) 50%); pointer-events: none; }
.sq li { position: relative; padding-left: 30px; margin-top: 12px; }
.sq li::before { content: ""; position: absolute; left: 0; top: .5em; width: 13px; height: 13px; border: 1px solid var(--sand); background: radial-gradient(var(--sand) 0 3px, transparent 3.5px); }

/* ---------- работы ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chip { min-height: 46px; padding: 0 22px; border: 1px solid #4a4a4a; background: transparent; color: #e4e4e4; font-weight: 500; font-size: .9375rem; transition: .25s; }
.chip:hover { border-color: var(--sand); color: var(--sand); }
.chip.is-on { background: var(--sand); border-color: var(--sand); color: var(--head); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.album { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); color: var(--white); text-decoration: none; isolation: isolate; }
.album[hidden] { display: none; }
.album img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); transition: transform .7s ease, filter .5s; }
.album::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,20,20,.86) 0%, rgba(20,20,20,.3) 42%, rgba(20,20,20,0) 70%); }
.album::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.0); transition: border-color .4s, inset .4s; pointer-events: none; }
.album:hover img { transform: scale(1.05); filter: brightness(1); }
.album:hover::after { border-color: rgba(255,255,255,.7); inset: 12px; }
.album-n { position: absolute; top: 0; right: 0; background: var(--sand); color: var(--head); font-size: .8125rem; font-weight: 600; padding: 7px 14px; }
.album-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 26px; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.16; text-wrap: balance; }
.more-row { display: flex; justify-content: center; margin-top: 30px; }
.more-row[hidden], #more[hidden] { display: none; }
.sec-dark .after-grid { color: var(--text-dk); }

/* ---------- видео ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.video-card { margin: 0; }
.video-box { position: relative; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.video-box video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.video-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; background: var(--sand) var(--hatch); display: grid; place-items: center; transition: transform .3s, background-color .3s; }
.video-play span { width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--head); }
.video-play:hover { transform: scale(1.08); background-color: var(--sand-hi); }
.video-box.is-playing .video-play { display: none; }
.video-box.is-error::after { content: "Ролик пока недоступен"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,20,20,.9); color: #ddd; font-size: .9375rem; }
.video-box.is-error .video-play { display: none; }
.video-card figcaption { padding: 16px 2px 0; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; color: var(--white); }

/* ---------- как работаем ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px; }
.steps li { position: relative; }
.step-n { position: relative; display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin-bottom: 30px; border: 1px solid var(--sand); border-radius: 50%; background: var(--white); font-family: var(--font-head); font-size: 2rem; color: var(--sand-dk); z-index: 1; }
.step-n::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; background: var(--white); border-right: 1px solid var(--sand); border-bottom: 1px solid var(--sand); transform: rotate(45deg); }
.steps li:not(:nth-child(4n))::after { content: ""; position: absolute; top: 39px; left: 92px; right: -14px; border-top: 1px dashed var(--sand); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.6rem; margin-bottom: 8px; }
.steps p { font-size: .9688rem; }

/* ---------- стоимость ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.price-card { background: var(--white); padding: 40px 34px 46px; box-shadow: 0 10px 36px rgba(0,0,0,.06); transition: transform .35s; }
.price-card:hover { transform: translateY(-4px); }
.price-card h3 { font-size: 1.8rem; }
.price { margin: 16px 0 14px; font-family: var(--font-head); font-size: 2.7rem; line-height: 1; color: var(--sand-dk); }
.price small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: .8125rem; color: var(--text); }
.price-card-on { background: linear-gradient(rgba(176,132,72,.92), rgba(176,132,72,.92)), url(../img/card-bg.jpg) center / cover; color: #fff; }
.price-card-on h3, .price-card-on .price, .price-card-on small { color: #fff; }
.price-card-on { --cut-line: #e6cba5; }
.price-note { margin-top: 24px; }
.compose { margin-top: 44px; max-width: 820px; }
.compose h3 { font-size: 1.8rem; margin-bottom: 6px; }
.compose .small { margin-top: 20px; }

/* ---------- виды штор ---------- */
.kinds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.kind { background: var(--ink-2); border: 1px solid var(--line-dk); display: flex; flex-direction: column; transition: border-color .3s; }
.kind:hover { border-color: var(--sand); }
.kind-img { overflow: hidden; }
.kind img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: brightness(.85); transition: transform .7s ease, filter .5s; }
.kind:hover img { transform: scale(1.05); filter: brightness(1); }
.kind-body { padding: 26px 26px 40px; }
.kind h3 { font-size: 1.7rem; }
.kind p { margin-top: 10px; font-size: .9688rem; }

/* ---------- комнаты ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.room { background: var(--white); border: 1px solid var(--line); padding: 28px 24px 30px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.room:hover { border-color: var(--sand); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.08); }
.room h3 { font-size: 1.45rem; }
.room p { margin-top: 10px; font-size: .9375rem; }

/* ---------- о мастере ---------- */
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.about-photo { position: relative; max-width: 470px; width: 100%; justify-self: center; }
.about-photo::before { content: ""; position: absolute; left: -24px; top: -24px; width: 52%; height: 44%; border-left: 1px solid var(--sand); border-top: 1px solid var(--sand); }
.about-photo figure { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.plate { position: absolute; z-index: 2; left: -34px; bottom: 34px; background: var(--ink); color: var(--white); padding: 26px 30px 24px; display: flex; flex-direction: column; min-width: 190px; }
.plate b { font-family: var(--font-head); font-weight: 300; font-size: 2.9rem; line-height: 1; color: var(--sand); }
.plate span { margin-top: 6px; }
.about-text p { margin-top: 20px; max-width: 560px; }
.about-text h2 { margin-bottom: 4px; }
.salon { display: flex; gap: 14px; margin: 30px 0 18px; }
.salon img { width: 138px; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- партнёры ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.partner { background: var(--white); border: 1px solid var(--line); padding: 40px 38px 46px; }
.partner h3 { font-size: 1.9rem; margin-bottom: 10px; }
.partner .small { margin-top: 22px; }

/* ---------- договор ---------- */
.contract-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; }
.contract-list li { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border: 1px solid var(--line-dk); color: var(--white); font-size: 1.0625rem; transition: border-color .3s; }
.contract-list li:hover { border-color: var(--sand); }
.ck { flex: 0 0 auto; width: 30px; height: 30px; background: var(--sand); position: relative; margin-top: 2px; }
.ck::after { content: ""; position: absolute; left: 8px; top: 8px; width: 13px; height: 7px; border-left: 2px solid var(--head); border-bottom: 2px solid var(--head); transform: rotate(-45deg); }

/* ---------- география ---------- */
.geo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; align-items: start; }
.geo p { margin-top: 20px; max-width: 640px; }
.cities { display: flex; flex-direction: column; gap: 12px; }
.cities li { background: var(--white); border: 1px solid var(--line); padding: 16px 22px; color: var(--head); font-weight: 500; }

/* ---------- вопросы ---------- */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid #dcdcdc; }
.faq details:first-child { border-top: 1px solid #dcdcdc; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.15; color: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--sand); font-family: var(--font-body); font-size: 1.5rem; line-height: 1; color: var(--sand-dk); transition: .25s; }
.faq details[open] summary::after { content: "–"; background: var(--sand); color: var(--head); }
.faq details p { padding: 0 60px 28px 0; }

/* ---------- контакты ---------- */
.contacts { padding-bottom: 120px; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); margin-top: 60px; }
.contact-sand { margin: 0; padding: 44px 44px 36px; background: var(--sand) var(--hatch); color: var(--head); display: grid; gap: 22px; }
.contact-sand dt { font-family: var(--font-head); font-size: 1.35rem; }
.contact-sand dd { margin: 2px 0 0; color: #2e2618; }
.contact-sand a { text-decoration: none; }
.contact-sand a:hover { text-decoration: underline; }
.map-box { display: flex; flex-direction: column; border: 1px solid var(--line-dk); border-left: 0; min-width: 0; }
.map-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 22px 28px 18px; }
.map-head h3 { font-size: 1.7rem; color: var(--white); }
.map-head a { color: var(--sand); text-underline-offset: 3px; }
.map-head a:hover { color: var(--sand-hi); }
.map-area { flex: 1 1 auto; min-height: 420px; background: var(--ink-2); overflow: hidden; }
.map-area > *, .map-area iframe { max-width: 100%; }
.map-area iframe { width: 100% !important; border: 0; display: block; }
.map-area p { padding: 20px 28px; }

/* ---------- подвал ---------- */
.foot { background: var(--ink-3); color: #a9a9a9; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 56px; padding-block: 72px 56px; }
.foot h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 20px; }
.foot-logo { display: inline-flex; padding: 12px 18px; margin-bottom: 20px; background: #f3ede4 repeating-linear-gradient(135deg, rgba(201,162,110,.18) 0 1px, transparent 1px 4px); }
.foot-logo img { width: 110px; height: auto; }
.foot-brand p { max-width: 380px; }
.foot-msg { display: flex; gap: 10px; margin-top: 22px; }
.foot-msg a { display: grid; place-items: center; width: 46px; height: 46px; background: var(--white); transition: transform .2s; }
.foot-msg a:hover { transform: translateY(-3px); }
.foot-msg img { width: 26px; height: 26px; }
.foot-list li { margin-bottom: 10px; }
.foot-list a { text-decoration: none; }
.foot-list a::before { content: "+ "; color: var(--sand); }
.foot-list a:hover, .foot-contact a:hover { color: var(--sand); }
.foot-contact li { margin-bottom: 14px; }
.foot-contact span { display: block; color: var(--white); font-weight: 500; }
.foot-contact a { text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px; border-top: 1px solid #333; font-size: .875rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--sand); }

/* ---------- закреплённая панель, «наверх», подсказка ---------- */
.dock { display: none; }
.to-top { position: fixed; right: 24px; bottom: 28px; z-index: 40; width: 54px; height: 54px; border: 0; background: var(--sand); color: var(--head); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sand-hi); }
.to-top svg { width: 24px; height: 24px; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 90; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 14px 22px; max-width: min(92vw, 440px); text-align: center; border: 1px solid var(--sand); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.toast[hidden] { display: none; }

/* ---------- окна ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(14,14,14,.96); }
.lightbox[open] { display: flex; flex-direction: column; }
.lb-top { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 24px 8px; }
.lb-info { min-width: 0; }
.lb-title { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.15; }
.lb-count { margin-top: 4px; color: var(--sand); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); width: 52px; height: 52px; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: .2s; flex: 0 0 auto; }
.lb-close:hover, .lb-nav:hover { background: var(--sand); border-color: var(--sand); color: var(--head); }
.lb-nav[hidden] { display: none; }
.lb-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; }
.lb-stage img { flex: 0 1 auto; min-width: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-strip { flex: 0 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 14px 24px 20px; justify-content: safe center; }
.lb-strip[hidden] { display: none; }
.lb-strip button { flex: 0 0 auto; width: 68px; height: 68px; padding: 0; border: 1px solid transparent; background: #000; opacity: .5; transition: .2s; }
.lb-strip button img { width: 100%; height: 100%; object-fit: cover; }
.lb-strip button:hover { opacity: .9; }
.lb-strip button.is-on { opacity: 1; border-color: var(--sand); }
.policy { border: 0; padding: 0; max-width: min(94vw, 840px); width: 100%; max-height: 90vh; background: var(--white); color: var(--text); }
.policy::backdrop { background: rgba(10,10,10,.7); }
.policy[open] { display: flex; }
.policy-in { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 30px 34px; width: 100%; min-height: 0; max-height: 90vh; }
.policy-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; }
.policy h2 { font-size: 2rem; }
.policy-x { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; flex: 0 0 auto; }
.policy-x:hover { background: var(--sand); border-color: var(--sand); }
.policy-text { overflow-y: auto; min-height: 0; flex: 1 1 auto; padding-right: 10px; font-size: .9375rem; }
.policy-text h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; margin: 22px 0 8px; }
.policy-text p { margin: 0 0 10px; }
.policy-text ul { margin: 0 0 10px; padding-left: 20px; list-style: disc; }
.policy-text li { margin-bottom: 4px; }

/* ---------- планшет ---------- */
@media (max-width: 1100px) {
  .sec { padding: 88px 0; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-strip { grid-template-columns: 1fr; gap: 14px; }
  .info-strip p, .info-strip p + p { padding: 0; border: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:not(:nth-child(4n))::after { display: none; }
  .steps li:nth-child(odd):not(:last-child)::after { display: block; }
  .price-grid, .kinds-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 64px; }
  .about-photo { justify-self: start; margin-left: 34px; }
  .geo { grid-template-columns: 1fr; gap: 36px; }
  .contact-panel { grid-template-columns: 1fr; }
  .map-box { border-left: 1px solid var(--line-dk); border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .lines::before { background-size: 33.333% 100%; }
}

/* ---------- телефон ---------- */
@media (max-width: 899.98px) {
  :root { --head-h: 68px; }
  body { padding-bottom: 76px; }
  .burger { flex-basis: 76px; }
  .brand { flex-basis: 128px; }
  .brand img { width: 100px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--ink); box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
  .dock .btn { min-height: 52px; padding: 0 4px; font-size: .875rem; }
  .dock .btn-msg .btn-ico { width: 26px; height: 26px; }
  .to-top { bottom: 92px; right: 14px; width: 48px; height: 48px; }
  .toast { bottom: 94px; }
}
@media (max-width: 700px) {
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; padding-left: 16px; }
  .sec[data-ghost]::before { top: 40px; }
  .hero { padding: 56px 0 150px; min-height: 0; }
  .hero-shade { background: linear-gradient(0deg, rgba(24,24,24,.9) 0%, rgba(24,24,24,.72) 55%, rgba(24,24,24,.55) 100%); }
  .hero-sub { font-size: 1.0625rem; }
  .cta { gap: 10px; }
  .cta .btn-fill { flex: 1 1 100%; }
  .cta .btn-msg { flex: 1 1 0; }
  .facts-grid { grid-template-columns: 1fr; gap: 16px; margin-top: -90px; }
  .fact { padding: 32px 22px 30px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 36px 96px; min-height: 78px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li .step-n { position: absolute; left: 0; top: 0; margin: 0; width: 66px; height: 66px; font-size: 1.7rem; }
  .steps li:not(:last-child)::after, .steps li:nth-child(odd):not(:last-child)::after { display: block; top: 74px; bottom: 6px; left: 33px; right: auto; width: 0; border-top: 0; border-left: 1px dashed var(--sand); }
  .price-grid, .kinds-grid, .partners-grid, .contract-list, .video-grid { grid-template-columns: 1fr; }
  .video-play { width: 68px; height: 68px; }
  .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .room { padding: 20px 16px 22px; }
  .room h3 { font-size: 1.25rem; }
  .room p { font-size: .875rem; }
  .gallery { gap: 10px; }
  .album-t { font-size: 1.1rem; padding: 16px 14px 14px; }
  .album-n { font-size: .75rem; padding: 5px 10px; }
  .faq summary { font-size: 1.3rem; padding: 18px 0; }
  .faq details p { padding-right: 0; }
  .plate { left: -12px; bottom: 22px; padding: 18px 20px; min-width: 150px; }
  .plate b { font-size: 2.2rem; }
  .about-photo { margin-left: 24px; }
  .contact-sand { padding: 30px 24px; }
  .map-head { padding: 18px 18px 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 40px; }
  .lb-nav { display: none; }
  .lb-title { font-size: 1.25rem; }
  .lb-stage { padding: 0 8px; }
  .lb-strip button { width: 54px; height: 54px; }
  .policy-in { padding: 22px 18px; }
  .policy h2 { font-size: 1.6rem; }
  .drawer { padding: 28px 22px 36px; }
}
@media (max-width: 359.98px) { .rooms-grid { grid-template-columns: 1fr; } }
