:root {
  --page: #f5f5f5;
  --text: #3d3d3d;
  --muted: #626262;
  --accent: #edd6a4;
  --accent-dark: #d7bc82;
  --blue: #3d83d8;
  --card: #ffffff;
  --line: #e3e3e3;
  --shadow: 0 8px 24px rgba(33, 33, 33, 0.12);
  --radius: 13px;
  font-family: Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px 10px;
  background: rgba(245, 245, 245, 0.86);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  font-size: 12px;
  font-weight: 500;
}

.nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.nav a:hover {
  border-color: currentColor;
}

.section {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 104px;
  text-align: center;
}

.place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
}

.pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 131, 216, 0.15);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin: 0 auto 16px;
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

.pill {
  display: inline-flex;
  justify-content: center;
  min-width: 330px;
  padding: 6px 22px 7px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 32px 0 24px;
  font-size: 14px;
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 20px;
  align-items: end;
  text-align: left;
}

.hero-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #d8dde0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: relative;
  min-height: 245px;
}

.checks {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checks li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px var(--blue);
  background-image: url("../img/35346330.svg");
  background-position: center;
  background-size: 16px 16px;
}

.presentation-card {
  position: relative;
  overflow: visible;
  padding: 24px 26px 24px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 600;
}

.presentation-card img {
  position: absolute;
  top: -34px;
  right: -28px;
  width: 130px;
  transform: rotate(8deg);
}

.presentation-card p {
  max-width: 235px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 38px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #3d3d3d;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.section-title {
  margin-bottom: 18px;
  text-align: center;
  font-size: clamp(31px, 3.2vw, 40px);
  line-height: 1.16;
  font-weight: 800;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.location {
  padding: 0 0 78px;
}

.location-grid {
  display: grid;
  grid-template-columns: 330px 1fr 140px;
  gap: 22px;
  align-items: start;
}

.rounded {
  overflow: hidden;
  border-radius: var(--radius);
}

.location-main {
  height: 430px;
  object-fit: cover;
}

.copy-stack {
  display: grid;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.copy-stack b {
  font-weight: 800;
}

.code-badge,
.mini-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent);
  font-weight: 800;
  text-align: center;
}

.code-badge {
  min-height: 72px;
  font-size: 24px;
}

.mini-card {
  min-height: 70px;
  padding: 10px;
  font-size: 14px;
}

.location-side {
  display: grid;
  gap: 18px;
}

.wide-photo {
  grid-column: 2 / 4;
  height: 190px;
  object-fit: cover;
}

