/* СОБРАНО tools/build_css.py — не править, правьте fonts.css / style.css / inner.css */
/* Cormorant + Montserrat — свои копии (cyrillic + latin), без запроса к Google Fonts */
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-italic-cyrillic-fecbe5.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-italic-latin-99e1d1.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;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-italic-cyrillic-fecbe5.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-italic-latin-99e1d1.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;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-normal-cyrillic-5cadd4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-normal-latin-3e0e6b.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;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-normal-cyrillic-5cadd4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-normal-latin-3e0e6b.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;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-normal-cyrillic-5cadd4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-normal-latin-3e0e6b.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;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-normal-cyrillic-79ee10.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin-e56e84.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;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-normal-cyrillic-79ee10.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin-e56e84.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;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-normal-cyrillic-79ee10.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin-e56e84.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;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-normal-cyrillic-79ee10.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin-e56e84.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;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-normal-cyrillic-79ee10.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-normal-latin-e56e84.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;
}

/* Велемстрой — макет главной (Cyborg Studio, 2026)
   Стиль: Exaggerated Minimalism (ui-ux-pro-max) в палитре текущего сайта */
:root {
  --red: #d7413e; /* красный логотипа rgb(215,65,62) */
  --red-d: #d7413e;
  --brown: #474038;
  --ink: #000000;
  --ink-2: #000000;
  --cream: #faf8f3;
  --sand: #f2ede5;
  --powder: #dfd4d4;
  --taupe: #8f7d7d;
  --stone: #b1acac;
  --text: #2b2621;
  --muted: #675d54;
  --line: rgba(71, 64, 56, .16);
  --line-d: rgba(250, 248, 243, .14);

  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --g: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --r: 6px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr: 84px;
  --z-hdr: 40; --z-menu: 60; --z-cursor: 80; --z-modal: 100; --z-intro: 120;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font: 400 16px/1.65 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ol { margin: 0; padding: 0; }
ol { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--g) * 2); margin: 0 auto; padding: 0 var(--g); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { width: 14px; height: 14px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .num { color: var(--red); font-feature-settings: "tnum"; }
.eyebrow .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .6; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(215, 65, 62, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 65, 62, .55); } 70% { box-shadow: 0 0 0 12px rgba(215, 65, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 65, 62, 0); } }

.h2 {
  font: 500 clamp(40px, 6.4vw, 96px)/.95 var(--serif); letter-spacing: -.02em; color: var(--ink);
  margin-top: 18px; text-wrap: balance;
}
.h2 em, .hero__title em, .about__quote em, .ftr__big em { color: var(--red); font-weight: 400; }
.dark .h2 { color: var(--cream); }
.dark .eyebrow { color: rgba(250, 248, 243, .62); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .3s var(--ease), box-shadow .3s var(--ease);
  touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn--red { --bg: var(--red-d); --fg: #fff; box-shadow: 0 10px 30px -12px rgba(215, 65, 62, .7); }
.btn--red::before { background: var(--ink); }
.dark .btn--red::before, .cta .btn--red::before, .hero .btn--red::before { background: var(--cream); }
.dark .btn--red:hover, .cta .btn--red:hover, .hero .btn--red:hover { color: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--brown); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn--wide { width: 100%; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: var(--z-intro); background: var(--ink); display: grid; place-items: center; pointer-events: none; }
.intro__roof { width: min(220px, 50vw); fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: square; stroke-dasharray: 260; stroke-dashoffset: 260; }
html:not(.js) .intro, .is-ready .intro { display: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: var(--z-hdr); height: var(--hdr); color: var(--cream); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s, transform .5s var(--ease); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr__logo { position: relative; flex: none; display: block; width: 92px; }
.hdr__logo img { width: 92px; height: auto; transition: opacity .35s; }
.hdr__logo .logo-d { position: absolute; inset: 0; opacity: 0; }
.hdr.is-solid { background: rgba(250, 248, 243, .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid .logo-w { opacity: 0; }
.hdr.is-solid .logo-d { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 12px; font: 500 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__item { position: relative; }
.nav__item .ic-s { transition: transform .3s; }
.nav__item:hover .ic-s { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 14px); left: -24px; display: flex; gap: 40px; padding: 28px 32px;
  background: var(--cream); color: var(--text); border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; width: max-content;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover .sub, .nav__item:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub__col { display: flex; flex-direction: column; min-width: 220px; }
.sub__h { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red-d); margin-bottom: 12px; }
.sub__col a { padding: 7px 0; font-size: 14px; transition: color .2s, transform .25s var(--ease); }
.sub__col a:hover { color: var(--red-d); transform: translateX(4px); }
.sub__card { position: relative; width: 220px; border-radius: 8px; overflow: hidden; align-self: stretch; min-height: 240px; color: #fff; }
.sub__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sub__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .85)); }
.sub__card span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font: 600 14px/1.35 var(--sans); display: flex; gap: 8px; align-items: flex-end; }
.sub__card:hover img { transform: scale(1.06); }
.sub--xs .sub__col { min-width: 180px; }
.hdr__right { display: flex; align-items: center; gap: 18px; flex: none; }
.lang { display: flex; gap: 2px; font: 600 12px/1 var(--sans); letter-spacing: .08em; }
.lang a { padding: 8px 6px; opacity: .55; transition: opacity .2s; min-width: 32px; text-align: center; }
.lang a[aria-current], .lang a:hover { opacity: 1; }
.lang a[aria-current] { color: var(--red); }
.phones { position: relative; }
.phones__main { display: flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); height: 44px; white-space: nowrap; }
.phones__main .ic { width: 18px; height: 18px; color: var(--red); }
.phones__more { position: absolute; top: 100%; right: 0; display: flex; flex-direction: column; padding: 10px 16px; background: var(--cream); color: var(--text); border-radius: 8px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); }
.phones__more a { padding: 8px 0; font: 600 14px/1 var(--sans); white-space: nowrap; }
.phones__more a:hover { color: var(--red-d); }
.phones:hover .phones__more, .phones:focus-within .phones__more { opacity: 1; visibility: visible; transform: none; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px currentColor; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink); color: var(--cream); overflow-y: auto; padding: calc(var(--hdr) + 12px) var(--g) 120px; }
.mnav[hidden] { display: none; }
.mnav.is-open { animation: menuIn .45s var(--ease); }
@keyframes menuIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
.mnav__in { max-width: 560px; margin: 0 auto; }
.mnav details { border-bottom: 1px solid var(--line-d); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 500 30px/1.1 var(--serif); cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .ic { transition: transform .3s; }
.mnav details[open] summary .ic { transform: rotate(180deg); color: var(--red); }
.mnav details a { display: block; padding: 10px 0 10px 14px; font-size: 15px; color: rgba(250, 248, 243, .78); border-left: 1px solid var(--line-d); }
.mnav details[open] { padding-bottom: 12px; }
.mnav__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; padding: 22px 0; }
.mnav__links a { padding: 10px 0; font: 500 15px/1.2 var(--sans); }
.mnav__foot { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.mnav__foot > a { font: 600 18px/1.4 var(--sans); padding: 4px 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(680px, 100svh); background: var(--ink); color: var(--cream); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__house { position: absolute; inset: 0; --l: var(--g); --t: calc(var(--hdr) + 12px); --e: calc(var(--hdr) + 12px + 20svh); }
.hero__frame { position: absolute; inset: 0; clip-path: polygon(var(--l) var(--e), 50% var(--t), calc(100% - var(--l)) var(--e), calc(100% - var(--l)) 100%, var(--l) 100%); overflow: hidden; background: #111111; }
.hero__frame picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 60%; transform-origin: 50% 70%; }
.hero__plan { position: absolute; top: calc(var(--hdr) + 12px); left: var(--g); right: var(--g); bottom: 0; width: calc(100% - var(--g) * 2); height: calc(100% - var(--hdr) - 12px); fill: none; stroke: var(--cream); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; }
.hero__plan path { vector-effect: non-scaling-stroke; }
.hero__plan .dim { stroke: var(--red); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .05) 100%), linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, transparent 45%); pointer-events: none; }
.hero__in { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 96px); padding-top: calc(var(--hdr) + 22vh); }
.hero__eyebrow { color: rgba(250, 248, 243, .85); }
.hero__title { margin-top: 22px; font: 500 clamp(44px, 7.2vw, 124px)/.92 var(--serif); letter-spacing: -.03em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero__title .ln > span { display: inline-block; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 38px; }
.gift { display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px; background: rgba(250, 248, 243, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(250, 248, 243, .22); transition: background .3s; min-height: 54px; }
.gift:hover { background: rgba(250, 248, 243, .18); }
.gift__ic { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--red); display: grid; place-items: center; }
.gift__ic .ic { animation: wiggle 3.2s var(--ease) infinite; }
@keyframes wiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 94% { transform: rotate(-6deg); } }
.gift b { display: block; font: 600 14px/1.2 var(--sans); }
.gift small { display: block; font-size: 12px; opacity: .72; margin-top: 2px; }
.hero__scroll { position: absolute; z-index: 2; right: max(6px, calc(var(--g) / 2 - 8px)); bottom: 40px; display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(250, 248, 243, .7); }
.hero__scroll span { width: 1px; height: 64px; background: rgba(250, 248, 243, .25); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.js:not(.is-ready) .hero__in > * { visibility: hidden; }
.js:not(.is-ready) .hero__house::after { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: 1; }

/* ---------- stats ---------- */
.stats { background: var(--ink); color: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px 44px; border-left: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 10px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font: 500 clamp(52px, 6vw, 88px)/.9 var(--serif); letter-spacing: -.02em; font-feature-settings: "tnum", "lnum"; }
.stat__n::first-letter { color: inherit; }
.stat__n { color: var(--cream); }
.stat__n span + * { color: var(--red); }
.stat > span { font-size: 14px; line-height: 1.45; color: rgba(250, 248, 243, .7); max-width: 22ch; }

.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font: italic 400 clamp(26px, 3vw, 40px)/1 var(--serif); white-space: nowrap; }
.ticker i { width: 22px; height: 12px; flex: none; border: solid #fff; border-width: 2px 2px 0 0; transform: rotate(-45deg) skew(10deg, 10deg); opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.dark { background: var(--ink-2); color: var(--cream); }
.sec__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec__more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }

