@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* WordPress integration layer. Source layout stays in style.css. */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

body.admin-bar .header {
  top: 32px;
}

body.admin-bar .hero,
body.admin-bar .page-hero {
  padding-top: calc(var(--header-height) + 32px);
}

body.admin-bar .mobile-menu {
  top: calc(var(--header-height) + 32px);
}

.logo {
  position: relative;
  justify-content: center;
  min-width: 120px;
  padding-bottom: 12px;
}

.logo__img {
  width: 44px;
  height: 44px;
}

.logo__wordmark {
  position: absolute;
  bottom: 1px;
  left: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.nav__list,
.mobile-menu__list,
.footer__list {
  margin: 0;
  padding: 0;
}

.nav__item.current-menu-item .nav__link,
.nav__item.current-menu-parent .nav__link,
.nav__item.current-menu-ancestor .nav__link {
  color: var(--color-gold-hover);
}

.header__write {
  min-width: 118px;
  height: 42px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.header__write:hover,
.header__write:focus-visible {
  color: #171c24;
  background: #fff;
  border-color: #fff;
}

.mobile-menu__item.current-menu-item .mobile-menu__link {
  color: var(--color-gold-hover);
}

.catalog__empty {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  color: #6a6a6a;
  background: #f7f4ef;
  border: 1px solid #ececec;
}

.catalog-filter__intro {
  margin-top: 16px;
  color: #6a6a6a;
  line-height: 1.65;
}

.lead-section {
  padding: 96px 0;
  color: var(--color-white);
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(184, 146, 99, 0.2),
      transparent 34%
    ),
    #141923;
}

.lead-section__container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.lead-section__label {
  margin-bottom: 14px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-section__title {
  max-width: 650px;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.08;
}

.lead-section__text {
  max-width: 560px;
  margin-top: 24px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(26px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(18px);
}

.lead-form__field {
  display: grid;
  gap: 9px;
}

.lead-form__field--wide,
.lead-form__actions,
.lead-form__consent {
  grid-column: 1 / -1;
}

.lead-form__label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.lead-form__input,
.lead-form__textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--color-white);
  font: inherit;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  outline: 0;
  transition:
    border-color var(--transition),
    background-color var(--transition);
}

.lead-form__textarea {
  min-height: 130px;
  resize: vertical;
}

.lead-form__file {
  padding: 10px 12px;
  cursor: pointer;
}

.lead-form__file::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  color: var(--color-white);
  font: inherit;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.lead-form__hint {
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer__rating {
  display: block;
  margin-top: 10px;
  max-width: 150px;
  height: 50px;
  border: 0;
  background: transparent;
}

.payment-requisites {
  margin-top: 48px;
}

.payment-requisites__box {
  max-width: 720px;
  padding: 24px 28px;
  color: #1a1a1a;
  background: #fbf8f3;
  border: 1px solid #eee6dc;
  border-radius: 16px;
  white-space: pre-line;
  line-height: 1.55;
}

.payment-requisites__file {
  display: inline-flex;
  margin-top: 16px;
}

.entity-video,
.entity-video iframe,
.entity-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #111;
}

.entity-video-wrap {
  margin-top: 16px;
}

.lead-form__input:focus,
.lead-form__textarea:focus {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--color-gold);
}

.lead-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--color-text-muted);
  font-size: 13px;
  cursor: pointer;
}

.lead-form__consent input {
  margin-top: 3px;
  accent-color: var(--color-gold);
}

.lead-form__consent a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.lead-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.lead-form__notice {
  grid-column: 2;
  margin-bottom: -18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.lead-form__notice--success {
  color: #d8f5df;
  background: rgba(51, 153, 83, 0.2);
  border: 1px solid rgba(93, 196, 120, 0.45);
}

.lead-form__notice--error {
  color: #ffd9d9;
  background: rgba(187, 48, 48, 0.2);
  border: 1px solid rgba(222, 99, 99, 0.45);
}

.entity,
.wp-page {
  min-height: 50vh;
  padding: clamp(72px, 9vw, 130px) 0;
  color: #1a1a1a;
  background: #fff;
}

.projects-archive {
  padding: clamp(72px, 9vw, 130px) 0;
  color: #1a1a1a;
  background: #fff;
}

.projects-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.projects-archive .project-card {
  width: 100%;
  height: clamp(360px, 38vw, 520px);
}

.entity__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.entity__media {
  position: sticky;
  top: 32px;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius-card);
  background: #f0ece5;
}