.small-note {
  margin: 30px 0 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.center {
  text-align: center;
}

.infrastructure {
  padding: 12px 0 78px;
}

.feature-list {
  display: grid;
  gap: 46px;
  margin-top: 52px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.feature:nth-child(even) .feature-copy {
  order: 2;
}

.feature img {
  width: 100%;
  aspect-ratio: 2.05 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.feature p {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  margin-top: 54px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.plans {
  padding: 12px 0 72px;
}

.plans .section-lead {
  margin-bottom: 36px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.plan-card {
  overflow: hidden;
  min-height: 292px;
  padding: 20px 22px 24px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.plan-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 14px;
}

.plan-card h3 {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
}

.plan-card .btn {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 11px;
  text-transform: none;
}

.management {
  padding: 0 0 84px;
}

.management-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
}

.management img {
  border-radius: 12px;
}

.management h2 {
  margin-bottom: 20px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 800;
}

.management p {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
}

.rent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.rent-badge::before {
  content: "₽";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #8d8d8d;
  border-radius: 50%;
  color: #777;
  font-weight: 800;
}

.form-section {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 42px;
  align-items: center;
  padding-bottom: 80px;
}

.form-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: 12px;
  background: #76838b;
}

.form-media img,
.form-media video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.lead-form {
  position: relative;
}

.lead-form h2 {
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 800;
}

.lead-form .book {
  position: absolute;
  top: 56px;
  left: -84px;
  width: 88px;
  transform: rotate(-10deg);
}

.bonus {
  margin: 0 0 18px 22px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
}

.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 5px;
  background: #dddddd;
  padding: 0 12px;
  font: inherit;
}

.radio-title {
  display: block;
  margin: 18px 0 8px;
  font-size: 11px;
  font-weight: 700;
}

.radio-list {
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 500;
}

.radio-list label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-form .btn {
  width: 100%;
  min-height: 62px;
}

.policy {
  margin-top: 12px;
  color: #909090;
  font-size: 10px;
  line-height: 1.35;
}

.policy a {
  text-decoration: underline;
}

.footer {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid #d5d5d5;
  color: #9a9a9a;
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #2f2f2f;
  color: white;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 12px;
  }

  .nav {
    gap: 20px;
    font-size: 11px;
  }

  .section,
  .footer {
    width: min(100% - 28px, 560px);
  }

  .hero {
    padding: 34px 0 74px;
  }

  h1 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .pill {
    min-width: 0;
    width: 100%;
    max-width: 330px;
    font-size: 18px;
  }

  .hero-grid,
  .location-grid,
  .feature,
  .management-grid,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 0;
  }

  .presentation-card img {
    width: 108px;
    right: -10px;
  }

  .location-main {
    width: 100%;
    height: auto;
    aspect-ratio: 0.75 / 1;
  }

  .location-side {
    grid-template-columns: 1fr 1fr;
  }

  .wide-photo {
    grid-column: auto;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .management-grid {
    gap: 26px;
  }

  .management img {
    width: min(300px, 100%);
  }

  .form-section {
    gap: 28px;
  }

  .form-media,
  .form-media img,
  .form-media video {
    min-height: 340px;
  }

  .lead-form .book {
    display: none;
  }
}

@media (max-width: 440px) {
  .nav {
    gap: 13px;
  }

  .place {
    font-size: 17px;
  }

  .hero-subtitle {
    margin-top: 22px;
  }

  .btn {
    width: 100%;
    padding-inline: 18px;
  }

  .location-side {
    grid-template-columns: 1fr;
  }
}

body.home-redesign {
  --page: #f7faf9;
  --text: #2d3434;
  --muted: #5f6b6c;
  --accent: #dfbf72;
  --accent-dark: #caa456;
  --blue: #2f86ad;
  --card: #ffffff;
  --line: rgba(31, 51, 55, 0.1);
  --shadow: 0 18px 45px rgba(36, 54, 58, 0.1);
  background:
    linear-gradient(180deg, #ffffff 0, #eef6f6 720px, #f7faf9 1180px),
    var(--page);
}

.home-redesign .site-header {
  padding: 18px 20px 12px;
  background: rgba(247, 250, 249, 0.76);
  border-bottom: 1px solid rgba(34, 54, 58, 0.06);
}

.home-redesign .nav {
  width: fit-content;
  margin: 0 auto;
  padding: 7px;
  gap: 4px;
  border: 1px solid rgba(36, 57, 61, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(30, 47, 52, 0.06);
}

.home-redesign .nav a {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  color: #405154;
  transition: background 0.18s ease, color 0.18s ease;
}

.home-redesign .nav a:hover {
  background: #eef5f6;
  color: #1f3438;
}

.home-redesign .section {
  width: min(1060px, calc(100% - 48px));
}

.home-redesign .hero {
  position: relative;
  padding: 58px 0 104px;
}

.home-redesign .place {
  margin-bottom: 20px;
  color: #365158;
}

.home-redesign .pin {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(47, 128, 184, 0.14);
}

.home-redesign h1 {
  max-width: 880px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.04;
  color: #2f3333;
}

.home-redesign .pill {
  min-width: 0;
  padding: 8px 28px 9px;
  border: 1px solid rgba(164, 126, 44, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, #efd99e 0%, #dfbd6c 100%);
  box-shadow: 0 9px 22px rgba(188, 146, 57, 0.14);
  font-size: 18px;
}

.home-redesign .hero-subtitle {
  margin: 26px 0 30px;
  color: #566163;
}

.home-redesign .hero-grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.92fr);
  gap: 18px;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-redesign .hero-video,
.home-redesign .rounded,
.home-redesign .feature img,
.home-redesign .management img,
.home-redesign .form-media {
  border-radius: 8px;
}

.home-redesign .hero-video {
  aspect-ratio: 1.86 / 1;
  border: 1px solid rgba(30, 51, 56, 0.08);
  box-shadow: 0 24px 60px rgba(31, 50, 55, 0.13);
}

.home-redesign .hero-card {
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 8px 0;
}

.home-redesign .checks {
  gap: 9px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 51, 55, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: #334144;
}

.home-redesign .presentation-card {
  padding: 26px 28px 28px;
  border: 1px solid rgba(31, 51, 55, 0.07);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(39, 56, 58, 0.09);
}

.home-redesign .presentation-card img {
  top: -30px;
  right: -12px;
}

.home-redesign .btn {
  min-height: 58px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e9cd88, #dbb45f);
  box-shadow: 0 9px 22px rgba(184, 139, 50, 0.16);
}

.home-redesign .btn:hover {
  background: linear-gradient(180deg, #f0d99e, #d7aa4e);
}

.home-redesign .section-title {
  color: #303434;
  font-size: clamp(33px, 3.2vw, 42px);
}

.home-redesign .section-lead {
  color: #5d686a;
}

.home-redesign .location,
.home-redesign .infrastructure,
.home-redesign .plans,
.home-redesign .management {
  padding-bottom: 96px;
}

.home-redesign .location-grid {
  grid-template-columns: 345px 1fr 148px;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-redesign .location-main {
  height: 450px;
  box-shadow: 0 16px 32px rgba(31, 50, 55, 0.12);
}

.home-redesign .copy-stack {
  align-content: start;
  min-height: 450px;
  padding: 18px 0 10px;
  color: #445154;
}

.home-redesign .code-badge,
.home-redesign .mini-card,
.home-redesign .rent-badge {
  border: 1px solid rgba(164, 126, 44, 0.14);
  border-radius: 8px;
  background: #ead092;
  box-shadow: 0 10px 22px rgba(184, 139, 50, 0.09);
}

.home-redesign .wide-photo {
  height: 210px;
  box-shadow: 0 16px 32px rgba(31, 50, 55, 0.12);
}

.home-redesign .feature-list {
  gap: 28px;
}

.home-redesign .feature {
  min-height: 250px;
  padding: 16px;
  border: 1px solid rgba(32, 49, 54, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.home-redesign .feature img {
  box-shadow: 0 14px 30px rgba(31, 50, 55, 0.1);
}

.home-redesign .feature h3,
.home-redesign .management h2,
.home-redesign .lead-form h2 {
  color: #293334;
}

.home-redesign .text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(61, 76, 78, 0.3);
  color: #526063;
}

.home-redesign .plan-grid {
  gap: 24px;
}

.home-redesign .plan-card {
  border: 1px solid rgba(32, 49, 54, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(31, 50, 55, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-redesign .plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(31, 50, 55, 0.12);
}

.home-redesign .management-grid {
  grid-template-columns: 320px 1fr;
  padding: 18px;
  border: 1px solid rgba(32, 49, 54, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.home-redesign .form-section {
  grid-template-columns: 1.45fr 0.9fr;
  padding: 20px;
  border: 1px solid rgba(32, 49, 54, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 46px rgba(31, 50, 55, 0.08);
}

.home-redesign .field input[type="text"],
.home-redesign .field input[type="tel"] {
  border: 1px solid rgba(34, 54, 58, 0.08);
  background: #eef1f1;
}

.home-redesign .footer {
  border-top-color: rgba(32, 49, 54, 0.14);
}

@media (max-width: 820px) {
  .home-redesign .section,
  .home-redesign .footer {
    width: min(100% - 28px, 560px);
  }

  .home-redesign .hero {
    padding-top: 38px;
  }

  .home-redesign h1 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .home-redesign .hero-grid,
  .home-redesign .location-grid,
  .home-redesign .feature,
  .home-redesign .management-grid,
  .home-redesign .form-section {
    grid-template-columns: 1fr;
  }

  .home-redesign .hero-grid,
  .home-redesign .location-grid,
  .home-redesign .feature,
  .home-redesign .management-grid,
  .home-redesign .form-section {
    padding: 12px;
  }

  .home-redesign .hero-card {
    padding: 20px 2px 2px;
  }

  .home-redesign .copy-stack {
    min-height: 0;
  }

  .home-redesign .wide-photo {
    height: auto;
  }
}

@media (max-width: 440px) {
  .home-redesign .site-header {
    padding-inline: 10px;
  }

  .home-redesign .nav {
    width: 100%;
    justify-content: center;
    gap: 2px;
    padding: 7px;
  }

  .home-redesign .nav a {
    padding-inline: 8px;
  }
}

/* Premium investment dossier redesign for the current homepage. */
body.home-redesign {
  --page: #f4f7f4;
  --text: #172321;
  --muted: #4f605f;
  --accent: #c99a43;
  --accent-dark: #a87827;
  --blue: #0f6c74;
  --card: #ffffff;
  --line: rgba(23, 35, 33, 0.12);
  --shadow: 0 8px 8px rgba(23, 35, 33, 0.08);
  --radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(15, 108, 116, 0.1), transparent 34rem),
    linear-gradient(180deg, #fbfcfa 0, #edf4f2 38rem, #f4f7f4 72rem);
  color: var(--text);
}

.home-redesign .site-header {
  padding: 16px 20px 12px;
  background: rgba(244, 247, 244, 0.84);
  border-bottom: 1px solid rgba(23, 35, 33, 0.08);
  backdrop-filter: blur(14px);
}

.home-redesign .nav {
  width: fit-content;
  margin: 0 auto;
  padding: 6px;
  gap: 2px;
  border: 1px solid rgba(23, 35, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.home-redesign .nav a {
  padding: 9px 16px;
  border-radius: 999px;
  color: #304240;
  font-size: 12px;
}

.home-redesign .nav a:hover,
.home-redesign .nav a:focus-visible {
  background: #e7efed;
  color: #13211f;
}

.home-redesign .section {
  width: min(1280px, calc(100% - 56px));
  scroll-margin-top: 92px;
}

.home-redesign .hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) 0 clamp(72px, 8vw, 118px);
  text-align: left;
}

.home-redesign .hero > *,
.home-redesign .hero-grid,
.home-redesign .hero-card,
.home-redesign .checks,
.home-redesign .presentation-card {
  min-width: 0;
}

.home-redesign .place {
  justify-self: start;
  margin-bottom: 0;
  color: #245d62;
  font-size: 16px;
}

.home-redesign .pin {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(15, 108, 116, 0.12);
}

.home-redesign h1 {
  max-width: 100%;
  margin: 14px 0 0;
  color: #172321;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.home-redesign .pill {
  justify-self: start;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-top: 24px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 2px solid rgba(15, 108, 116, 0.26);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #164e53;
  font-size: 15px;
  font-weight: 800;
}

.home-redesign .hero-subtitle {
  max-width: 31ch;
  margin: 18px 0 0;
  color: #405250;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.home-redesign .hero-grid {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  text-align: left;
}

.home-redesign .hero-video {
  aspect-ratio: 1.58 / 1;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 8px rgba(23, 35, 33, 0.1);
}

.home-redesign .hero-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 0.82fr);
  gap: 16px;
  align-items: stretch;
  min-height: 0;
  padding: 0;
}

.home-redesign .checks {
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  color: #263734;
  font-size: 14px;
}

.home-redesign .checks li::before {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  background-color: var(--blue);
  background-size: 18px 18px;
  box-shadow: none;
}

.home-redesign .presentation-card {
  display: grid;
  align-content: space-between;
  min-height: 188px;
  padding: 24px;
  border: 1px solid rgba(15, 108, 116, 0.16);
  border-radius: 8px;
  background: #f8fbf8;
  box-shadow: none;
  color: #172321;
}

.home-redesign .presentation-card img {
  top: -18px;
  right: 18px;
  width: 92px;
  opacity: 0.95;
  transform: rotate(5deg);
}

.home-redesign .presentation-card p {
  max-width: 250px;
  margin: 0 0 24px;
  padding-right: 72px;
  font-size: 15px;
  line-height: 1.36;
}

.home-redesign .btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  background: #0f6c74;
  box-shadow: none;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  transition: transform 0.16s ease, background 0.16s ease;
}

.home-redesign .btn:hover,
.home-redesign .btn:focus-visible {
  background: #0b5960;
  transform: translateY(-1px);
}

.home-redesign .section-title {
  max-width: 780px;
  margin-inline: auto;
  color: #172321;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.home-redesign .section-lead {
  max-width: 690px;
  color: #4a5d5a;
  font-size: 17px;
  line-height: 1.58;
  text-wrap: pretty;
}

.home-redesign .location,
.home-redesign .infrastructure,
.home-redesign .plans,
.home-redesign .management {
  padding-bottom: clamp(82px, 9vw, 128px);
}

.home-redesign .location {
  padding-top: clamp(8px, 2vw, 24px);
}

.home-redesign .location .section-title {
  max-width: 880px;
  margin-bottom: 20px;
}

.home-redesign .location .section-lead {
  margin-bottom: 34px;
}

.home-redesign .location-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "facts facts"
    "photo copy"
    "wide wide";
  gap: clamp(24px, 3vw, 42px) clamp(38px, 5vw, 76px);
  align-items: center;
  margin-top: 0;
}

.home-redesign .location-main,
.home-redesign .wide-photo,
.home-redesign .feature img,
.home-redesign .management img,
.home-redesign .form-media {
  border-radius: 8px;
  box-shadow: none;
}

.home-redesign .location-main {
  grid-area: photo;
  width: 100%;
  height: clamp(480px, 43vw, 560px);
  object-position: center;
}

.home-redesign .copy-stack {
  grid-area: copy;
  align-content: center;
  min-height: 0;
  padding: 0;
  color: #31413f;
  font-size: 16px;
  line-height: 1.68;
}

.home-redesign .copy-stack p {
  margin: 0;
}

.home-redesign .copy-stack p:first-child {
  font-size: 18px;
  line-height: 1.55;
}

.home-redesign .copy-stack p + p {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 35, 33, 0.12);
}

.home-redesign .location-side {
  grid-area: facts;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: center;
  align-self: center;
  width: min(760px, 100%);
  margin: 0 auto 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(15, 108, 116, 0.16);
  border-bottom: 1px solid rgba(15, 108, 116, 0.16);
}

.home-redesign .code-badge,
.home-redesign .mini-card,
.home-redesign .rent-badge {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1f3838;
}

.home-redesign .code-badge {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #0f5960;
  font-size: 15px;
}

.home-redesign .mini-card {
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}

.home-redesign .location-side > * {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.home-redesign .location-side > *::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f6c74;
  opacity: 0.42;
}

.home-redesign .wide-photo {
  grid-area: wide;
  width: min(860px, 74vw);
  height: clamp(260px, 25vw, 330px);
  margin: 18px auto 0;
  object-position: center;
}

.home-redesign .small-note {
  color: #5c6b69;
}

.home-redesign .feature-list {
  gap: 18px;
}

.home-redesign .feature {
  min-height: 270px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 36px;
}

.home-redesign .feature-copy {
  align-self: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.home-redesign .feature h3,
.home-redesign .management h2,
.home-redesign .lead-form h2 {
  color: #172321;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.home-redesign .feature h3 {
  font-size: 28px;
}

.home-redesign .feature p,
.home-redesign .management p {
  color: #4c5d5a;
  line-height: 1.58;
}

.home-redesign .text-link {
  margin-top: 44px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #245d62;
  font-size: 12px;
}

.home-redesign .plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-redesign .plan-card {
  min-height: 304px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.home-redesign .plan-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.home-redesign .plan-card img {
  height: 162px;
}

.home-redesign .management-grid {
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 66px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-redesign .management h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.home-redesign .rent-badge {
  margin: 10px 0 20px;
  padding: 0;
  color: #0f5960;
}

.home-redesign .rent-badge::before {
  border-color: rgba(15, 108, 116, 0.42);
  color: #0f5960;
}

.home-redesign .form-section {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: stretch;
  width: min(1120px, calc(100% - 56px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-redesign .form-media {
  min-height: 560px;
}

.home-redesign .form-media img,
.home-redesign .form-media video {
  min-height: 560px;
}

.home-redesign .lead-form {
  align-self: center;
  padding: 34px;
  border: 1px solid rgba(15, 108, 116, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: #172321;
}

.home-redesign .lead-form h2 {
  color: #172321;
  font-size: clamp(34px, 3vw, 46px);
}

.home-redesign .lead-form .book {
  top: 34px;
  left: auto;
  right: 28px;
  width: 86px;
  transform: rotate(6deg);
}

.home-redesign .bonus {
  color: #415451;
  line-height: 1.5;
}

.home-redesign .field,
.home-redesign .radio-title,
.home-redesign .radio-list {
  color: #31413f;
}

.home-redesign .field input[type="text"],
.home-redesign .field input[type="tel"] {
  height: 46px;
  border: 1px solid rgba(23, 35, 33, 0.14);
  border-radius: 8px;
  background: #f2f6f4;
  color: #172321;
}

.home-redesign .field input[type="text"]:focus,
.home-redesign .field input[type="tel"]:focus {
  outline: 2px solid #d6ad5d;
  outline-offset: 2px;
}

.home-redesign .lead-form__status {
  min-height: 20px;
  margin: 14px 0 0;
  color: #0f5960;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.home-redesign .lead-form__status:empty {
  margin-top: 0;
}

.home-redesign .policy {
  color: #5e6f6c;
}

.home-redesign .footer {
  color: #5f6d6a;
  border-top-color: var(--line);
}

.home-redesign a:focus-visible,
.home-redesign button:focus-visible {
  outline: 2px solid #0f6c74;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .home-redesign .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-redesign .place,
  .home-redesign .pill {
    justify-self: center;
  }

  .home-redesign h1,
  .home-redesign .hero-subtitle {
    max-width: 760px;
    margin-inline: auto;
  }

  .home-redesign h1 {
    font-size: clamp(38px, 8.6vw, 58px);
  }

  .home-redesign .hero-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .home-redesign .hero-card {
    grid-template-columns: 1fr 1fr;
  }

  .home-redesign .location-grid,
  .home-redesign .management-grid,
  .home-redesign .form-section {
    grid-template-columns: 1fr;
  }

  .home-redesign .location-grid {
    grid-template-areas:
      "facts"
      "photo"
      "copy"
      "wide";
    gap: 26px;
  }

  .home-redesign .copy-stack,
  .home-redesign .location-main {
    min-height: 0;
    height: auto;
  }

  .home-redesign .location-main {
    aspect-ratio: 4 / 3;
  }

  .home-redesign .location-side {
    justify-content: flex-start;
    width: 100%;
  }

  .home-redesign .wide-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 0;
  }

  .home-redesign .management img {
    width: min(360px, 100%);
  }
}

@media (max-width: 820px) {
  .home-redesign .section,
  .home-redesign .footer,
  .home-redesign .form-section {
    width: min(calc(100% - 28px), 600px);
  }

  .home-redesign .hero {
    padding: 40px 0 76px;
  }

  .home-redesign h1 {
    max-width: min(100%, 340px);
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.05;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .home-redesign .hero-grid,
  .home-redesign .location-grid,
  .home-redesign .feature,
  .home-redesign .management-grid,
  .home-redesign .form-section {
    padding: 0;
  }

  .home-redesign .hero-card,
  .home-redesign .plan-grid,
  .home-redesign .feature {
    grid-template-columns: 1fr;
  }

  .home-redesign .hero-video {
    aspect-ratio: 1.45 / 1;
  }

  .home-redesign .presentation-card p {
    padding-right: 76px;
  }

  .home-redesign .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .home-redesign .feature-copy {
    padding-top: 0;
  }

  .home-redesign .form-media,
  .home-redesign .form-media img,
  .home-redesign .form-media video {
    min-height: 360px;
  }

  .home-redesign .lead-form {
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  .home-redesign .site-header {
    padding: 10px;
  }

  .home-redesign .nav {
    width: 100%;
    justify-content: center;
    overflow: hidden;
  }

  .home-redesign .nav a {
    padding: 8px 6px;
    font-size: 10px;
  }

  .home-redesign h1 {
    max-width: min(100%, 292px);
    font-size: clamp(27px, 7.4vw, 30px);
  }

  .home-redesign .pill {
    max-width: min(100%, 292px);
    font-size: 14px;
  }

  .home-redesign .hero-subtitle {
    max-width: min(100%, 318px);
    font-size: 14px;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .home-redesign .location-side {
    gap: 10px 18px;
    padding: 12px 0;
  }

  .home-redesign .location-side > * {
    white-space: normal;
  }

  .home-redesign .copy-stack {
    font-size: 15px;
  }

  .home-redesign .copy-stack p:first-child {
    font-size: 16px;
  }

  .home-redesign .presentation-card img,
  .home-redesign .lead-form .book {
    display: none;
  }

  .home-redesign .presentation-card p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign *,
  .home-redesign *::before,
  .home-redesign *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.legal-page {
  min-height: 100vh;
  background: #f7f7f3;
  color: #262626;
}

.legal-page .legal-header,
.legal-page .legal-main,
.legal-page .legal-footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-page .legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  font-size: 14px;
  font-weight: 600;
}

.legal-page .legal-header a,
.legal-page .legal-nav a,
.legal-page .legal-text a {
  color: #2f6fb7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-page .legal-main {
  padding: 34px 0 72px;
}

.legal-page .legal-text {
  padding: 44px;
  border: 1px solid #e1dfd6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(32, 32, 32, 0.08);
}

.legal-page h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.22;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.68;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-page .legal-meta {
  margin-bottom: 30px;
  color: #626262;
}

.legal-page .legal-footer {
  padding: 0 0 34px;
  color: #626262;
  font-size: 13px;
}

@media (max-width: 640px) {
  .legal-page .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page .legal-text {
    padding: 26px 20px;
  }

  .legal-page p,
  .legal-page li {
    font-size: 15px;
  }
}