/* tabs / segmented */
.tabs { position: relative; display: inline-flex; margin-top: 32px; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.tab { position: relative; z-index: 1; min-height: 44px; padding: 0 26px; border-radius: 999px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.tab.is-on { color: #fff; }
.tabs__bar { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }

/* ---------- works ---------- */
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.works__grid[hidden] { display: none; }
.works__grid .work:nth-child(3n+2) { margin-top: 90px; }
.work { display: block; cursor: pointer; }
.work figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.work img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.1s var(--ease), filter .6s; }
.work:hover img { transform: scale(1.1); }
.work figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35)); opacity: 0; transition: opacity .5s; }
.work:hover figure::after { opacity: 1; }
.work__cap { padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.work__tag { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red-d); }
.work h3 { font: 500 18px/1.35 var(--sans); color: var(--ink); transition: color .3s; }
.work:hover h3 { color: var(--red-d); }
#works-design .work figure { aspect-ratio: 700 / 564; }
#works-design .work:nth-child(3n+2) { margin-top: 60px; }

/* ---------- packages ---------- */
.pk__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pk__list { border-top: 1px solid var(--line-d); counter-reset: pk; }
.pk__row { position: relative; display: grid; grid-template-columns: 52px 1fr auto 40px; align-items: center; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line-d); transition: padding .45s var(--ease); }
.pk__row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pk__row.is-on::before, .pk__row:hover::before { transform: scaleX(1); }
.pk__i { font: 600 12px/1 var(--sans); letter-spacing: .12em; color: rgba(250, 248, 243, .45); transition: color .3s; }
.pk__name { font: 500 clamp(30px, 3.6vw, 54px)/1 var(--serif); letter-spacing: -.01em; color: rgba(250, 248, 243, .62); transition: color .35s, transform .45s var(--ease); }
.pk__price { font: 500 clamp(16px, 1.5vw, 20px)/1 var(--sans); font-feature-settings: "tnum"; color: var(--cream); white-space: nowrap; }
.pk__go { width: 26px; height: 26px; color: rgba(250, 248, 243, .5); justify-self: end; transition: transform .45s var(--ease), color .3s; }
.pk__thumb { display: none; }
.pk__row.is-on .pk__name, .pk__row:hover .pk__name { color: var(--cream); transform: translateX(10px); }
.pk__row.is-on .pk__i, .pk__row:hover .pk__i { color: var(--red); }
.pk__row:hover .pk__go, .pk__row.is-on .pk__go { color: var(--red); transform: rotate(45deg); }
.pk__view { position: sticky; top: calc(var(--hdr) + 24px); aspect-ratio: 4 / 4.6; border-radius: 10px; overflow: hidden; background: #111111; }
.pk__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.pk__view img.is-on { opacity: 1; transform: scale(1); }
.pk__badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.pk__badge .ic { color: var(--red); }

.callback { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 14px; background: linear-gradient(120deg, rgba(215, 65, 62, .16), rgba(215, 65, 62, 0) 60%), #111111; box-shadow: inset 0 0 0 1px var(--line-d); position: relative; overflow: hidden; }
.callback h3 { font: 500 clamp(28px, 3vw, 42px)/1.05 var(--serif); }
.callback p { margin-top: 14px; color: rgba(250, 248, 243, .72); max-width: 52ch; }
.callback__form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; position: relative; z-index: 1; }

/* fields */
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > span { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.fld i { color: var(--red); font-style: normal; }
.fld input { width: 100%; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 16px/1 var(--sans); transition: border-color .2s, box-shadow .2s; }
.dark .fld input { background: rgba(250, 248, 243, .06); border-color: rgba(250, 248, 243, .2); color: var(--cream); }
.fld input::placeholder { color: #9a8f86; }
.fld input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 65, 62, .18); }
.fld.is-err input { border-color: var(--red); }
.form__msg { grid-column: 1 / -1; font-size: 14px; min-height: 1px; }
.form__msg.err { color: #ff8f8c; }
.cta .form__msg.err, .form__msg.err:not(.dark *) { color: var(--red-d); }
.form__msg.ok { color: #6fcf8f; }
.form__note { font-size: 12px; color: var(--muted); }

/* ---------- compare ---------- */
.cmp__ctrl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 44px; padding: 0 22px; border-radius: 999px; font: 600 13px/1 var(--sans); letter-spacing: .06em; color: var(--muted); transition: background .3s, color .3s; }
.seg button.is-on { background: var(--ink); color: #fff; }
.cmp__stage { --pos: 50%; position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--sand); user-select: none; touch-action: pan-y; transition: aspect-ratio .5s var(--ease); }
.cmp__stage.is-room { aspect-ratio: 1024 / 880; max-width: 1000px; margin: 0 auto; }
.cmp__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__a { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__lbl { position: absolute; top: 20px; z-index: 2; padding: 10px 16px; border-radius: 999px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.cmp__lbl--a { left: 20px; } .cmp__lbl--b { right: 20px; }
.cmp__lbl--a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 20px rgba(0, 0, 0, .25); }
.cmp__handle span { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.cmp__handle svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cmp__stage:hover .cmp__handle span, .cmp__stage.is-drag .cmp__handle span { transform: scale(1.1); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.cmp__range:focus-visible + .cmp__handle, .cmp__stage:focus-within .cmp__handle span { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- steps ---------- */
.steps__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps__aside { position: sticky; top: calc(var(--hdr) + 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.steps__aside .btn { margin-top: 40px; }
.steps__list { position: relative; padding-left: 0; }
.steps__line { position: absolute; left: 34px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; }
.step__n { position: relative; z-index: 1; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); font: 500 28px/1 var(--serif); color: var(--brown); font-feature-settings: "lnum"; transition: background .5s var(--ease), color .5s, box-shadow .5s; }
.step.is-on .step__n { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(215, 65, 62, .8); }
.step h3 { font: 500 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); color: var(--ink); padding-top: 8px; }
.step p { margin-top: 8px; color: var(--muted); max-width: 46ch; }
.step--last h3 { color: var(--red-d); }

/* ---------- process (horizontal) ---------- */
.proc { overflow: hidden; }
.proc__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(84px, 9vw, 120px) 0; }
.proc__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
.proc__bar { width: min(320px, 60%); height: 2px; background: var(--line-d); margin-top: 28px; position: relative; overflow: hidden; }
.proc__bar span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.proc__track { display: flex; gap: 28px; padding: 0 var(--g); width: max-content; will-change: transform; }
.proc__item { width: clamp(300px, 40vw, 620px); flex: none; }
.proc__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.proc__item figcaption { display: flex; gap: 16px; align-items: baseline; padding-top: 18px; font: 500 18px/1.4 var(--sans); color: rgba(250, 248, 243, .9); max-width: 40ch; }
.proc__item figcaption span { font: italic 400 30px/1 var(--serif); color: var(--red); }
/* компьютер: лента закреплена «липко» на высоту экрана; фото подстраиваются под высоту, чтобы подписи всегда были видны */
.proc.is-sticky { overflow: visible; overflow-x: clip; }
.proc.is-sticky .proc__pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; padding: calc(var(--hdr) + 8px) 0 clamp(20px, 3vh, 40px); }
.proc.is-sticky .proc__head { margin-bottom: clamp(16px, 3.5vh, 48px); }
.proc.is-sticky .proc__item { width: min(clamp(300px, 40vw, 620px), max(240px, calc((100svh - var(--hdr) - 300px) * 1.5))); }
@media (max-height: 760px) { .proc.is-sticky .proc__head .sec__t, .proc.is-sticky .proc__head h2 { font-size: clamp(34px, 7vh, 60px); } .proc.is-sticky .proc__bar { margin-top: 14px; } .proc.is-sticky .proc__item figcaption { padding-top: 10px; font-size: 16px; } }

/* ---------- about ---------- */
.about__quote { font: 500 clamp(34px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.015em; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.about__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; margin-top: clamp(48px, 6vw, 80px); position: relative; align-items: end; }
.about__more { position: absolute; left: calc(58.3% - 90px); top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--red-d); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; font: 600 12px/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; z-index: 2; box-shadow: 0 20px 50px -15px rgba(215, 65, 62, .7); transition: background .3s; }
.about__more span { max-width: 11ch; }
.about__more .ic { width: 26px; height: 26px; transition: transform .4s var(--ease); }
.about__more:hover { background: var(--ink); }
.about__more:hover .ic { transform: rotate(45deg); }
.about__more::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(215, 65, 62, .5); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* video cards */
.vcard { position: relative; display: block; cursor: pointer; }
.vcard figure { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 9; background: #111111; }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vcard:hover img { transform: scale(1.06); }
.vcard figure::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); transition: background .4s; }
.vcard:hover figure::after { background: rgba(0, 0, 0, .05); }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(250, 248, 243, .92); color: var(--red); display: grid; place-items: center; z-index: 1; transition: transform .4s var(--ease), background .3s, color .3s; }
.play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(250, 248, 243, .6); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play .ic { width: 26px; height: 26px; margin-left: 3px; }
.vcard:hover .play { transform: scale(1.08); background: var(--red); color: #fff; }
.vcard--lg figure { aspect-ratio: 1200 / 679; }
.vcard__t { display: block; padding-top: 16px; font: 500 16px/1.4 var(--sans); }

/* rail */
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--g) 12px; scroll-padding-left: var(--g); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1460px) { .rail { padding-left: calc((100vw - var(--maxw)) / 2); scroll-padding-left: calc((100vw - var(--maxw)) / 2); } }
.rail__item { flex: none; width: clamp(270px, 30vw, 420px); scroll-snap-align: start; }
.rail__item figure { aspect-ratio: 4 / 3; }
.rail__item .play, .revs__videos .play { top: 18px; left: 18px; width: 58px; height: 58px; margin: 0; }
.rail__item .play .ic, .revs__videos .play .ic { width: 22px; height: 22px; }
.rail__item .vcard__t { color: rgba(250, 248, 243, .88); }
.rail__more { flex: none; width: 240px; aspect-ratio: 3 / 4; max-height: 315px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-d); display: flex; flex-direction: column; justify-content: space-between; padding: 26px; font: 500 28px/1.1 var(--serif); scroll-snap-align: start; transition: background .3s; }
.rail__more .ic { width: 36px; height: 36px; color: var(--red); transition: transform .4s var(--ease); }
.rail__more:hover { background: rgba(250, 248, 243, .05); }
.rail__more:hover .ic { transform: rotate(45deg); }
.arrows { display: flex; gap: 10px; }
.arr { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); display: grid; place-items: center; transition: background .3s, color .3s; }
.arr[data-dir="-1"] .ic { transform: rotate(180deg); }
.arr:hover { background: var(--red); }