.entity__image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.entity-carousel {
  isolation: isolate;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.entity-carousel.is-dragging {
  cursor: grabbing;
}

.entity-carousel__viewport {
  min-height: 520px;
  overflow: hidden;
}

.entity-carousel__track {
  display: flex;
  min-height: 520px;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.entity-carousel__slide {
  position: relative;
  min-width: 100%;
  min-height: 520px;
  margin: 0;
  flex: 0 0 100%;
  background: #181a1d;
}

.entity-carousel__image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  pointer-events: none;
}

.entity-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: #fff;
  font-size: 20px;
  background: rgba(16, 19, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.entity-carousel__arrow--prev {
  left: 18px;
}

.entity-carousel__arrow--next {
  right: 18px;
}

.entity-carousel__arrow:hover,
.entity-carousel__arrow:focus-visible {
  color: #17191d;
  background: #d1a35b;
  border-color: #d1a35b;
  outline: none;
}

.entity-carousel__status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  min-height: 42px;
  padding: 8px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: rgba(16, 19, 23, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.entity-carousel__counter {
  flex: 0 0 auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.entity-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.entity-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 50%;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.entity-carousel__dot.is-active {
  width: 24px;
  background: #d1a35b;
  border-radius: 999px;
}

.entity-carousel__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.entry-content {
  font-size: 17px;
  line-height: 1.75;
}

.entry-content > * + * {
  margin-top: 1.2em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  line-height: 1.18;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content a {
  color: #8c6840;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-meta {
  color: #5c5a55;
  font-size: 14px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1.2em 0;
}

.entry-content .legal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.entry-content .legal-table th,
.entry-content .legal-table td {
  padding: 10px 12px;
  border: 1px solid rgba(20, 25, 33, 0.14);
  text-align: left;
  vertical-align: top;
}

.entry-content .legal-table th {
  background: #f4f1ea;
  font-weight: 600;
}

@media (max-width: 640px) {
  .entry-content .legal-table {
    min-width: 460px;
    font-size: 13px;
  }
}

.entity-price-card {
  position: relative;
  display: grid;
  gap: 6px;
  margin: 0 0 30px;
  padding: 24px 26px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(209, 163, 91, 0.2), transparent 58%), #15191e;
  border: 1px solid rgba(209, 163, 91, 0.46);
  overflow: hidden;
}

.entity-price-card::after {
  position: absolute;
  top: -42px;
  right: -36px;
  width: 130px;
  height: 130px;
  background: rgba(209, 163, 91, 0.11);
  border: 1px solid rgba(209, 163, 91, 0.16);
  border-radius: 50%;
  content: "";
}

.entity-price-card__label {
  position: relative;
  z-index: 1;
  color: #d9b779;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entity-price-card__value {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
}

.entity-price-card__note {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.entity__specs {
  margin: 42px 0;
  border-top: 1px solid #e8e1d8;
}

.entity__spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid #e8e1d8;
}

.entity__spec dt {
  color: #777;
}

.entity__spec dd {
  margin: 0;
  font-weight: 600;
}

.entity__cta {
  margin-top: 34px;
  color: #fff !important;
  text-decoration: none !important;
}

.entity-faq {
  border-top: 1px solid #e8e1d8;
}

.product-card__count {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 7px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(14, 19, 25, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.entity-related,
.entity-gallery,
.entity-components {
  margin-top: clamp(80px, 9vw, 130px);
}

.entity-related__head {
  display: grid;
  max-width: 880px;
  margin-bottom: 38px;
  gap: 10px;
}

.entity-related__label {
  color: #9a754b;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entity-related__title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.08;
}

.entity-related__intro {
  max-width: 720px;
  color: #666;
  font-size: 16px;
  line-height: 1.65;
}

.entity-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entity-related__grid .product-card {
  width: 100%;
  height: 250px;
}

.entity-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.entity-gallery__item {
  overflow: hidden;
  min-height: 280px;
  margin: 0;
  background: #eef0ef;
  border-radius: var(--radius-card);
}

.entity-gallery__image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.entity-gallery__item:hover .entity-gallery__image {
  transform: scale(1.035);
}

.entity-components {
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent 48%), #e9eceb;
  border: 1px solid #dce0de;
  border-radius: calc(var(--radius-card) * 1.3);
}

.entity-components__group + .entity-components__group {
  margin-top: 48px;
}

.entity-components__subtitle {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 350;
}

.entity-components__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.component-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 230px;
  padding: 12px 12px 16px;
  overflow: hidden;
  flex-direction: column;
  color: #1b2025;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(25, 31, 37, 0.09);
  border-radius: var(--radius-card);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}

.component-card:hover,
.component-card:focus-visible {
  color: #1b2025;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(24, 31, 36, 0.12);
}

.component-card__media {
  display: block;
  height: 118px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #dde2e0;
  border-radius: calc(var(--radius-card) - 5px);
}

.component-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.component-card:hover .component-card__image {
  transform: scale(1.06);
}

.component-card__label {
  margin-bottom: 6px;
  color: #9a754b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.component-card__title {
  padding-right: 22px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
}

.component-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #9a754b;
  font-size: 18px;
  transition: transform 280ms ease;
}

.component-card:hover .component-card__arrow {
  transform: translateX(3px);
}

.glass-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.glass-pagination .page-numbers {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glass-pagination a,
.glass-pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  place-items: center;
  color: #1a1a1a;
  border: 1px solid #ded8cf;
  border-radius: var(--radius-sm);
}

.glass-pagination .current {
  color: #fff;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.error-page {
  display: grid;
  min-height: 72vh;
  color: #fff;
  background:
    radial-gradient(
      circle at 65% 20%,
      rgba(184, 146, 99, 0.24),
      transparent 34%
    ),
    var(--color-bg);
  place-items: center;
}

.error-page__inner {
  padding-block: 100px;
  text-align: center;
}

.error-page__code {
  color: var(--color-gold);
  font-size: clamp(72px, 15vw, 180px);
  font-weight: 300;
  line-height: 0.9;
}

.error-page__title {
  margin-top: 24px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
}

.error-page__text {
  margin: 20px 0 34px;
  color: var(--color-text-muted);
}

/* ---------- HOME: FEATURE, MOBILE OFFICE, STATS ---------- */
.hero-feature {
  position: relative;
  width: 400px;
  min-height: 360px;
  overflow: hidden;
  background: #111821;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
  animation: fade-left 1s ease 0.5s forwards;
}

.hero-feature__slides {
  position: relative;
  min-height: 360px;
}

.hero-feature__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.hero-feature__slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
}

.hero-feature__image,
.hero-feature__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-feature__image {
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 7s ease-out;
}

.hero-feature__slide.is-active .hero-feature__image {
  transform: scale(1.08);
}

.hero-feature__shade {
  background:
    linear-gradient(
      180deg,
      rgba(10, 15, 21, 0.16) 10%,
      rgba(10, 15, 21, 0.9) 78%
    ),
    linear-gradient(125deg, rgba(10, 15, 21, 0.82), transparent 62%);
}

.hero-feature__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 360px;
  padding: 76px 28px 28px;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-feature__mark {
  position: absolute;
  top: auto;
  bottom: 36%;
  left: 18px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.2);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
}

.hero-feature__eyebrow {
  position: absolute;
  top: 32px;
  right: 148px;
  left: 28px;
  z-index: 2;
  margin: 0;
  color: #d5b07f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-feature__title {
  position: relative;
  z-index: 1;
  max-width: none;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 300;
  line-height: 1.18;
}

.hero-feature__text {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.hero-feature__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-feature__slide[aria-hidden="true"] .hero-feature__link {
  pointer-events: none;
}

.hero-feature__controls {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 3;
  display: flex;
  height: 34px;
  padding: 0 5px;
  align-items: center;
  gap: 5px;
  color: #fff;
  background: rgba(8, 12, 17, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero-feature__control {
  display: grid;
  width: 26px;
  height: 26px;
  color: #fff;
  font: inherit;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.hero-feature__control:hover,
.hero-feature__control:focus-visible {
  color: #1a1a1a;
  background: #d5b07f;
}

.hero-feature__counter {
  min-width: 38px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
}

.mobile-office {
  padding: clamp(70px, 8vw, 118px) 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(184, 146, 99, 0.22),
      transparent 30%
    ),
    linear-gradient(120deg, #10151d, #1b222c);
}

.mobile-office__container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}

.mobile-office__label {
  margin-bottom: 18px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-office__title {
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.mobile-office__text {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.6;
}

.mobile-office__actions {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  backdrop-filter: blur(18px);
}

.mobile-office__phone {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mobile-office__button {
  width: 100%;
  height: 56px;
}

.mobile-office__more {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.company-stats {
  padding: clamp(60px, 7vw, 100px) 0;
  color: #171717;
  background: #f4f0ea;
}

.company-stats__container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-stats__item {
  display: grid;
  min-height: 210px;
  padding: 34px clamp(24px, 4vw, 60px);
  align-content: center;
  border-left: 1px solid #d8cfc3;
}

.company-stats__item:last-child {
  border-right: 1px solid #d8cfc3;
}

.company-stats__number {
  color: #8c6840;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.company-stats__label {
  margin-top: 14px;
  color: #5d5a56;
  font-size: clamp(16px, 1.5vw, 21px);
}

/* Пять образцов стекла: все преимущества видны без прокрутки на desktop. */
.showcase__container {
  padding-block: clamp(72px, 7vw, 96px);
}

.advantages {
  position: relative;
  padding: clamp(34px, 4vw, 54px);
  overflow: hidden;
  background: #e9ecec;
  border: 1px solid #dce1e1;
  border-radius: calc(var(--radius-card) * 1.4);
}

.advantages::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.86), transparent 42%),
    linear-gradient(180deg, transparent 62%, rgba(186, 198, 200, 0.2));
  content: "";
  pointer-events: none;
}

.advantages__decor {
  opacity: 0.22;
  filter: grayscale(1) contrast(0.72);
  mix-blend-mode: multiply;
}

.advantages__head {
  z-index: 2;
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.advantages__label {
  max-width: 160px;
  margin: 0;
  color: #87643d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.advantages__title {
  max-width: 640px;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 0.98;
  text-align: right;
}

.advantages__slider {
  z-index: 2;
  overflow: visible;
}

.advantages__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  transform: none !important;
  transition: none;
  will-change: auto;
}

.advantages .adv-card {
  position: relative;
  width: auto;
  min-width: 0;
  min-height: 236px;
  padding: 26px 22px;
  overflow: hidden;
  color: #182027;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 4px 4px var(--radius-card) var(--radius-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 34px rgba(29, 38, 42, 0.07);
  backdrop-filter: blur(14px);
}

.advantages .adv-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #b28a5c, #e1c49d 52%, #8b6a45);
  content: "";
}

.advantages .adv-card::after {
  position: absolute;
  top: -44px;
  right: -34px;
  width: 110px;
  height: 160px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88),
    transparent 62%
  );
  content: "";
  pointer-events: none;
  transform: rotate(17deg);
}

.advantages .adv-card:nth-child(even) {
  background: rgba(242, 247, 247, 0.78);
}

.advantages .adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(29, 38, 42, 0.12);
}

.advantages .adv-card__num,
.advantages .adv-card__icon,
.advantages > .slider-arrows {
  display: none;
}

.advantages .adv-card__title {
  position: relative;
  z-index: 1;
  min-height: 3.75em;
  margin: 10px 0 20px;
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 500;
  line-height: 1.25;
}

.advantages .adv-card__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #626b6f;
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- MOBILE MENU DRILL-DOWN ---------- */
.mobile-menu__nav {
  position: relative;
  min-height: 360px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.mobile-menu__item {
  position: relative;
}

.mobile-menu__item.menu-item-has-children > .mobile-menu__link {
  padding-right: 58px;
}

.mobile-menu__next,
.mobile-menu__back {
  display: grid;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  place-items: center;
}

.mobile-menu__next {
  position: absolute;
  top: 4px;
  right: 0;
  width: 48px;
  height: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__next svg,
.mobile-menu__back svg {
  width: 23px;
  height: 23px;
}

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  background: #141921;
  opacity: 0;
  transform: translateX(104%);
  transition:
    transform 320ms ease,
    opacity 220ms ease;
  pointer-events: none;
}

.mobile-menu__panel.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu__panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  min-height: 58px;
  align-items: center;
  background: #141921;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.mobile-menu__back {
  width: 48px;
  height: 48px;
}

.mobile-menu__panel-title {
  padding-right: 20px;
  overflow: hidden;
  color: var(--color-gold);
  font-size: 17px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu__footer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-menu__request {
  width: 100%;
  height: 48px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- FIXED ACTIONS, MODALS, TOAST ---------- */
.fixed-actions {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 65;
  display: flex;
  min-height: 54px;
  overflow: hidden;
  align-items: stretch;
  color: #fff;
  background: #171c24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.32);
}

.fixed-actions__row {
  display: contents;
}

.fixed-actions__message {
  display: grid;
  padding: 8px 20px;
  align-content: center;
  line-height: 1.05;
}

.fixed-actions__eyebrow {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  text-transform: uppercase;
}

.fixed-actions__time {
  font-size: 15px;
}

.fixed-actions__phone {
  display: flex;
  padding: 0 20px;
  align-items: center;
  color: #fff;
  font-size: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.fixed-actions__button {
  display: flex;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: inherit;
  font-size: 14px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.fixed-actions__button--callback {
  background: #896640;
}

.fixed-actions__button--request {
  background: #315f50;
}

body.is-locked .fixed-actions {
  opacity: 0;
  pointer-events: none;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 260ms ease;
  place-items: center;
}

.site-modal[hidden],
.site-modal:not(.is-open) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.site-modal.is-open {
  opacity: 1;
}

.site-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 13, 0.82);
  border: 0;
  backdrop-filter: blur(10px);
}

.site-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 590px);
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(184, 146, 99, 0.28),
      transparent 34%
    ),
    #171d26;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms ease;
}

