.about-result {
  margin: 110px 0;
}

.about-result__photo-mobile {
  width: 100%;
  aspect-ratio: 315 / 250;
}

.about-result__photo-mobile img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-result__title {
  margin: 0;
}

.about-result__content {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.about-result__texts {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 350px;
}

.about-result__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 500px;
  overflow: hidden;
}

.about-result__p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #9b7163;
}

.about-result__p + .about-result__p {
  margin-top: 40px;
}

.about-result__photo {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.fancybox__backdrop {
  --fancybox-backdrop-bg: rgb(0 0 0 / 70%);
  backdrop-filter: blur(15px);
}

.about-team__caption {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #9b7163;
}

.portfolio-content {
  padding-right: 0;
}

/* Общая обёртка (аналог services-body) */
.portfolio-body {
  min-height: 80vh;
}

.portfolio-body > .layout-grid__left-indent-desktop {
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

.portfolio-sidebar {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Заголовок H1 */
.portfolio-sidebar__title {
  margin: 0 0 48px;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #70331f;
}

/* Фильтр-навигация (стили по аналогии с services-nav) */
.portfolio-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-nav__btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  color: #9b7163;
  background: none;
  border: none;
  transition: color 0.2s;
  cursor: pointer;
}

.portfolio-nav__btn:hover,
.portfolio-nav__item.is-active .portfolio-nav__btn {
  color: #70331f;
}

.portfolio-nav__count {
  margin-left: 4px;
  opacity: 45%;
}

/* Правая колонка с карточками */
.portfolio-content {
  padding-bottom: 80px;
}

/* -----------------------------------------------
   01b. Portfolio — Project cards
----------------------------------------------- */

.portfolio-card {
  margin-bottom: 60px;
}

.portfolio-card:last-of-type {
  margin-bottom: 0;
}

/* Ссылка-обёртка */
.portfolio-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Контейнер изображения */
.portfolio-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 990 / 520;
  overflow: hidden;
  background: #e8e0d8;
}

/* Само изображение */
.portfolio-card__img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transition: transform 0.65s ease;
}

.portfolio-card:not(.portfolio-card--nda):hover .portfolio-card__img {
  transform: scale(1.04);
}

/* Hover overlay с CTA */
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0%);
  transition: background 0.3s;
}

.portfolio-card:not(.portfolio-card--nda):hover .portfolio-card__overlay {
  background: rgb(0 0 0 / 12%);
}

.portfolio-card__cta {
  font-size: 16px;
  color: #f5f1ef;
  opacity: 0%;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}

.portfolio-card:not(.portfolio-card--nda):hover .portfolio-card__cta {
  opacity: 100%;
  transform: translateY(0);
}

/* Подпись под карточкой */
.portfolio-card__info {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.portfolio-card__title {
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
  color: #70331f;
}

.portfolio-card__meta {
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
  color: #70331f;
}

/* -----------------------------------------------
   01c. Portfolio — NDA card
----------------------------------------------- */

/* Блокируем ссылку на NDA карточке */
.portfolio-card--nda {
  cursor: default;
}

.portfolio-card--nda .portfolio-card__img {
  filter: blur(18px);
  transform: scale(1.15);
  transition: none;
}

/* Иконка замка по центру */
.portfolio-card__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.portfolio-card__lock svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 2px 12px rgb(0 0 0 / 25%));
}

/* Privacy badge — скрыта по умолчанию, видна при ховере */
.portfolio-nda-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 10;
  max-width: 400px;
  background: #ebe9e1;
  box-shadow: 0 0 20px 0 rgb(0 0 0 / 12%);
  opacity: 0%;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.portfolio-card--nda:hover .portfolio-nda-badge {
  opacity: 100%;
  transform: translateY(0);
}

.portfolio-nda-badge__inner {
  display: flex;
  align-items: flex-start;
  max-width: 420px;
  padding: 4px;
  background: #f5f1ef;
  box-shadow: 0 4px 24px rgb(0 0 0 / 14%);
}

.portfolio-nda-badge__avatar {
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  width: 60px;
  height: 65px;
}

.portfolio-nda-badge__text {
  padding: 0 4px 0 5px;
}

.portfolio-nda-badge__title {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #70331f;
}

.portfolio-nda-badge__desc {
  margin: 0;
  font-size: 12px;
  line-height: 120%;
  color: #9b7163;
}

/* -----------------------------------------------
   01d. Portfolio — Load more
----------------------------------------------- */

.portfolio-load-more {
  margin-top: 50px;
  padding-top: 30px;
}

.portfolio-load-more__link {
  display: inline-block;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: inherit;
  line-height: 1.2;
  text-decoration: none;
  color: #70331f;
  background: none;
  border: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.portfolio-load-more__link:hover {
  opacity: 55%;
}

/* Portfolio hero */
.portfolio-hero {
  padding-top: 140px;
  padding-bottom: var(--sp-10);
  background-color: var(--c-bg);
}

.portfolio-hero__title {
  margin-bottom: var(--sp-4);
  font-family: var(--f-heading);
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.portfolio-hero__subtitle {
  margin: 0;
  font-size: var(--fs-md);
  color: var(--c-muted);
}

/* Filter tabs */
.portfolio-filter {
  padding-bottom: var(--sp-8);
  background-color: var(--c-bg);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}

.filter-tab {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--c-muted);
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
  cursor: pointer;
}

.filter-tab:hover {
  color: var(--c-text);
  border-color: var(--c-text);
}

.filter-tab--active {
  color: var(--c-white);
  background-color: var(--c-text);
  border-color: var(--c-text);
}

/* Portfolio grid */
.portfolio-grid {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-20);
  background-color: var(--c-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

@media (width >= 640px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
}

@media (width >= 1024px) {
  .projects-grid {
    gap: var(--sp-8);
  }
}

/* Project card large (portfolio grid) */
.project-card-lg {
  display: block;
}

.project-card-lg__link {
  display: block;
  color: inherit;
}

.project-card-lg__link:hover {
  opacity: 100%;
}

.project-card-lg__thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #e8e2de;
}

@supports not (aspect-ratio: 4 / 5) {
  .project-card-lg__thumb {
    position: relative;
    padding-top: 125%;
  }
}

.project-card-lg__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.project-card-lg__link:hover .project-card-lg__image {
  transform: scale(1.05);
}

.project-card-lg__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--sp-6);
  background: rgb(0 0 0 / 35%);
  opacity: 0%;
  transition: opacity var(--ease);
  -ms-flex-align: end;
  -ms-flex-pack: start;
}

.project-card-lg__link:hover .project-card-lg__overlay {
  opacity: 100%;
}

.project-card-lg__cta {
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.project-card-lg__body {
  padding-top: var(--sp-4);
}

.project-card-lg__title {
  margin-bottom: var(--sp-1);
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-sm);
}

.project-card-lg__meta {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}


/* ================================================
   02. PROJECT DETAIL PAGE
   ================================================ */

/* Project hero */
.project-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 80svh;
  min-height: 480px;
  overflow: hidden;
  color: var(--c-white);
  -ms-flex-pack: end;
}

.project-hero__bg {
  position: absolute;
  inset: 0;
}

.project-hero__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-hero__content {
  position: relative;
  z-index: var(--z-above);
  padding-bottom: var(--sp-10);
  background: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 60%) 100%);
}

.project-hero__title {
  margin-bottom: var(--sp-3);
  font-family: var(--f-heading);
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-white);
}

.project-hero__meta {
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 70%);
}

/* Project info section */
.project-info {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  background-color: var(--c-bg);
}

/* Project specs (dl) */
.project-specs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin: 0;
}