/* ---------- reviews ---------- */
.revs__videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard--v figure { aspect-ratio: 1 / 1; }
.vcard--v .vcard__t { font-size: 15px; color: var(--text); }
.letters { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.letter { display: grid; grid-template-columns: 132px 1fr; gap: 26px; padding: 26px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.letter:hover { box-shadow: 0 30px 60px -30px rgba(71, 64, 56, .35), 0 0 0 1px var(--line); transform: translateY(-4px); }
.letter__img { border-radius: 6px; overflow: hidden; align-self: start; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); cursor: zoom-in; transform: rotate(-2deg); transition: transform .4s var(--ease); }
.letter:hover .letter__img { transform: rotate(0); }
.letter__img img { aspect-ratio: 620 / 878; object-fit: cover; width: 100%; }
.letter blockquote { position: relative; }
.letter blockquote::before { content: "“"; position: absolute; top: -26px; left: -6px; font: 400 96px/1 var(--serif); color: var(--red); opacity: .25; }
.letter p { font: italic 400 21px/1.4 var(--serif); color: var(--ink); position: relative; }
.letter cite { display: block; margin-top: 16px; font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--red-d); }

/* ---------- partners ---------- */
.partners { padding: 0 0 clamp(70px, 8vw, 110px); }
.partners .eyebrow { margin-bottom: 30px; }
.partners__mq { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 40s linear infinite; }
.partners__mq:hover .partners__track { animation-play-state: paused; }
.partners__track img { height: 46px; width: auto; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .3s, opacity .3s; }
.partners__track img:hover { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; color: var(--cream); overflow: hidden; padding: clamp(90px, 12vw, 170px) 0; background: var(--ink); }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55)); }
.cta__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cta .h2 { color: var(--cream); }
.cta .eyebrow { color: rgba(250, 248, 243, .75); }
.cta__lead { margin-top: 24px; font-size: 18px; color: rgba(250, 248, 243, .78); max-width: 42ch; }
.cta__form { display: grid; gap: 18px; padding: clamp(26px, 3vw, 40px); border-radius: 16px; background: var(--cream); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.cta__form .fld > span { opacity: 1; color: var(--muted); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); padding: clamp(70px, 8vw, 110px) 0 28px; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
.ftr__logo img { width: 130px; }
.ftr__big { font: 500 clamp(56px, 9vw, 150px)/.85 var(--serif); letter-spacing: -.03em; text-align: right; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 32px; padding: 48px 0; }
.ftr__col { display: flex; flex-direction: column; gap: 2px; }
.ftr__col h3, .ftr__col h3 a { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #d7413e; margin-bottom: 14px; }
.ftr__col a { padding: 6px 0; font-size: 14px; line-height: 1.4; color: rgba(250, 248, 243, .72); transition: color .2s; }
.ftr__col a:hover { color: var(--cream); }
.ftr__contacts .ftr__tel { font: 600 17px/1.3 var(--sans); color: var(--cream); }
.ftr__addr { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; color: rgba(250, 248, 243, .72); }
.ftr__addr .ic { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.ftr__soc-t { margin-top: 16px; font-size: 13px; color: rgba(250, 248, 243, .6); }
.soc { display: flex; gap: 8px; margin-top: 10px; }
.soc a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); color: var(--cream); transition: background .3s, box-shadow .3s; padding: 0; }
.soc a:hover { background: var(--red); box-shadow: none; }
.ftr__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; color: rgba(250, 248, 243, .5); }
.ftr__bot a:hover { color: var(--cream); }