.site-modal.is-open .site-modal__dialog {
  transform: translateY(0) scale(1);
}

.site-modal__close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 42px;
  height: 42px;
  color: #fff;
  font: inherit;
  font-size: 30px;
  font-weight: 200;
  line-height: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
}

.site-modal__label {
  margin-bottom: 12px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-modal__title {
  max-width: 470px;
  padding-right: 34px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.08;
}

.site-modal__text {
  max-width: 470px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.site-modal__badge {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 26px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  background: var(--color-gold);
  border-radius: 50%;
  place-items: center;
}

.compact-lead-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  margin-top: 30px;
}

.compact-lead-form__field {
  display: grid;
  gap: 8px;
}

.compact-lead-form__label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.compact-lead-form__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  color: #fff;
  font: inherit;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  outline: 0;
}

.compact-lead-form__input:focus {
  border-color: var(--color-gold);
}

.compact-lead-form__consent {
  display: flex;
  grid-column: 1 / -1;
  gap: 9px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.compact-lead-form__consent input {
  margin-top: 3px;
  accent-color: var(--color-gold);
}

.compact-lead-form__consent a {
  color: var(--color-gold);
  text-decoration: underline;
}

.compact-lead-form__submit {
  align-self: end;
}

.site-toast {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 110;
  max-width: min(420px, calc(100vw - 32px));
  padding: 16px 20px;
  color: #fff;
  background: #315f50;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.site-toast--error {
  background: #8a3f3f;
}

.site-toast.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* ---------- PRICES ---------- */
.prices-page {
  display: grid;
  gap: 30px;
}

.prices-page__intro {
  max-width: 760px;
  color: #666;
  font-size: 18px;
}

.prices-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.prices-page__card {
  padding: 28px;
  background: #f6f2ec;
  border: 1px solid #e6ded3;
  border-radius: var(--radius-card);
}

.prices-page__card h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
}

.prices-page__card p {
  margin-top: 10px;
  color: #8c6840;
  font-size: 18px;
}

.prices-page__cta {
  position: relative;
  display: flex;
  gap: 30px;
  min-height: 230px;
  padding: clamp(34px, 4vw, 58px);
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  background-color: #171d26;
  background-image:
    linear-gradient(
      90deg,
      rgba(11, 16, 23, 0.96) 0%,
      rgba(11, 16, 23, 0.86) 48%,
      rgba(11, 16, 23, 0.58) 100%
    ),
    var(--prices-cta-image, linear-gradient(135deg, #171d26 0%, #222c37 100%));
  background-position: center;
  background-size: cover;
  border-radius: var(--radius-card);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 55px rgba(14, 20, 28, 0.16);
  isolation: isolate;
}

.prices-page__cta::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle at 82% 50%,
    rgba(184, 146, 99, 0.2),
    transparent 28%
  );
  content: "";
}

.prices-page__cta > * {
  position: relative;
  z-index: 1;
}

.prices-page__cta h2 {
  max-width: 760px;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.12;
}

.prices-page__cta .prices-page__label {
  color: rgba(255, 255, 255, 0.7);
}

.prices-page__cta > p:last-child {
  margin: 0;
  flex: 0 0 auto;
}

.prices-page__cta .btn {
  width: auto;
  min-width: 250px;
  padding-inline: 28px;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
}

