/* =========================================================================
   СТРАНИЦА ОБЪЕКТА
   Шаблон: content-portfolio-medias.php
   ========================================================================= */

/* ---------- Ритм страницы ---------- */
.portfolio-medias .other-block-home,
.portfolio-medias .request-section,
.portfolio-medias .developer-contact-box,
.portfolio-medias .bannerLink {
  margin-bottom: var(--rs-section-gap);
}

.portfolio-medias > .row:last-of-type .other-block-home {
  margin-bottom: 0;
}

/* Универсальная карточка-секция */
.other-block-home {
  padding: var(--rs-card-padding);
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-xl);
  background: var(--rs-surface);
  box-shadow: var(--rs-shadow-xs);
}

.sticky-block {
  position: sticky;
  top: 100px;
}

.object-aside {
  height: 100%;
}

/* =========================================================================
   НАВИГАЦИЯ ПО РАЗДЕЛАМ
   ========================================================================= */
.my-stats-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: var(--rs-section-gap);
  padding: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-lg);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: var(--rs-blur);
  backdrop-filter: var(--rs-blur);
  box-shadow: var(--rs-shadow-sm);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.my-stats-wrap::-webkit-scrollbar {
  display: none;
}

.my-stat-item {
  flex: 1 0 auto;
  min-width: 150px;
  scroll-snap-align: start;
}

.my-stat-link,
.my-stat-macro,
.my-stat-item > a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  min-height: 58px;
  padding: 10px 18px;
  border-radius: var(--rs-radius);
  color: var(--rs-ink) !important;
  text-align: center;
  text-decoration: none !important;
  transition: background var(--rs-dur-fast) var(--rs-ease), color var(--rs-dur-fast) var(--rs-ease);
}

.my-stat-link:hover,
.my-stat-macro:hover,
.my-stat-item > a:hover {
  background: var(--rs-brand-50);
  color: var(--rs-brand) !important;
}

.my-stat-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.my-stat-label {
  display: block;
  color: var(--rs-muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.my-stat-item--macro {
  flex: 0 0 auto;
  min-width: 0;
  margin-left: 2px;
  padding-left: 6px;
  border-left: 1px solid var(--rs-line);
}

.my-stat-img {
  display: inline-flex;
  color: var(--rs-ink);
}

/* =========================================================================
   АДРЕС И ХАРАКТЕРИСТИКИ
   ========================================================================= */
.address-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rs-line-soft);
}

.address-map-button {
  display: inline-flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--rs-brand-100);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, #fff 0%, rgba(255, 255, 255, 0) 60%),
    var(--rs-brand-50);
  color: var(--rs-brand) !important;
  cursor: pointer;
  transition: transform var(--rs-dur-fast) var(--rs-ease), box-shadow var(--rs-dur-fast) var(--rs-ease), border-color var(--rs-dur-fast) var(--rs-ease);
}

a.address-map-button:hover {
  border-color: var(--rs-brand-200);
  box-shadow: var(--rs-shadow-sm);
  transform: translateY(-2px);
}

.address-text-wrapper {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.address-label {
  margin: 0;
  padding: 0;
  color: var(--rs-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--rs-tracking-caps);
  text-transform: uppercase;
}

.address-value {
  margin: 0;
  color: var(--rs-ink);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Старые классы (если встречаются в контенте) */
.address-info-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.address-map-button-mobile {
  display: none;
}

/* ---------- Сворачиваемый блок характеристик ---------- */
.characteristics-wrapper {
  position: relative;
}

.characteristics_block {
  position: relative;
  max-height: 470px;
  overflow: hidden;
  transition: max-height 0.7s var(--rs-ease-out);
}

.characteristics_block::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
  transition: opacity var(--rs-dur) var(--rs-ease);
}

.characteristics-wrapper.is-open .characteristics_block {
  max-height: 4000px;
}

.characteristics-wrapper.is-open .characteristics_block::after,
.characteristics-wrapper.is-short .characteristics_block::after {
  opacity: 0;
}

.characteristics-wrapper.is-short .characteristics_block {
  max-height: none;
}

.characteristics-wrapper.is-short .characteristics-toggle {
  display: none;
}

.characteristics-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-top: 16px;
  padding: 0 18px 0 20px;
  border: 1px solid var(--rs-brand-100);
  border-radius: var(--rs-radius-pill);
  background: var(--rs-brand-50);
  color: var(--rs-brand);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--rs-dur-fast) var(--rs-ease), border-color var(--rs-dur-fast) var(--rs-ease);
}

