/* Сайт goodroom.studio (B-042). Вариант А «Бенто» с холста «ГУДРУМ — сайт»: шапка и первый экран во всю ширину,
   остальное колонкой до 1360 px. Шрифты свои (Jost — заголовки и надпись «ГУДРУМ», Manrope — текст). */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-cyr.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/jost-lat.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-cyr.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope-lat.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;
}

:root {
  --ground: #e9e8e4;
  --soft: #f7f6f3;
  --ink: #121212;
  --ink2: #5c5a56;
  --line: #e4e2dd;
  --br: 12px;
  --pad: clamp(16px, 3vw, 40px);
  --hd: 80px;
  /* первый экран: поле от края окна, внутренний отступ карточки и предел ширины — шапка выровнена по ним же */
  --gut: clamp(12px, 1.5vw, 28px);
  --in: clamp(16px, 2vw, 36px);
  --frame: 1760px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    400 16px/1.5 Manrope,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.muted {
  color: var(--ink2);
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: var(--pad);
}
.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.center-l {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dim {
  filter: brightness(0.62);
}
.disp {
  font-family: Jost, sans-serif;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.wm {
  font-family: Jost, sans-serif;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}
.wm-g {
  letter-spacing: 0.07em;
}

/* ---------- кнопки, метки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--br);
  font:
    600 15px/1 Manrope,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.btn .ic {
  transition: transform 0.3s;
}
.btn:hover .ic {
  transform: translateX(3px);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #2a2927;
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-line {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn-soft {
  background: rgba(18, 18, 18, 0.06);
  color: var(--ink);
  justify-content: flex-start;
}
.btn-wide {
  width: 100%;
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
}
.btn-xl {
  height: 60px;
  padding: 0 30px;
  font-size: 16px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  font:
    700 12px/1.2 Manrope,
    sans-serif;
}
.chip-w {
  background: #fff;
  color: var(--ink);
}
.chip-d {
  background: var(--ink);
  color: #fff;
}
.chip-o {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.chip-o2 {
  border: 1px solid var(--line);
  color: var(--ink2);
}
.chip-g {
  background: #efeeea;
  color: var(--ink);
}
.chip-lg {
  padding: 7px 12px;
  font-size: 13px;
}
.glass {
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-d {
  background: rgba(18, 18, 18, 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.arr {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s var(--ease);
}
.arr-w {
  width: 44px;
  height: 44px;
  background: #fff;
  color: var(--ink);
}

/* ---------- шапка ---------- */
.hd {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ink);
  transition:
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
.hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--hd);
  max-width: calc(var(--frame) + 2 * var(--gut));
  margin: 0 auto;
  padding: 0 calc(var(--gut) + var(--in));
}
.hd-logo .wm {
  font-size: 24px;
}
.hd-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.hd-nav a {
  position: relative;
  white-space: nowrap;
}
.hd-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.hd-nav a:hover::after {
  transform: scaleX(1);
}
.hd-end {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hd-phone {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--br);
  border: 1px solid currentColor;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hd.is-solid {
  background: rgba(233, 232, 228, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.06);
}
body.inner main {
  padding-top: var(--hd);
}
.mnav {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--ground);
  padding: calc(var(--hd) + 16px) var(--pad) 120px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
}
.mnav[hidden] {
  display: none;
}
.mnav nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mnav nav a {
  font:
    300 34px/1.2 Jost,
    sans-serif;
  letter-spacing: -0.02em;
}
.mnav-phone {
  font-weight: 700;
  font-size: 18px;
}
.mnav-msg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mnav-msg a {
  padding: 10px 14px;
  border-radius: var(--br);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .hd {
  background: var(--ground);
  color: var(--ink);
}

/* ---------- первый экран ---------- */
/* clip, а не hidden: слово «ГУДРУМ» выходит за нижний край, и фокус на кнопке внутри прокручивал бы блок.
   Карточка шире колонки сайта, с полем от края окна и пределом ширины --frame; высота — от ширины, но первый
   экран помещается целиком: в низком окне (ноутбук с масштабом Windows 125–150 %) карточка ниже, до 380 px. */
.hero {
  position: relative;
  container-type: inline-size;
  width: calc(100% - 2 * var(--gut));
  max-width: var(--frame);
  margin: var(--hd) auto 0;
  height: clamp(380px, 50vw, 880px);
  height: clamp(380px, min(50vw, calc(100svh - var(--hd) - var(--gut))), 880px);
  overflow: hidden;
  overflow: clip;
  border-radius: 28px;
  background: #2a2927;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.slide img {
  filter: brightness(0.8);
}
.anim {
  opacity: 0;
  animation: sl 18s infinite;
}
.s2 {
  animation-delay: 6s;
}
.s3 {
  animation-delay: 12s;
}
@keyframes sl {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  31% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.kb {
  animation: kb 18s ease-in-out infinite alternate;
}
@keyframes kb {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
.hero-cap {
  position: absolute;
  right: var(--in);
  top: var(--in);
  z-index: 2;
  width: 300px;
  padding: 14px 16px;
  border-radius: 16px;
}
.caps {
  position: relative;
  height: 20px;
  font-size: 14px;
  font-weight: 600;
}
.cap {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  opacity: 0;
  animation: cap 18s infinite;
}
.c2 {
  animation-delay: 6s;
}
.c3 {
  animation-delay: 12s;
}
@keyframes cap {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  3% {
    opacity: 1;
    transform: none;
  }
  31% {
    opacity: 1;
    transform: none;
  }
  34% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.pbs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.pb {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.pb i {
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
  animation: pb 18s linear infinite;
}
.p2 {
  animation-delay: 6s !important;
}
.p3 {
  animation-delay: 12s !important;
}
@keyframes pb {
  0% {
    transform: scaleX(0);
  }
  33.3% {
    transform: scaleX(1);
  }
  33.4% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(0);
  }
}
.giant {
  position: absolute;
  left: calc(var(--in) - 0.04em);
  bottom: -0.14em;
  z-index: 1;
  font:
    300 clamp(110px, 20vw, 380px)/1 Jost,
    sans-serif;
  font-size: clamp(110px, 20cqw, 380px);
  /* в низком окне слово не выше 44 % высоты экрана — не заходит под текст карточки */
  font-size: clamp(110px, min(20cqw, 44svh), 380px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  animation: rise 1.3s var(--ease) both;
}
.giant .wm-g {
  letter-spacing: -0.04em;
}
@keyframes rise {
  from {
    transform: translateY(70%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.hero-text {
  position: absolute;
  left: var(--in);
  top: var(--in);
  z-index: 2;
  max-width: 440px;
  padding: 26px 28px;
  border-radius: 22px;
}
.hero-text h1 {
  font:
    600 30px/1.18 Manrope,
    sans-serif;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.hero-text p {
  font-size: 15px;
  color: #eceae6;
  margin-bottom: 18px;
}
.hero-cta {
  position: absolute;
  right: var(--in);
  bottom: var(--in);
  z-index: 2;
  width: min(380px, calc(100% - 2 * var(--in)));
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
}
.hero-cta-t {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.hero-cta-s {
  font-size: 14px;
  color: var(--ink2);
  margin-bottom: 16px;
}
/* низкое окно на компьютере: шапка ниже, карточки первого экрана плотнее — всё помещается без прокрутки */
@media (min-width: 761px) and (max-height: 760px) {
  :root {
    --hd: 68px;
  }
  .hero-cap {
    padding: 12px 14px;
  }
  .hero-text {
    max-width: 400px;
    padding: 20px 22px;
    border-radius: 20px;
  }
  .hero-text h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }
  .hero-text p {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .hero-cta {
    width: min(340px, calc(100% - 2 * var(--in)));
    padding: 18px;
    border-radius: 20px;
  }
  .hero-cta-t {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .hero-cta-s {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .hero-cta .btn {
    height: 44px;
  }
}

/* ---------- секции ---------- */
.sec {
  margin-top: 96px;
}
.sec-s {
  margin-top: 16px;
}
.page-top {
  padding-top: 28px;
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.sec-note {
  max-width: 420px;
  font-size: 16px;
  color: var(--ink2);
}
.h-xl {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
}
.h-l {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
}
.h-xl > span,
.h-l > span {
  display: block;
}
.stag2 {
  padding-left: clamp(0px, 9vw, 140px);
}
.stag3 {
  padding-left: clamp(0px, 18vw, 280px);
}
.crumbs {
  font-size: 14px;
  color: var(--ink2);
  margin-bottom: 20px;
}
.crumbs a:hover {
  color: var(--ink);
}
.empty {
  color: var(--ink2);
  margin-top: 20px;
}

/* ---------- фильтр ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fchip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--br);
  border: 1px solid #cfcdc8;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s;
}
.fchip:hover {
  border-color: var(--ink);
}
.fchip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter-wide {
  margin-bottom: 26px;
}

/* ---------- карточки проектов (главная) ---------- */
.proj {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 16px;
}
.pc {
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background: #d8d6d1;
}
.pc img {
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease);
}
.pc:hover img {
  transform: scale(1.05);
}
.pc:hover .arr {
  transform: rotate(45deg);
}
.pc-big {
  grid-column: span 2;
  grid-row: span 2;
}
.pc-tall {
  grid-row: span 2;
}
.pc-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.pc-label-lg {
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 440px;
  padding: 16px 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-label-lg .chips {
  margin-bottom: 6px;
}
.pc-t {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}
.pc-big .pc-t {
  font-size: 22px;
}
.pc-s {
  font-size: 13px;
  color: #eceae6;
}
.notch {
  position: absolute;
  top: 0;
  right: 0;
  width: 68px;
  height: 68px;
  z-index: 3;
  background: var(--nb, var(--ground));
  border-bottom-left-radius: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.notch::before,
.notch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 100%, transparent 20px, var(--nb, var(--ground)) 20.5px);
}
.notch::before {
  top: 0;
  left: -20px;
}
.notch::after {
  bottom: -20px;
  right: 0;
}

/* ---------- плитки (список, похожие) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px 16px;
}
.tiles-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tile {
  display: block;
}
.tile-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #d8d6d1;
}
.tile-img img {
  transition: transform 1s var(--ease);
}
.tile:hover .tile-img img {
  transform: scale(1.05);
}
.tile-arr {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.tile:hover .tile-arr {
  opacity: 1;
  transform: none;
}
.tile-t {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
}
.tile-s {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink2);
}

/* ---------- есть / нет дизайн-проекта ---------- */
.paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.path {
  position: relative;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 380px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 30px;
  background: #fff;
}
.path-dark {
  background: var(--ink);
  color: #fff;
}
.path-word {
  position: absolute;
  right: 28px;
  bottom: -34px;
  font:
    300 170px/1 Jost,
    sans-serif;
  color: #efeeea;
  pointer-events: none;
}
.path-dark .path-word {
  color: #262523;
}
.path-t {
  position: relative;
  margin: 20px 0 18px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  max-width: 440px;
}
.nums {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: n;
  display: grid;
  gap: 12px;
  font-size: 16px;
  color: #3e3c38;
}
.path-dark .nums {
  color: #d9d7d2;
}
.nums li {
  counter-increment: n;
  display: flex;
  gap: 12px;
}
.nums li::before {
  content: counter(n);
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.path-dark .nums li::before {
  background: #fff;
  color: var(--ink);
}
.path-btns {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

/* ---------- комплектация ---------- */
.svc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 340px;
  gap: 16px;
}
.svc-card {
  position: relative;
  overflow: hidden;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 26px;
  background: #d8d6d1;
  color: #fff;
  text-align: left;
}
.svc-card img {
  position: absolute;
  inset: 0;
}
.svc-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.svc-t {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.svc-s {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #eceae6;
}
.svc-dark {
  background: var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  cursor: pointer;
}
.svc-dark .arr {
  align-self: flex-end;
}
.svc-dark .svc-t {
  font-size: 20px;
  margin-bottom: 6px;
}
.svc-dark:hover .arr {
  transform: rotate(45deg);
}

/* ---------- о студии ---------- */
.about {
  background: var(--soft);
  border-radius: 30px;
  padding: clamp(20px, 3vw, 40px);
  --nb: var(--soft);
}
.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink2);
  align-self: flex-end;
}
.about-list .strong {
  color: var(--ink);
  font-weight: 600;
}
.three {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
}
.stat {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background: #3a3936;
}
.stat img {
  position: absolute;
  inset: 0;
}
.stat-in {
  position: relative;
  height: 100%;
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-end {
  justify-content: flex-end;
  gap: 8px;
}
.stat-n {
  display: block;
  font-size: 96px;
  line-height: 0.9;
}
.stat-in p {
  font-size: 16px;
  line-height: 1.4;
  max-width: 260px;
  margin-top: 10px;
}
.stat-note {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px !important;
  max-width: none !important;
}
.stat-t {
  font-size: 26px !important;
  font-weight: 600;
  line-height: 1.15 !important;
}
.col2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.box {
  position: relative;
  flex: 1;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.box-t {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.box-s {
  font-size: 14px;
  color: var(--ink2);
}
.box-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.link-plus {
  position: absolute;
  left: 50%;
  bottom: -22px;
  margin-left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d8d6d1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ---------- как работаем ---------- */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
}
.step-dark {
  background: var(--ink);
  color: #fff;
}
.step-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.step-dark .step-h {
  border-color: rgba(255, 255, 255, 0.18);
}
.step-t {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 160px;
}
.step-n {
  font-size: 40px;
  line-height: 0.9;
}
.step-s {
  font-size: 15px;
  color: var(--ink2);
}
.step-dark .step-s {
  color: #d9d7d2;
}
.plus {
  position: absolute;
  right: -24px;
  top: 50%;
  margin-top: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ---------- отзывы, журнал ---------- */
.revs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 16px;
}
.rev {
  margin: 0;
  background: #fff;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.rev blockquote {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}
.rev figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink2);
}
.rev figcaption b {
  color: var(--ink);
}
.rev-dark {
  background: var(--ink);
  color: #fff;
  min-height: 280px;
}
.rev-dark .arr {
  align-self: flex-end;
}
.rev-dark:hover .arr {
  transform: rotate(45deg);
}
.rev-big {
  display: block;
  font-size: 40px;
  line-height: 1.05;
}
.rev-s {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #d9d7d2;
}
.jr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.jr-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.jr-img {
  display: block;
  height: 240px;
  background: #d8d6d1;
}
.jr-in {
  display: block;
  padding: 20px 22px 24px;
}
.jr-t {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- контакты и запись ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
}
.ct-dark {
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ct-k {
  font-size: 14px;
  font-weight: 600;
  color: #bdbab4;
  margin-bottom: 6px;
}
.ct-addr {
  font-size: 40px;
  line-height: 1.05;
  margin-bottom: 22px;
}
.ct-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
}
.ct-row span:first-child {
  color: #bdbab4;
}
.ct-map {
  position: relative;
  flex: 1;
  min-height: 180px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  background:
    repeating-linear-gradient(8deg, transparent 0 46px, #34322f 46px 56px),
    repeating-linear-gradient(98deg, transparent 0 70px, #2e2c29 70px 78px), #232220;
}
.ct-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  color: #fff;
}
.ct-map-t {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.ct-book {
  background: #fff;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.ct-text {
  font-size: 16px;
  color: var(--ink2);
  max-width: 560px;
}
.ct-or {
  margin: 14px 0 0;
  color: var(--ink2);
}
.ct-msg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- вопросы ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq details {
  background: #fff;
  border-radius: 20px;
  padding: 20px 24px;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink2);
}
.pm {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #efeeea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.faq details[open] .pm {
  transform: rotate(45deg);
}

/* ---------- подвал ---------- */
.ft-wrap {
  margin-top: 96px;
  padding-bottom: 24px;
}
.ft {
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  padding: clamp(24px, 3.4vw, 48px);
}
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.ft-logo .wm {
  font-size: 44px;
}
.ft-about {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #bdbab4;
  max-width: 340px;
}
.ft-col {
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: 15px;
}
.ft-col .muted {
  color: #bdbab4;
}
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #bdbab4;
}

/* ---------- страницы услуг, разделов и журнала (B-046) ---------- */
.sv-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 16px;
}
.sv-top-1 {
  grid-template-columns: minmax(0, 1fr);
}
.sv-info {
  background: #fff;
  border-radius: 30px;
  padding: clamp(22px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sv-h1 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.04;
}
.sv-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink2);
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.35em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.sv-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.sv-ph {
  position: relative;
  min-height: clamp(360px, 40vw, 600px);
  border-radius: 30px;
  overflow: hidden;
  background: #d8d6d1;
}
.sv-ph .ph {
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
a.box {
  transition: background 0.2s;
}
a.box:hover {
  background: #f5f4f1;
}
.box-k {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink2);
}
.link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.req .facts {
  max-width: 560px;
}
.art-head {
  max-width: 860px;
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.art-meta {
  font-size: 14px;
  color: var(--ink2);
}
.art-ph {
  position: relative;
  height: clamp(260px, 36vw, 520px);
  margin-top: 28px;
  border-radius: 30px;
  overflow: hidden;
  background: #d8d6d1;
}
.art-ph .ph {
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.prose {
  max-width: 760px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
}
.prose h2 {
  font:
    600 26px/1.25 Manrope,
    sans-serif;
  margin: 36px 0 12px;
}
.prose p {
  margin: 0 0 14px;
}
.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.art-cta {
  max-width: 760px;
  margin-top: 36px;
}
.ft-h {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8f8c86;
}
.ft-soc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .sv-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .cards,
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .cards,
  .cards-2,
  .cards-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .sv-ph {
    min-height: 280px;
  }
  .sv-lead,
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 22px;
  }
}

/* ---------- страница проекта ---------- */
.pj-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
}
.pj-cover {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(420px, 44vw, 660px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  overflow: hidden;
  background: #d8d6d1;
  cursor: zoom-in;
}
.pj-count {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.pj-info {
  background: #fff;
  border-radius: 30px;
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pj-h1 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.05;
}
.pj-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink2);
}
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 15px;
}
.facts dt {
  color: var(--ink2);
}
.facts dd {
  margin: 0;
}
.pj-info .btn {
  margin-top: auto;
}
.gallery {
  columns: 4 240px;
  column-gap: 12px;
}
.gph {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #d8d6d1;
  cursor: zoom-in;
  break-inside: avoid;
}
.gph img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease);
}
.gph:hover img {
  transform: scale(1.03);
}
.nf {
  min-height: 50vh;
}

/* ---------- окно записи ---------- */
.bk {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
}
.bk::backdrop {
  background: rgba(18, 18, 18, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.bk[open] {
  animation: pop 0.35s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bk-box {
  padding: 24px;
}
.bk-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.bk-title {
  font:
    300 30px/1.05 Jost,
    sans-serif;
  letter-spacing: -0.02em;
}
.bk-x {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #efeeea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bk-load,
.bk-note {
  color: var(--ink2);
  font-size: 14px;
}
.bk-lbl {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bk-days {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.bk-days::-webkit-scrollbar {
  display: none;
}
.bk-day {
  flex: none;
  width: 66px;
  height: 64px;
  border-radius: var(--br);
  border: 1px solid #dedcd7;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  cursor: pointer;
}
.bk-day small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--ink2);
}
.bk-day[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.bk-day[aria-pressed='true'] small {
  color: #d9d7d2;
}
.bk-day:disabled {
  opacity: 0.35;
  cursor: default;
}
.bk-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 6px;
}
.bk-time {
  height: 46px;
  border-radius: var(--br);
  border: 1px solid #dedcd7;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.bk-time[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.bk-field {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
}
.bk-field input,
.bk-field select,
.bk-field textarea {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border-radius: var(--br);
  border: 1px solid #dedcd7;
  background: var(--soft);
  font:
    500 16px Manrope,
    sans-serif;
  color: var(--ink);
}
.bk-field textarea {
  height: 84px;
  padding: 12px 14px;
  resize: vertical;
}
.bk-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink2);
}
.bk-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  flex: none;
}
.bk-check a {
  text-decoration: underline;
}
.bk-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bk-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.bk-actions .btn {
  flex: 1;
  height: 54px;
}
.bk-err {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fbe9e7;
  color: #8a1c10;
  font-size: 14px;
}
.bk-sum {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 15px;
}
.bk-done {
  text-align: left;
}
.bk-done .bk-big {
  font:
    300 34px/1.1 Jost,
    sans-serif;
  margin: 6px 0 12px;
}

/* ---------- просмотр фото ---------- */
.lb {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.96);
  color: #fff;
}
.lb[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb::backdrop {
  background: rgba(10, 10, 10, 0.9);
}
.lb-img {
  max-width: calc(100% - 140px);
  max-height: calc(100% - 100px);
  object-fit: contain;
  border-radius: 12px;
  user-select: none;
}
.lb-x,
.lb-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-x {
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
}
.lb-nav {
  top: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  font-size: 32px;
  line-height: 1;
}
.lb-prev {
  left: 16px;
}
.lb-next {
  right: 16px;
}
.lb-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-size: 14px;
  color: #d9d7d2;
}

/* ---------- нижняя панель телефона ---------- */
.mbar {
  display: none;
}

/* ---------- появление при прокрутке ---------- */
@supports (animation-timeline: view()) {
  .rv {
    animation: rv linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}
@keyframes rv {
  from {
    opacity: 0;
    transform: translateY(44px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- узкие экраны ---------- */
@media (max-width: 1180px) {
  .hd-nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}
@media (max-width: 1000px) {
  .hd-phone {
    display: none;
  }
  .proj,
  .svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }
  .paths,
  .three,
  .revs,
  .contact,
  .faq,
  .pj-top,
  .jr {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plus {
    display: none;
  }
  .tiles-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-cap {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --hd: 64px;
  }
  .hd-logo .wm {
    font-size: 20px;
  }
  .hd-cta {
    display: none;
  }
  .hd,
  body.home .hd:not(.is-solid) {
    color: var(--ink);
    background: rgba(233, 232, 228, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .hd-in {
    padding: 0 16px;
  }
  .hero {
    width: auto;
    max-width: none;
    margin: 0;
    height: auto;
    overflow: visible;
    border-radius: 0;
    background: none;
    color: var(--ink);
    padding: calc(var(--hd) + 8px) 16px 0;
    display: flex;
    flex-direction: column;
  }
  .hero-text {
    position: static;
    order: 1;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--ink);
  }
  .hero-text h1 {
    font:
      300 34px/1.06 Jost,
      sans-serif;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
  }
  .hero-text p {
    color: var(--ink2);
    font-size: 14px;
    margin-bottom: 0;
  }
  .hero-text .chip {
    display: none;
  }
  .hero-media {
    position: relative;
    order: 2;
    height: 440px;
    margin-top: 16px;
    border-radius: 24px;
    overflow: hidden;
    overflow: clip;
    background: #2a2927;
    color: #fff;
  }
  .hero-cap {
    display: block;
    left: 14px;
    top: 14px;
    right: auto;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-cap .caps {
    display: none;
  }
  .hero-cap .pbs {
    margin-top: 0;
  }
  .giant {
    left: 12px;
    bottom: -12px;
    font-size: 76px;
  }
  .hero-cta {
    display: none;
  }
  .sec {
    margin-top: 56px;
  }
  .ft-wrap {
    margin-top: 56px;
    padding-bottom: 96px;
  }
  .mbar {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.92);
  }
  .mbar .btn {
    flex: 1;
    height: 48px;
    font-weight: 700;
  }
  .mbar-ic {
    width: 48px;
    height: 48px;
    border-radius: var(--br);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bk {
    margin: auto auto 0;
    width: 100%;
    max-height: 92%;
    border-radius: 24px 24px 0 0;
  }
  .bk[open] {
    animation: up 0.35s var(--ease);
  }
  @keyframes up {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
  .lb-img {
    max-width: 100%;
    max-height: calc(100% - 120px);
    border-radius: 0;
  }
  .lb-nav {
    top: auto;
    bottom: 14px;
    margin-top: 0;
  }
  .lb-count {
    bottom: 34px;
  }
}
@media (max-width: 600px) {
  .proj {
    grid-auto-rows: 210px;
    gap: 10px;
  }
  .pc-big {
    grid-column: span 2;
    grid-row: span 2;
  }
  .pc-tall {
    grid-row: span 1;
  }
  .pc-label-lg {
    padding: 12px 14px;
  }
  .pc-tall .pc-label-lg {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .pc-tall .pc-label-lg .chips,
  .pc-tall .pc-s {
    display: none;
  }
  .pc-tall .pc-t {
    font-size: 13px;
  }
  .pc-big .pc-t {
    font-size: 17px;
  }
  .svc,
  .steps,
  .jr {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
    gap: 10px;
  }
  .svc::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .jr::-webkit-scrollbar {
    display: none;
  }
  .svc-card {
    flex: none;
    width: 250px;
    height: 300px;
    scroll-snap-align: start;
  }
  .step {
    flex: none;
    width: 220px;
    scroll-snap-align: start;
  }
  .jr-card {
    flex: none;
    width: 260px;
    scroll-snap-align: start;
  }
  .jr-img {
    height: 150px;
  }
  .stag2,
  .stag3 {
    padding-left: 0;
  }
  .h-xl {
    font-size: 34px;
  }
  .h-l {
    font-size: 32px;
  }
  .path {
    min-height: 0;
  }
  .path-t {
    font-size: 22px;
  }
  .path-word {
    font-size: 120px;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }
  .tile-t {
    font-size: 15px;
  }
  .tile-s {
    font-size: 13px;
  }
  .ft-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    columns: 2;
    column-gap: 8px;
  }
  .gph {
    margin-bottom: 8px;
    border-radius: 12px;
  }
  .ct-addr {
    font-size: 30px;
  }
  .rev blockquote {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .anim,
  .cap {
    opacity: 0;
  }
  .cap.c1 {
    opacity: 1;
  }
}

/* предпросмотр проекта из CRM (B-043): метка под шапкой, не мешает нажимать страницу */
.pv-bar {
  position: fixed;
  top: calc(var(--hd) + 8px);
  left: 50%;
  z-index: 60;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: #121212;
  color: #fff;
  font:
    600 13px/1.3 Manrope,
    sans-serif;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* ---------- политика конфиденциальности (D-614) ---------- */
.ft-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ft-bottom a:hover {
  color: #fff;
}
.pp {
  max-width: 860px;
  margin-inline: auto;
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink2);
}
.pp h1 {
  color: var(--ink);
  margin-bottom: 24px;
}
.pp p,
.pp-list {
  margin: 0 0 10px;
}
.pp-meta {
  font-size: 13px;
}
.pp-sub {
  font-weight: 700;
  color: var(--ink);
}
.pp-h {
  margin: 32px 0 12px;
  font:
    700 19px/1.3 Manrope,
    sans-serif;
  color: var(--ink);
}
.pp-list {
  padding-left: 22px;
}
.pp-list li {
  margin-bottom: 4px;
}
.pp-num {
  list-style: none;
  padding-left: 0;
}

/* ---------- плашка о cookie (D-615): снизу слева, на телефоне — над нижней панелью ---------- */
.ck {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  line-height: 1.5;
}
.ck[hidden] {
  display: none;
}
.ck-text {
  margin: 0 0 14px;
}
.ck-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ck-btns {
  display: flex;
  gap: 8px;
}
.ck-btns .btn {
  flex: 1;
  height: 42px;
}
@media (max-width: 760px) {
  .ck {
    left: 12px;
    right: 12px;
    bottom: 88px;
    max-width: none;
  }
}