.prices-page__cta .btn:hover,
.prices-page__cta .btn:focus-visible {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .header__write {
    display: none;
  }

  .advantages__head {
    display: block;
  }

  .advantages__label {
    max-width: none;
    margin-bottom: 12px;
  }

  .advantages__title {
    text-align: left;
  }

  .advantages__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-feature {
    width: 100%;
    max-width: 640px;
    min-height: 320px;
  }

  .hero-feature__slides,
  .hero-feature__content {
    min-height: 320px;
  }

  .mobile-office__container {
    grid-template-columns: 1fr;
  }

  .lead-section__container,
  .entity__grid {
    grid-template-columns: 1fr;
  }

  .lead-form__notice {
    grid-column: 1;
  }

  .entity__media {
    position: relative;
    top: auto;
    min-height: min(70vw, 520px);
  }

  .entity__image {
    min-height: min(70vw, 520px);
  }

  .entity-carousel__viewport,
  .entity-carousel__track,
  .entity-carousel__slide,
  .entity-carousel__image {
    min-height: min(70vw, 520px);
  }

  .projects-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entity-related__grid,
  .entity-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entity-components__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .prices-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 0 !important;
  }

  body.admin-bar .hero,
  body.admin-bar .page-hero {
    padding-top: var(--header-height);
  }

  body.admin-bar .mobile-menu {
    top: var(--header-height);
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .entity__cta {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .hero-feature {
    min-height: 340px;
  }

  .hero-feature__slides,
  .hero-feature__content {
    min-height: 340px;
  }

  .advantages {
    padding: 26px 16px;
  }

  .advantages__track {
    grid-template-columns: 1fr;
  }

  .advantages .adv-card {
    min-height: 190px;
  }

  .advantages .adv-card__title {
    min-height: 0;
  }

  .hero-feature__content {
    padding: 72px 22px 24px;
  }

  .hero-feature__mark {
    bottom: 34%;
    left: 14px;
    font-size: 56px;
  }

  .hero-feature__eyebrow {
    top: 24px;
    right: 132px;
    left: 22px;
  }

  .hero-feature__title {
    max-width: none;
    font-size: 26px;
  }

  .hero-feature__text {
    max-width: none;
  }

  .hero-feature__controls {
    top: 18px;
    right: 16px;
  }

  .mobile-office__title {
    font-size: 52px;
  }

  .mobile-office__actions {
    padding: 24px;
  }

  .company-stats__container {
    grid-template-columns: 1fr;
  }

  .company-stats__item,
  .company-stats__item:last-child {
    min-height: 150px;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #d8cfc3;
    border-left: 0;
  }

  .company-stats__item:first-child {
    border-top: 1px solid #d8cfc3;
  }

  .mobile-menu {
    padding-bottom: 24px;
  }

  .mobile-menu__nav {
    min-height: 280px;
  }

  .mobile-menu__footer {
    gap: 14px;
  }

  .mobile-menu__footer-actions {
    grid-template-columns: 1fr;
  }

  .fixed-actions {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 58px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }

  .fixed-actions__message,
  .fixed-actions__phone {
    display: none;
  }

  .fixed-actions__button {
    min-width: 0;
    padding: 0 10px;
    flex: 1;
    font-size: 13px;
  }

  .site-modal {
    padding: 12px;
  }

  .site-modal__dialog {
    padding: 30px 22px;
  }

  .site-modal__close {
    top: 11px;
    right: 11px;
  }

  .site-modal__title {
    font-size: 31px;
  }

  .site-modal__badge {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    font-size: 23px;
  }

  .compact-lead-form {
    grid-template-columns: 1fr;
  }

  .compact-lead-form__submit {
    width: 100%;
  }

  .site-toast {
    right: 16px;
    bottom: 74px;
  }

  .prices-page__grid {
    grid-template-columns: 1fr;
  }

  .prices-page__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .prices-page__cta .btn {
    width: 100%;
    min-width: 0;
  }

  .prices-page__cta > p:last-child {
    width: 100%;
  }

  .lead-section {
    padding: 68px 0;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form__field--wide,
  .lead-form__actions,
  .lead-form__consent {
    grid-column: 1;
  }

  .entity__spec {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .projects-archive__grid {
    grid-template-columns: 1fr;
  }

  .entity-related__grid,
  .entity-gallery__grid {
    grid-template-columns: 1fr;
  }

  .entity-related__grid .product-card {
    height: 230px;
  }

  .entity-carousel__arrow {
    width: 42px;
    height: 42px;
  }

  .entity-carousel__arrow--prev {
    left: 12px;
  }

  .entity-carousel__arrow--next {
    right: 12px;
  }

  .entity-carousel__status {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .entity-components {
    padding: 24px 16px;
  }

  .entity-components__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .component-card {
    min-height: 210px;
  }

  .projects-archive .project-card {
    height: 420px;
  }

  .price-list {
    padding: 48px 0 72px;
  }

  .price-table th,
  .price-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ---------- PRICE TABLES ---------- */
.price-list {
  padding: 72px 0 96px;
  background: #fbf8f3;
  border-top: 1px solid #e8e1d8;
  color: #15191e;
}

.prices-layout .price-list {
  margin-top: 12px;
}

.price-list__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.price-list__label {
  color: #8c6840;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-list__title {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: #15191e !important;
}

.price-list__intro {
  margin-top: 12px;
  color: #666;
  font-size: 16px;
}

.price-list__items {
  display: grid;
  gap: 10px;
}

.price-list__note {
  margin: 0 0 16px;
  color: #8c6840;
  font-size: 14px;
}

.price-list .faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.price-list .faq-item.is-open {
  border-color: #d6bd8a;
  box-shadow: 0 8px 24px rgba(184, 146, 99, 0.12);
}

.price-list .faq-item__question {
  color: #111827 !important;
}

.price-list .faq-item.is-open .faq-item__question {
  color: #0f172a !important;
}

.price-list .faq-item__icon::before,
.price-list .faq-item__icon::after {
  background: #111827;
}

.price-list .faq-item.is-open .faq-item__icon::before,
.price-list .faq-item.is-open .faq-item__icon::after {
  background: var(--color-gold, #b89263);
}

.price-table-wrap {
  overflow-x: auto;
  margin: 0 -4px 4px;
}

.price-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
}

.price-table th {
  padding: 12px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  background: #15191e;
  border-bottom: 1px solid rgba(209, 163, 91, 0.4);
}

.price-table td {
  padding: 11px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #15191e;
  border-bottom: 1px solid #eee6dc;
  vertical-align: top;
}

.price-table tbody tr:nth-child(even) td {
  background: #fbf8f3;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.price-table__group td {
  color: #8c6840;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f3ece3 !important;
}

.entity-schemes {
  padding-top: 12px;
}

.entity .price-list {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  border-top: 0;
}

.entity .price-list__container {
  width: 100%;
  max-width: none;
  padding: 0;
}

@media (max-width: 640px) {
  .price-list {
    padding: 48px 0 72px;
  }

  .price-table-wrap {
    overflow: visible;
    margin: 0;
  }

  .price-table {
    min-width: 0;
    width: 100%;
  }

  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin: 0 0 10px;
    border: 1px solid #eee6dc;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  .price-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  .price-table td {
    display: grid;
    grid-template-columns: minmax(96px, 38%) 1fr;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    white-space: normal !important;
    border-bottom: 1px solid #f3ece3;
  }

  .price-table td:last-child {
    border-bottom: 0;
    font-weight: 700;
  }

  .price-table td::before {
    content: attr(data-label);
    color: #8c6840;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .price-table__group {
    border: 0;
    background: transparent;
  }

  .price-table__group td {
    display: block;
    padding: 8px 2px 4px;
    border: 0;
    background: transparent !important;
  }

  .price-table__group td::before {
    content: none;
  }
}

/* ---------- messengers + mobile overflow ---------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.social-links__item {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none;
  border: 0;
  border-radius: 10px;
}

.social-links__icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.social-links__item:hover,
.social-links__item:focus-visible {
  background: none;
  border: 0;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.social-links__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.social-links--footer .social-links__item,
.social-links--mobile .social-links__item {
  background: none;
  border: 0;
}

.social-links--footer .social-links__item:hover,
.social-links--mobile .social-links__item:hover {
  background: none;
  border: 0;
  filter: brightness(1.08);
}

.social-links--fixed {
  align-self: stretch;
  padding: 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.social-links--fixed .social-links__item {
  width: 36px;
  height: 36px;
}

.header__container {
  gap: 16px;
  min-width: 0;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav__list {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(10px, 1.15vw, 24px);
}

.nav__link {
  white-space: nowrap;
}

.header__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.header__cta.btn--gold {
  width: auto;
  min-width: 0;
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.header__write {
  height: 42px;
}

.header .social-links--header {
  display: none;
}

.page-hero__title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entity-price-card__value,
.about__title,
.regions__title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.entity-price-card {
  overflow: visible;
}

.entry-content img,
.entity__image,
.about__img {
  max-width: 100%;
  height: auto;
}

.regions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 64px);
}

.regions__grid > * {
  min-width: 0;
}

.regions__content {
  max-width: none;
}

.regions__lists {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.regions__media {
  height: auto;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #ece7e0;
}

.regions__media[data-reveal] {
  opacity: 1;
  transform: none;
}

.regions__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.project-card__tags {
  right: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  min-width: 0;
  flex-wrap: wrap;
}

.project-card__tag {
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  line-height: 1.35;
}

.project-card__tag:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 1600px) {
  .header__write {
    display: none;
  }

  .nav__link {
    font-size: 13px;
  }
}

@media (max-width: 1366px) {
  .header__phone {
    display: none;
  }

  .nav__list {
    gap: 8px;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .header__cta,
  .header__write,
  .header__phone {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

@media (max-width: 1023px) {
  .header .social-links--header {
    display: none;
  }

  .regions__grid {
    grid-template-columns: 1fr;
  }

  .regions__media,
  .regions__img {
    min-height: 320px;
  }

  .fixed-actions {
    flex-wrap: wrap;
  }

  .social-links--fixed {
    width: 100%;
    justify-content: center;
    padding: 8px 10px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 108px;
  }

  .entity-components__grid,
  .regions__lists,
  .entity-related__grid,
  .entity-gallery__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .entity-related__grid .product-card {
    position: relative;
    width: 100%;
    height: 200px;
    transform: none;
    opacity: 1;
  }

  .entity__media,
  .entity__image,
  .entity-carousel__viewport,
  .entity-carousel__track,
  .entity-carousel__slide,
  .entity-carousel__image {
    min-height: min(52vw, 280px);
  }

  .entry-content h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .entry-content h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .about__content {
    padding-inline: 16px;
  }

  .about__img,
  .regions__media {
    height: auto;
    max-height: 240px;
  }

  .fixed-actions__button {
    font-size: 13px;
  }
}

/* ---------- Audit 2026-09: overflow, carousel, menu, cookie ---------- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.container,
.footer__grid,
.footer__col,
.about__grid,
.about__content,
.glass-card,
.entity__grid,
.entity__content,
.hero__grid,
.promotions__grid,
.promo-card,
.page-hero__content {
  min-width: 0;
  max-width: 100%;
}

.glass-card {
  width: min(100%, 560px);
  margin-left: 0;
  box-sizing: border-box;
}

.entry-content,
.page-hero__title,
.page-hero__desc,
.entity__content,
.product-item__title,
.promo-card__title,
.promo-card__text,
.about__title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.entity-carousel,
.entity-carousel__viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.entity-carousel__track {
  width: 100%;
}

.entity-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
}

.entity-carousel__image,
.page-hero__bg,
.promo-card__img,
.project-card__img,
.entity__image {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .container {
  padding-left: max(24px, var(--container-pad));
  padding-right: max(16px, var(--container-pad));
}

.hero,
.page-hero {
  isolation: auto;
  padding-top: var(--header-height);
}

.hero__bg,
.page-hero__bg {
  z-index: 0;
}

.hero__overlay,
.page-hero__overlay {
  z-index: 1;
}

.hero__container,
.page-hero__container {
  z-index: 2;
}

.mobile-menu {
  z-index: 480;
  background: #10141b;
}

.site-modal {
  z-index: 560;
}

html.is-locked,
body.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

.contacts-map__iframe,
.contacts-map__frame iframe {
  z-index: 0;
}

.mobile-menu.is-open {
  opacity: 1;
}

.advantages .adv-card__desc,
.entity-carousel__counter,
.component-card__label,
.hero-feature__counter,
.logo__wordmark,
.lead-form__hint {
  font-size: 13px;
}

.cookie-bar {
  position: fixed;
  right: 16px;
  bottom: 92px;
  left: 16px;
  z-index: 400;
  display: flex;
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 18px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: #141921;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.cookie-bar__title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.cookie-bar__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-bar__text a {
  color: #d1a35b;
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cookie-bar__reject {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

@media (max-width: 1023px) {
  .glass-card {
    width: 100%;
    margin-left: 0;
  }

  .promotions__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .promo-card__percent {
    font-size: 40px;
  }
}

/* Fixed CTA: tablet/medium — 2 rows, not a wrapping pill */
@media (max-width: 1180px) {
  .fixed-actions {
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    width: auto;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    border-radius: 20px;
  }

  .fixed-actions__row {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .fixed-actions__row--info {
    min-height: 52px;
  }

  .fixed-actions__row--cta {
    min-height: 48px;
  }

  .fixed-actions__message {
    display: grid;
    padding: 8px 16px;
  }

  .fixed-actions__phone {
    display: flex;
    min-width: 0;
    padding: 0 14px;
    font-size: 15px;
  }

  .social-links--fixed {
    display: flex;
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 12px;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .fixed-actions__button {
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
    flex: 1 1 50%;
  }

  body {
    padding-bottom: 140px;
  }

  .cookie-bar {
    bottom: 140px;
  }
}

@media (max-width: 640px) {
  .fixed-actions {
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    border-radius: 0;
  }

  .fixed-actions__row {
    display: contents;
  }

  .fixed-actions__message,
  .fixed-actions__phone {
    display: none;
  }

  .social-links--fixed {
    margin-left: 0;
    border-left: 0;
  }

  .fixed-actions__button {
    flex: 1 1 0;
  }

  body {
    padding-bottom: 72px;
  }

  .cookie-bar {
    bottom: 72px;
  }
}

/* =========================================================
   HOME VIDEOS SECTION (ВИДЕО ОБЪЕКТОВ)
   ========================================================= */
.home-videos {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.showcase__container > .home-videos + .projects {
  margin-top: 60px;
}

.home-videos__card {
  display: flex;
  align-items: center !important;
  gap: 20px !important;
  padding: 24px 20px 24px 30px !important;
  background: #FAF3EB;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: opacity 0.3s ease;
}

body.is-modal-open .home-videos__card {
  opacity: 0.18;
}

/* Left column: Information */
.home-videos__info {
  width: 344px !important;
  flex: 0 0 344px !important;
  flex-shrink: 0 !important;
  display: flex;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}

.home-videos__icon-col {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  padding-top: 2px;
}

.home-videos__icon {
  flex-shrink: 0 !important;
  width: 48px !important;
  height: 36px !important;
  margin: 0 !important;
  color: #AD8350;
}

.home-videos__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-videos__divider {
  width: 1.5px !important;
  height: 42px !important;
  background-color: #C4A47C;
  margin-left: 16px !important;
  margin-right: 20px !important;
  flex-shrink: 0 !important;
}

.home-videos__content-col {
  width: 258px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-videos__title {
  margin: 0 0 10px 0 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #0A0A0A !important;
  letter-spacing: -0.015em;
}

.home-videos__text {
  margin: 0 0 16px 0 !important;
  font-size: 14.5px !important;
  line-height: 1.38 !important;
  color: #2B2B2B;
  width: 258px !important;
  max-width: 258px !important;
}

.home-videos__btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 248px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  background: #AD8350;
  border: 1.5px solid #8E6535;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 500;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.home-videos__btn:hover {
  background-color: #8E6535;
  border-color: #7a5328;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.home-videos__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-videos__btn-text {
  display: inline-block;
}

.home-videos__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Right column: Slider */
.home-videos__slider-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

.home-videos__slider-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px !important;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.home-videos__slider {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 12px;
  cursor: default;
  user-select: none;
  margin: 0 !important;
  padding: 0 !important;
}

.home-videos__track {
  display: flex !important;
  gap: 10px !important;
  width: 100% !important;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Slider navigation arrows */
.home-videos__arrow {
  flex-shrink: 0 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 1px solid #E6DEC8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1A1A !important;
  cursor: pointer;
  opacity: 1 !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 2;
}

.home-videos__arrow:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #1A1A1A !important;
}

.home-videos__arrow:disabled {
  opacity: 0.35 !important;
  background: #FFFFFF !important;
  color: #8C8476 !important;
  border: 1px solid #E6DEC8 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Card / Video Facade */
.video-facade {
  flex: 0 0 calc((100% - 50px) / 6) !important;
  width: calc((100% - 50px) / 6) !important;
  height: 162px !important;
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.video-facade:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.video-facade__media {
  position: relative;
  width: 100%;
  height: 162px !important;
  overflow: hidden;
  background-color: #000000;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.video-facade__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.video-facade__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.video-facade:hover .video-facade__img {
  transform: scale(1.04);
}

.video-facade__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Card Placeholder (когда видео еще нет / в процессе публикации) */
.video-facade--placeholder {
  cursor: default !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1.5px dashed rgba(173, 131, 80, 0.3) !important;
  box-shadow: none !important;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease !important;
}

.video-facade--placeholder:hover {
  transform: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(173, 131, 80, 0.5) !important;
}

.video-facade__media--placeholder {
  background-color: transparent !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.video-facade--placeholder .video-facade__media::after {
  display: none !important;
}

.video-facade__placeholder-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 10px 8px !important;
  width: 100% !important;
  height: 100% !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: none !important;
}

.video-facade__placeholder-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(173, 131, 80, 0.08) !important;
  color: #AD8350 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 10px auto !important;
  flex-shrink: 0 !important;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease !important;
}

.video-facade--placeholder:hover .video-facade__placeholder-icon {
  background: rgba(173, 131, 80, 0.16) !important;
  transform: scale(1.06) !important;
}

.video-facade__placeholder-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #7D6348 !important;
  margin: 0 0 3px 0 !important;
  display: block !important;
  letter-spacing: -0.01em !important;
}

.video-facade__placeholder-sub {
  font-size: 10.5px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  color: #9C856E !important;
  margin: 0 !important;
  display: block !important;
}

/* Play button */
.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background-color: rgba(0, 0, 0, 0.45) !important;
  border: 2px solid #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.2s ease,
    box-shadow 0.25s ease;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.video-facade:hover .video-facade__play {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: rgba(0, 0, 0, 0.6) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.video-facade__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

.video-facade__play-icon svg {
  width: 16px !important;
  height: 18px !important;
  fill: #FFFFFF !important;
}

/* Duration badge (timecode) */
.video-facade__badge,
.time-badge {
  position: absolute;
  bottom: 8px !important;
  right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  padding: 4px 9px 5px 9px !important;
  border-radius: 8px !important;
  background: rgba(15, 15, 15, 0.68) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  font-variant-numeric: proportional-nums !important;
  color: #ffffff !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: none !important;
  z-index: 2;
}

/* Responsive */
@media (max-width: 1199px) and (min-width: 992px) {
  .home-videos__card {
    padding: 24px 16px 24px 28px !important;
    gap: 16px !important;
  }
  .home-videos__info {
    width: 330px;
    flex: 0 0 330px;
  }
  .home-videos__title {
    font-size: 24px;
  }
  .home-videos__text {
    font-size: 14px;
    margin-bottom: 16px;
    width: 250px !important;
    max-width: 250px !important;
  }
  .video-facade {
    height: 162px !important;
  }
  .video-facade__media {
    height: 162px !important;
  }
}

@media (max-width: 991px) {
  .home-videos {
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .home-videos__card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px !important;
    border-radius: 18px;
    gap: 20px !important;
    overflow: hidden !important;
  }
  .home-videos__info {
    width: 100% !important;
    flex: 1 1 auto !important;
    max-width: 100% !important;
  }
  .home-videos__content-col {
    width: 100% !important;
  }
  .home-videos__title {
    font-size: 24px !important;
  }
  .home-videos__text {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
  }
  .home-videos__btn {
    align-self: flex-start;
  }
  .home-videos__slider-wrap {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .home-videos__slider-box {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .home-videos__arrow {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }
  .home-videos__slider {
    width: 100% !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    border-radius: 12px;
  }
  .home-videos__track {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .video-facade {
    flex: 0 0 120px !important;
    width: 120px !important;
    height: 162px !important;
  }
  .video-facade__media {
    height: 162px !important;
  }
}

@media (max-width: 540px) {
  .home-videos {
    margin-top: 30px;
    margin-bottom: 24px;
    padding: 0 12px;
  }
  .home-videos__card {
    padding: 20px 14px !important;
    border-radius: 18px;
    gap: 16px !important;
    overflow: hidden !important;
  }
  .home-videos__info {
    flex-direction: column;
    gap: 12px;
  }
  .home-videos__icon-col {
    display: flex;
    align-items: center;
  }
  .home-videos__divider {
    display: none;
  }
  .home-videos__title {
    font-size: 22px !important;
  }
  .home-videos__btn {
    width: 100% !important;
    justify-content: space-between !important;
    align-self: stretch !important;
  }
  .home-videos__slider-box {
    gap: 6px !important;
  }
  .home-videos__arrow {
    width: 32px !important;
    height: 32px !important;
  }
  .home-videos__arrow svg {
    width: 12px !important;
    height: 12px !important;
  }
  .video-facade {
    flex: 0 0 114px !important;
    width: 114px !important;
    height: 154px !important;
    border-radius: 10px !important;
  }
  .video-facade__media {
    height: 154px !important;
  }
}

/* Video Modal */
.site-modal--video {
  z-index: 2000 !important;
  padding: 30px 24px;
  align-content: center;
  justify-items: center;
  isolation: isolate;
}

.site-modal--video .site-modal__backdrop {
  background:
    radial-gradient(
      circle at center,
      rgba(15, 20, 28, 0.82) 0%,
      rgba(7, 9, 14, 0.90) 100%
    );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateZ(0);
}

.site-modal__dialog--video {
  width: min(100%, 1020px);
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: visible !important;
  border: none;
  box-shadow: none;
  position: relative;
}

.site-modal__video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  isolation: isolate;
}

.site-modal__video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  display: block;
}

/* Close button positioned to the right of the video */
.site-modal--video .site-modal__close {
  position: absolute;
  top: 0;
  left: calc(100% + 14px);
  right: auto;
  z-index: 50;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
  padding: 0;
}

.site-modal--video .site-modal__close:hover {
  background: #b3824c;
  border-color: #b3824c;
  transform: scale(1.08);
}

.site-modal__dialog--video.is-vertical {
  width: auto;
  max-width: min(100%, 420px);
  margin: 0 auto;
}

.site-modal__dialog--video.is-vertical .site-modal__video-player {
  aspect-ratio: 9 / 16;
  height: min(calc(100vh - 80px), 720px);
  max-width: 100%;
  width: auto;
}

/* For horizontal video on screens where 1020px reaches viewport bounds */
@media (max-width: 1180px) {
  .site-modal__dialog--video:not(.is-vertical) .site-modal__close {
    top: -46px;
    right: 0;
    left: auto;
  }
}

/* Mobile & narrow viewports */
@media (max-width: 640px) {
  .site-modal--video {
    padding: 24px 14px;
  }
  .site-modal__dialog--video {
    border-radius: 14px;
  }
  .site-modal__video-player {
    border-radius: 14px;
  }
  .site-modal__video-player iframe {
    border-radius: 14px;
  }
}

@media (max-width: 540px) {
  .site-modal--video {
    padding: 16px 10px;
  }
  .site-modal__dialog--video.is-vertical {
    width: 100%;
    max-width: 380px;
  }
  .site-modal__dialog--video.is-vertical .site-modal__video-player {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
  }
  .site-modal--video .site-modal__close {
    top: 10px;
    right: 10px;
    left: auto;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.35);
  }
}

.video-facade__play:focus-visible {
  outline: 2px solid #AD8350;
  outline-offset: 2px;
}

/* ==========================================================================
   1. HOME PROMO SECTION (Новый составной промо-блок)
   ========================================================================== */
.home-promo {
  --promo-pad: var(--container-pad, 40px);
  --promo-max: calc(var(--container-max, 1360px) - (var(--promo-pad) * 2));
  padding: clamp(40px, 5vw, 60px) 0 clamp(44px, 4.8vw, 68px);
  background: #ffffff;
  color: #14171A;
  overflow-x: clip;
}

.home-promo__container {
  max-width: var(--container-max, 1360px);
  padding-inline: var(--promo-pad);
}

.home-promo__hero {
  width: 100%;
  max-width: var(--container-max, 1360px);
  margin-inline: auto;
  padding-inline: var(--promo-pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 36px);
  align-items: start;
}

.home-promo__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-promo__eyebrow-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 18px);
  margin-bottom: clamp(12px, 1.25vw, 18px);
}

.home-promo__eyebrow {
  font-size: clamp(0.75rem, 0.68rem + 0.25vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8C7355;
}

.home-promo__eyebrow-line {
  flex: 0 0 clamp(40px, 4vw, 64px);
  height: 1.5px;
  background: #C8B9A6;
}

.home-promo__title {
  font-size: clamp(1.85rem, 1.15rem + 1.85vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  color: #161922;
  margin: 0 0 clamp(18px, 1.8vw, 26px);
  letter-spacing: -0.025em;
}

.home-promo__desc,
.home-promo__text {
  font-size: clamp(0.95rem, 0.86rem + 0.28vw, 1.08rem);
  font-weight: 400;
  line-height: 1.58;
  max-width: 62ch;
  color: #1C2029;
  margin: 0 0 clamp(14px, 1.3vw, 20px);
}

.home-promo__desc:last-of-type,
.home-promo__text:last-of-type {
  margin-bottom: 0;
}

.home-promo__badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.5vw, 22px);
  margin-top: clamp(24px, 2.4vw, 34px);
}

.home-promo__badge {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.9vw, 12px);
  flex: 0 1 auto;
}

.home-promo__badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F7F2EB;
  color: #9A7B56;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-promo__badge-text {
  font-size: clamp(0.8rem, 0.72rem + 0.2vw, 0.92rem);
  font-weight: 500;
  line-height: 1.25;
  color: #161922;
  max-width: 18ch;
}

.home-promo__badge:nth-child(2) .home-promo__badge-text {
  max-width: 20ch;
}

.home-promo__media {
  position: relative;
  width: 100%;
  min-width: 0;
}

.home-promo__media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #f0f0f0;
  border-radius: 20px;
  box-shadow: none;
  clip-path: none;
}

.home-promo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .home-promo {
    padding: 0 0 clamp(48px, 4.8vw, 76px);
  }

  .home-promo__hero {
    max-width: none;
    padding-inline: 0;
    grid-template-columns:
      minmax(var(--promo-pad), 1fr)
      minmax(0, calc(var(--promo-max) * 0.54))
      minmax(0, calc(var(--promo-max) * 0.46))
      minmax(var(--promo-pad), 1fr);
    gap: 0;
    align-items: center;
  }

  .home-promo__content {
    grid-column: 2 / 3;
    padding: clamp(44px, 4.4vw, 68px) clamp(20px, 2.5vw, 40px) clamp(14px, 1.5vw, 22px) 0;
  }

  .home-promo__media {
    grid-column: 3 / -1;
    width: 100%;
    height: 100%;
    align-self: stretch;
  }

  .home-promo__media-frame {
    height: 100%;
    min-height: clamp(360px, 28vw, 480px);
    aspect-ratio: auto;
    border-radius: 0;
    clip-path: url(#promo-hero-shape);
  }
}

@media (min-width: 1024px) {
  .home-promo__badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    align-items: center;
    gap: clamp(14px, 1.8vw, 26px);
  }
}

/* 2. Решения для вашего пространства */
.home-solutions {
  margin-top: clamp(24px, 2.6vw, 40px);
}

.home-solutions__title {
  font-size: clamp(1.5rem, 1.1rem + 1.05vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: #161922;
  margin: 0 0 clamp(20px, 2vw, 32px);
  letter-spacing: -0.02em;
}

.home-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 1.8vw, 28px);
}

.home-solution-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9.2;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.1);
  background: #f2f2f2;
}