.project-specs__item {
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.project-specs__label {
  margin-bottom: var(--sp-1);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.project-specs__value {
  margin: 0;
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
}

/* Project description */
.project-description {
  max-width: 680px;
}

.project-description__lead {
  margin-bottom: var(--sp-6);
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
}

.project-description__body {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-muted);
}

.project-description__body p + p {
  margin-top: var(--sp-4);
}

/* Project gallery */
.project-gallery {
  padding: var(--sp-8) 0;
  background-color: var(--c-bg);
}

.project-gallery__swiper {}

.project-gallery__image {
  object-fit: cover;
  width: 100%;
  height: 60svh;
  min-height: 320px;
}

/* Related projects */
.related-projects {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
  background-color: var(--c-bg);
}

.related-projects__title {
  margin-bottom: var(--sp-8);
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
}

.related-projects__action {
  margin-top: var(--sp-8);
}


/* ================================================
   03. SERVICES PAGE
   Pixel-accurate from Figma (Ana Katerinich interior bureau)
   Two-column layout: sticky sidebar + scrollable content
   ================================================ */

/* Хлебные крошки внутри sidebar */
.services-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #70331f;
}

.services-breadcrumb a {
  text-decoration: none;
  color: #70331f;
  opacity: 50%;
  transition: opacity 0.2s;
}

.services-breadcrumb a:hover {
  opacity: 100%;
}

.services-breadcrumb span {
  opacity: 30%;
}

/* Двухколоночная компоновка */
.services-body {
  align-items: flex-start;
  min-height: 80vh;
}

/* Sticky sidebar */
.services-body > .layout-grid__left-indent-desktop {
  position: sticky;
  top: 65px;
  align-self: flex-start;
}

/* Sidebar */
.services-sidebar {
  padding-top: 50px;
  padding-right: 20px;
  padding-bottom: 60px;
}

.services-sidebar__title {
  margin: 0 0 36px;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #70331f;
}

.services-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-nav__item {
  border-top: 1px solid rgb(112 51 31 / 12%);
}

.services-nav__item:last-child {
  border-bottom: 1px solid rgb(112 51 31 / 12%);
}

.services-nav__link {
  display: block;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  color: #70331f;
  opacity: 40%;
  transition: opacity 0.25s;
}

.services-nav__link:hover,
.services-nav__item.is-active .services-nav__link {
  opacity: 100%;
}

/* Правая колонка */
.services-content {
  padding-top: 0;
  padding-bottom: 80px;
}

/* Hero-изображение */
.service-hero {
  width: 100%;
  margin-bottom: 80px;
  overflow: hidden;
}

.service-hero__img {
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 550px;
}

/* Секция услуги */
.service-section {
  padding-bottom: 80px;
}

.service-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.service-section__title {
  margin: 0 0 20px;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #70331f;
}

.service-section__desc {
  max-width: 970px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #9b7163;
}

/* «Что входит» — блок со слайдером */
.service-includes {
  margin-top: 60px;
}

.service-includes__header {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-includes__title {
  margin: 0;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #70331f;
}

.service-includes__nav {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  align-items: center;
}

.service-includes__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #70331f;
  background: none;
  border: none;
  opacity: 45%;
  transition: opacity 0.2s;
  cursor: pointer;
}

.service-includes__btn:hover:not(:disabled) {
  opacity: 100%;
}

.service-includes__btn:disabled {
  opacity: 20%;
  cursor: default;
}

.service-includes__btn svg {
  display: block;
  width: 18px;
  height: 18px;
}

.service-includes__count {
  min-width: 38px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #70331f;
  opacity: 50%;
}

/* Swiper — внешний обёртка клипает, контейнер transparent */
.service-includes__swiper-wrap {
  overflow: hidden;
}

.service-includes__swiper {
  position: relative;
  width: 350px;
  overflow: visible;
}

/* Явная ширина слайда для slidesPerView:'auto' */
.service-includes__swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  min-height: 470px;
}

/* Карточка слайда */
.includes-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 30px;
  background-color: #ebe9e1;
}

.includes-card__title {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #70331f;
}

.includes-card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.includes-card__text {
  font-size: 16px;
  line-height: 1.3;
  color: #70331f;
  opacity: 80%;
}

.includes-card__link {
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  color: #b8998f;
  transition: opacity 0.2s;
}

.includes-card__link:hover {
  opacity: 70%;
}

/* Компактные прочие секции */
.service-section--compact {
  padding-top: 60px;
  padding-bottom: 60px;
}

.service-section--compact .service-section__title {
  font-size: clamp(28px, 2.8vw, 38px);
}

/* Секция «По завершению всех работ» */
.service-completion {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
  width: 100%;
  min-height: 500px;
  margin-top: 60px;
  padding: 40px;
  overflow: hidden;
}

.service-completion__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-completion__bg-img {
  display: block;
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
  height: 100%;
}

.service-completion__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgb(0 0 0 / 0%) 42.37%, rgb(0 0 0 / 20%) 82.16%),
    linear-gradient(90deg, rgb(0 0 0 / 40%) 0%, rgb(0 0 0 / 40%) 100%);
}

.service-completion__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.service-completion__text-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-completion__title {
  max-width: 480px;
  margin: 0;
  font-family: "Bonche", "Georgia", serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  color: #f5f1ef;
}

.service-completion__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
  margin: 0;
  padding-left: 30px;
  list-style: disc;
}

.service-completion__list li {
  font-size: 20px;
  line-height: 1;
  color: #f5f1ef;
}

.service-completion__link {
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
  color: #f5f1ef;
  transition: opacity 0.2s;
}

.service-completion__link:hover {
  opacity: 70%;
}

/* -----------------------------------------------
   Двухколоночные секции (Авторский надзор, Комплектация)
----------------------------------------------- */
.service-section__two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 36px;
}

/* Комплектация: картинка слева */
.service-section__two-col--img-first {
  flex-direction: row;
}

.service-section__col-text {
  flex: 1 1 0;
  min-width: 0;
}

.service-section__col-img {
  flex: 1 1 0;
  min-width: 0;
}

.service-section__photo {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 480px;
}

/* Второй абзац с отступом сверху */
.service-section__desc--mt {
  margin-top: 20px;
}

/* -----------------------------------------------
   ДНК интерьера — слайдер
----------------------------------------------- */
.service-dna {
  margin-top: 40px;
}

/* Реиспользуем .service-includes__header но без заголовка */
.service-dna .service-includes__header {
  margin-bottom: 20px;
}

.service-dna__swiper-wrap {
  overflow: clip;
}

/* Swiper без класса .swiper — scripts.js не трогает */
.service-dna__swiper {
  position: relative;
  width: 620px;
  overflow: visible;
}

.service-dna__swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 460px;
}

.service-dna__swiper .swiper-slide img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.service-dna__cta {
  display: inline-block;
  margin-top: 32px;
  font-size: 16px;
  text-decoration: none;
  color: #70331f;
  transition: opacity 0.2s;
}

.service-dna__cta:hover {
  opacity: 60%;
}

/* -----------------------------------------------
   Интра-мебель — двухколонный текст + слайдер
----------------------------------------------- */
.service-intramebel__desc-cols {
  display: flex;
  gap: 60px;
  margin-bottom: 32px;
}

.service-intramebel__desc-cols .service-section__desc {
  flex: 1 1 0;
  max-width: none;
}

.service-intramebel__slider-block {
  margin-top: 8px;
}

.service-intramebel__swiper-wrap {
  overflow: hidden;
}

.service-intramebel__swiper {
  position: relative;
  width: 500px;
  overflow: visible;
}

.service-intramebel__swiper .swiper-slide {
  flex-shrink: 0;
  width: 500px;
  height: 580px;
}

.service-intramebel__swiper .swiper-slide img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* -----------------------------------------------
   От концепции до финального приёма — dark section
----------------------------------------------- */
.service-koncept {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 520px;
  margin-top: 80px;
  overflow: hidden;
}

.service-koncept__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-koncept__bg-img {
  display: block;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.service-koncept__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 35%);
}

.service-koncept__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 520px;
  padding: 60px 40px;
}

.service-koncept__title {
  max-width: 600px;
  margin: 0 0 20px;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  color: #f5f1ef;
}

.service-koncept__desc {
  max-width: 600px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgb(245 241 239 / 85%);
}