.characteristics-toggle:hover {
  border-color: var(--rs-brand-200);
  background: var(--rs-brand-100);
}

.toggle-icon {
  display: inline-flex;
  transition: transform var(--rs-dur) var(--rs-ease);
}

.characteristics-wrapper.is-open .toggle-icon {
  transform: rotate(180deg);
}

/* ---------- Разметка характеристик из ACF (obj-*) ---------- */
.obj-card {
  padding: 0;
}

.obj-address-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.obj-map-big,
.obj-map-small {
  flex-shrink: 0;
  border: 1px solid var(--rs-brand-100);
  background-color: var(--rs-brand-50);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="%23003b7c" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12Z"/><circle cx="12" cy="9" r="2.5"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.obj-map-big {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background-size: 28px;
}

.obj-map-small {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-size: 18px;
}

.obj-address-text {
  flex: 1;
}

.obj-address-label {
  margin-bottom: 2px;
  color: var(--rs-muted);
  font-size: 13px;
}

.obj-address-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.obj-address-h5 {
  margin: 0;
  color: var(--rs-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.obj-green-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.obj-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rs-success-500);
}

.obj-line {
  flex: 1;
  height: 1px;
  background: var(--rs-line);
}

.obj-char-block {
  margin-bottom: 28px;
}

.obj-char-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--rs-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--rs-tracking-caps);
  text-transform: uppercase;
}

.obj-char-title::after {
  content: "";
  position: static;
  flex: 1 1 0%;
  height: 1px;
  background-color: var(--rs-line);
}

.obj-char-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 28px;
}

.obj-char-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.obj-circle-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rs-brand-100);
  border-radius: 14px;
  background: var(--rs-brand-50);
  color: var(--rs-brand);
}

.obj-circle-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.obj-circle-icon svg[fill] {
  fill: currentColor;
  stroke: none;
}

.obj-char-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.obj-char-info .obj-label {
  color: var(--rs-muted);
  font-size: 13px;
  line-height: 1.35;
}

.obj-char-info .obj-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--rs-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.obj-hint-icon {
  display: inline-flex;
  margin-left: 2px;
  color: var(--rs-subtle);
}

.obj-hint-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.obj-double-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  margin-top: 4px;
}

.obj-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rs-line-soft);
}

.obj-info-row .obj-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--rs-muted);
  font-size: 14px;
}

.obj-info-row .obj-label svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  fill: var(--rs-subtle);
}

.obj-info-row .obj-value {
  color: var(--rs-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.obj-sub-block {
  margin-top: 28px;
  padding-top: 2px;
}

.obj-sub-block .obj-double-col {
  margin-top: 6px;
}

.obj-expand-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 0 4px;
  border: none;
  border-top: 1px solid var(--rs-line-soft);
  background: transparent;
  color: var(--rs-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}

.obj-expand-btn svg {
  width: 16px;
  height: 16px;
  color: var(--rs-muted);
}

.obj-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rs-line-soft);
  color: var(--rs-muted);
  font-size: 13px;
}

.obj-contractor {
  color: var(--rs-ink);
  font-weight: 500;
}

/* =========================================================================
   САЙДБАР: документация, готовность, галерея
   ========================================================================= */
.bannerLink {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--rs-radius-lg);
  text-decoration: none !important;
  cursor: pointer;
}

.bannerWrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 84px;
  padding: 16px 20px;
  overflow: hidden;
  border-radius: var(--rs-radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(122, 201, 222, 0.55) 0%, rgba(122, 201, 222, 0) 55%),
    linear-gradient(135deg, var(--rs-brand-600) 0%, var(--rs-brand) 55%, var(--rs-brand-900) 100%);
  box-shadow: var(--rs-shadow-brand);
  transition: transform var(--rs-dur) var(--rs-ease), box-shadow var(--rs-dur) var(--rs-ease);
}

.bannerLink:hover .bannerWrapper {
  box-shadow: 0 12px 30px rgba(0, 59, 124, 0.3);
  transform: translateY(-2px);
}

.bannerIcon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.bannerImage {
  position: absolute;
  z-index: 1;
  top: -84px;
  right: -250px;
  width: 372px;
  height: 297px;
  opacity: 0.9;
  pointer-events: none;
  transition: transform var(--rs-dur-slow) var(--rs-ease);
}

.bannerLink:hover .bannerImage {
  transform: translate(-6px, 4px) rotate(-2deg);
}

.bannerText {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 220px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.bannerText span {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Готовность дома ---------- */
.house-readiness {
  --readiness: 0%;
  width: 100%;
  box-sizing: border-box;
}

.house-readiness__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.house-readiness__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rs-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.house-readiness__label-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rs-brand);
  box-shadow: 0 0 0 4px var(--rs-brand-100);
}

.house-readiness.is-complete .house-readiness__label-dot {
  background: var(--rs-success-500);
  box-shadow: 0 0 0 4px var(--rs-success-50);
}

.house-readiness__value {
  display: flex;
  align-items: flex-start;
  color: var(--rs-ink);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.house-readiness__value sup {
  position: relative;
  top: 3px;
  margin-left: 2px;
  color: var(--rs-muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.house-readiness__track {
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: var(--rs-radius-pill);
  background: var(--rs-surface-3);
}

.house-readiness__bar {
  position: relative;
  width: var(--readiness);
  min-width: 8px;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rs-brand) 0%, var(--rs-brand-500) 55%, var(--rs-success-500) 100%);
  animation: rs-readiness 1.4s var(--rs-ease-out);
}

.house-readiness.is-complete .house-readiness__bar {
  background: linear-gradient(90deg, var(--rs-success) 0%, var(--rs-success-500) 100%);
}

.house-readiness__shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: rs-readiness-shine 3.2s ease-in-out 1.4s infinite;
}

@keyframes rs-readiness {
  from {
    width: 0;
  }

  to {
    width: var(--readiness);
  }
}

@keyframes rs-readiness-shine {
  0% {
    left: -60%;
  }

  60%,
  100% {
    left: 110%;
  }
}

.house-readiness__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: var(--rs-subtle);
  font-size: 12px;
  line-height: 1.2;
}

.house-readiness__bottom span:last-child {
  color: var(--rs-text);
  font-weight: 600;
}

/* ---------- Галерея объекта ---------- */
.photos-object {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.photos-object__main {
  position: relative;
  width: 100%;
  height: 360px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--rs-radius-lg);
  background: var(--rs-surface-3);
}

.photos-object__main .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.photos-object__main .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.photos-object__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  text-decoration: none;
}

.photos-object__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.8s var(--rs-ease-out);
}

.photos-object__link:hover img {
  transform: scale(1.03);
}

.photos-object__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--rs-shadow-sm);
  color: var(--rs-ink);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: opacity var(--rs-dur-fast) var(--rs-ease), transform var(--rs-dur-fast) var(--rs-ease);
}

.photos-object__link:hover .photos-object__zoom {
  opacity: 1;
  transform: scale(1);
}

.photos-object__prev,
.photos-object__next {
  position: absolute;
  z-index: 20;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--rs-shadow-sm);
  color: var(--rs-ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  transition: opacity var(--rs-dur-fast) var(--rs-ease), background var(--rs-dur-fast) var(--rs-ease), transform var(--rs-dur-fast) var(--rs-ease);
}

