/**
 * Продающая серия: жизнь / экскурсия / зима / тест-драйв.
 * Токены как у landing v2. Не подключать на другие страницы.
 */

body.path-zhizn-v-poselke,
body.path-excursion,
body.path-zimoj,
body.path-poprobujte-pozhit {
  background: #323232;
  color: #fff;
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

body.path-zhizn-v-poselke #page-wrapper,
body.path-zhizn-v-poselke #page,
body.path-zhizn-v-poselke #main-wrapper,
body.path-zhizn-v-poselke #main,
body.path-zhizn-v-poselke #main > .row,
body.path-zhizn-v-poselke main[role="main"],
body.path-zhizn-v-poselke .landing,
body.path-excursion #page-wrapper,
body.path-excursion #page,
body.path-excursion #main-wrapper,
body.path-excursion #main,
body.path-excursion #main > .row,
body.path-excursion main[role="main"],
body.path-excursion .landing,
body.path-zimoj #page-wrapper,
body.path-zimoj #page,
body.path-zimoj #main-wrapper,
body.path-zimoj #main,
body.path-zimoj #main > .row,
body.path-zimoj main[role="main"],
body.path-zimoj .landing,
body.path-poprobujte-pozhit #page-wrapper,
body.path-poprobujte-pozhit #page,
body.path-poprobujte-pozhit #main-wrapper,
body.path-poprobujte-pozhit #main,
body.path-poprobujte-pozhit #main > .row,
body.path-poprobujte-pozhit main[role="main"],
body.path-poprobujte-pozhit .landing {
  overflow-x: clip;
  max-width: 100%;
}

body.path-zhizn-v-poselke #main.container,
body.path-excursion #main.container,
body.path-zimoj #main.container,
body.path-poprobujte-pozhit #main.container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Шапка поверх hero — как /pontonnyj-plyazh */
body.path-zhizn-v-poselke #header-main-sec.inner-header,
body.path-excursion #header-main-sec.inner-header,
body.path-zimoj #header-main-sec.inner-header,
body.path-poprobujte-pozhit #header-main-sec.inner-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: transparent !important;
  background-image: none !important;
  pointer-events: none;
}

body.path-zhizn-v-poselke #header-main-sec .ipoteka-header,
body.path-zhizn-v-poselke #header-main-sec .header,
body.path-excursion #header-main-sec .ipoteka-header,
body.path-excursion #header-main-sec .header,
body.path-zimoj #header-main-sec .ipoteka-header,
body.path-zimoj #header-main-sec .header,
body.path-poprobujte-pozhit #header-main-sec .ipoteka-header,
body.path-poprobujte-pozhit #header-main-sec .header {
  background: transparent !important;
  background-image: none !important;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

body.path-zhizn-v-poselke #header-main-sec .header-menu,
body.path-excursion #header-main-sec .header-menu,
body.path-zimoj #header-main-sec .header-menu,
body.path-poprobujte-pozhit #header-main-sec .header-menu {
  width: 1150px;
  max-width: 100%;
  margin-inline: auto;
  padding: 30px 0;
  box-sizing: border-box;
}

body.path-zhizn-v-poselke .tap-menu-container,
body.path-excursion .tap-menu-container,
body.path-zimoj .tap-menu-container,
body.path-poprobujte-pozhit .tap-menu-container {
  z-index: 10100 !important;
}

body.path-zhizn-v-poselke #header-main-sec .header-menu-items,
body.path-zhizn-v-poselke #header-main-sec .header-menu-item,
body.path-zhizn-v-poselke #header-main-sec .header-menu-item a,
body.path-zhizn-v-poselke #header-main-sec .header-menu-link,
body.path-excursion #header-main-sec .header-menu-items,
body.path-excursion #header-main-sec .header-menu-item,
body.path-excursion #header-main-sec .header-menu-item a,
body.path-excursion #header-main-sec .header-menu-link,
body.path-zimoj #header-main-sec .header-menu-items,
body.path-zimoj #header-main-sec .header-menu-item,
body.path-zimoj #header-main-sec .header-menu-item a,
body.path-zimoj #header-main-sec .header-menu-link,
body.path-poprobujte-pozhit #header-main-sec .header-menu-items,
body.path-poprobujte-pozhit #header-main-sec .header-menu-item,
body.path-poprobujte-pozhit #header-main-sec .header-menu-item a,
body.path-poprobujte-pozhit #header-main-sec .header-menu-link {
  color: #fff !important;
}