.service-koncept__link {
  align-self: flex-start;
  font-size: 20px;
  line-height: 120%;
  text-decoration: none;
  color: #f5f1ef;
  transition: opacity 0.2s;
}

.service-koncept__link:hover {
  opacity: 60%;
}

/* Video thumbnail */
.service-koncept__video-col {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  align-self: flex-end;
}

.service-koncept__video-thumb {
  position: relative;
  width: 250px;
  height: 300px;
  overflow: hidden;
}

.service-koncept__video-thumb img {
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
}

.service-koncept__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
}

.service-koncept__play::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 50px;
  height: 50px;
  content: "";
  background-color: rgb(255 255 255 / 5%);
  background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32.5 25L21.25 31.4952L21.25 18.5048L32.5 25Z' fill='%23F5F1EF' /%3E%3C/svg%3E");
  border: 0.5px solid #f5f1ef;
  border-radius: 50%;
  backdrop-filter: blur(2px);
  transform: translate(-50%, -50%);
}

.service-koncept__play:hover {
  background: rgb(0 0 0 / 32%);
}

.service-koncept__play svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 30%));
}

/* -----------------------------------------------
   Portfolio mobile
----------------------------------------------- */
@media (width <= 1023px) {
  .portfolio-body > .layout-grid__left-indent-desktop {
    position: static;
  }

  .portfolio-sidebar__title {
    margin-bottom: 15px;
    font-size: 25px;
  }

  .portfolio-nav {
    flex-flow: row wrap;
    gap: 8px;
  }

  .portfolio-nav__item {
    border: none;
  }

  .portfolio-nav__item:last-child {
    border: none;
  }

  .portfolio-nav__btn {
    width: auto;
    padding: 6px 14px;
    border: 1px solid rgb(112 51 31 / 20%);
    border-radius: 100px;
  }

  .portfolio-nav__item.is-active .portfolio-nav__btn {
    color: #f5f1ef;
    background: #70331f;
    border-color: #70331f;
  }

  .portfolio-content {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .portfolio-card {
    margin-bottom: 40px;
  }

  .portfolio-card__thumb {
    aspect-ratio: 4 / 3;
  }

  .portfolio-nda-badge__avatar {
    width: 60px;
    height: 79px;
  }

  .portfolio-nda-badge {
    right: 15px;
    left: 40px;
  }
}

@media (width <= 767px) {
  .portfolio-card__thumb {
    aspect-ratio: 3 / 2;
  }

  .portfolio-card__lock svg {
    width: 60px;
    height: 60px;
  }
}

/* Mobile */
@media (width <= 1023px) {
  .page-services main {
    padding-top: 0;
  }

  .services-body > .layout-grid__left-indent-desktop {
    position: static;
  }

  .services-sidebar {
    padding: 0 20px 20px;
  }

  .services-sidebar__title {
    margin-bottom: 20px;
    font-size: clamp(36px, 8vw, 48px);
  }

  .services-nav {
    flex-flow: row wrap;
    gap: 8px 0;
  }

  .services-nav__item {
    border: none;
  }

  .services-nav__item:last-child {
    border: none;
  }

  .services-nav__link {
    padding: 6px 12px 6px 0;
    font-size: 12px;
    opacity: 50%;
  }

  .service-hero__img {
    height: 280px;
  }

  .service-section {
    padding-bottom: 50px;
  }

  .service-includes__swiper {
    width: 100%;
  }

  .service-includes__swiper .swiper-slide {
    width: 280px;
    height: auto;
    min-height: 360px;
  }

  /* Two-col → stack on tablet */
  .service-section__two-col {
    flex-direction: column;
    gap: 24px;
  }

  .service-section__two-col--img-first {
    flex-direction: column;
  }

  .service-section__photo {
    height: 300px;
  }

  /* ДНК slider */
  .service-dna__swiper .swiper-slide {
    width: 440px;
    height: 320px;
  }
}

@media (width <= 767px) {
  .service-includes__header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .service-hero__img {
    height: 220px;
  }

  .service-includes__swiper .swiper-slide {
    width: 260px;
    min-height: 340px;
  }

  .service-section__photo {
    height: 240px;
  }

  .service-dna__swiper {
    width: 100%;
  }

  .service-dna__swiper .swiper-slide {
    width: 300px;
    height: 260px;
  }

  /* Интра-мебель mobile */
  .service-intramebel__desc-cols {
    flex-direction: column;
    gap: 16px;
  }

  .service-intramebel__swiper {
    width: 100%;
  }

  .service-intramebel__swiper .swiper-slide {
    width: 300px;
    height: 380px;
  }

  /* От концепции mobile */
  .service-koncept__body {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding: 40px 20px;
  }

  .service-koncept__video-thumb {
    width: 100%;
    height: 240px;
  }
}


/* ================================================
   04. JOURNAL / BLOG
   ================================================ */

.journal-hero {
  padding-top: 140px;
  padding-bottom: var(--sp-10);
  background-color: var(--c-bg);
}

.journal-hero__title {
  margin-bottom: var(--sp-3);
  font-family: var(--f-heading);
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.journal-hero__subtitle {
  font-size: var(--fs-md);
  color: var(--c-muted);
}

/* Featured article */
.journal-featured {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-12);
  background-color: var(--c-bg);
}

.article-featured {
  display: block;
  color: inherit;
}

.article-featured:hover {
  opacity: 100%;
}

.article-featured__thumb {
  margin-bottom: var(--sp-6);
  overflow: hidden;
}

.article-featured__image {
  object-fit: cover;
  width: 100%;
  max-height: 500px;
  transform: scale(1);
  transition: transform 0.8s var(--ease-out);
}

.article-featured:hover .article-featured__image {
  transform: scale(1.03);
}

.article-featured__date {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.article-featured__title {
  max-width: 760px;
  margin-bottom: var(--sp-4);
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}

.article-featured__excerpt {
  max-width: 580px;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--c-muted);
}

.article-featured__cta {
  display: inline-block;
  font-size: var(--fs-sm);
}

/* Journal grid */
.journal-grid-section {
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-20);
  background-color: var(--c-bg);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

@media (width >= 640px) {
  .journal-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8) var(--sp-6);
  }
}

/* Article card */
.article-card {
  display: block;
}

.article-card__link {
  display: block;
  color: inherit;
}

.article-card__link:hover {
  opacity: 100%;
}

.article-card__thumb {
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.article-card__image {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3 / 2;
  transform: scale(1);
  transition: transform 0.7s var(--ease-out);
}

.article-card__link:hover .article-card__image {
  transform: scale(1.04);
}

.article-card__date {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.article-card__title {
  margin-bottom: var(--sp-3);
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-sm);
}

.article-card__excerpt {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-muted);
}

.article-card__cta {
  display: inline-block;
  font-size: var(--fs-sm);
}

/* Pagination */
.journal-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  -ms-flex-align: center;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
  -ms-flex-align: center;
  -ms-flex-pack: center;
}

.pagination-btn:hover {
  border-color: var(--c-text);
  opacity: 100%;
}

.pagination-btn--active {
  color: var(--c-white);
  background-color: var(--c-text);
  border-color: var(--c-text);
}

.pagination-btn--next {
  min-width: auto;
  padding: 0 var(--sp-5);
  border-radius: 100px;
}

/* Journal post */
.journal-hero.page-journal-post {}

.post-header {
  padding-top: 120px;
  padding-bottom: 0;
  background-color: var(--c-bg);
}

.post-header .layout-grid {
  padding-bottom: var(--sp-8);
}

.post-header__date {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.post-header__title {
  max-width: 900px;
  font-family: var(--f-heading);
  font-size: var(--fs-4xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}

.post-cover {
  overflow: hidden;
}

.post-cover__image {
  object-fit: cover;
  width: 100%;
  max-height: 560px;
}

/* Article body content */
.post-body {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-20);
  background-color: var(--c-bg);
}

.post-content {
  max-width: 720px;
}

.post-content__lead {
  margin-bottom: var(--sp-8);
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
  color: var(--c-text);
}

.post-content h2 {
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  font-family: var(--f-heading);
  font-size: var(--fs-2xl);
  letter-spacing: var(--ls-sm);
}

.post-content p {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-muted);
}