.home-solution-card__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.home-solution-card__media {
  width: 100%;
  height: 100%;
}

.home-solution-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.home-solution-card:hover .home-solution-card__img {
  transform: scale(1.04);
}

.home-solution-card__pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.75vw, 10px);
  max-width: calc(100% - 32px);
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #14171A;
  font-size: clamp(0.82rem, 0.75rem + 0.18vw, 0.92rem);
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-solution-card__pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14171A;
  flex-shrink: 0;
}

.home-solution-card__pill-arrow {
  font-size: 1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.home-solution-card__link:hover .home-solution-card__pill {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-solution-card__link:hover .home-solution-card__pill-arrow {
  transform: translateX(4px);
}

/* 3. Плашка преимуществ ("Почему выбирают наши перегородки") */
.home-adv-bar {
  margin-top: clamp(24px, 2.5vw, 36px);
  background: #F8F6F2;
  border-radius: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  border: none;
  overflow: hidden;
}

.home-adv-bar__head {
  position: relative;
  isolation: isolate;
  background: transparent;
  border-radius: 0;
  padding: clamp(20px, 2vw, 28px) clamp(24px, 3vw, 36px);
  flex: 0 0 clamp(260px, 25vw, 340px);
  align-self: stretch;
  display: flex;
  align-items: center;
}

.home-adv-bar__head::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: #F1EDE7;
  border-radius: 20px;
  pointer-events: none;
}

@media (min-width: 992px) {
  .home-adv-bar__head {
    position: relative;
    isolation: isolate;
    background: transparent;
    border-radius: 0;
    padding: clamp(24px, 2.2vw, 32px) clamp(44px, 4vw, 62px) clamp(24px, 2.2vw, 32px) clamp(28px, 2.6vw, 40px);
  }

  .home-adv-bar__head::before {
    top: -28px;
    border-radius: 0 55px 88px 0 / 0 38% 62% 0;
  }
}

.home-adv-bar__title {
  font-size: clamp(1.22rem, 1.02rem + 0.55vw, 1.52rem);
  font-weight: 800;
  line-height: 1.14;
  color: #14171F;
  margin: 0;
  letter-spacing: -0.025em;
}

.home-adv-bar__divider {
  width: 1px;
  height: 42px;
  background: #DED8CE;
  flex-shrink: 0;
  margin: 0 clamp(16px, 1.8vw, 28px) 0 clamp(24px, 2vw, 32px);
}

.home-adv-bar__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  flex: 1;
  align-items: center;
  padding: clamp(16px, 1.5vw, 22px) clamp(18px, 2vw, 28px) clamp(16px, 1.5vw, 22px) 0;
}