.photos-object__main:hover .photos-object__prev,
.photos-object__main:hover .photos-object__next,
.photos-object__prev:focus-visible,
.photos-object__next:focus-visible {
  opacity: 1;
}

.photos-object__prev {
  left: 12px;
}

.photos-object__next {
  right: 12px;
}

.photos-object__prev:hover,
.photos-object__next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.photos-object__prev:disabled,
.photos-object__next:disabled {
  opacity: 0 !important;
  pointer-events: none;
}

.photos-object__counter {
  position: absolute;
  z-index: 20;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--rs-glass-border);
  border-radius: var(--rs-radius-pill);
  background: var(--rs-glass-dark);
  -webkit-backdrop-filter: var(--rs-blur);
  backdrop-filter: var(--rs-blur);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.photos-object__thumbs {
  width: 100%;
  height: 64px;
  margin-top: 10px;
  overflow: hidden;
}

.photos-object__thumbs .swiper-wrapper {
  height: 100%;
}

.photos-object__thumbs .swiper-slide {
  width: 86px;
  height: 64px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--rs-dur-fast) var(--rs-ease);
}

.photos-object__thumbs .swiper-slide:hover {
  opacity: 0.85;
}

.photos-object__thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.photos-object__thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--rs-surface-3);
  transition: border-color var(--rs-dur-fast) var(--rs-ease);
}

.photos-object__thumbs .swiper-slide-thumb-active .photos-object__thumb {
  border-color: var(--rs-brand);
}

.photos-object__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.photos-object__main.swiper,
.photos-object__thumbs.swiper {
  touch-action: pan-y;
}

/* =========================================================================
   ФОРМА ЗАЯВКИ
   ========================================================================= */
.request-section {
  width: 100%;
  margin: 0;
}

.request-section__inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.request-section__preview {
  position: relative;
  min-width: 0;
  height: 100%;
}

.request-section__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--rs-radius-xl);
  background: linear-gradient(160deg, var(--rs-brand-600), var(--rs-brand-900));
}

.request-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--rs-ease-out);
}

.request-section__preview:hover .request-section__image img {
  transform: scale(1.03);
}

.request-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 12, 26, 0) 40%, rgba(4, 12, 26, 0.2) 60%, rgba(4, 12, 26, 0.78) 100%);
}

.request-section__title {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.request-section__form {
  display: flex;
  min-width: 0;
  height: 100%;
}

.request-section__form-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 480px;
  padding: 48px 52px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-xl);
  background:
    radial-gradient(80% 100% at 100% 100%, var(--rs-brand-100) 0%, rgba(230, 238, 248, 0) 70%),
    var(--rs-surface-2);
  box-sizing: border-box;
}

.request-section__form-head {
  margin-bottom: 28px;
}

.request-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--rs-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--rs-tracking-caps);
  text-transform: uppercase;
}

.request-section__eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.request-section__heading,
.request-section__form h2 {
  margin: 0 0 12px !important;
  color: var(--rs-ink);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.request-section__form-head p {
  max-width: 500px;
  margin: 0;
  color: var(--rs-muted);
  font-size: 15px;
  line-height: 1.55;
}

.request-section__form-body {
  width: 100%;
}

.request-section__form-body .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 12px;
}

.request-section__form-body .form-control,
.request-section__form-body input[type="text"],
.request-section__form-body input[type="tel"],
.request-section__form-body input[type="email"] {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 18px !important;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius);
  background: var(--rs-surface);
  box-shadow: var(--rs-shadow-xs);
  color: var(--rs-ink);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.request-section__form-body .form-control:hover {
  border-color: var(--rs-brand-200);
}

.request-section__form-body .form-control:focus {
  border-color: var(--rs-brand-500);
  box-shadow: var(--rs-ring);
}

.request-section__form-body .wpcf7-acceptance {
  display: block;
  margin: 6px 0 18px;
}

.request-section__form-body .wpcf7-acceptance label,
.request-section__form-body .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--rs-muted);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.request-section__form-body .wpcf7-list-item {
  margin: 0;
}