.post-content strong {
  color: var(--c-text);
}

/* Post blockquote */
.post-blockquote {
  margin: var(--sp-10) 0;
  padding-left: var(--sp-6);
  border-left: 3px solid var(--c-accent-2);
}

.post-blockquote p {
  margin-bottom: var(--sp-3) !important;
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-sm);
  color: var(--c-text) !important;
}

.post-blockquote cite {
  font-size: var(--fs-sm);
  font-style: normal;
  color: var(--c-muted);
}

/* Related posts */
.related-posts {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-20);
  background-color: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.related-posts__title {
  margin-bottom: var(--sp-8);
  font-family: var(--f-heading);
  font-size: var(--fs-2xl);
}


/* ================================================
   05. CONTACTS PAGE
   ================================================ */

.contacts-hero__title {
  font-family: var(--f-heading);
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.contacts-main {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-24);
  background-color: var(--c-bg);
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.contacts-info__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contacts-info__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.contacts-info__value {
  display: block;
  font-size: var(--fs-base);
  color: var(--c-text);
}

.contacts-info__value--lg {
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
}

.contacts-form-title {
  margin-bottom: var(--sp-4);
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
}

.contacts-form-subtitle {
  max-width: 520px;
  margin-bottom: var(--sp-8);
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-muted);
}


/* ================================================
   06. BREADCRUMB
   ================================================ */
.breadcrumb {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-4);
  background-color: var(--c-bg);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  -ms-flex-align: center;
}

.breadcrumb__item {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  -ms-flex-align: center;
}

.breadcrumb__item::after {
  color: var(--c-border);
  content: "/";
}

.breadcrumb__item:last-child::after {
  display: none;
}

.breadcrumb__link {
  color: var(--c-muted);
}

.breadcrumb__link:hover {
  color: var(--c-text);
  opacity: 100%;
}

/* Current page (no link) */
.breadcrumb__item[aria-current="page"] {
  color: var(--c-text);
}


/* ================================================
   07. ABOUT PAGE EXTRA
   ================================================ */

/* Team grid */
.team-section {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
  background-color: var(--c-bg);
}

.team-section__title {
  margin-bottom: var(--sp-10);
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (width >= 640px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width >= 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.team-card__photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.team-card__name {
  margin-bottom: var(--sp-1);
  font-family: var(--f-heading);
  font-size: var(--fs-xl);
}

.team-card__position {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}


/* ================================================
   02. PROJECT DETAIL PAGE (Кейс)
   ================================================ */

/* -----------------------------------------------
   02a. Header — прозрачный с белыми ссылками (как на главной).
         Классы page-header--light-theme + page-header--absolute
         обрабатываются styles.css; здесь только страховка bg.
----------------------------------------------- */
.page-project .page-header--absolute:not(.page-header--scrolled) {
  background: transparent;
}

/* -----------------------------------------------
   02b. Case Hero
----------------------------------------------- */
.case-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background-color: #70331f;
}

/* Фотография (правая панель) */
.case-hero__img-wrap {
  position: relative;
  min-height: 850px;
  padding-right: 0;
}

.case-hero__img-wrap::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgb(0 0 0 / 40%) 9.83%, rgb(0 0 0 / 0%) 30.24%);
}

.case-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Сетка над фото */
.case-hero__layout {
  position: relative;
  z-index: 2;
  /* padding-top убран: хедер position:absolute, высота панели фиксирована */
}

.case-hero__left {
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  height: 100%;
  padding-top: 110px; /* header ≈90px + 20px от лого до хлебных крошек */
  padding-bottom: 40px; /* 40px от низа 700px до конца текста */
}

/* Описание прибивается к нижнему краю */
.case-hero__left > .overflow-hidden {
  margin-top: auto;
}

/* -----------------------------------------------
   02c. Breadcrumb (хлебные крошки)
----------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 48px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.case-hero__breadcrumb {
  margin-bottom: 50px; /* от хлебных крошек до заголовка */
}

.case-hero__breadcrumb .breadcrumb__link,
.case-hero__breadcrumb .breadcrumb__current,
.case-hero__breadcrumb .breadcrumb__sep {
  text-decoration: none;
  color: #f5f1ef;
}

.case-hero__breadcrumb .breadcrumb__current {
  color: #b8998f;
}

.breadcrumb__link:hover {
  opacity: 75%;
}

/* -----------------------------------------------
   02d. Hero title block
----------------------------------------------- */
.case-hero__title-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.case-hero__h1 {
  margin: 0 0 5px;
  font-size: 35px;
  font-weight: 300;
  line-height: 120%;
  color: #f5f1ef;
}

.case-hero__type {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
  color: #b8998f;
}

.case-hero__location {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #9b7163;
}

.case-hero__desc {
  margin: 50px 0 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: rgb(245 241 239 / 80%);
}

/* -----------------------------------------------
   02e. Case Stats — располагается в правой колонке
         case-body, на светлом фоне страницы
----------------------------------------------- */
.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 110px;
}

.case-stats__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.case-stats__value {
  font-family: "Bonche", "Georgia", serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 120%;
  color: #70331f;
}

.case-stats__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #9b7163;
}

/* -----------------------------------------------
   02f. Case Body layout
----------------------------------------------- */
.case-body {
  align-items: flex-start;
  padding-top: 60px;  /* небольшой отступ от hero до статистики */
  padding-bottom: 80px;
}