.home-adv-bar__item {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.85vw, 12px);
}

.home-adv-bar__icon {
  width: clamp(38px, 2.6vw, 44px);
  height: clamp(38px, 2.6vw, 44px);
  border-radius: 50%;
  border: none;
  background: #F4EDE2;
  color: #7A5C43;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-adv-bar__icon svg {
  width: 24px;
  height: 24px;
  color: #7A5C43;
}

.home-adv-bar__text {
  font-size: clamp(0.84rem, 0.76rem + 0.22vw, 0.98rem);
  font-weight: 500;
  line-height: 1.25;
  color: #1E222B;
  max-width: 17ch;
}


/* ==========================================================================
   2. HOME ARTICLES SECTION & NEWS CARD (Читайте интересные статьи)
   ========================================================================== */
.home-articles {
  width: 100%;
  max-width: calc(var(--container-max, 1320px) - (var(--container-pad, 40px) * 2));
  margin-inline: auto;
}

.home-articles__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.home-articles__title {
  font-size: clamp(1.75rem, 1.35rem + 1.15vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #14171F;
  margin: 0;
  line-height: 1.15;
}

.home-articles__all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.92rem, 0.86rem + 0.18vw, 1rem);
  font-weight: 500;
  color: #14171F;
  text-decoration: none;
}