body.path-zhizn-v-poselke #header-main-sec .header-menu-item a:hover,
body.path-zhizn-v-poselke #header-main-sec .header-menu-link:hover,
body.path-excursion #header-main-sec .header-menu-item a:hover,
body.path-excursion #header-main-sec .header-menu-link:hover,
body.path-zimoj #header-main-sec .header-menu-item a:hover,
body.path-zimoj #header-main-sec .header-menu-link:hover,
body.path-poprobujte-pozhit #header-main-sec .header-menu-item a:hover,
body.path-poprobujte-pozhit #header-main-sec .header-menu-link:hover {
  color: #b3ce7d !important;
}

body.path-zhizn-v-poselke #header-main-sec .header-menu-tel,
body.path-excursion #header-main-sec .header-menu-tel,
body.path-zimoj #header-main-sec .header-menu-tel,
body.path-poprobujte-pozhit #header-main-sec .header-menu-tel {
  border-color: #fff !important;
  color: #fff !important;
}

body.path-zhizn-v-poselke #header-main-sec .ipoteka-header .header-menu-item:last-child img,
body.path-zhizn-v-poselke #header-main-sec .ipoteka-header .header-menu-item:first-child img,
body.path-excursion #header-main-sec .ipoteka-header .header-menu-item:last-child img,
body.path-excursion #header-main-sec .ipoteka-header .header-menu-item:first-child img,
body.path-zimoj #header-main-sec .ipoteka-header .header-menu-item:last-child img,
body.path-zimoj #header-main-sec .ipoteka-header .header-menu-item:first-child img,
body.path-poprobujte-pozhit #header-main-sec .ipoteka-header .header-menu-item:last-child img,
body.path-poprobujte-pozhit #header-main-sec .ipoteka-header .header-menu-item:first-child img {
  filter: none !important;
}

.sell {
  padding-bottom: 0;
}

/* block 44 — форма «записаться на просмотр» внутри лендинга */
.sell > .bg6,
.sell > section.bg6 {
  margin-top: 0 !important;
  width: 100%;
  max-width: 100%;
  background-color: #45658b;
}

.sell .lead-form-container-new {
  padding-top: clamp(56px, 10vw, 120px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.sell .cart-lead {
  height: auto;
  min-height: 0;
}

.sell .banner-form1 label:not(.policy-label) {
  margin-bottom: 16px;
}

.sell .banner-form1 label.policy-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0 !important;
  cursor: pointer;
  line-height: 1.4;
}

.sell .banner-form1 label.policy-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.sell .banner-form1 label.policy-label input[type="checkbox"]:checked {
  background: #b3ce7d;
  border-color: #b3ce7d;
}

.sell .banner-form1 label.policy-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #323232;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sell .banner-form1 label.policy-label a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .sell .lead-form-container-new {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .sell .lead-form-new-right {
    padding-left: 0;
    padding-right: 0;
  }
}

.sell-hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.sell-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sell-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(50, 50, 50, 0.15) 0%, rgba(50, 50, 50, 0.88) 78%, #323232 100%);
}

.sell-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}

.sell-hero__kicker {
  font-family: "Cera Pro", sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b3ce7d;
}