/* ---------- mobile bar / cursor / modal ---------- */
.mbar { display: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; transform: scale(0); transition: transform .35s var(--ease); }
.cursor.is-on { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.modal { width: min(1120px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.modal::backdrop { background: rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.modal__body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.modal__body img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 12px; }
.modal--img { width: auto; background: transparent; }
.modal__x { position: absolute; top: -56px; right: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; }
.modal__x:hover { background: var(--red); color: #fff; }

/* ---------- reveal states (set by JS only when GSAP is ready) ---------- */
.gs .rv { opacity: 0; transform: translateY(40px); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__right { margin-left: auto; }
}
@media (max-width: 1024px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .works__grid .work:nth-child(3n+2) { margin-top: 0; }
  .works__grid .work:nth-child(2n) { margin-top: 60px; }
  .pk__grid { grid-template-columns: 1fr; }
  .pk__view { display: none; }
  .pk__row { grid-template-columns: 72px 1fr auto 28px; }
  .pk__i { display: none; }
  .pk__thumb { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; grid-column: 1; grid-row: 1; }
  .pk__row.is-on .pk__name, .pk__row:hover .pk__name { transform: none; }
  .callback { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .steps__aside { position: static; }
  .revs__videos { grid-template-columns: repeat(2, 1fr); }
  .letters { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: repeat(2, 1fr); }
  .ftr__contacts { grid-column: 1 / -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .about__grid { grid-template-columns: 1fr; }
  .about__more { position: relative; left: auto; top: auto; width: 150px; height: 150px; margin: 10px auto 0; order: 3; }
}
@media (max-width: 760px) {
  :root { --hdr: 70px; }
  .hdr__logo, .hdr__logo img { width: 74px; }
  .phones, .hdr__cta, .hdr__right > .lang { display: none; }
  .hero__house { --t: calc(var(--hdr) + 6px); --e: calc(var(--hdr) + 6px + 9svh); }
  .hero__shade { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%); }
  .hero__in { padding-bottom: 96px; }
  .hero__title { font-size: clamp(40px, 11.6vw, 60px); }
  .hero__title .ln { white-space: normal; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero__actions .btn { width: 100%; }
  .gift { justify-content: flex-start; }
  .hero__scroll { display: none; }
  .stat { padding: 26px 16px 28px; }
  .stat > span { font-size: 13px; }
  .works__grid { grid-template-columns: 1fr; gap: 36px; }
  .works__grid .work:nth-child(2n) { margin-top: 0; }
  .work figure { aspect-ratio: 4 / 4.2; }
  .sec__head--row { flex-direction: column; align-items: flex-start; }
  .arrows { display: none; }
  .pk__row { grid-template-columns: 60px 1fr 24px; gap: 14px; padding: 18px 0; }
  .pk__thumb { width: 60px; height: 60px; grid-row: 1 / 3; }
  .pk__name { grid-column: 2; font-size: 30px; }
  .pk__price { grid-column: 2; grid-row: 2; font-size: 15px; color: rgba(250, 248, 243, .85); }
  .pk__go { grid-column: 3; grid-row: 1 / 3; }
  .callback__form { grid-template-columns: 1fr; }
  .callback__form .btn { width: 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 10px; font-size: 12px; }
  .cmp__stage { aspect-ratio: 4 / 3.4; }
  .cmp__stage.is-room { aspect-ratio: 1024 / 880; }
  .cmp__handle span { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .cmp__lbl { top: 12px; padding: 8px 12px; font-size: 11px; }
  .cmp__lbl--a { left: 12px; } .cmp__lbl--b { right: 12px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 0; }
  .step__n { width: 56px; height: 56px; font-size: 24px; }
  .steps__line { left: 28px; }
  .proc__pin { min-height: 0; }
  .proc__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .proc__track::-webkit-scrollbar { display: none; }
  .proc__item { width: 82vw; scroll-snap-align: center; }
  .proc__item figcaption { font-size: 16px; }
  .revs__videos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 6px; scrollbar-width: none; }
  .revs__videos .vcard { flex: none; width: 70vw; scroll-snap-align: start; }
  .letter { grid-template-columns: 92px 1fr; gap: 18px; padding: 20px; }
  .letter p { font-size: 19px; }
  .ftr__top { flex-direction: column; align-items: flex-start; }
  .ftr__big { text-align: left; }
  .ftr__cols { grid-template-columns: 1fr; gap: 28px; }
  .ftr { padding-bottom: 100px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); transform: translateY(150%); transition: transform .5s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: var(--cream); font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
  .mbar__red { background: var(--red-d); }
  .modal__x { top: -54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track, .partners__track { animation: none; }
  .intro { display: none; }
}

/* Велемстрой — стили внутренних страниц (дополняют style.css из макета главной) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.is-extra { display: none !important; }
.hdr.is-menu { background: var(--ink) !important; color: var(--cream) !important; z-index: calc(var(--z-menu) + 1); transform: none !important; box-shadow: none !important; }
.hdr.is-menu .burger { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.hdr.is-menu .logo-w { opacity: 1 !important; } .hdr.is-menu .logo-d { opacity: 0 !important; }
.nav__item.is-on > .nav__link::after, .nav__link.is-on::after { transform: scaleX(1); }
.sub__all { font-weight: 600; color: var(--red-d); }
.sub__col a[aria-current] { color: var(--red-d); }
.hero__frame picture, .hero__img { display: block; }

/* первый экран внутренней страницы */
.hero--inner { min-height: max(560px, 82svh); }
.hero--inner .hero__house { --e: calc(var(--hdr) + 12px + 12svh); }
.hero--inner .hero__in { padding-top: calc(var(--hdr) + 18svh); padding-bottom: clamp(44px, 7vh, 80px); }
.hero__title--inner { font-size: clamp(38px, 5.4vw, 88px); line-height: .98; max-width: 18ch; }
.hero__title--inner .ln { white-space: normal; }
.hero__lead { margin-top: 22px; max-width: 60ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(250, 248, 243, .86); }
.hero__lead p { margin: 0 0 8px; }
.hero__price { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 600 15px/1 var(--sans); letter-spacing: .02em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; text-transform: none; letter-spacing: .04em; font-weight: 500; font-size: 13px; }
.crumbs a { color: rgba(250, 248, 243, .78); border-bottom: 1px solid transparent; transition: border-color .2s; }
.crumbs a:hover { border-color: currentColor; }
.crumbs span[aria-hidden] { opacity: .45; }
.hero--404 { min-height: 80svh; }
.type-post .hero__title--inner { font-size: clamp(32px, 4.2vw, 66px); max-width: 22ch; }

/* контраст: номер секции на светлом фоне — тёмно-красный (WCAG AA), на тёмном — светлее */
.eyebrow .num { color: var(--red-d); }
.dark .eyebrow .num, .cta .eyebrow .num, .proc .eyebrow .num, .pkc__i, .pk__row.is-on .pk__i, .pk__row:hover .pk__i { color: #d7413e; }

/* «Наши работы» */
.work__count { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 12px/1 var(--sans); }
.work__count .ic { width: 14px; height: 14px; }
.works__grid--design .work figure { aspect-ratio: 700 / 564; }
.tpl-projects .works__grid .work:nth-child(3n+2) { margin-top: 0; }
.tpl-projects .works__grid { gap: 40px 24px; }
.sec__head--row .tabs { margin-top: 0; }

/* пакеты — карточки */
.pkc { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pkc__card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #111111; box-shadow: inset 0 0 0 1px var(--line-d); transition: transform .5s var(--ease), box-shadow .5s; }
.pkc__card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(215, 65, 62, .5), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.pkc__img { aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.pkc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pkc__card:hover .pkc__img img { transform: scale(1.06); }
.pkc__body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pkc__top { display: flex; align-items: baseline; gap: 14px; }
.pkc__i { font: 600 12px/1 var(--sans); color: var(--red); letter-spacing: .12em; }
.pkc__t { font: 500 clamp(30px, 2.6vw, 40px)/1 var(--serif); }
.pkc__price { font: 600 22px/1.2 var(--sans); color: var(--cream); }
.pkc__price del { font-size: 15px; font-weight: 500; color: rgba(250, 248, 243, .45); margin-left: 8px; }
.pkc__list { max-height: 170px; overflow: hidden; position: relative; transition: max-height .6s var(--ease); font-size: 14px; color: rgba(250, 248, 243, .78); }
.pkc__list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #111111); transition: opacity .3s; pointer-events: none; }
.pkc__list.is-open { max-height: 1600px; }
.pkc__list.is-open::after { opacity: 0; }
.pkc__toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); padding: 8px 0; min-height: 44px; }
.pkc__toggle span:nth-child(2), .pkc__toggle[aria-expanded="true"] span:first-child { display: none; }
.pkc__toggle[aria-expanded="true"] span:nth-child(2) { display: inline; }
.pkc__toggle .ic { width: 16px; height: 16px; transition: transform .3s; }
.pkc__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.pkc__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; }
.pkc__pdf { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); color: rgba(250, 248, 243, .8); min-height: 44px; }
.pkc__pdf:hover { color: var(--cream); }
.pkc__pdf .ic { color: var(--red); }

/* тексты из базы */
.rich { line-height: 1.75; }
.rich > * + * { margin-top: 14px; }
.rich h2 { font: 500 clamp(28px, 2.8vw, 42px)/1.1 var(--serif); color: var(--ink); margin-top: 36px; }
.rich h3 { font: 600 20px/1.3 var(--sans); color: var(--ink); margin-top: 28px; }
.rich h4 { font: 600 17px/1.3 var(--sans); margin-top: 22px; }
.rich ul, .rich ol { padding-left: 22px; }
.rich li + li { margin-top: 6px; }
.rich a { color: var(--red-d); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: 8px; margin: 18px 0; height: auto; }
.rich blockquote { border-left: 2px solid var(--red); padding-left: 18px; font: italic 400 22px/1.45 var(--serif); }
.rich table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rich th, .rich td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rich tr:first-child td, .rich th { font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rich td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); text-align: right; }
.rich--table { overflow-x: auto; }
.dark .rich, .dark .rich h2, .dark .rich h3 { color: var(--cream); }
.dark .rich td, .dark .rich th { border-color: var(--line-d); }
.dark .rich td:last-child { color: var(--cream); }
.rich--checks ul { list-style: none; padding: 0; }
.rich--checks li { position: relative; padding-left: 32px; }
.rich--checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rich li > span:first-child { color: var(--red-d); font-weight: 600; }
.dark .rich li > span:first-child { color: #d7413e; }
.rich--lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--text); max-width: 72ch; }
.text__in { max-width: 980px; }
.sec.text { padding: clamp(64px, 8vw, 110px) 0; }

/* почему мы */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.why__item { background: var(--cream); padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 12px; transition: background .4s; }
.why__item:hover { background: #fff; }
.why__n { font: italic 400 44px/1 var(--serif); color: var(--red); }
.why__item h3 { font: 600 18px/1.3 var(--sans); color: var(--ink); }
.why__item p { font-size: 15px; color: var(--muted); }

/* сертификат */
.cert__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cert__grid > *, .docs__item > *, .prices__grid > *, .astats__grid > *, .contacts__grid > * { min-width: 0; }
.cert__txt .rich { margin-top: 6px; color: rgba(250, 248, 243, .85); }
.cert__txt .btn { margin-top: 34px; }
.cert__img { border-radius: 12px; overflow: hidden; transform: rotate(2deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transition: transform .6s var(--ease); cursor: zoom-in; background: #fff; }
.cert__img:hover { transform: rotate(0) scale(1.02); }

/* чертежи */
.docs__item { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 60px); padding: 34px 0; border-top: 1px solid var(--line); align-items: start; }
.docs__txt h3 { font: 500 clamp(26px, 2.4vw, 36px)/1.1 var(--serif); color: var(--ink); margin-bottom: 14px; }
.docs__txt .btn { margin-top: 22px; }
.docs__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.docs__sheet { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: zoom-in; }
.docs__sheet img { aspect-ratio: 1251 / 885; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.docs__sheet:hover img { transform: scale(1.06); }

/* цены */
.prices__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.prices__grid--solo { grid-template-columns: 1fr; max-width: 980px; }
.prices__img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.prices__img img { width: 100%; height: 100%; object-fit: cover; }
.plist__list { border-top: 1px solid var(--line); }
.plist__item { border-bottom: 1px solid var(--line); }
.plist__item summary { list-style: none; display: grid; grid-template-columns: 56px 1fr 48px; align-items: center; gap: 12px; padding: 22px 0; cursor: pointer; min-height: 72px; }
.plist__item summary::-webkit-details-marker { display: none; }
.plist__n { font: 600 12px/1 var(--sans); color: var(--red-d); letter-spacing: .12em; }
.plist__t { font: 500 clamp(24px, 2.4vw, 36px)/1.1 var(--serif); color: var(--ink); transition: transform .4s var(--ease); }
.plist__item summary:hover .plist__t { transform: translateX(8px); }
.plist__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, transform .4s var(--ease), color .3s; }
.plist__item[open] .plist__ic { background: var(--red); color: #fff; transform: rotate(45deg); box-shadow: none; }
.plist__body { padding: 0 0 26px 68px; }

/* о нас: цифры */
.astats__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: clamp(40px, 5vw, 70px); align-items: center; }
.astats__list { display: grid; grid-template-columns: 1fr 1fr; }
.astats__list .stat { border-left: 1px solid var(--line); padding: 26px 22px; }
.astats__list .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.astats__list .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.astats__list .stat__n { color: var(--ink); }
.astats__list .stat > span { color: var(--muted); }

/* калькулятор */
.calc__box { position: relative; max-width: 1080px; padding: clamp(24px, 4vw, 52px); border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(71, 64, 56, .35); }
.calc__progress { height: 4px; border-radius: 4px; background: var(--sand); overflow: hidden; }
.calc__progress span { display: block; height: 100%; width: var(--p, 20%); background: var(--red); transition: width .6s var(--ease); }
.calc__count { margin-top: 14px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc__count b { color: var(--red-d); }
.calc__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__q { display: flex; align-items: baseline; gap: 14px; padding: 26px 0 22px; font: 500 clamp(26px, 2.6vw, 40px)/1.1 var(--serif); color: var(--ink); }
.calc__q span { font: italic 400 .8em/1 var(--serif); color: var(--red); }
.calc__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.calc__opts--img { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.calc__opt { position: relative; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); background: var(--cream); transition: box-shadow .25s, transform .3s var(--ease); min-height: 60px; }
.calc__opt:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--brown); }
.calc__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.calc__opt img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.calc__opt span { padding: 16px 18px; font: 600 15px/1.3 var(--sans); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.calc__opt span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--stone); transition: .2s; }
.calc__opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: #fff; }
.calc__opt:has(input:checked) span::before { box-shadow: inset 0 0 0 5px var(--red); }
.calc__opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.calc__range { display: flex; align-items: center; gap: 20px; padding: 10px 0 6px; }
.calc__range input { flex: 1; accent-color: var(--red); height: 32px; }
.calc__range output { font: 600 22px/1 var(--sans); min-width: 90px; color: var(--ink); }
.calc__nav { display: flex; gap: 12px; margin-top: 28px; }
.calc__nav .btn:disabled { opacity: .4; pointer-events: none; }
.calc__final .lform { margin-top: 24px; }
.calc__ft { font: 500 clamp(28px, 3vw, 44px)/1.05 var(--serif); color: var(--ink); padding-top: 26px; }
.calc__fp { margin-top: 12px; color: var(--muted); max-width: 60ch; }
.calc__gift { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: rgba(215, 65, 62, .1); color: var(--red-d); font-weight: 600; font-size: 14px; }
.calc__back { margin-top: 18px; font-size: 14px; color: var(--muted); text-decoration: underline; min-height: 44px; }

/* формы */
.lform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.lform .fld--wide, .lform .btn, .lform .form__note, .lform .form__msg { grid-column: 1 / -1; }
.lform .btn { width: 100%; }
.lform .btn.is-loading { opacity: .6; pointer-events: none; }
.fld textarea { width: 100%; padding: 14px 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 16px/1.4 var(--sans); resize: vertical; }
.fld textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 65, 62, .18); }
.cta--plain { background: var(--ink-2); }
.cta--plain::before { display: none; }
.cta .sec__head { margin-bottom: 0; }
.cta .h2 { margin-top: 14px; }
.form__msg.ok { color: #1f8a4c; font-weight: 600; }

/* контакты */
.contacts__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contacts__t { font: 500 clamp(28px, 3vw, 46px)/1.08 var(--serif); color: var(--ink); margin-bottom: 26px; }
.contacts__form { padding: clamp(24px, 3vw, 40px); border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.contacts__info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.contacts__item h3 { font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red-d); margin-bottom: 10px; }
.contacts__item .rich { font-size: 16px; line-height: 1.6; }
.contacts__item .rich a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contacts__item .rich a:hover { color: var(--red-d); }
.soc--light a { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.soc--light a:hover { color: #fff; }
.contacts__map { margin-top: clamp(48px, 6vw, 80px); height: clamp(320px, 42vw, 520px); filter: grayscale(.85) contrast(1.05); }
.contacts__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* лента, статья, пагинация */
.feed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 26px; }
.post { display: flex; flex-direction: column; }
.post figure { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--sand); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover img { transform: scale(1.06); }
.post__cap { padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.post time { font: 600 11px/1 var(--sans); letter-spacing: .14em; color: var(--red-d); }
.post h2 { font: 500 clamp(22px, 1.9vw, 28px)/1.15 var(--serif); color: var(--ink); transition: color .3s; }
.post:hover h2 { color: var(--red-d); }
.post p { font-size: 15px; color: var(--muted); }
.post__more { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.post__more .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.post:hover .post__more .ic { transform: translateX(5px); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 64px; }
.pager__n, .pager__arr { min-width: 48px; height: 48px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font: 600 14px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.pager__n:hover, .pager__arr:hover { background: var(--ink); color: #fff; }
.pager__n.is-on { background: var(--red-d); color: #fff; box-shadow: none; }
.pager__gap { align-self: center; color: var(--muted); }
.art__in { max-width: 860px; }
.art__date { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--red-d); margin-bottom: 26px; }
.art__body { font-size: 18px; }
.art__body > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.sec.art { padding-bottom: clamp(48px, 6vw, 80px); }

/* галерея проекта */
.gallery__grid { columns: 3 320px; column-gap: 14px; }
.gallery__item { display: block; width: 100%; margin-bottom: 14px; border-radius: 10px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--sand); }
.gallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

/* SEO-текст */
.seo { padding-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.seo__in { max-width: 980px; }
.seo__text { font-size: 16px; color: var(--muted); }
.seo__text h2 { font-size: clamp(26px, 2.4vw, 36px); }
.seo__text.is-collapsed { max-height: 360px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.seo__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red-d); }
.seo__more span:nth-child(2), .seo__more[aria-expanded="true"] span:first-child { display: none; }
.seo__more[aria-expanded="true"] span:nth-child(2) { display: inline; }
.seo__more .ic { transition: transform .3s; }
.seo__more[aria-expanded="true"] .ic { transform: rotate(180deg); }

/* окно: галерея, форма */
.modal.modal--img { width: auto; max-width: 96vw; background: transparent; }
.modal--img .modal__body img { max-height: 86vh; max-width: 92vw; object-fit: contain; }
.modal.modal--form { width: min(560px, 94vw); background: var(--cream); padding: clamp(24px, 4vw, 40px); overflow: auto; }
.modal--form .modal__x { top: 14px; right: 14px; background: var(--sand); }
.mform__t { font: 500 clamp(30px, 3vw, 42px)/1.05 var(--serif); color: var(--ink); margin-top: 12px; }
.mform__p { margin: 10px 0 22px; color: var(--muted); }
.modal__nav { position: fixed; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: rgba(250, 248, 243, .92); color: var(--ink); display: grid; place-items: center; z-index: 2; }
.modal__nav:hover { background: var(--red); color: #fff; }
.modal__prev { left: 14px; } .modal__prev .ic { transform: rotate(180deg); }
.modal__next { right: 14px; }
.modal__nav[hidden], .modal__count[hidden] { display: none; }
.modal__count { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font: 600 13px/1 var(--sans); }

.steps__track { position: relative; }

/* шаги без описаний (дизайн) — сетка */
.steps--grid .steps__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.steps--grid .step { border-top: 1px solid var(--line); }
.steps--grid .step__n { background: var(--red); color: #fff; box-shadow: none; }
.steps--grid .step h3 { font-size: clamp(22px, 1.9vw, 28px); }
.steps__aside .sec__head { margin-bottom: 0; }

@media (max-width: 1024px) {
  .feed__grid { grid-template-columns: 1fr 1fr; }
  .cert__grid, .docs__item, .prices__grid, .astats__grid, .contacts__grid { grid-template-columns: 1fr; }
  .contacts__info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero--inner { min-height: max(520px, 86svh); }
  .hero--inner .hero__house { --e: calc(var(--hdr) + 6px + 7svh); }
  .hero--inner .hero__in { padding-top: calc(var(--hdr) + 20svh); padding-bottom: 92px; }
  .hero__title--inner { font-size: clamp(32px, 9vw, 46px); }
  .feed__grid { grid-template-columns: 1fr; gap: 34px; }
  .lform { grid-template-columns: 1fr; }
  .docs__strip { grid-template-columns: 1fr 1fr; }
  .plist__item summary { grid-template-columns: 34px 1fr 44px; }
  .plist__body { padding-left: 0; }
  .rich td, .rich th { padding: 10px 8px; font-size: 14px; }
  .contacts__info { grid-template-columns: 1fr; }
  .steps--grid .steps__list { grid-template-columns: 1fr; }
  .astats__list .stat { padding: 20px 14px; }
  .modal__nav { width: 46px; height: 46px; margin-top: -23px; }
  .gallery__grid { columns: 2 140px; column-gap: 8px; }
  .gallery__item { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pkc__card:hover, .calc__opt:hover { transform: none; }
}

/* шапка: 9 пунктов меню старого сайта + телефон + кнопка. Шапка во всю ширину окна; полностью (номер текстом и кнопка
   «Консультация») — от 1920 px, уже — номер иконкой и плотнее меню, иначе телефон уезжал за край (замечание 14.10.2026) */
.hdr__in.wrap { max-width: none; }
@media (max-width: 1919px) {
  .hdr__in { gap: 18px; }
  .nav__link { padding: 0 8px; font-size: 12px; letter-spacing: .04em; }
  .phones__main span { display: none; }
  .phones__main .ic { width: 22px; height: 22px; }
  .phones__main { width: 44px; justify-content: center; }
  .hdr__right { gap: 12px; }
}
@media (max-width: 1919px) { .hdr__cta { display: none; } }
@media (max-width: 1320px) { .nav { display: none; } .burger { display: block; } .hdr__right { margin-left: auto; } .hdr__cta { display: inline-flex; } }
@media (max-width: 760px) { .hdr__cta { display: none; } }
@media (max-width: 760px) {
  .crumbs span[aria-current], .crumbs span[aria-hidden]:last-of-type { display: none; }
}

/* портфолио: порции по 12 */
.work.is-later { display: none; }
.works__more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.works__more[hidden] { display: none; }
.works__count { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.works__count b { color: var(--ink); }

/* ===== Заголовки — ровный строгий шрифт (просьба клиента 09.10.2026) =====
   Вместо Cormorant — Montserrat: основной текст заголовка лёгкий (300), акцентные слова — красные, прямые (400).
   Montserrat шире Cormorant, поэтому крупные размеры уменьшены примерно на четверть. */
:root { --serif: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; }
.h2 { font-size: clamp(30px, 4.4vw, 66px); line-height: 1.06; font-weight: 300; letter-spacing: -.025em; }
.hero__title { font-size: clamp(34px, 5vw, 84px); line-height: 1.04; font-weight: 300; letter-spacing: -.03em; }
.ftr__big { font-size: clamp(40px, 6vw, 100px); line-height: .98; font-weight: 300; letter-spacing: -.035em; }
.about__quote { font-size: clamp(26px, 3.3vw, 50px); line-height: 1.12; font-weight: 300; letter-spacing: -.02em; }
.stat__n { font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.03em; }
.pk__name { font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.02em; }
.callback h3, .calc__ft, .mform__t, .contacts__t { font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.015em; }
.step h3, .docs__txt h3, .plist__t, .pkc__t, .calc__q, .rich h2 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.01em; }
.post h2 { font-size: clamp(18px, 1.4vw, 21px); font-weight: 500; }
.mnav summary { font-size: 22px; font-weight: 400; }
.rail__more { font-size: 20px; font-weight: 400; }
.step__n { font-size: 22px; font-weight: 400; }
.h2 em, .hero__title em, .about__quote em, .ftr__big em { font-style: normal; font-weight: 400; }
/* курсивные цифры и цитаты — прямые */
.ticker span { font-style: normal; font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); text-transform: uppercase; letter-spacing: .06em; }
.proc__item figcaption span, .why__n { font-style: normal; font-weight: 300; }
.proc__item figcaption span { font-size: 22px; }
.why__n { font-size: 34px; }
.calc__q span { font-style: normal; font-weight: 400; }
.letter p, .rich blockquote { font-style: normal; font-weight: 400; font-size: 17px; line-height: 1.6; }
.letter blockquote::before { font-weight: 300; }
@media (max-width: 760px) {
  .hero__title { font-size: clamp(30px, 8.4vw, 44px); }
  .h2 { font-size: clamp(28px, 7.6vw, 40px); }
  .ftr__big { font-size: clamp(40px, 12vw, 60px); }
}

/* ===== Портфолио: мини-галерея в карточке (первые 5 фото, как на AUTO.RIA) =====
   Мышь: карточка делится на зоны, фото меняется при движении курсора. Палец: свайп (прокрутка со «щелчком»). */
.work__strip { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.work__strip::-webkit-scrollbar { display: none; }
.work__sl { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.work__sl img { width: 100%; height: 100%; object-fit: cover; }
.work__sl img[data-src] { background: var(--sand); }
@media (hover: hover) and (pointer: fine) { .work__strip { overflow-x: hidden; } }
.work__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.work__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: background .25s, transform .25s; }
.work__dots i.is-on { background: #fff; transform: scale(1.25); }
.work__rest { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font: 400 clamp(20px, 2vw, 28px)/1 var(--sans); letter-spacing: -.01em; }
.work__count { z-index: 2; pointer-events: none; }
.work figure::after { pointer-events: none; z-index: 1; }

/* ===== Вкладка «Рассчитать стоимость» справа посередине + выезжающая панель с калькуляторами (14.10.2026) ===== */
/* скрытая вкладка — прозрачная на месте, а не за краем экрана: иначе Safari на iPhone даёт таскать страницу вбок (14.10.2026) */
.ctab { position: fixed; z-index: 35; right: 0; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 11px; border-radius: 12px 0 0 12px; background: var(--red-d); color: #fff; box-shadow: -8px 10px 30px -12px rgba(0, 0, 0, .45); transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s, background .3s; }
.ctab.is-on { opacity: 1; visibility: visible; }
.ctab:hover { background: var(--red); }
.ctab span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ctab .ic { width: 18px; height: 18px; }
.menu-open .ctab { opacity: 0; visibility: hidden; }
.cpanel__bg { position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .4s; }
.cpanel__bg.is-open { opacity: 1; }
.cpanel { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); overflow-y: auto; padding: clamp(56px, 8vh, 90px) clamp(22px, 3vw, 40px) 40px; background: var(--cream); color: var(--ink); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .4); transform: translateX(105%); transition: transform .45s var(--ease); display: flex; flex-direction: column; gap: 14px; }
.cpanel[hidden] { display: none; }
.cpanel.is-open { transform: none; }
.cpanel__x { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .06); }
.cpanel__x:hover { background: rgba(0, 0, 0, .12); }
.cpanel__t { font: 300 clamp(28px, 3vw, 36px)/1.1 var(--sans); letter-spacing: -.02em; }
.cpanel__p { color: var(--muted); font-size: 15px; }
.cpanel__list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cpanel__a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 16px/1.3 var(--sans); transition: box-shadow .3s; }
.cpanel__a > .ic:first-child { color: var(--red-d); flex: none; }
.cpanel__a span { flex: 1; }
.cpanel__a > .ic:last-child { flex: none; transition: transform .3s var(--ease); }
.cpanel__a:hover { box-shadow: inset 0 0 0 1px var(--red-d); }
.cpanel__a:hover > .ic:last-child { transform: translateX(4px); }
.mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: var(--cream); font: 600 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 760px) {
  /* 17.11: главное — заявка (просьба Юры), звонок — второстепенная кнопка с обводкой */
  .mbar { grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); }
  .mbar a, .mbar button { font-size: 12px; letter-spacing: .03em; white-space: nowrap; gap: 6px; padding: 0 10px; }
  .mbar > a { padding: 0 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
  .mbar__red { font-size: 13px; box-shadow: 0 6px 18px -6px rgba(215, 65, 62, .7); }
}
@media (max-width: 370px) { .mbar a, .mbar button { font-size: 11px; letter-spacing: .01em; } .mbar .ic { width: 16px; height: 16px; } }
@media (max-width: 760px) {
  .ctab { padding: 12px 8px; gap: 8px; top: 46%; }
  .ctab span { font-size: 10px; letter-spacing: .1em; }
  .ctab .ic { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ctab, .cpanel, .cpanel__bg { transition: none; } }

/* ===== Заявка отправлена: крупное подтверждение вместо формы (15.10.2026) ===== */
.mform.is-done > :not(.form__done), .lform.is-done { display: none !important; }
.form__done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(18px, 3vw, 32px) 8px; animation: doneIn .5s var(--ease); }
.form__done-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1f8a4c; color: #fff; box-shadow: 0 12px 30px -10px rgba(31, 138, 76, .6); }
.form__done-ic .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.form__done-t { font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--sans); letter-spacing: -.015em; }
.form__done-p { color: inherit; opacity: .72; max-width: 34ch; }
.form__done-btn { margin-top: 6px; min-width: 200px; }
@keyframes doneIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ===== Короткая форма на первом экране (ремонт под ключ, в новострое) — 15.10.2026 ===== */
.hero__form { margin-top: 30px; max-width: 760px; padding: 20px 22px 18px; border-radius: 16px; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(250, 248, 243, .16); }
.hero__form-t { font: 500 15px/1.4 var(--sans); color: var(--cream); margin-bottom: 14px; }
.lform--hero { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.lform--hero .fld span { color: rgba(250, 248, 243, .7); }
.lform--hero .btn { grid-column: auto; min-height: 52px; white-space: nowrap; }
.lform--hero .form__note { grid-column: 1 / -1; color: rgba(250, 248, 243, .55); font-size: 12px; margin: 0; }
.lform--hero .form__msg { grid-column: 1 / -1; }
.hero__form .form__done { color: var(--cream); padding: 6px 0; }
.hero__form .form__done-btn { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(250, 248, 243, .4); }
.hero__calc { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 14px/1.3 var(--sans); color: var(--cream); border-bottom: 1px solid rgba(250, 248, 243, .35); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.hero__calc:hover { color: #fff; border-color: var(--red); }
.hero__calc .ic { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .hero__form { margin-top: 22px; padding: 16px 14px 14px; }
  .lform--hero { grid-template-columns: 1fr; gap: 8px; }
  .lform--hero .btn { width: 100%; }
  /* панель «Позвонить / Оставить заявку» — сразу с открытия страницы, как на remont2 */
  .mbar { transform: none; }
}


/* телефон: длинные подписи кнопок (UA «Замовити безкоштовний дзвінок») переносятся, а не распирают страницу */
@media (max-width: 760px) { .btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; } }

/* страховка: страница не должна уезжать вбок ни в одном браузере (Safari до 16 не понимает overflow-x: clip у body) */
html { overflow-x: hidden; }


/* 18.11.2026 ИИ-поиск: «Коротко», таблица фактов с подписью, «Статьи / Услуги по теме» */
.sec.kurz-sec { padding: clamp(40px, 5vw, 72px) 0 0; }
.kurz { position: relative; max-width: 920px; padding: 22px 26px 22px 30px; background: var(--sand); border-radius: var(--r); }
.kurz::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--red); border-radius: 2px; }
.kurz__label { display: block; margin-bottom: 8px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red-d); }
.kurz p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.kurz--art { margin: 0 0 34px; }
.kz-table { max-width: 920px; margin: 28px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rich .kz-table { margin: 36px 0; }
.kz-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.kz-table caption { caption-side: top; text-align: left; padding: 0 0 12px; font: 500 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: var(--ink); }
.kz-table th, .kz-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: normal; }
.kz-table thead th { font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--red); }
.kz-table tbody th { font-weight: 600; color: var(--ink); }
.rich .kz-table td:last-child { white-space: normal; font-weight: 400; color: inherit; text-align: left; }
.rich .kz-table tr:first-child td { font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.ilink { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.sec.rel-links { padding: clamp(48px, 6vw, 84px) 0; }
.rel-links__h { margin-bottom: 22px; font: 500 clamp(30px, 3vw, 44px)/1.05 var(--serif); color: var(--ink); }
.rel-links__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rel-links__list a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 22px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.rel-links__list a:hover { border-color: var(--red); transform: translateY(-2px); }
.rel-links__k { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red-d); }
.rel-links__list b { font-weight: 600; font-size: 16px; line-height: 1.35; }
.rel-links__list .ic { margin-top: auto; color: var(--red); }
@media (max-width: 900px) { .rel-links__list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .kurz { padding: 18px 18px 18px 22px; }
  .kurz p { font-size: 16px; }
  .kz-table table { min-width: 0; font-size: 14px; }
  .kz-table th, .kz-table td { padding: 10px 8px; }
}

/* 18.11.2026 подпись директора (E-E-A-T): «Автор» в статьях, «Проверил» на услугах */
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.byline-wrap .byline { margin: 20px 0 0; }
.byline__ava { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); font: 600 13px/1 var(--sans); letter-spacing: .04em; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