.request-section__form-body .wpcf7-acceptance input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--rs-brand);
}

.request-section__form-body .wpcf7-acceptance a {
  color: var(--rs-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.request-section__form-body .wpcf7-submit,
.request-section__form-body .avito-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--rs-radius);
  background: var(--rs-brand);
  box-shadow: var(--rs-shadow-brand);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--rs-dur-fast) var(--rs-ease), box-shadow var(--rs-dur-fast) var(--rs-ease), transform var(--rs-dur-fast) var(--rs-ease), opacity var(--rs-dur-fast) var(--rs-ease);
}

.request-section__form-body .wpcf7-submit:hover,
.request-section__form-body .avito-btn:hover {
  background: var(--rs-brand-800);
  box-shadow: 0 10px 26px rgba(0, 59, 124, 0.3);
  transform: translateY(-1px);
}

.request-section__form-body .wpcf7-submit:active {
  transform: translateY(0);
}

.request-section__form-body .wpcf7-submit:disabled {
  background: var(--rs-brand-200);
  box-shadow: none;
  color: #fff;
  cursor: not-allowed;
  transform: none;
}

.request-section__form-body .wpcf7-spinner {
  position: absolute;
  margin: 0;
}

.request-section__form-body .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d92d20;
  font-size: 12px;
}

.request-section__form-body .wpcf7-not-valid {
  border-color: #fda29b !important;
}

.request-section__form-body .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: var(--rs-radius-sm);
  font-size: 13px;
}

/* =========================================================================
   ХОД СТРОИТЕЛЬСТВА
   ========================================================================= */
.construction-stages {
  position: relative;
  width: 100%;
}

.construction-stages__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.construction-stages__title {
  color: var(--rs-ink);
  font-size: var(--rs-fs-h2);
  font-weight: 700;
  line-height: 1.15;
}

.construction-stages__navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.construction-stages__slider {
  width: 100%;
  overflow: hidden;
}

.construction-stages__slider.swiper {
  touch-action: pan-y;
}

.construction-stages__slide {
  position: relative;
  height: auto;
  box-sizing: border-box;
}

.construction-stages__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--rs-radius-lg);
  background: var(--rs-surface-3);
  cursor: zoom-in;
  text-decoration: none !important;
  isolation: isolate;
}

.construction-stages__image,
.construction-stages__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.9s var(--rs-ease-out);
}

.construction-stages__link:hover .construction-stages__image,
.construction-stages__link:hover img {
  transform: scale(1.04);
}

.construction-stages__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 50%;
  background: linear-gradient(to top, rgba(4, 12, 26, 0.6), rgba(4, 12, 26, 0));
  pointer-events: none;
}

.construction-stages__date {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 16px;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.construction-stages__photos-count {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--rs-glass-border);
  border-radius: var(--rs-radius-pill);
  background: var(--rs-glass-dark);
  -webkit-backdrop-filter: var(--rs-blur);
  backdrop-filter: var(--rs-blur);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--rs-dur-fast) var(--rs-ease);
}

.construction-stages__link:hover .construction-stages__photos-count {
  transform: translateY(-2px);
}

/* =========================================================================
   БЛОК «УЗНАЙТЕ ВСЁ У НАС»
   ========================================================================= */
.developer-contact-box {
  position: relative;
  width: 100%;
  min-height: 250px;
  padding: 40px 380px 40px 44px;
  overflow: hidden;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-xl);
  background:
    radial-gradient(60% 90% at 82% 60%, var(--rs-brand-100) 0%, rgba(230, 238, 248, 0) 70%),
    var(--rs-surface-2);
}

.developer-contact-box *,
.developer-contact-box *::before,
.developer-contact-box *::after {
  box-sizing: border-box;
}

.developer-contact-box__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
}

.developer-contact-box__title {
  margin: 0 0 8px !important;
  padding: 0;
  color: var(--rs-ink);
  font-size: var(--rs-fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--rs-tracking-tight);
}