.home-articles__all-text {
  border-bottom: 1.5px solid #14171F;
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-articles__all-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.home-articles__all-arrow svg {
  display: block;
}

.home-articles__all-link:hover .home-articles__all-text {
  color: #AD8350;
  border-color: #AD8350;
}

.home-articles__all-link:hover .home-articles__all-arrow {
  color: #AD8350;
  transform: translateX(4px);
}

.home-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* Карточка статьи / новости */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #F6F7F9;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.07);
  border: 1px solid rgba(20, 23, 31, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 24, 38, 0.12);
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  background: #ebebeb;
}

.news-card__img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.03);
}

.news-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(238, 240, 243, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #161922;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.news-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #14171F;
  margin: 0 0 12px;
}

.news-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.news-card:hover .news-card__title-link {
  color: #AD8350;
}

.news-card__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #666D7A;
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  color: #161922;
  font-size: 14px;
  font-weight: 500;
}

.news-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #161922;
  font-size: 14px;
  font-weight: 500;
}

.news-card__meta-item svg {
  width: 16px;
  height: 16px;
  color: #161922;
  stroke: currentColor;
  stroke-width: 1.7;
  flex-shrink: 0;
  display: block;
}

.news-card__date,
.news-card__meta-item time {
  display: inline !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
  margin: 0;
  padding: 0;
}

.news-card__meta-sep {
  width: 1px;
  height: 16px;
  background: #D5D9E2;
  flex-shrink: 0;
  display: inline-block;
}


/* ==========================================================================
   3. RELATED PROJECTS SLIDER (Вам также может быть интересно)
   ========================================================================== */
.project-related {
  padding: 72px 0 80px;
  background: #ffffff;
  color: #161922;
}

.project-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.project-related__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: #14171F;
  margin: 0;
  letter-spacing: -0.025em;
}