.case-body > .layout-grid__left-indent-desktop {
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

/* -----------------------------------------------
   02g. Case Sidebar nav
----------------------------------------------- */
.case-sidebar {
  padding-top: 0;
}

.case-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-nav__item + .case-nav__item {
  margin-top: 10px;
}

.case-nav__link {
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  text-transform: uppercase;
  color: #b8998f;
  transition: color 0.2s;
}

.case-nav__item.is-active .case-nav__link {
  color: #70331f;
}

.case-nav__link:hover {
  color: #70331f;
}

/* -----------------------------------------------
   02h. Case Content sections
----------------------------------------------- */
.case-content {
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.case-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-section--placeholder {
  display: none; /* скрыты до наполнения контентом */
}

/* H2 секций */
.case-section__h2 {
  margin: 0;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 300;
  line-height: 1.2;
  color: #70331f;
}

/* Двухколоночный текст */
.case-section__2col {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.case-section__2col p {
  flex: 1;
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #9b7163;
}

/* Связующий нарративный текст (без заголовка, между секциями) */
.case-section__narrative {
  /* нет своего padding-bottom — gap: 110px у .case-content уже даёт отступ */
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-section__narrative p {
  max-width: 680px;
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #9b7163;
}

/* Однострочный текст */
.case-section__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.case-section__body p {
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #9b7163;
}

/* -----------------------------------------------
   02i. Case Section Image (NDA)
----------------------------------------------- */
.case-section__image {
  position: relative;
  display: block;
  height: 520px;
  margin: 0;
  overflow: hidden;
}

/* Видео-блок в секции кейса */
.case-section__video-wrap {
  position: relative;
  display: block;
  height: 620px;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}

.case-section__video-wrap::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100px;
  height: 100px;
  content: "";
  background-color: rgb(255 255 255 / 5%);
  background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32.5 25L21.25 31.4952L21.25 18.5048L32.5 25Z' fill='%23F5F1EF' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100px;
  border: 1px solid #f5f1ef;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  pointer-events: none;
}

.case-section__video-wrap.is-playing::after {
  opacity: 0%;
}

.case-section__video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.case-section__img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Blur для NDA изображений */
.case-section__img--blur {
  filter: blur(18px);
  transform: scale(1.15);
  transition: none;
}

/* Иконка замка */
.case-section__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.case-section__lock svg {
  filter: drop-shadow(0 2px 16px rgb(0 0 0 / 30%));
}

/* -----------------------------------------------
   02j. Case Gallery Slider
----------------------------------------------- */
.case-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Навигационный ряд */
.case-gallery__nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.case-gallery__prev,
.case-gallery__next {
  display: flex;
  align-items: center;
  padding: 0;
  color: #9b7163;
  background: none;
  border: none;
  transition: color 0.2s, opacity 0.2s;
  cursor: pointer;
}

.case-gallery__prev:hover,
.case-gallery__next:hover {
  color: #70331f;
}

.case-gallery__prev:disabled,
.case-gallery__next:disabled {
  opacity: 25%;
  cursor: default;
}

.case-gallery__counter {
  min-width: 36px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: #9b7163;
}

/* Viewport (маскирует overflow) */
.case-gallery__viewport {
  overflow: hidden;
}

.case-gallery__viewport .swiper {
  width: 800px;
  margin: 0;
  overflow: visible;
}

/* Трек (двигается через translateX) */
.case-gallery__track {
  display: flex;
  gap: 20px;
  transform: translateX(0);
  will-change: transform;
}

/* Слайд */
.case-gallery__slide {
  flex-shrink: 0;
  width: 100%;
  height: 520px;
  margin: 0;
  overflow: hidden;
}

.case-gallery__img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/* ================================================
   08. ACTIVE MENU ITEM
   ================================================ */
.menu-item--active > a {
  opacity: 50%;
}

/* Keyboard focus ring utility */
.using-keyboard :focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

body:not(.using-keyboard) :focus {
  outline: none;
}

/* ===============================================
   03. Case page — Press, Team, Other Projects
=============================================== */

/* -----------------------------------------------
   03a. Публикации
----------------------------------------------- */
/* -----------------------------------------------
   03a. Публикации — 2 большие карточки с лого
----------------------------------------------- */
.case-press__grid {
  display: flex;
  gap: 20px;
}

.case-press__card {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-decoration: none;
  border: 1px solid #c9b5ad;
  transition: border-color 0.25s ease;
}

.case-press__card:hover {
  border-color: #70331f;
}

.case-press__logo {
  display: block;
  object-fit: contain;
}

.case-press__logo--archrevue {
  width: 170px;
  height: 40px;
}

.case-press__logo--interior {
  width: 356px;
  height: 30px;
}

/* -----------------------------------------------
   03b. Команда проекта — горизонтальные строки
----------------------------------------------- */
.case-team__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-team__row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 28px 24px;
  background-color: #ebe9e1;
}

.case-team__photo {
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  width: 86px;
  height: 96px;
}

.case-team__identity {
  display: flex;
  flex: 0 0 200px;
  flex-direction: column;
}

.case-team__name {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 400;
  line-height: 120%;
  text-transform: uppercase;
  color: #70331f;
}

.case-team__role {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: #9b7163;
}

.case-team__bio {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.case-team__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #9b7163;
}

.case-team__contacts {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #70331f;
}

.case-team__sep {
  color: #c9b5ad;
}

/* -----------------------------------------------
   03c. Другие проекты (полная ширина)
----------------------------------------------- */
.case-other-projects {
  padding: 90px 0 0;
}

.case-other-projects__inner {
  grid-column: 1 / -1; /* spans both layout-grid columns */
  padding-right: 120px;
  padding-left: 120px;
}

.case-other-projects__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.case-other-projects__h2 {
  margin: 0;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 300;
  line-height: 1.2;
  color: #70331f;
}

.case-other-projects__all-link {
  padding-bottom: 2px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  color: #9b7163;
  border-bottom: 1px solid currentcolor;
}

.case-other-projects__card {
  display: block;
  text-decoration: none;
}

.case-other-projects__img-wrap {
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  overflow: hidden;
}

.case-other-projects__img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.55s ease;
}

.case-other-projects__card:hover .case-other-projects__img {
  transform: scale(1.04);
}

.case-other-projects__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.case-other-projects__tag {
  padding: 3px 10px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b7163;
  border: 1px solid #c9b5ad;
}

.case-other-projects__title {
  margin: 0 0 6px;
  font-family: "Bonche", "Georgia", serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  color: #70331f;
}

.case-other-projects__meta {
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 13px;
  color: #9b7163;
}

@media (width <= 1535px) {
  .case-other-projects__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (width <= 1279px) {
  .case-other-projects__inner {
    padding-right: 0;
    padding-left: 0;
  }
}


/* =============================================================
   О БЮРО — about.html
   ============================================================= */

/* --- HERO --------------------------------------------------- */

/* Тёмный фон hero до загрузки фото (совпадает с тональностью фотографии) */
.hero--about {
  background-color: transparent;
}

/* H1 прижат к нижней части hero (как в макете) */
.hero--about .hero__content {
  justify-content: flex-end;
  padding-top: 0;
}

/* Хлебные крошки поверх фото */
.about-hero__breadcrumb {
  position: absolute;
  top: 95px;
  right: 0;
  left: 0;
  z-index: 4;
}

@media (width < 1536px) {
  .about-hero__breadcrumb {
    top: 75px;
  }
}

@media (width < 1280px) {
  .about-hero__breadcrumb {
    top: 100px;
  } /* ниже мобильного бургера */
}

.about-hero__breadcrumb-inner {
  display: flex;
  gap: 5px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: #f5f1ef;
}

.about-hero__bc-link {
  text-decoration: none;
  color: #f5f1ef;
  transition: opacity 0.2s;
}

.about-hero__bc-link:hover {
  opacity: 70%;
}

.about-hero__bc-current {
  color: #b8998f;
}

/* Цитата в нижней части hero */
.about-hero__quote-grid {
  /* grid уже содержится в layout-grid */
}

.about-hero__h1 {
  margin: 0;
  font-family: "Bonche", sans-serif;
  font-size: 45px;
  font-weight: 300;
  line-height: 1.2;
  color: #f5f1ef;
}

@media (width < 1536px) {
  .about-hero__h1 {
    font-size: 38px;
  }
}

@media (width < 1280px) {
  .about-hero__h1 {
    font-size: 26px;
  }
}

/* --- INTRO -------------------------------------------------- */

.about-intro {
  padding: 80px 0;
}

@media (width < 1536px) {
  .about-intro {
    padding: 60px 0;
  }
}

@media (width < 1280px) {
  .about-intro {
    padding: 40px 0;
  }
}

/* --- 2-COLUMN TEXT (shared: intro + philosophy) ------------- */
/* Пропорции совпадают с .promo__list на главной: 500fr / 620fr */

.about-2col {
  display: grid;
  grid-template-columns: minmax(0, 500fr) minmax(0, 620fr);
  gap: 50px;
  margin-top: 0;
}

.about-2col__text {
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #9b7163;
}

@media (width < 1536px) {
  .about-2col {
    gap: 40px;
  }
}

@media (width < 1280px) {
  .about-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- TEAM PHOTOS -------------------------------------------- */

.about-team {
  padding-bottom: 100px;
}

@media (width < 1536px) {
  .about-team {
    padding-bottom: 80px;
  }
}

@media (width < 1280px) {
  .about-team {
    padding-bottom: 50px;
  }
}

.about-team__photos {
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

/* Left photo: ~61% (852/1400) of the container */
.about-team__photo-left {
  flex: 0 0 calc(852 / 1400 * 100%);
}
/* Right photo: remaining ~37% */
.about-team__photo-right {
  flex: 1 0 0;
  min-width: 0;
}

.about-team__img {
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 600px;
}

.about-team__captions-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-right: 20px; /* выравнивание с правым краем фото */
}

/*
  В правой колонке layout-grid:
  — текст Анны занимает ~42% правой колонки (Anna photo right edge – right col left edge)
  — текст Андрея занимает остаток
*/
.about-team__caption:first-child {
  flex: 0 0 calc(42% - 10px);
  min-width: 0;
}

.about-team__caption:last-child {
  flex: 1 0 0;
  min-width: 0;
}

@media (width < 1536px) {
  .about-team__photos {
    padding: 0 20px;
  }
}

@media (width < 1280px) {
  .about-team__photos {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .about-team__photo-left,
  .about-team__photo-right {
    flex: none;
    width: auto;
    margin-right: -20px;
    margin-left: -20px;
  }

  .about-team__img {
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 320;
  }

  .about-team__captions {
    padding: 0 20px;
  }

  .about-team__captions-inner {
    flex-direction: column;
    gap: 12px;
    padding-right: 0;
  }

  .about-team__caption:first-child,
  .about-team__caption:last-child {
    flex: none;
    width: 100%;
  }
}

/* --- PHILOSOPHY --------------------------------------------- */

.about-philosophy {
  padding: 80px 0 100px;
}

@media (width < 1536px) {
  .about-philosophy {
    padding: 60px 0 80px;
  }
}

@media (width < 1280px) {
  .about-philosophy {
    padding: 40px 0 50px;
  }
}

.about-philosophy__h2 {
  margin: 0 0 50px;
  font-family: "Bonche", sans-serif;
  font-size: 45px;
  font-weight: 300;
  line-height: 1.2;
  color: #70331f;
}

@media (width < 1536px) {
  .about-philosophy__h2 {
    margin-bottom: 40px;
    font-size: 38px;
  }
}

@media (width < 1280px) {
  .about-philosophy__h2 {
    margin-bottom: 24px;
    font-size: 26px;
  }
}

/* --- MISSION (тёмная секция) -------------------------------- */

.about-mission {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 720px;
  padding: 40px 20px;
  overflow: hidden;
  color: #f5f1ef;
}

.about-mission__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-mission__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 35%);
}

.about-mission__left,
.about-mission__right {
  position: relative;
  z-index: 2;
}

/* Left: flex-row — video thumb + link text */
.about-mission__left {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  align-items: flex-end;
}

.about-mission__video-wrap {
  position: relative;
  flex-shrink: 0;
  width: 250px;
  height: 300px;
  overflow: hidden;
}

.about-mission__video {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-mission__video-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right: portrait (200×220) + panel (548×640) */
.about-mission__right {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
}

.about-mission__portrait {
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  width: 200px;
  height: 220px;
}

.about-mission__panel {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  width: 548px;
  height: 640px;
  padding: 30px;
  background: rgb(0 0 0 / 15%);
  backdrop-filter: blur(10px);
}

.about-mission__text {
  width: 400px;
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #f5f1ef;
}

.about-mission__author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-mission__author-name {
  margin: 0;
  font-family: "Bonche", sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  color: #f5f1ef;
}

.about-mission__author-role {
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #f5f1ef;
}

@media (width < 1536px) {
  .about-mission {
    height: 640px;
  }

  .about-mission__panel {
    height: 560px;
  }
}

@media (width < 1280px) {
  .about-mission {
    flex-direction: column-reverse;
    gap: 0;
    align-items: stretch;
    height: auto;
    min-height: 480px;
    padding: 0;
  }

  .about-mission__left {
    padding: 24px 20px;
  }

  .about-mission__right {
    flex-direction: column;
  }

  .about-mission__portrait {
    width: 100%;
    height: 220px;
  }

  .about-mission__panel {
    width: 100%;
    height: auto;
    min-height: 200px;
    padding: 24px 20px;
  }

  .about-mission__text {
    width: 100%;
  }

  .about-mission__video-wrap {
    width: 180px;
    height: 220px;
  }
}

/* --- CREATIVITY (Творчество и созидание) -------------------- */

.about-creativity {
  padding: 60px 0 110px;
}

@media (width < 1536px) {
  .about-creativity {
    padding: 40px 0 80px;
  }
}

@media (width < 1280px) {
  .about-creativity {
    padding: 30px 0 50px;
  }
}

.about-creativity__title {
  margin: 0 0 50px;
  font-family: "Bonche", sans-serif;
  font-size: 45px;
  font-weight: 300;
  line-height: 1.2;
  color: #70331f;
}

@media (width < 1536px) {
  .about-creativity__title {
    margin-bottom: 40px;
    font-size: 38px;
  }
}

@media (width < 1280px) {
  .about-creativity__title {
    margin-bottom: 28px;
    font-size: 26px;
  }
}

.about-creativity__row {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

@media (width < 1280px) {
  .about-creativity__row {
    flex-direction: column;
    gap: 24px;
  }
}

.about-creativity__photo-wrap {
  flex: 1 0 0;
  min-width: 0;
  height: 300px;
  overflow: hidden;
}

@media (width < 1280px) {
  .about-creativity__photo-wrap {
    flex: none;
    width: 100%;
    height: 220px;
  }
}

.about-creativity__photo {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-creativity__text {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #9b7163;
}

@media (width < 1280px) {
  .about-creativity__text {
    flex: none;
    width: 100%;
  }
}

/* --- TAKEWORK (Мы берём в работу) --------------------------- */

.about-takework {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 720px;
  padding: 50px 20px 120px 450px;
  overflow: hidden;
  color: #f5f1ef;
}

.about-takework__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-takework__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 40%);
}

.about-takework__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-takework__title {
  width: 596px;
  margin: 0;
  font-family: "Bonche", sans-serif;
  font-size: 45px;
  font-weight: 300;
  line-height: 1.2;
  color: #f5f1ef;
}

.about-takework__subtitle {
  width: 526px;
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #f5f1ef;
}

@media (width < 1536px) {
  .about-takework {
    height: 640px;
    padding: 50px 20px 100px 390px;
  }

  .about-takework__title {
    width: 520px;
    font-size: 38px;
  }

  .about-takework__subtitle {
    width: 460px;
    font-size: 18px;
  }
}

@media (width < 1280px) {
  .about-takework {
    justify-content: flex-end;
    height: auto;
    min-height: 480px;
    padding: 50px 20px 60px;
  }

  .about-takework__title {
    width: 100%;
    font-size: 26px;
  }

  .about-takework__subtitle {
    width: 100%;
    font-size: 16px;
  }
}

/* ===============================================================
   CONTACTS PAGE
   =============================================================== */

/* --- HERO --------------------------------------------------- */

/* ================================================
   06. PRIVACY POLICY PAGE (Политика конфиденциальности)
   ================================================ */

/* --- Header: прозрачный, коричневые цвета (как contacts) --- */
.page-privacy .page-header--absolute:not(.page-header--scrolled) {
  background: transparent;
}

/* --- Секция страницы --- */
.privacy-page {
  padding-top: 110px; /* clearance под абсолютным хедером (~80px + 30px) */
  padding-bottom: 0;
  background: #f5f1ef;
}

/* --- Хлебные крошки --- */
.privacy__breadcrumb {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 20px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.privacy__bc-link {
  text-decoration: none;
  color: #70331f;
  transition: opacity 0.2s;
}

.privacy__bc-link:hover {
  opacity: 70%;
}

.privacy__bc-current {
  color: #b8998f;
}

/* --- 2-колонный макет --- */
.privacy-layout {
  /* align-items: stretch (default) — левая колонка тянется по высоте правой,
     что позволяет position:sticky работать на всём протяжении статьи */
  padding-bottom: 110px;
}

/* --- Левая колонка: стики-сайдбар --- */
.privacy-sidebar {
  position: sticky;
  top: 100px; /* отступ от верха вьюпорта с учётом фиксированного хедера */
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px 20px;
}

.privacy-sidebar__title {
  margin: 0;
  font-family: "Bonche", sans-serif;
  font-size: clamp(24px, 2.4vw, 35px); /* 35px при 1440px, мельче на узких экранах */
  font-weight: 300;
  line-height: 1.2;
  word-break: keep-all; /* не рвёт слово внутри */
  overflow-wrap: normal;
  hyphens: none;        /* запрет автопереноса по слогам */
  color: #70331f;
}

/* --- TOC навигация --- */
.privacy-toc__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-toc__link {
  display: block;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  color: #b8998f;
  transition: color 0.2s;
}

.privacy-toc__link:hover,
.privacy-toc__link--active {
  color: #70331f;
}

/* --- Правая колонка: фото + статья --- */
.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 50px;
}

/* --- Фото-шапка --- */
.privacy-hero-img {
  height: 450px;
  overflow: hidden;
}

.privacy-hero-img__photo {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Первая фотография скрыта — используем только вторую (landscape, 990×450) */
.privacy-hero-img__photo--back {
  display: none;
}

.privacy-hero-img__photo--front {
  width: 100%;
  height: 100%;
}

/* --- Статья --- */
.privacy-article {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

/* Заголовок раздела: Bonche Light 25px #70331F */
.privacy-article h2 {
  margin: 60px 0 20px; /* 60px от предыдущего блока, 20px до текста */
  font-family: "Bonche", sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  color: #70331f;
  scroll-margin-top: 30px; /* offset при якорной прокрутке */
}

.privacy-article h2:first-child {
  margin-top: 0; /* первый раздел без верхнего отступа */
}

/* Блок текста раздела */
.privacy-text {
  display: flex;
  flex-direction: column;
}

.privacy-text p {
  max-width: 800px;
  margin: 0 0 15px;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #9b7163;
}

.privacy-text p:last-child {
  margin-bottom: 0;
}

/* --- Responsive --- */
@media (width < 1280px) {
  .privacy-sidebar {
    top: 20px;
    min-height: auto;
  }

  .privacy-sidebar__title {
    font-size: 28px;
  }

  .privacy-toc__link {
    font-size: 16px;
  }

  .privacy-hero-img {
    height: 350px;
  }
}

@media (width < 1024px) {
  .privacy-layout {
    display: flex;
    flex-direction: column;
  }

  .privacy-sidebar {
    position: static;
    min-height: auto;
    padding: 30px 20px;
  }

  .privacy-hero-img__photo--front {
    left: 0;
    width: 100%;
  }
}

/* Contacts: прозрачный хедер с тёмными (коричневыми) цветами */
.page-contacts .page-header--absolute:not(.page-header--scrolled) {
  background: transparent;
}

.contacts-hero {
  position: relative;
  padding-top: 0; /* перекрываем устаревший padding-top: 140px из старого блока */
  background: #f5f1ef;
}

/* --- LEFT COLUMN -------------------------------------------- */

.contacts-left {
  position: sticky;
  top: 100px; /* отступ с учётом фиксированного хедера при скролле */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 594px;
  padding-top: 50px;
  /* align-self: stretch (default) — колонка тянется по высоте правой,
     justify-content: space-between распределяет элементы по всей высоте */
}

.contacts-left__title {
  margin: 0;
  font-family: "Bonche", sans-serif;
  font-size: 45px;
  font-weight: 300;
  line-height: 1.2;
  color: #70331f;
}

.contacts-left__details {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.contacts-left__phones-group,
.contacts-left__messengers-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-left__phones,
.contacts-left__messengers {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacts-left__phone,
.contacts-left__messenger {
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  color: #70331f;
  transition: opacity 0.2s ease;
}

.contacts-left__phone:hover,
.contacts-left__messenger:hover {
  opacity: 70%;
}

.contacts-left__phone--muted {
  color: #b8998f;
}

.contacts-left__messengers {
  flex-direction: row;
  gap: 15px;
}

.contacts-left__hint {
  max-width: 270px;
  margin: 0;
  font-family: "Phlatt Grotesk", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: #b8998f;
}

/* --- RIGHT COLUMN / MAP ------------------------------------- */

.contacts-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contacts-map {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.contacts-map__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1);
}

/* Карточка-подсказка поверх карты */
.contacts-map__card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  gap: 5px;
  align-items: flex-start;
  max-width: 400px;
  padding: 4px 8px 4px 4px;
  background: #f5f1ef;
  box-shadow: 0 0 10px rgb(0 0 0 / 12%);
}

.contacts-map__card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 65px;
  overflow: hidden;
}

.contacts-map__card-photo {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.contacts-map__card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contacts-map__card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #70331f;
}

.contacts-map__card-text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  color: #9b7163;
}

/* --- DIRECTIONS -------------------------------------------- */

.contacts-directions {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  padding-right: 20px;
}

.contacts-directions__col {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  width: 400px;
  height: 114px;
}

.contacts-directions__col--right {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 10px;
  width: auto;
  height: auto;
}

.contacts-directions__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-directions__subtitle {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  color: #70331f;
}

.contacts-directions__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #9b7163;
}

.contacts-directions__route {
  align-self: flex-start;
  padding-left: 0;
  font-size: 20px;
  white-space: nowrap;
}

/* --- SOCIAL GRID ------------------------------------------- */

.contacts-social {
  padding: 110px 0 0;
}

.feedback--no-margin {
  margin-bottom: 0;
}

.contacts-social__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contacts-social__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 10px);
  height: 100px;
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
  color: #70331f;
  border: 1px solid #70331f;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contacts-social__tile:hover {
  color: #70331f;
  border-color: #70331f;
}