.developer-contact-box__subtitle {
  margin: 0 0 20px !important;
  color: var(--rs-muted);
  font-size: 15px;
  line-height: 1.5;
}

.developer-contact-box__questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.developer-contact-box__question {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-pill);
  background: var(--rs-surface);
  box-shadow: var(--rs-shadow-xs);
  color: var(--rs-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.developer-contact-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--rs-radius);
  background: var(--rs-brand);
  box-shadow: var(--rs-shadow-brand);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background var(--rs-dur-fast) var(--rs-ease), box-shadow var(--rs-dur-fast) var(--rs-ease), transform var(--rs-dur-fast) var(--rs-ease);
}

.developer-contact-box__button:hover {
  background: var(--rs-brand-800);
  box-shadow: 0 10px 26px rgba(0, 59, 124, 0.3);
  transform: translateY(-1px);
}

.developer-contact-box__image {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: -30px;
  display: block;
  width: 400px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(15, 27, 45, 0.12));
}

/* =========================================================================
   АДАПТИВ
   ========================================================================= */
@media (max-width: 1199px) {
  .obj-char-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .request-section__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .request-section__image {
    min-height: 320px;
  }

  .request-section__form-inner {
    min-height: auto;
    padding: 40px 36px;
  }

  .developer-contact-box {
    padding-right: 300px;
  }

  .developer-contact-box__image {
    width: 290px;
  }
}

@media (max-width: 767px) {
  :root {
    --rs-section-gap: 16px;
  }

  .other-block-home {
    padding: 18px;
    border-radius: var(--rs-radius-lg);
  }

  .sticky-block {
    position: static;
  }

  .object-aside__readiness {
    margin-top: 0;
  }

  .my-stats-wrap {
    margin-right: -4px;
    margin-left: -4px;
    border-radius: var(--rs-radius);
  }

  .my-stat-item {
    flex: 0 0 auto;
    min-width: 0;
  }

  .my-stat-link,
  .my-stat-macro {
    min-height: 52px;
    padding: 8px 14px;
  }

  .address-wrapper {
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .address-map-button {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .obj-char-grid {
    gap: 18px 14px;
  }

  .obj-circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .obj-char-info .obj-value {
    font-size: 16px;
  }

  .obj-double-col {
    grid-template-columns: 1fr;
  }

  .obj-address-h5 {
    font-size: 16px;
  }

  .house-readiness__value {
    font-size: 34px;
  }

  .photos-object__main {
    height: 280px;
    border-radius: var(--rs-radius);
  }

  .photos-object__prev,
  .photos-object__next {
    opacity: 1;
  }

  .photos-object__zoom {
    display: none;
  }

  .photos-object__thumbs {
    height: 56px;
    margin-top: 8px;
  }

  .photos-object__thumbs .swiper-slide {
    width: 74px;
    height: 56px;
  }

  .request-section__image {
    min-height: 240px;
    border-radius: var(--rs-radius-lg);
  }

  .request-section__title {
    right: 20px;
    bottom: 20px;
    left: 20px;
    font-size: 24px;
  }

  .request-section__form-inner {
    padding: 28px 20px;
    border-radius: var(--rs-radius-lg);
  }

  .request-section__form-head {
    margin-bottom: 22px;
  }

  .construction-stages__link {
    border-radius: var(--rs-radius);
  }

  .construction-stages__date {
    font-size: 16px;
  }

  .developer-contact-box {
    min-height: auto;
    padding: 26px 20px;
    border-radius: var(--rs-radius-lg);
  }

  .developer-contact-box__questions {
    gap: 6px;
  }

  .developer-contact-box__button {
    width: 100%;
  }

  .developer-contact-box__image {
    display: none;
  }
}

@media (max-width: 480px) {
  .obj-char-grid {
    grid-template-columns: 1fr 1fr;
  }

  .obj-char-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .photos-object__main {
    height: 240px;
  }
}