.project-related__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.project-related__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #161922;
  background: #ffffff;
  color: #161922;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.project-related__btn svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke-width: 1.8;
}

.project-related__btn:hover:not(:disabled) {
  border-color: #161922;
  color: #161922;
  background: #F4F5F7;
}

.project-related__btn:disabled {
  border-color: #E2E5EB;
  color: #A0A6B1;
  background: #ffffff;
  cursor: default;
}

.project-related__slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: auto;
  position: relative;
  cursor: grab;
  user-select: none;
  padding: 12px 22px 28px;
  margin: -12px -22px -20px;
}

.project-related__slider::-webkit-scrollbar {
  display: none;
}

.project-related__slider.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.project-related__track {
  display: flex;
  gap: 16px;
}

.project-related-card {
  position: relative;
  flex: 0 0 calc((100% - 3 * 16px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: #F5F6F8;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04), 0 6px 14px -2px rgba(15, 23, 42, 0.08);
  border: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.06), 0 10px 18px -2px rgba(15, 23, 42, 0.11);
}

.project-related-card__media {
  aspect-ratio: 1.06 / 1;
  border-radius: 20px 20px 10px 10px;
  overflow: hidden;
  background: #ebebeb;
}

.project-related-card__img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-related-card:hover .project-related-card__img {
  transform: scale(1.03);
}

.project-related-card__body {
  padding: 18px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  flex: 1;
}

.project-related-card__title {
  font-size: clamp(0.98rem, 0.9rem + 0.22vw, 1.08rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #14171F;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-related-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-related-card__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project-related-card:hover .project-related-card__title-link {
  color: #14171F;
}

.project-related-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E9EBEF;
  color: #14171F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.project-related-card__arrow svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
}

.project-related-card:hover .project-related-card__arrow {
  background: #14171F;
  color: #ffffff;
  transform: translateX(2px);
}

/* Dots pagination */
.project-related__dots,
.objects-carousel__dots,
[data-slider-dots] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9DCE2;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.slider-dot.is-active {
  background: #161922;
  transform: scale(1.2);
}

.project-related__dots,
.objects-carousel__dots {
  gap: 12px;
  margin-top: 26px;
}

.project-related__dots .slider-dot,
.objects-carousel__dots .slider-dot {
  width: 8px;
  height: 8px;
  background: #D6D9E0;
}

.project-related__dots .slider-dot.is-active,
.objects-carousel__dots .slider-dot.is-active {
  background: #14171F;
  transform: none;
}


/* ==========================================================================
   4. REUSABLE OBJECTS CAROUSEL (Что вы можете заказать у нас)
   ========================================================================== */
.objects-carousel {
  padding: 72px 0 80px;
  background: #ffffff;
  color: #161922;
}

.objects-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.objects-carousel__head-text {
  min-width: 0;
  flex: 1;
}

.objects-carousel__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: #14171F;
  margin: 0;
  letter-spacing: -0.025em;
}

.objects-carousel__desc {
  font-size: 15.5px;
  font-weight: 400;
  color: #5C6370;
  max-width: 640px;
  line-height: 1.5;
  margin: 10px 0 0;
}

.objects-carousel__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.objects-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #161922;
  background: #ffffff;
  color: #161922;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.objects-carousel__btn svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke-width: 1.8;
}

.objects-carousel__btn:hover:not(:disabled) {
  border-color: #161922;
  color: #161922;
  background: #F4F5F7;
}

.objects-carousel__btn:disabled {
  border-color: #E2E5EB;
  color: #A0A6B1;
  background: #ffffff;
  cursor: default;
}

.objects-carousel__slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: auto;
  position: relative;
  cursor: grab;
  user-select: none;
  padding: 12px 22px 28px;
  margin: -12px -22px -20px;
}

.objects-carousel__slider::-webkit-scrollbar {
  display: none;
}

.objects-carousel__slider.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.objects-carousel__track {
  display: flex;
  gap: 16px;
}

.objects-carousel-card {
  position: relative;
  flex: 0 0 calc((100% - 3 * 16px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: #F5F6F8;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04), 0 6px 14px -2px rgba(15, 23, 42, 0.08);
  border: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.objects-carousel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.06), 0 10px 18px -2px rgba(15, 23, 42, 0.11);
}

.objects-carousel-card:focus-visible {
  border-radius: 20px;
}

.objects-carousel-card__media {
  aspect-ratio: 1.06 / 1;
  border-radius: 20px 20px 10px 10px;
  overflow: hidden;
  background: #ebebeb;
}

.objects-carousel-card__img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.objects-carousel-card:hover .objects-carousel-card__img {
  transform: scale(1.03);
}

.objects-carousel-card__body {
  padding: 18px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  flex: 1;
}

.objects-carousel-card__content {
  min-width: 0;
  flex: 1;
}

.objects-carousel-card__title {
  font-size: clamp(0.98rem, 0.9rem + 0.22vw, 1.08rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #14171F;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.objects-carousel-card__desc {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.4;
  color: #5A606D;
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.objects-carousel-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E9EBEF;
  color: #14171F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.objects-carousel-card__arrow svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
}

.objects-carousel-card:hover .objects-carousel-card__arrow {
  background: #14171F;
  color: #ffffff;
  transform: translateX(2px);
}


/* ==========================================================================
   5. RESPONSIVE ADAPTATIONS (Адаптивность под планшеты и мобильные)
   ========================================================================== */
@media (max-width: 1199px) {
  .home-adv-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  .home-adv-bar__head {
    flex: none;
    width: 100%;
    border-radius: 0;
    padding: clamp(18px, 2.4vw, 24px) clamp(20px, 3vw, 28px);
  }
  .home-adv-bar__head::before {
    top: 0;
    border-radius: 20px;
  }
  .home-adv-bar__divider {
    display: none;
  }
  .home-adv-bar__items {
    grid-template-columns: repeat(2, 1fr);
    padding: clamp(18px, 2.4vw, 24px) clamp(20px, 3vw, 28px);
    gap: clamp(14px, 2vw, 20px);
  }
  .project-related-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  .objects-carousel-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  .home-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .news-card__title {
    font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.25rem);
  }
}

@media (max-width: 991px) {
  .home-promo__hero {
    grid-template-columns: 1fr;
    max-width: var(--container-max, 1360px);
    margin-inline: auto;
    padding-inline: var(--promo-pad);
    gap: clamp(24px, 4vw, 36px);
  }
  .home-promo__media-frame {
    clip-path: none;
    border-radius: 20px;
    box-shadow: none;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
  .home-adv-bar__head::before {
    top: 0;
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  .home-promo {
    padding: clamp(32px, 6vw, 48px) 0 clamp(32px, 6vw, 44px);
  }
  .home-promo__badges {
    flex-direction: column;
    gap: 14px;
  }
  .home-promo__badge-text,
  .home-promo__badge:nth-child(2) .home-promo__badge-text {
    max-width: 100%;
  }
  .home-solutions__title {
    margin-bottom: clamp(18px, 4vw, 24px);
  }
  .home-solutions__grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3.5vw, 20px);
  }
  .home-adv-bar {
    border-radius: 18px;
    padding: 0;
  }
  .home-adv-bar__head {
    padding: 20px;
    border-radius: 0;
  }
  .home-adv-bar__items {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }
  .home-articles__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }
  .home-articles__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-related {
    padding: 56px 0 64px;
  }
  .project-related__head {
    gap: 16px;
    margin-bottom: 24px;
  }
  .project-related__title {
    font-size: 26px;
  }
  .project-related__track {
    gap: 16px;
  }
  .project-related-card {
    flex: 0 0 84%;
  }
  .objects-carousel {
    padding: 56px 0 64px;
  }
  .objects-carousel__head {
    gap: 16px;
    margin-bottom: 24px;
  }
  .objects-carousel__title {
    font-size: 26px;
  }
  .objects-carousel__track {
    gap: 16px;
  }
  .objects-carousel-card {
    flex: 0 0 84%;
  }
}

@media (max-width: 420px) {
  .news-card__meta {
    gap: 14px;
    flex-wrap: wrap;
  }
}