.contacts-social__tile--active {
  color: #70331f;
  border-color: #70331f;
}

/* --- RESPONSIVE -------------------------------------------- */

@media (width < 1536px) {
  .contacts-left {
    min-height: auto;
    padding-top: 40px;
  }

  .contacts-left__title {
    font-size: 38px;
  }

  .contacts-left__details {
    gap: 60px;
  }

  .contacts-map {
    height: 500px;
  }

  .contacts-directions__col {
    gap: 12px;
    width: 340px;
    height: auto;
  }
}

@media (width < 1280px) {
  .portfolio-body > .layout-grid__left-indent-desktop {
    position: static;
    z-index: 1;
  }

  .portfolio-sidebar {
    padding-top: 0;
  }

  .contacts-hero {
    min-height: auto;
  }

  .contacts-hero__breadcrumb {
    position: static;
    padding: 80px 20px 0;
  }

  .contacts-left {
    gap: 40px;
    justify-content: flex-start;
    min-height: auto;
    padding-top: 30px;
  }

  .contacts-left__title {
    font-size: 30px;
  }

  .contacts-left__phone,
  .contacts-left__messenger {
    font-size: 16px;
  }

  .contacts-left__details {
    gap: 36px;
  }

  .contacts-map {
    height: 500px;
  }

  .contacts-directions {
    flex-direction: column;
    gap: 50px;
    padding-right: 0;
  }

  .contacts-directions__col {
    width: 100%;
    height: auto;
  }

  .contacts-social {
    padding: 80px 0 0;
  }

  .contacts-social__tile {
    font-size: 16px;
  }
}

