@font-face {
  font-family: "KS Head";
  src: url("/assets/fonts/Manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "KS Head";
  src: url("/assets/fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "KS Head Fallback";
  src: local("Arial");
  size-adjust: 95.8%;
}
@font-face {
  font-family: "Tilda Sans";
  src: url("/assets/fonts/TildaSans-VF.woff2") format("woff2");
  font-weight: 250 1000;
  font-display: swap;
}
:root {
  --font-head: "KS Head", "KS Head Fallback", Arial, sans-serif;
  --font-text: "Tilda Sans", Arial, sans-serif;
  --c-text: #1b1b1b;
  --c-muted: rgba(27, 27, 27, 0.5);
  --c-line: var(--c-line-warm);
  --c-page: #f6f4ef;
  --c-paper: #ffffff;
  --c-soft-warm: #ebe8e1;
  --c-line-warm: #dfdbd2;
  --c-popup-line: #cfc9bd;
  --c-ink-strong: #161616;
  --c-ink-2: #4b4a47;
  --c-marker: #ffd23f;
  --c-dark: #1f1d1a;
  --c-call: #3fae5c;
  --c-call-hover: #34964e;
  --c-line-strong: rgba(27, 27, 27, 0.5);
  --c-arrow: #faac17;
  --c-btn-text: #75543d;
  --g-yellow: linear-gradient(91deg, #ffeb7b 0%, #ffcf2b 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .25s;
  --t-mid: .5s;
  --t-reveal: .9s;
  --container: 1280px;
  --gutter: 12px;
  --section-gap: 72px;
  --header-h: 58px;
  --bar-h: 68px;
  --h2-size: clamp(28px, 2.9vw, 46px);
  --h2-line: 1;
  --text-size: 14px;
  --text-line: 1.43;
}
@media (min-width: 640px) {
  :root {
    --gutter: 20px;
    --section-gap: 104px;
    --text-size: 16px;
    --text-line: 1.375;
  }
}
@media (min-width: 960px) {
  :root {
    --bar-h: 0px;
    --section-gap: 128px;
    --header-h: 64px;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--text-size);
  line-height: var(--text-line);
  color: var(--c-text);
  background: var(--c-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
dl, dd { margin: 0; }
::selection { background: var(--c-marker); color: var(--c-ink-strong); }
:focus-visible { outline: 2px solid var(--focus-ring, var(--c-ink-strong)); outline-offset: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 12px; background: #fff; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section-gap); }
.section__title {
  font-family: var(--font-head);
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: clamp(24px, 3vw, 44px);
  max-width: 900px;
}
.section__title--center { text-align: center; margin-left: auto; margin-right: auto; }
.accent {
  color: var(--c-ink-strong);
  background: linear-gradient(transparent 12%, var(--c-marker) 12%, var(--c-marker) 94%, transparent 94%);
  padding: 0 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 8px; height: 8px; background: var(--c-marker); }
.panel-title { margin-top: 10px; font-family: var(--font-head); font-size: 22px; line-height: 1.15; font-weight: 600; text-transform: uppercase; }
@media (min-width: 960px) { .panel-title { font-size: 30px; } }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes sink { to { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@keyframes up-sm { from { opacity: 0; transform: translateY(10px); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  font-family: var(--font-head); font-size: 15px; line-height: 1.2; font-weight: 500; letter-spacing: -0.005em;
  text-transform: none; text-decoration: none; text-align: center;
  border: 0; border-radius: 0;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn--cta { color: var(--c-ink-strong); background: var(--c-marker); }
.btn--cta:hover { color: var(--c-marker); background: var(--c-ink-strong); }
.btn--xl { min-height: 58px; padding: 0 34px; font-size: 16px; }
.btn--outline {
  color: var(--c-ink-strong);
  background: transparent;
  border: 1px solid var(--c-ink-strong);
  min-width: 275px;
}
.btn--outline:hover { background: var(--c-marker); border-color: var(--c-marker); }
.round-arrow {
  width: 48px; height: 48px; border: 1px solid var(--c-ink-strong); border-radius: 0;
  background: transparent center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='%23161616' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.round-arrow:hover { background-color: var(--c-marker); border-color: var(--c-marker); }
.round-arrow--prev { transform: scaleX(-1); }
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 244, 239, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--c-line-warm); }
.site-head__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-head__logo { flex: none; display: block; }
.site-head__logo img { width: 145px; height: auto; }
.site-head__menu, .site-head__phone, .site-head__cta { display: none; }
.site-head__burger { position: relative; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; }
.site-head__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--c-ink-strong); }
.site-head__burger span:first-child { top: 17px; }
.site-head__burger span:last-child { top: 25px; }
@media (min-width: 960px) {
  .site-head__logo img { width: 171px; }
  .site-head__menu { display: flex; gap: 28px; margin: 0 auto; font-size: 15px; }
  .site-head__menu a { position: relative; padding: 6px 0; text-decoration: none; color: var(--c-ink-strong); }
  .site-head__menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-marker);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
  }
  .site-head__menu a:hover::after, .site-head__menu a:focus-visible::after { transform: none; }
  .site-head__cta { display: inline-flex; min-height: 42px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
  .site-head__burger { display: none; }
}
@media (min-width: 1200px) {
  .site-head__phone {
    display: inline-flex; align-items: center; min-height: 44px;
    font-family: var(--font-head); font-size: 15px; font-weight: 600; white-space: nowrap;
    text-decoration: none; color: var(--c-ink-strong);
  }
}
.site-head__logo img, .site-head__menu a, .site-head__phone, .site-head__burger span {
  transition: filter 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}
body:has(.hero) .site-head:not(.is-stuck) {
  background-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body:has(.hero) .site-head:not(.is-stuck) .site-head__logo img { filter: brightness(0) invert(1); }
body:has(.hero) .site-head:not(.is-stuck) .site-head__menu a,
body:has(.hero) .site-head:not(.is-stuck) .site-head__phone { color: #fff; }
body:has(.hero) .site-head:not(.is-stuck) .site-head__burger span { background: #fff; }
body:has(.hero) .site-head:not(.is-stuck) :focus-visible { outline-color: #fff; }
.rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-text); }
.rating__logo { width: 140px; height: auto; }
.rating__value { font-size: 24px; line-height: 1; letter-spacing: -0.02em; }
.rating__meta { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.rating__stars { color: #fc0; font-size: 12px; letter-spacing: 1px; }
.rating__caption { font-size: 11px; }
.rating--large .rating__logo { width: 180px; }
.rating--large .rating__value { font-size: 40px; }
.rating--large .rating__stars { font-size: 16px; }
.rating--large .rating__caption { font-size: 13px; }
.messengers { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.messengers__icon { width: 34px; height: 34px; object-fit: contain; }
.hero { position: relative; }
.hero__stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: max(560px, 100svh); margin-top: calc(-1 * var(--header-h));
  background: var(--c-dark); color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.5) 0%, rgba(12, 11, 10, 0) 24%),
    linear-gradient(0deg, rgba(12, 11, 10, 0.78) 0%, rgba(12, 11, 10, 0.42) 40%, rgba(12, 11, 10, 0) 68%);
}
.hero__slide { position: absolute; inset: 0; z-index: 1; display: block; height: 100%; opacity: 0; transition: opacity 0s linear 1.4s; }
.hero__slide.is-active { z-index: 2; opacity: 1; transition: opacity 1.4s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__slide.is-active img { animation: hero-zoom 7s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.07); } }
.hero__inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 48px) var(--gutter) 24px; }
.hero__title {
  max-width: 980px; font-family: var(--font-head); font-size: 22px; font-weight: 600; line-height: 1.02;
  letter-spacing: -0.035em; text-wrap: balance; color: #fff;
}
.hero__line { display: block; font-size: clamp(22px, 3.3vw, 48px); line-height: 1.1; font-weight: 500; }
.hero__line--lead { font-size: clamp(38px, 6.2vw, 88px); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; }
.hero__line--pill {
  display: inline-block; margin-top: 0.35em; padding: 0.1em 0.45em 0.16em; border-radius: 0.32em;
  font-size: clamp(20px, 2.9vw, 42px); font-weight: 600; letter-spacing: -0.03em; color: var(--c-ink-strong);
  background: linear-gradient(var(--c-marker), var(--c-marker)) no-repeat 0 0 / 100% 100%;
}
.hero__lead { margin-top: 18px; max-width: 520px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 24px; }
.hero__cta { width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px;
  background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.hero-badge:has(.hero-badge__rating:hover) { background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1px #fff; }
.hero-badge__rating { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.hero-badge__pin { width: 22px; height: 22px; }
.hero-badge__score { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; line-height: 1.1; }
.hero-badge__score b { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.hero-badge__stars { color: #ffb800; font-size: 12px; letter-spacing: 1px; }
.hero-badge__score small { grid-column: 1 / -1; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, 0.75); }
.hero-badge__one { display: grid; justify-items: center; gap: 2px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.hero-badge__one img { width: auto; height: 20px; filter: brightness(0) invert(1); }
.hero-badge__one small { font-size: 11px; font-weight: 500; white-space: nowrap; color: rgba(255, 255, 255, 0.75); }
.hero__foot { position: relative; z-index: 1; padding-bottom: 18px; }
.hero__nav { display: flex; align-items: center; gap: 6px; }
.hero__bar { position: relative; width: 36px; height: 32px; padding: 0; border: 0; background: none; }
.hero__bar span { position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero__bar span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__bar[aria-current="true"] span::after { transform: scaleX(1); }
.hero__nav.is-auto .hero__bar[aria-current="true"] span::after { animation: hero-progress var(--hero-interval) linear forwards; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__bar:hover span { background: rgba(255, 255, 255, 0.6); }
.hero__counter { margin-left: 8px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: rgba(255, 255, 255, 0.85); }
.figures { display: grid; grid-template-columns: 1fr 1fr; row-gap: 8px; margin: 0; padding: 0; list-style: none; }
.figure { display: grid; gap: 10px; align-content: start; padding: 24px 12px 0 0; }
.figure + .figure { padding-left: 14px; border-left: 1px solid var(--c-line-warm); }
.figure:nth-child(3) { padding-left: 0; border-left: 0; }
.figure__value {
  font-family: var(--font-head); font-size: 24px; font-weight: 500; line-height: 0.95; letter-spacing: -0.03em;
  white-space: nowrap; color: var(--c-ink-strong); font-variant-numeric: tabular-nums;
}
.figure__text { font-size: 13.5px; line-height: 1.4; color: var(--c-ink-2); max-width: 22ch; }
@media (min-width: 640px) {
  .hero__title { font-size: 28px; }
  .hero__lead { font-size: 17px; }
  .hero__cta { width: auto; }
  .hero__bar { width: 44px; }
}
@media (min-width: 960px) {
  .hero__stage { min-height: clamp(640px, 100svh, 980px); }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(12, 11, 10, 0.5) 0%, rgba(12, 11, 10, 0) 22%),
      linear-gradient(90deg, rgba(12, 11, 10, 0.62) 0%, rgba(12, 11, 10, 0.28) 42%, rgba(12, 11, 10, 0) 64%),
      linear-gradient(0deg, rgba(12, 11, 10, 0.5) 0%, rgba(12, 11, 10, 0) 45%);
  }
  .hero__inner { padding-bottom: 40px; }
  .hero__title { font-size: 32px; }
  .hero__foot { display: flex; justify-content: flex-end; margin-top: -72px; padding-bottom: 44px; pointer-events: none; }
  .hero__foot .hero__nav { pointer-events: auto; }
  .figures { grid-template-columns: repeat(4, 1fr); row-gap: 0; }
  .figure { padding: clamp(28px, 3vw, 48px) 24px 0 0; }
  .figure + .figure, .figure:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--c-line-warm); }
  .figure__value { font-size: clamp(30px, 3.4vw, 56px); letter-spacing: -0.045em; }
  .figure__text { font-size: 15px; }
}
@media (min-width: 1200px) {
  .hero__title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide.is-active { transition: none; }
  .hero__slide.is-active img { animation: none; }
}
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery__item { margin: 0; overflow: hidden; background: var(--c-soft-warm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 170 / 211; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item--m-wide { grid-column: 1 / -1; }
.gallery__item--m-wide img { aspect-ratio: 352 / 234; }
.gallery__item--m-hide { display: none; }
.gallery__item--1 { order: 1; } .gallery__item--5 { order: 2; } .gallery__item--2 { order: 3; }
.gallery__item--6 { order: 4; } .gallery__item--7 { order: 5; }
@media (min-width: 960px) {
  .gallery__grid {
    grid-template-columns: 380fr 380fr 373fr;
    grid-template-rows: repeat(3, clamp(220px, 19.5vw, 284px));
    gap: 14px;
  }
  .gallery__item, .gallery__item--m-hide { display: block; order: 0; }
  .gallery__item img, .gallery__item--m-wide img { aspect-ratio: auto; }
  .gallery__item--m-wide { grid-column: auto; }
  .gallery__item--1 { grid-area: 1 / 1 / 3 / 2; }
  .gallery__item--2 { grid-area: 1 / 2; }
  .gallery__item--3 { grid-area: 1 / 3; }
  .gallery__item--4 { grid-area: 2 / 2; }
  .gallery__item--5 { grid-area: 2 / 3 / 4 / 4; }
  .gallery__item--6 { grid-area: 3 / 2; }
  .gallery__item--7 { grid-area: 3 / 1; }
}
.slider { position: relative; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__arrow {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  width: 40px; height: 40px; border: 0; border-radius: 0;
  background: var(--c-paper) center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%231b1b1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.slider__arrow:not([disabled]):hover { background-color: var(--c-marker); }
.slider__arrow--prev { left: 12px; transform: scaleX(-1); }
.slider__arrow--next { right: 12px; }
.slider__arrow[disabled] { opacity: 0.4; cursor: default; }
.slider__arrow:not(.slider__arrow--round)[disabled] { opacity: 0; visibility: hidden; }
.slider__arrow--round {
  top: auto; bottom: 0; translate: none; width: 48px; height: 48px;
  border: 1px solid var(--c-ink-strong);
  background: transparent center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='%23161616' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.slider__arrow--round:not([disabled]):hover { background-color: var(--c-marker); border-color: var(--c-marker); }
.slider__arrow--round.slider__arrow--prev { left: 0; transform: scaleX(-1); }
.slider__arrow--round.slider__arrow--next { right: 0; left: auto; }
.slider__dots { display: flex; justify-content: center; padding-top: 6px; }
.slider__dots { gap: 0; }
.slider__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; }
.slider__dot::before {
  content: ""; position: absolute; left: 3px; top: 11px; width: 18px; height: 2px; background: var(--c-line-warm);
  transition: background-color var(--t-fast) var(--ease);
}
.slider__dot:hover::before { background: var(--c-ink-2); }
.slider__dot[aria-current="true"]::before { background: var(--c-ink-strong); }
.projects__list { display: grid; gap: 32px; }
.project {
  display: flex; flex-direction: column; background: var(--c-paper); border: 1px solid var(--c-line-warm);
  transition: border-color var(--t-mid) var(--ease);
}
.project:hover { border-color: var(--c-ink-strong); }
.project__cover { position: relative; display: block; padding: 0; border: 0; background: var(--c-soft-warm); overflow: hidden; }
.project__cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__cover img, .project__cover:hover img { transform: scale(1.035); }
.project__cover:focus-visible { outline-offset: -2px; }
.project__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; background: rgba(255, 255, 255, 0.9); font-size: 12px; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 20px; }
.project__num { font-size: 12px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.project__title { margin-top: 4px; font-family: var(--font-head); font-size: 15px; line-height: 1.25; font-weight: 500; text-transform: uppercase; color: var(--c-ink-strong); }
.project__subtitle { margin-top: 6px; font-size: 13px; color: var(--c-ink-2); }
.project__actions { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.project__actions .btn { min-width: 0; padding: 0 12px; }
.project-totals { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.project-totals dt { font-size: 12px; color: var(--c-muted); }
.project-totals dd { font-family: var(--font-head); font-size: 20px; line-height: 1.3; font-weight: 500; }
.projects__more { display: flex; justify-content: center; margin-top: 40px; }
@media (min-width: 640px) {
  .project__actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .projects__list { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .project__body { padding: 24px 28px 28px; }
  .project__title { font-size: 18px; }
  .project__subtitle { font-size: 15px; }
  .project-totals dd { font-size: 24px; }
  .projects__more { margin-top: 40px; }
}
.project-modal {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--c-line-warm) transparent;
}
.project-modal__photos { margin-bottom: 30px; }
.project-modal__photos .slider__slide { background: var(--c-soft-warm); }
.project-modal__photos .slider__slide img { aspect-ratio: 4 / 3; }
.project-modal__photos .slider__dots { position: absolute; top: 100%; left: 0; right: 0; }
.project-modal__info {
  display: grid; gap: 18px; align-content: start;
  padding: 28px 20px calc(36px + env(safe-area-inset-bottom));
}
.project-modal__info > *, .project-modal .project-totals { margin: 0; }
.project-modal .eyebrow { padding-right: 56px; color: var(--c-ink-strong); }
.project-modal .panel-title {
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance;
  color: var(--c-ink-strong);
}
.project-modal__text { font-size: 15px; line-height: 1.5; color: var(--c-ink-2); }
.project-modal .project-totals { gap: 8px 36px; padding: 16px 0; border-top: 1px solid var(--c-line-warm); border-bottom: 1px solid var(--c-line-warm); }
.project-modal .project-totals dt { font-size: 13px; color: var(--c-ink-2); }
.project-modal .project-totals dd { margin-top: 2px; font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; color: var(--c-ink-strong); }
.project-modal__params { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding-top: 4px; }
.project-modal__param dt { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--c-ink-2); }
.project-modal__param dt img { opacity: 0.55; }
.project-modal__param dd { margin-top: 4px; font-size: 14.5px; line-height: 1.35; font-weight: 500; color: var(--c-ink-strong); }
.project-modal__cta { width: 100%; margin-top: 6px; }
.project-modal__note { font-size: 13px; color: var(--c-ink-2); text-align: center; }
@media (min-width: 960px) {
  .project-modal {
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start;
    column-gap: clamp(28px, 3vw, 48px); padding: clamp(16px, 2vw, 28px);
  }
  .project-modal__photos { margin-bottom: 0; }
  .project-modal__photos .slider__track { flex-direction: column; gap: 10px; overflow: visible; scroll-snap-type: none; }
  .project-modal__photos .slider__slide { flex: none; }
  .project-modal__photos .slider__slide img { aspect-ratio: auto 4 / 3; height: auto; }
  .project-modal__photos .slider__arrow, .project-modal__photos .slider__dots { display: none; }
  .project-modal__info { position: sticky; top: 0; padding: 72px 8px 24px 0; }
  .project-modal__text { font-size: 16px; }
}
.videos__inner { display: grid; gap: 28px; }
.videos__head { display: grid; justify-items: start; }
.videos__title { margin: 16px 0 0; }
.videos__text { margin-top: 16px; max-width: 460px; font-size: 15px; line-height: 1.55; color: var(--c-ink-2); }
.videos__cta { display: none; margin-top: 24px; }
.videos__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.videos__track::-webkit-scrollbar { display: none; }
.vcard { flex: 0 0 62%; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.vcard__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--c-dark); }
.vcard__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard__toggle { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.vcard__toggle:focus-visible { outline: 2px solid var(--c-marker); outline-offset: -2px; }
.vcard__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; background: var(--c-marker);
  transition: opacity var(--t-fast) var(--ease), scale var(--t-fast) var(--ease);
}
.vcard__play::after { content: ""; position: absolute; left: 25px; top: 21px; border: 11px solid transparent; border-left: 18px solid var(--c-ink-strong); border-right: 0; }
.vcard.is-playing .vcard__play { opacity: 0; scale: 0.8; }
.vcard__tag {
  position: absolute; left: 12px; top: 12px; padding: 5px 9px; background: var(--c-marker);
  font-size: 12px; font-weight: 600; color: var(--c-ink-strong); pointer-events: none;
}
.vcard__sound {
  position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0;
  background: color-mix(in srgb, var(--c-ink-strong) 55%, transparent); color: #fff; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.vcard__sound:hover { background: var(--c-ink-strong); }
.vcard__sound:focus-visible { outline: 2px solid var(--c-marker); outline-offset: 2px; }
.vcard__sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vcard__on, .vcard.is-sound .vcard__off { display: none; }
.vcard.is-sound .vcard__on { display: block; }
.vcard__caption {
  position: absolute; left: 12px; right: 12px; bottom: 22px; text-align: center; pointer-events: none;
  font-size: 14.5px; line-height: 1.35; font-weight: 500; color: #fff; opacity: 0; transition: opacity 0.2s var(--ease);
}
.vcard__caption.is-on { opacity: 1; }
.vcard__caption span {
  padding: 2px 6px; background: color-mix(in srgb, var(--c-ink-strong) 72%, transparent);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.vcard__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.25); pointer-events: none; }
.vcard__bar span { display: block; width: 0; height: 100%; background: var(--c-marker); }
.vcard__title { margin-top: 6px; font-family: var(--font-head); font-size: 17px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; color: var(--c-ink-strong); }
.vcard__text { font-size: 14px; line-height: 1.45; color: var(--c-ink-2); }
@media (min-width: 640px) {
  .vcard { flex-basis: 40%; }
}
@media (min-width: 960px) {
  .videos__inner { grid-template-columns: minmax(280px, 1fr) auto; align-items: center; gap: clamp(28px, 4vw, 72px); }
  .videos__cta { display: inline-flex; }
  .videos { --vcard-w: clamp(260px, 22vw, 320px); --vcard-gap: clamp(12px, 1.4vw, 20px); }
  .videos__track { gap: var(--vcard-gap); max-width: calc(2 * var(--vcard-w) + var(--vcard-gap)); margin: 0; padding: 0; }
  .vcard { flex-basis: var(--vcard-w); }
}
.factory__inner { display: grid; gap: 32px; }
.factory__eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-text); font-size: 12px; line-height: 1.2; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--c-ink-strong);
}
.factory__eyebrow::before { content: ""; flex: 0 0 8px; height: 8px; background: var(--c-marker); }
.factory__title {
  margin-top: 18px; font-family: var(--font-head); font-size: var(--h2-size); line-height: var(--h2-line);
  letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; color: var(--c-ink-strong);
}
.factory__text { margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--c-ink-2); }
.factory__stats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.stat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--c-line-warm);
}
.stat:last-child { border-bottom: 1px solid var(--c-line-warm); }
.stat__value {
  font-family: var(--font-head); font-size: clamp(28px, 2.8vw, 40px); line-height: 1; font-weight: 500; letter-spacing: -0.04em;
  white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--c-ink-strong);
}
.stat__label { font-size: 14px; line-height: 1.35; color: var(--c-ink-2); }
.factory__main { overflow: hidden; }
.factory__main img, .factory__main video { width: 100%; aspect-ratio: 760 / 349; object-fit: cover; display: block; }
.factory__slider { margin-top: 20px; padding-bottom: 70px; }
.factory__slider .slider__slide { overflow: hidden; }
.factory__slider .slider__slide img { aspect-ratio: 352 / 270; transition: transform 1.2s var(--ease); }
.factory__slider .slider__slide:hover img { transform: scale(1.035); }
@media (min-width: 960px) {
  .factory__inner { grid-template-columns: 360px 1fr; gap: 40px; }
  .factory__text { font-size: 16px; }
  .factory__slider[data-slider-per-view="3"] .slider__slide { flex-basis: calc((100% - 40px) / 3); margin-right: 20px; }
  .factory__slider .slider__slide img { aspect-ratio: 241 / 214; }
  .factory__slider { margin-top: 23px; }
}
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__fields { display: grid; gap: 10px; }
.field input, .field select {
  width: 100%; height: 60px; padding: 0 20px; border: 1px solid var(--c-popup-line); border-radius: 0;
  font: 400 16px/1 var(--font-text); color: var(--c-text); background: #fff;
}
.field select { appearance: none; background: #fff right 20px center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1b1b' stroke-width='2'/%3E%3C/svg%3E"); }
.field input::placeholder { color: #9a9a9a; }
.field [aria-invalid="true"] { border-color: #d33; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.35; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { flex: 0 0 18px; height: 18px; margin-top: 1px; border: 2px solid currentColor; display: grid; place-items: center; }
.consent input:checked + .consent__box::after { content: ""; width: 8px; height: 8px; background: currentColor; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--focus-ring, var(--c-ink-strong)); outline-offset: 2px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent--invalid .consent__box { border-color: #d33; }
.lead-form__error { margin-top: 10px; color: #d33; font-size: 14px; }
.lead-form__success { padding: 20px 0; }
.lead-form__success-title { font-family: var(--font-head); font-size: 18px; text-transform: uppercase; margin-bottom: 6px; }
.lead-form.is-sent .lead-form__fields, .lead-form.is-sent .consent { display: none; }
.lead-form.is-busy .lead-form__submit { opacity: 0.6; pointer-events: none; }
@media (min-width: 640px) {
  .lead-form--row .lead-form__fields { grid-template-columns: 1fr auto; gap: 0; }
  .lead-form--row .field input { height: 70px; }
  .lead-form--row .lead-form__submit { min-height: 70px; min-width: 260px; }
}
.lead-form--dark { color: #fff; }
.lead-form--dark .lead-form__success { color: #fff; }
.form3d {
  position: relative; margin-top: var(--section-gap); color: #fff;
  background: var(--c-dark);
  isolation: isolate;
  --focus-ring: var(--c-marker);
}
.form3d__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.form3d::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 100%); opacity: 0.7; }
.form3d__inner { padding-top: 123px; padding-bottom: 80px; }
.form3d__title { font-family: var(--font-head); font-size: 20px; line-height: 1.2; text-transform: uppercase; max-width: 590px; }
.form3d__text { margin-top: 12px; font-size: 13px; line-height: 1.4; max-width: 470px; }
.form3d .lead-form { margin-top: 24px; max-width: 561px; }
.form3d__note { margin-top: 14px; font-size: 11px; opacity: 0.9; }
@media (min-width: 960px) {
  .form3d::before { background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.4) 100%); }
  .form3d__inner { min-height: 680px; padding-top: 149px; }
  .form3d__title { font-size: 30px; line-height: 36px; }
  .form3d__text { margin-top: 15px; font-size: 20px; line-height: 28px; }
  .form3d .lead-form { margin-top: 30px; }
  .form3d__note { font-size: 14px; }
}
.reviews__head { display: grid; gap: 16px; align-items: center; }
.reviews__head .section__title { margin-bottom: 0; max-width: 560px; }
.reviews__arrows { display: flex; gap: 8px; }
.reviews__track {
  --track-pad: max(var(--gutter), (100% - var(--container)) / 2);
  display: flex; gap: 12px; margin-top: 30px; padding: 0 var(--track-pad) 20px; scroll-padding-inline: var(--track-pad);
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.review { flex: 0 0 300px; scroll-snap-align: start; padding: 20px; background: var(--c-paper); }
.review__head { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; }
.review__avatar { width: 50px; height: 50px; object-fit: cover; }
.review__avatar--initials { display: grid; place-items: center; background: var(--c-soft-warm); color: var(--c-ink-strong); font: 500 16px/1 var(--font-head); }
.review__name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.review__city, .review__date { font-size: 12px; opacity: 0.5; }
.review__meta { text-align: right; }
.review__stars { display: flex; gap: 4px; margin-bottom: 4px; }
.review__body { display: grid; grid-template-columns: 1fr 110px; gap: 10px; margin-top: 16px; }
.review__text { font-size: 13px; line-height: 1.45; }
.review__photo { width: 100%; height: 200px; object-fit: cover; }
.review { display: flex; flex-direction: column; }
.review--text .review__body { grid-template-columns: 1fr; }
.review__source { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--c-muted); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 640px) {
  .reviews__head { grid-template-columns: 1fr auto auto; }
}
@media (max-width: 639px) {
  .reviews__rating.rating--large .rating__logo { width: 124px; }
  .reviews__rating.rating--large .rating__value { font-size: 30px; }
  .reviews__rating.rating--large .rating__stars { font-size: 13px; }
  .reviews__rating.rating--large .rating__caption { font-size: 12px; }
}
@media (min-width: 1200px) {
  .reviews__track { gap: 39px; }
  .review { flex-basis: 380px; padding: 21px 20px 20px; }
  .review__text { font-size: 14px; line-height: 20px; }
}
.team__text { padding: 20px 18px; background: var(--c-paper); }
.team__lead { font-weight: 600; font-size: 13px; line-height: 1.25; }
.team__text p + p { margin-top: 10px; font-size: 13px; }
.team__photo { width: 100%; margin-top: 24px; aspect-ratio: 352 / 211; object-fit: cover; }
@media (min-width: 960px) {
  .team__text { padding: 20px; }
  .team__lead { font-size: 18px; line-height: 23px; }
  .team__text p + p { font-size: 16px; line-height: 22px; margin-top: 18px; }
  .team__text p + p + p { margin-top: 5px; }
  .team__photo { margin-top: 50px; aspect-ratio: 1160 / 583; }
}
.hihome__covers { display: block; position: relative; width: 100%; max-width: 866px; height: 560px; margin: 0 auto; padding: 0; border: 0; background: none; }
.hihome__cover { position: absolute; width: 196px; box-shadow: 0 0 0 1px var(--c-line-warm); border: 6px solid #fff; background: #fff; transition: translate var(--t-mid) var(--ease); }
.hihome__cover img { width: 100%; aspect-ratio: 300 / 373; object-fit: cover; }
.hihome__cover--1 { left: 4%; top: 0; transform: rotate(-4deg); }
.hihome__cover--2 { right: 4%; top: 130px; transform: rotate(5deg); z-index: 2; }
.hihome__cover--3 { left: 2%; top: 320px; transform: rotate(-3deg); }
.hihome__covers:hover .hihome__cover { translate: 0 -6px; }
.hihome__action { display: flex; justify-content: center; margin-top: 16px; }
.hihome__action .btn { width: 100%; max-width: 322px; }
@media (min-width: 960px) {
  .hihome__covers { height: 400px; }
  .hihome__cover { width: 300px; }
  .hihome__cover--1 { left: 0; top: 0; transform: rotate(3deg); }
  .hihome__cover--2 { left: 280px; right: auto; top: 0; transform: rotate(-6deg); }
  .hihome__cover--3 { left: 566px; top: 8px; transform: rotate(3deg); }
  .hihome__action { margin-top: 40px; }
  .hihome__action .btn { width: 287px; }
}
.faq { margin-top: var(--section-gap); padding: 41px 0 50px; background: var(--c-paper); color: var(--c-ink-strong); }
.faq__columns { display: grid; gap: 0; }
.faq__item { border-top: 1px solid var(--c-line-warm); }
.faq__column:last-child .faq__item:last-child { border-bottom: 1px solid var(--c-line-warm); }
.faq__item summary {
  display: grid; grid-template-columns: 1fr 34px; gap: 4px 16px; align-items: center;
  padding: 18px 6px; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { grid-column: 1; font-size: 12px; color: var(--c-ink-2); }
.faq__q { grid-column: 1; font-size: 16px; line-height: 1.25; font-weight: 500; }
.faq__toggle {
  grid-column: 2; grid-row: 1 / 3; width: 36px; height: 36px; position: relative;
  box-shadow: inset 0 0 0 1px var(--c-line-warm);
  transition: background-color var(--t-fast) var(--ease), transform 0.3s var(--ease);
}
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--c-ink-strong); translate: -50% -50%; transition: rotate .2s; }
.faq__toggle::after { rotate: 90deg; }
.faq__item summary:hover .faq__toggle { background: var(--c-soft-warm); }
.faq__item[open] .faq__toggle { background: var(--c-marker); box-shadow: none; transform: rotate(45deg); }
.faq__a { padding: 0 6px 20px; color: var(--c-ink-2); font-size: 15px; line-height: 1.45; }
.faq__a ul { margin: 0; padding-left: 20px; }
@media (min-width: 960px) {
  .faq { padding: 70px 0 70px; }
  .faq__columns { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .faq__column .faq__item:last-child { border-bottom: 1px solid var(--c-line-warm); }
  .faq__q { font-size: 20px; }
  .faq__a { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: up-sm var(--t-mid) 0.05s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__toggle { transition: none; }
}
.builds__marquee { overflow: hidden; margin-top: 8px; }
.builds__track { display: flex; gap: 20px; width: max-content; animation: builds-run var(--duration, 70s) linear infinite; }
.builds__marquee:hover .builds__track { animation-play-state: paused; }
.builds__item { flex: 0 0 auto; width: 300px; }
.builds__item img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 10px; }
@keyframes builds-run { to { transform: translateX(calc(-50% - 10px)); } }
@media (min-width: 960px) { .builds__item { width: 500px; } }
@media (prefers-reduced-motion: reduce) { .builds__track { animation: none; } .builds__marquee { overflow-x: auto; } }
.contacts__grid { display: grid; gap: 30px; }
.contacts__map { position: relative; min-height: 420px; background: #eee; }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__map-link { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-size: 13px; padding: 6px 10px; background: #fff; text-decoration: none; }
.contacts__entrance {
  position: absolute; left: 12px; top: 12px; z-index: 1; width: 124px; padding: 4px; border: 1px solid var(--c-line-warm);
  background: #fff; color: var(--c-text); text-align: left; cursor: zoom-in;
  transition: transform var(--t-fast) var(--ease);
}
.contacts__entrance:hover { transform: translateY(-2px); }
.contacts__entrance:focus-visible { outline: 3px solid var(--c-marker); outline-offset: 2px; }
.contacts__entrance img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contacts__entrance span { display: block; padding: 6px 4px 2px; font-size: 12px; font-weight: 600; line-height: 1.2; }
.contacts__list { display: grid; gap: 4px; font-size: 15px; line-height: 1.5; }
.contacts__list dt { margin-top: 16px; }
.contacts__list dt:first-child { margin-top: 0; }
.contacts__list dd { font-weight: 600; }
.contacts__list a { text-decoration: underline; text-underline-offset: 3px; }
.contacts__salon-title { margin: 48px 0 18px; font-family: var(--font-head); font-size: 16px; font-weight: 500; text-transform: uppercase; }
.contacts__salon-slider .slider__slide { flex-basis: 82%; padding-right: 10px; }
.contacts__salon-slider .slider__slide { overflow: hidden; }
.contacts__salon-slider .slider__slide img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.contacts__salon-slider .slider__slide:hover img { transform: scale(1.035); }
@media (min-width: 960px) {
  .contacts__grid { grid-template-columns: minmax(0, 834px) minmax(260px, 1fr); grid-template-rows: auto 1fr; column-gap: 40px; }
  .contacts__map { grid-row: 1 / 3; min-height: 582px; }
  .contacts__list { font-size: 20px; line-height: 31px; padding-top: 40px; }
  .contacts__list dt { margin-top: 28px; }
  .contacts__salon-title { font-size: 20px; margin-top: 64px; }
  .contacts__entrance { left: 16px; top: 16px; width: 208px; padding: 6px; }
  .contacts__entrance span { padding: 8px 4px 2px; font-size: 14px; }
  .contacts__salon-slider .slider__slide { flex-basis: 25%; padding-right: 14px; }
}
.footer { margin-top: var(--section-gap); padding: 32px 0 36px; background: var(--c-soft-warm); }
.footer__inner { display: grid; gap: 16px; font-size: 12px; line-height: 17px; color: var(--c-ink-2); }
.footer__links { display: grid; gap: 4px; }
.footer__links a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) {
  .footer__inner { grid-template-columns: 1fr auto; }
  .footer__links { text-align: right; }
}
.legal__inner { max-width: 860px; }
.legal__title { font-family: var(--font-head); font-size: 20px; line-height: 1.3; text-transform: uppercase; text-align: center; margin-bottom: 40px; }
.legal__text h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal__text p { margin-top: 10px; }
.not-found p { margin-top: 16px; }
.to-top {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 16px); z-index: 20; width: 48px; height: 48px;
  border: 1px solid var(--c-line-warm); display: grid; place-items: center;
  color: var(--c-ink-strong); background: rgba(246, 244, 239, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s;
}
.to-top:hover { background: var(--c-marker); border-color: var(--c-marker); }
.to-top.is-away {
  opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s var(--t-fast);
}
.to-top[hidden] { display: none; }
.modal {
  width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: #fff; color: var(--c-text); overflow: auto;
}
.modal::backdrop {
  background: rgba(22, 22, 22, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal[open] { animation: rise var(--t-mid) var(--ease); }
.modal[open]::backdrop { animation: fade var(--t-mid) var(--ease); }
.modal.is-closing { animation: sink 0.3s var(--ease) forwards; }
.modal.is-closing::backdrop { animation: fade-out 0.3s var(--ease) forwards; }
.modal__close {
  position: absolute; right: 8px; top: 8px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 0;
  background: var(--c-paper) center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2 2 14' stroke='%231b1b1b' stroke-width='2'/%3E%3C/svg%3E");
  transition: background-color var(--t-fast) var(--ease);
}
.modal__close:hover { background-color: var(--c-marker); }
body.has-modal { overflow: hidden; }
.modal-lead { display: grid; }
.modal-lead__media img { width: 100%; height: 100%; max-height: 160px; object-fit: cover; }
.modal-lead__body { padding: 24px 20px 28px; }
.modal-lead .lead-form__submit { width: 100%; }
@media (min-width: 760px) {
  .modal-lead { grid-template-columns: 1fr 1fr; }
  .modal-lead__media img { max-height: none; min-height: 100%; }
  .modal-lead__body { padding: 48px 40px; }
}
.modal--menu { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; background: var(--c-page); }
.modal--menu[open] { animation: fade 0.3s var(--ease); }
.modal--menu.is-closing { animation: fade-out 0.3s var(--ease) forwards; }
.modal--menu .modal__close { top: calc((var(--header-h) - 44px) / 2); right: var(--gutter); background-color: transparent; }
.mobile-menu { display: grid; gap: 4px; padding: 72px 24px 24px; }
.mobile-menu a {
  padding: 12px 0; font-family: var(--font-head); font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em;
  text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--c-line-warm);
}
.mobile-menu__contacts { display: grid; gap: 10px; padding: 8px 24px 32px; }
.mobile-menu__phone { font-family: var(--font-head); font-size: 18px; font-weight: 600; text-decoration: none; }
.mobile-menu__contacts .btn { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .modal--menu[open] .mobile-menu a, .modal--menu[open] .mobile-menu__contacts { animation: up-sm var(--t-mid) var(--ease) both; }
  .modal--menu[open] .mobile-menu a:nth-child(2) { animation-delay: 0.04s; }
  .modal--menu[open] .mobile-menu a:nth-child(3) { animation-delay: 0.08s; }
  .modal--menu[open] .mobile-menu a:nth-child(4) { animation-delay: 0.12s; }
  .modal--menu[open] .mobile-menu a:nth-child(5) { animation-delay: 0.16s; }
  .modal--menu[open] .mobile-menu a:nth-child(n + 6) { animation-delay: 0.2s; }
  .modal--menu[open] .mobile-menu__contacts { animation-delay: 0.24s; }
}
.modal--offer { width: min(1107px, calc(100vw - 24px)); background: var(--c-page); }
.offer { display: grid; }
.offer__body { padding: 32px 20px 20px; }
.offer__title { font-family: var(--font-head); font-size: 20px; line-height: 1.2; text-transform: uppercase; }
.offer__title .accent { display: block; width: fit-content; }
.offer__text { margin: 12px 0 20px; font-size: 14px; }
.offer__media img { width: 100%; height: 100%; max-height: 240px; object-fit: cover; }
.offer__advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 20px; list-style: none; font-size: 12px; text-align: center; }
.offer__advantages li { display: grid; justify-items: center; gap: 6px; }
@media (min-width: 900px) {
  .offer { grid-template-columns: 460px 1fr; }
  .offer__body { padding: 56px 40px 24px; }
  .offer__title { font-size: 30px; }
  .offer__media { grid-row: 1 / 3; grid-column: 2; }
  .offer__media img { max-height: none; height: 100%; }
  .offer__advantages { grid-template-columns: repeat(4, 1fr); padding: 0 40px 40px; }
}
.modal--photo { width: min(960px, calc(100vw - 24px)); }
.modal-photo { margin: 0; }
.modal-photo img { display: block; width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; background: #000; }
.modal-photo figcaption { padding: 12px 16px; font-size: 15px; }
.modal--book { width: min(560px, calc(100vw - 24px)); background: var(--c-page); padding: 56px 16px 20px; overflow: hidden; }
.book__pages { position: relative; perspective: 1600px; aspect-ratio: 1276 / 1586; }
.book__page {
  position: absolute; inset: 0; transform-origin: left center; backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.4, .1, .3, 1), opacity .7s; background: #fff;
  box-shadow: 0 0 0 1px var(--c-line-warm);
}
.book__page img { width: 100%; height: 100%; object-fit: cover; }
.book__page::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 36px; height: 36px;
  background: linear-gradient(315deg, #f4f4f4 50%, rgba(0, 0, 0, 0.15) 50%, #fff 60%);
}
.book__page.is-turned { transform: rotateY(-100deg); opacity: 0; pointer-events: none; }
.book__page.is-ahead { opacity: 0; pointer-events: none; }
.book__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.book__nav .slider__arrow { position: static; translate: none; }
.book__counter { min-width: 60px; text-align: center; font-size: 14px; }
.book__issue { display: flex; justify-content: center; margin-top: 14px; }
@media (max-width: 639px) {
  .modal--lead, .modal--offer, .modal--photo, .modal--book {
    width: 100vw; max-width: none; margin: auto auto 0; max-height: calc(100dvh - 12px);
  }
}
.modal--project {
  width: min(640px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto;
  background: var(--c-page); overflow: hidden;
}
.modal--project[open] { animation: sheet-in 0.55s var(--ease); }
.modal--project[open]::backdrop { animation: fade 0.4s var(--ease); }
.modal--project.is-closing { animation: sheet-out 0.4s var(--ease) forwards; }
.modal--project.is-closing::backdrop { animation: fade-out 0.4s var(--ease) forwards; }
@keyframes sheet-in { from { transform: translateX(100%); } }
@keyframes sheet-out { to { transform: translateX(100%); } }
.modal--project .modal__close { top: 12px; right: 12px; width: 48px; height: 48px; background-color: var(--c-marker); }
.modal--project .modal__close:hover { background-color: var(--c-paper); }
@media (min-width: 960px) {
  .modal--project { width: min(1240px, 94vw); }
}
@media (prefers-reduced-motion: no-preference) {
  .modal--project[open]:not(.is-closing) .project-modal__photos { animation: fade 0.8s 0.2s var(--ease) both; }
  .modal--project[open]:not(.is-closing) .project-modal__info > * { animation: up-sm 0.6s 0.15s var(--ease) both; }
  .modal--project[open]:not(.is-closing) .project-modal__info > :nth-child(2) { animation-delay: 0.2s; }
  .modal--project[open]:not(.is-closing) .project-modal__info > :nth-child(3) { animation-delay: 0.25s; }
  .modal--project[open]:not(.is-closing) .project-modal__info > :nth-child(4) { animation-delay: 0.3s; }
  .modal--project[open]:not(.is-closing) .project-modal__info > :nth-child(n + 5) { animation-delay: 0.35s; }
}
@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal[open]::backdrop, .modal.is-closing, .modal.is-closing::backdrop { animation: none; }
}
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  height: var(--bar-h); padding: 8px var(--gutter);
  background: rgba(246, 244, 239, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line-warm);
  transition: transform 0.35s var(--ease), visibility 0s 0.35s;
}
.mobile-bar__icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; }
.mobile-bar__icon img { width: 52px; height: 52px; }
.mobile-bar__call { color: #fff; background: var(--c-call); transition: background-color var(--t-fast) var(--ease); }
.mobile-bar__call:hover { background: var(--c-call-hover); }
.mobile-bar__cta { flex: 1; padding: 0 12px; }
.mobile-bar.is-out { transition: transform 0.35s var(--ease), visibility 0s; }
.js body:has(.hero__cta) .mobile-bar:not(.is-out) { transform: translateY(110%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mobile-bar, .mobile-bar.is-out { transition: none; }
}
@media (min-width: 960px) {
  .mobile-bar { display: none; }
}
.quiz__lead { margin-top: 8px; color: var(--c-muted); }
.lead-form.quiz { margin-top: 22px; }
.quiz__head { margin-bottom: 16px; }
.quiz__head[hidden] { display: none; }
.quiz__count { font-size: 13px; color: var(--c-muted); }
.quiz__progress { height: 3px; margin-top: 8px; background: var(--c-soft-warm); }
.quiz__progress span { display: block; height: 100%; background: var(--c-marker); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.quiz__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz__step + .quiz__step { margin-top: 24px; }
.quiz.is-stepped .quiz__step { margin-top: 0; }
.quiz__step[hidden] { display: none; }
.quiz__question { padding: 0; margin-bottom: 14px; font-family: var(--font-head); font-size: 17px; line-height: 1.3; font-weight: 600; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz__option {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 14px; border: 1px solid var(--c-line); background: var(--c-paper);
  font-size: 14px; line-height: 1.3; cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.quiz__options--icons .quiz__option { min-height: 100px; }
.quiz__option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quiz__option:hover { border-color: var(--c-ink-strong); }
.quiz__option:has(input:checked) { border-color: var(--c-marker); background: #fff6d2; box-shadow: inset 0 0 0 1px var(--c-marker); }
.quiz__option:has(input:focus-visible) { outline: 2px solid var(--c-ink-strong); outline-offset: 2px; }
.quiz__nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quiz__nav[hidden], .quiz__next[hidden] { display: none; }
.quiz__back { padding: 12px 0; border: 0; background: none; font-size: 14px; color: var(--c-muted); transition: color var(--t-fast) var(--ease); }
.quiz__back:hover { color: var(--c-text); }
.quiz__back[hidden] { display: block; visibility: hidden; }
.quiz__next { margin-left: auto; min-width: 150px; min-height: 50px; }
.quiz__next:disabled { opacity: 0.5; cursor: default; }
.field__label { display: block; margin-bottom: 6px; padding: 0; font-size: 13px; color: var(--c-muted); }
.field-chips { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-chips__list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--c-line); font-size: 14px; transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover span { border-color: var(--c-text); }
.chip input:checked + span { color: #fff; background: var(--c-text); border-color: var(--c-text); }
.chip input:focus-visible + span { outline: 2px solid var(--focus-ring, var(--c-ink-strong)); outline-offset: 2px; }
.quiz .lead-form__fields { gap: 14px; }
.quiz .lead-form__submit { width: 100%; }
.quiz.is-sent .quiz__step, .quiz.is-sent .quiz__head, .quiz.is-sent .quiz__nav { display: none; }
.quiz.is-contacts .quiz__head, .quiz.is-contacts .quiz__nav { display: none; }
.modal-lead__body:has(.quiz.is-contacts) .quiz__lead { display: none; }
.quiz-block__box { display: grid; background: var(--c-paper); border: 1px solid var(--c-line-warm); }
.quiz-block__media { display: none; overflow: hidden; }
.quiz-block__body { padding: 28px 16px 24px; }
@media (prefers-reduced-motion: no-preference) {
  .quiz.is-stepped .quiz__step:not([hidden]) { animation: up-sm 0.45s var(--ease); }
}
@media (min-width: 960px) {
  .quiz__options { gap: 10px; }
  .quiz-block__box { grid-template-columns: 5fr 6fr; min-height: 620px; }
  .quiz-block__media { display: block; }
  .quiz-block__media img { width: 100%; height: 100%; object-fit: cover; }
  .quiz-block__body { padding: 48px 56px; }
}
.materials__head { display: grid; justify-items: center; text-align: center; }
.materials__title { margin: 16px auto 0; }
.materials__lead { max-width: 560px; margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--c-ink-2); }
.materials__body { display: grid; gap: 22px; margin-top: clamp(28px, 4vw, 52px); }
html:not(.js) .materials__tabs { display: none; }
html:not(.js) .materials__pane + .materials__pane { padding-top: 22px; border-top: 1px solid var(--c-line-warm); }
.js .materials__pane:not(.is-active) { display: none; }
.materials__tabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
}
.materials__tabs::-webkit-scrollbar { display: none; }
.materials__tab {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1px solid var(--c-line-warm); background: none; color: var(--c-ink-strong);
  font: inherit; text-align: left; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.materials__tab:hover { border-color: var(--c-ink-strong); }
.materials__tab[aria-selected="true"] { background: var(--c-marker); border-color: var(--c-marker); }
.materials__tab:focus-visible { outline: 2px solid var(--c-ink-strong); outline-offset: 2px; }
.materials__num { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.materials__name { display: grid; font-family: var(--font-head); font-size: 15px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.materials__name small {
  margin-bottom: 3px; font-family: var(--font-text); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-2);
}
.materials__arrow { display: none; }
.materials__pane { display: grid; gap: 22px; }
.materials__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft-warm); }
.materials__photo img { width: 100%; height: 100%; object-fit: cover; }
.materials__info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.materials__logo { display: block; width: auto; }
.materials__logo--egger { height: clamp(28px, 2.4vw, 34px); }
.materials__logo--blum { height: clamp(40px, 3.6vw, 52px); }
.materials__heading {
  font-family: var(--font-head); font-size: clamp(26px, 2.4vw, 38px); line-height: 1; font-weight: 500;
  letter-spacing: -0.035em; text-transform: uppercase; color: var(--c-ink-strong);
}
.materials__text { font-size: 15px; line-height: 1.55; color: var(--c-ink-2); }
.materials__facts { align-self: stretch; display: grid; margin: 6px 0 0; border-top: 1px solid var(--c-line-warm); }
.materials__facts div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--c-line-warm); }
.materials__facts dt { font-size: 15px; font-weight: 500; color: var(--c-ink-strong); }
.materials__facts dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--c-ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .materials__pane.is-active { animation: up var(--t-mid) var(--ease) both; }
}
@media (min-width: 640px) {
  .materials__facts div { grid-template-columns: 1fr 1.3fr; gap: 12px; }
}
@media (min-width: 960px) {
  .js .materials__body { grid-template-columns: minmax(260px, 1fr) 2.6fr; align-items: start; gap: clamp(24px, 3vw, 56px); }
  .js .materials__pane { grid-column: 2; grid-row: 1; }
  .materials__tabs {
    position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 0;
    margin: 0; padding: 0; overflow: visible; border-top: 1px solid var(--c-line-warm);
  }
  .materials__tab {
    display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; padding: 18px 0;
    border: 0; border-bottom: 1px solid var(--c-line-warm); color: var(--c-muted); white-space: normal;
  }
  .materials__tab:hover, .materials__tab[aria-selected="true"] { background: none; border-color: var(--c-line-warm); color: var(--c-ink-strong); }
  .materials__tab[aria-selected="true"] .materials__num { justify-self: start; padding: 2px 5px; background: var(--c-marker); }
  .materials__name { font-size: clamp(18px, 1.5vw, 22px); }
  .materials__name small { color: var(--c-muted); }
  .materials__arrow {
    display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6;
    opacity: 0; transform: translateX(-6px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .materials__tab:hover .materials__arrow, .materials__tab[aria-selected="true"] .materials__arrow { opacity: 1; transform: none; }
  .materials__pane { grid-template-columns: 1.35fr 1fr; align-items: start; column-gap: clamp(20px, 2.4vw, 40px); }
  .materials__text { font-size: 16px; }
}
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w > span { display: inline-block; transform: translateY(108%); transition: transform 1.05s var(--ease); }
.is-split.is-in .w > span { transform: none; }
.rv-img { clip-path: inset(10% 5% 10% 5%); transition: clip-path 1.3s var(--ease); }
.rv-img img { transform: scale(1.04); transition: transform 1.6s var(--ease); }
.rv-img.is-in { clip-path: inset(0 0 0 0); }
.rv-img.is-in img { transform: none; }
.rv-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}
.rv-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title:not(.is-split) { visibility: hidden; animation: show 0s linear 2s forwards; }
  .js .hero__line--pill {
    color: #fff; background-size: 0% 100%;
    transition: background-size 1s 0.45s var(--ease), color 0.3s 1s var(--ease);
    animation: mark-show 0s linear 2.5s forwards;
  }
  .js .hero__title.is-in .hero__line--pill { color: var(--c-ink-strong); background-size: 100% 100%; }
  .is-split .accent {
    color: inherit; background-size: 0% 100%; background-repeat: no-repeat;
    transition: background-size 1s 0.45s var(--ease), color 0.3s 1s var(--ease);
  }
  .is-split.is-in .accent { color: var(--c-ink-strong); background-size: 100% 100%; }
  .js .hero__lead { animation: up var(--t-reveal) 0.5s var(--ease) both; }
  .js .hero__actions { animation: up var(--t-reveal) 0.62s var(--ease) both; }
  .js .hero__foot { animation: fade var(--t-reveal) 0.8s var(--ease) both; }
}
@keyframes show { to { visibility: visible; } }
@keyframes mark-show { to { color: var(--c-ink-strong); background-size: 100% 100%; } }