.sell-hero__title {
  font-family: Merriweather, serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.sell-hero__lead {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
}

.sell-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sell-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sell-stat {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(60, 60, 59, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sell-stat strong {
  display: block;
  font-family: Merriweather, serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.sell-stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.4;
}

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

.sell-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: #3c3c3b;
  min-height: 100%;
  transition: transform .2s;
}

.sell-card:hover {
  transform: translateY(-3px);
}

.sell-card__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.sell-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sell-card__label {
  color: #b3ce7d;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sell-card h3 {
  font-family: Merriweather, serif;
  font-size: 24px;
  font-weight: 400;
}

.sell-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.sell-card--wide {
  flex-direction: row;
  align-items: stretch;
}

.sell-card--wide .sell-card__photo {
  flex: 1;
  aspect-ratio: auto;
  min-height: 280px;
}

.sell-card--wide .sell-card__body {
  flex: 1;
  justify-content: center;
  padding: 40px;
}

.sell-cta .sell-hero__actions {
  justify-content: center;
  margin-top: 24px;
}

.sell-see {
  display: grid;
  gap: 16px;
}

.sell-see__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border-radius: 24px;
  background: #3c3c3b;
}

.sell-see__item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
}

.sell-see__num {
  color: #b3ce7d;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.sell-see__item h3 {
  font-family: Merriweather, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 4px 0;
}

.sell-see__item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.sell-day {
  display: grid;
  gap: 0;
  border-left: 1px solid rgba(179, 206, 125, 0.35);
  margin-left: 12px;
  padding-left: 28px;
}

.sell-day__step {
  position: relative;
  padding: 0 0 32px;
}

.sell-day__step::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #b3ce7d;
  box-shadow: 0 0 0 6px rgba(179, 206, 125, 0.18);
}

.sell-day__step strong {
  display: block;
  font-family: Merriweather, serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.sell-day__step p {
  color: rgba(255, 255, 255, 0.7);
}

.sell-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 40px;
  border-radius: 32px;
  background: #3c3c3b;
}

.sell-form h2 {
  margin-bottom: 12px;
}

.sell-form__lead {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.sell-form form {
  display: grid;
  gap: 14px;
}

.sell-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sell-form input:not([type="checkbox"]),
.sell-form select,
.sell-form textarea {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: #323232;
  color: #fff;
  font: inherit;
}

.sell-form textarea {
  min-height: 110px;
  resize: vertical;
}

.sell-form input:not([type="checkbox"])::placeholder,
.sell-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.sell-form .cta__agree {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: none;
  width: 100%;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

.sell-form .cta__agree input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  flex: none;
  min-width: 0;
  pointer-events: none;
}

.sell-form .cta__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  position: relative;
  box-sizing: border-box;
}

.sell-form .cta__agree input:checked + .cta__check {
  background: #b3ce7d;
  border-color: #b3ce7d;
}

.sell-form .cta__agree input:checked + .cta__check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #323232;
  border-bottom: 2px solid #323232;
  transform: rotate(-45deg);
}

.sell .sell-form .cta__agree .cta__agree-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 21px;
  color: #fff;
}

.sell .sell-form .cta__agree .cta__agree-text a {
  text-decoration: underline;
  color: #fff;
}

.sell-form .online-notice {
  visibility: hidden;
  min-height: 16px;
  font-size: 12px;
  color: #f4cfcf;
}

.sell-form .popup-success {
  display: none;
  color: #b3ce7d;
}

.sell-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sell-prose {
  max-width: 46em;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 1023px) {
  body.path-zhizn-v-poselke #header-main-sec .header-menu,
  body.path-excursion #header-main-sec .header-menu,
  body.path-zimoj #header-main-sec .header-menu,
  body.path-poprobujte-pozhit #header-main-sec .header-menu {
    width: 100%;
    padding: 30px;
  }
}

@media (max-width: 980px) {
  .sell-stats,
  .sell-grid,
  .sell-form,
  .sell-form__row,
  .sell-see__item {
    grid-template-columns: 1fr;
  }

  .sell-hero {
    min-height: 72vh;
  }

  .sell-hero__content {
    padding-bottom: 32px;
  }

  .sell-form {
    padding: 24px;
    gap: 28px;
  }

  .sell-see__item img {
    width: 100%;
    height: 180px;
  }

  .sell .btn {
    white-space: normal;
    text-align: center;
  }

  .sell-card--wide {
    flex-direction: column;
  }
}