/* --- VIDEO LIGHTBOX ----------------------------------------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 92%);
  opacity: 0%;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-lightbox.is-open {
  opacity: 100%;
  pointer-events: all;
}

.video-lightbox__video {
  display: block;
  width: auto;
  max-width: 90vw;
  height: 90vh;
  outline: none;
}

.video-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid rgb(245 241 239 / 40%);
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.video-lightbox__close:hover {
  background: rgb(245 241 239 / 10%);
  border-color: #f5f1ef;
}

@media (width < 1536px) {
  .hero--about {
    min-height: 100dvh;
  }

  .case-hero__img-wrap {
    min-height: 700px;
  }

  .case-section__video-wrap {
    height: 520px;
  }

  .service-hero,
  .service-includes__swiper-wrap,
  .service-completion,
  .service-dna__swiper-wrap,
  .service-intramebel__swiper-wrap,
  .service-koncept,
  .case-section__video-wrap,
  .case-gallery__viewport,
  .contacts-map {
    width: auto;
    margin-right: -20px;
  }

  .service-hero__img {
    height: 450px;
  }

  .about-team__photo-left .about-team__caption {
    padding-left: calc(50% + 7px);
  }

  .about-result .layout-grid {
    gap: 20px;
  }

  .about-result .layout-grid__right-indent-desktop {
    padding-left: 15px;
  }

  .about-result__photo-wrap {
    max-width: 548px;
  }
}

@media (width < 1280px) {
  .case-other-projects .swiper-slide {
    width: 300px;
  }

  .about-team__caption,
  .about-team__photo-left .about-team__caption {
    padding: 0 20px 0 40px;
  }

  .about-result__texts {
    max-width: 100%;
  }

  .about-result__link {
    margin-top: 10px;
    font-size: 20px;
  }

  .about-result {
    margin: 80px 0;
  }

  .about-result__content {
    flex-direction: column;
    justify-content: flex-start;
  }

  .about-result__photo-wrap {
    order: -1;
    max-width: 100%;
    height: auto;
    aspect-ratio: 315 / 300;
  }

  .about-result .layout-grid {
    gap: 30px;
  }

  .about-result .layout-grid__right-indent-desktop {
    padding-left: 0;
  }

  .contacts-left {
    position: static;
    inset: auto;
    margin-bottom: 80px;
    padding-top: 0;
  }

  .contacts-left__details {
    gap: 50px;
  }

  .case-section__video-wrap {
    height: auto;
    aspect-ratio: 375 / 300;
  }

  .case-stats {
    grid-template-columns: 100%;
    gap: 40px;
    margin-bottom: 65px;
  }

  .case-hero__img-wrap {
    width: auto;
    min-height: 500px;
    margin-right: -20px;
    margin-left: -40px;
  }

  .case-hero__img-wrap::after {
    opacity: 0%;
  }

  .portfolio-card__info {
    margin: 0;
    padding: 20px 15px 0 40px;
  }

  .service-completion {
    padding: 245px 15px 40px 40px;
  }

  .service-completion__title {
    margin: 0;
    font-size: 25px;
    line-height: 120%;
  }

  .service-completion__list li {
    font-size: 16px;
    line-height: 130%;
    color: #f5f1ef;
  }

  .service-completion__list {
    gap: 16px;
  }

  .custom-select {
    position: relative;
    width: auto;
    margin-left: -20px;
    background: #f5f1ef;
  }

  .custom-select__trigger {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    padding-top: 15px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
    color: #70331f;
    background: #f5f1ef;
    cursor: pointer;
    user-select: none;
  }

  .custom-select__trigger::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 20px;
    height: 1px;
    content: "";
    background-color: #b8998f;
  }

  .custom-select__trigger:hover {
    border-color: #aaaaaa;
  }

  .custom-select__arrow {
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.2227 0.220947L5.22266 5.22095L10.2227 0.220947ZM5.22266 5.22095L0.222656 0.220947L5.22266 5.22095Z' fill='%2370331F' /%3E%3Cpath d='M5.22266 5.22095L5.37768 5.06592L5.22268 4.91092L5.06768 5.06592L5.22266 5.22095Z' fill='%2370331F' /%3E%3Cpath d='M0.222656 0.220947L5.22266 5.22095L10.2227 0.220947M5.22266 5.22095L5.37768 5.06592L5.22268 4.91092L5.06768 5.06592L5.22266 5.22095Z' stroke='%2370331F' stroke-width='0.625' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
  }

  .custom-select.open .custom-select__arrow {
    transform: rotate(-180deg);
  }

  .custom-select.open {
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 12%);
  }

  .custom-select.open .custom-select__trigger {
    padding-right: 20px;
  }

  .custom-select.open .custom-select__trigger::after {
    right: 20px;
  }

  .custom-select__options {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 2;
    margin: 0;
    padding: 10px 20px 15px;
    overflow: hidden;
    list-style: none;
    background: #f5f1ef;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 12%);
    opacity: 0%;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .custom-select.open .custom-select__options {
    opacity: 100%;
    pointer-events: auto;
  }

  .custom-select__option {
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
    color: #b8998f;
    background-color: transparent;
  }

  .custom-select__option + .custom-select__option {
    margin-top: 10px;
  }

  .services-sidebar__title {
    margin: 0 0 15px;
    font-size: 25px;
    line-height: 120%;
  }

  .services-sidebar {
    padding: 0 0 40px;
  }

  .services-body > .layout-grid__left-indent-desktop {
    position: static;
    inset: auto;
  }

  .service-hero,
  .service-completion,
  .service-koncept,
  .portfolio-content,
  .case-section__video-wrap,
  .contacts-map {
    margin-left: -40px;
  }

  .portfolio-content {
    margin-right: -20px;
  }

  .service-hero__img {
    object-fit: cover;
    height: auto;
    aspect-ratio: 375/250;
  }

  .service-koncept__video-col {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }

  .service-koncept__video-thumb {
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 200;
  }

  .service-koncept__body {
    gap: 148px;
    padding-left: 40px;
  }

  .service-koncept__title {
    font-size: 20px;
  }

  .service-koncept__desc {
    line-height: 130%;
  }

  .case-body > .layout-grid__left-indent-desktop {
    position: static;
    inset: auto;
  }

  .case-body {
    padding-top: 80px;
  }

  .case-sidebar {
    margin-bottom: 40px;
  }

  .case-section__2col {
    flex-direction: column;
    gap: 20px;
  }

  .case-team__row {
    flex-wrap: wrap;
    gap: 20px 15px;
    padding: 15px;
  }

  .case-content {
    gap: 80px;
  }

  .case-other-projects {
    padding: 0;
  }

  .case-other-projects__grid {
    grid-template-columns: auto;
    grid-auto-flow: column;
    width: auto;
    margin-right: -20px;
    overflow: auto hidden;
    scroll-snap-type: x mandatory;
  }

  .case-other-projects__all-link {
    display: none;
  }

  .case-gallery__track {
    gap: 10px;
  }

  .case-other-projects__h2,
  .case-section__h2 {
    font-size: 25px;
  }

  .case-other-projects__card {
    width: 300px;
  }

  .case-team__photo {
    width: 100px;
    height: 100px;
  }

  .case-team__identity {
    flex: 1;
    width: calc(100% - 115px);
  }

  .case-team__bio {
    flex: 1 1 100%;
    gap: 15px 0;
    width: 100%;
  }

  .case-team__name {
    font-size: 18px;
    line-height: 120%;
  }

  .case-gallery__viewport .swiper {
    width: 100%;
  }

  .case-gallery__slide {
    width: 300px;
    height: 260px;
  }

  .case-press__grid {
    flex-direction: column;
  }

  .case-press__card {
    min-height: 100px;
  }

  .contacts-social__tile {
    width: 100%;
    height: 60px;
  }

  .contacts-map__card-icon {
    width: 60px;
    height: 79px;
  }

  .contacts-map__card {
    left: 40px;
  }

  .about-mission__portrait {
    display: none;
  }

  .about-mission__author-avatar .about-mission__portrait {
    display: block;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
  }

  .about-mission__author {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .about-mission__panel {
    gap: 100px;
    padding: 20px;
  }

  .btn {
    font-size: 20px;
  }

  .about-mission__left {
    flex-direction: column;
    gap: 20px 0;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 184px;
    padding-bottom: 40px;
    padding-left: 40px;
  }

  .about-mission__right {
    padding: 40px 15px 0 40px;
  }

  .about-mission__video-wrap {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 320 / 200;
  }

  .about-creativity__photo-wrap {
    width: 100%;
    height: auto;
    min-height: unset;
    aspect-ratio: 320 / 300;
  }
}

@media (width >= 1280px) {
  .about-mission__author-avatar {
    display: none;
  }

  .about-result__photo-mobile {
    display: none;
  }
}

@media (width >= 1536px) {
  .about-team__caption:first-child {
    flex: 0 0 calc(44% - 10px);
  }

  .service-koncept__body {
    padding-right: 140px;
  }

  .about-team__img {
    height: 700px;
  }

  .service-hero,
  .service-includes__swiper-wrap,
  .service-completion,
  .service-dna__swiper-wrap,
  .service-intramebel__swiper-wrap,
  .service-koncept,
  .case-section__video-wrap,
  .case-gallery__viewport {
    width: auto;
    margin-right: -120px;
  }

  .about-team__photo-left .about-team__caption {
    padding-left: calc(50% + 20px);
  }

  .about-result .layout-grid {
    gap: 20px;
  }

  .about-result .layout-grid__right-indent-desktop {
    padding-left: 30px;
  }
}
