@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c: #e97c68;
  /* терракота — главный акцент */
  --c2: #E8835A;
  /* светлее */
  --c3: #8F3D1E;
  /* темнее */
  --ink: #0F0D0B;
  /* почти чёрный */
  --ink2: #2A2520;
  --mid: #6B6158;
  --pale: #F7F4F0;
  --white: #FDFCFB;
  --border: #E8E2DA;
  --hero-bg: #0A0807;
  --font-h: 'Space Grotesk', sans-serif;
  --font-b: 'Inter', sans-serif;
  --ease: cubic-bezier(.22, .68, 0, 1.2);
  --ease2: cubic-bezier(.16, 1, .3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease2), transform 0.7s var(--ease2);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 48px;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.solid {
  background: rgba(253, 252, 251, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
#nav.solid .nav-logo {
  color: var(--ink);
  filter: invert(1);
}
#nav.solid .nav-links a {
  color: var(--mid);
}
#nav.solid .nav-phone {
  color: white;
}
#nav.solid .burger span {
  background: var(--ink);
}

.nav-logo {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s;
  text-decoration: none;
  height: 48px;
  transition: 0.3s ease-in-out;
}
.nav-logo img {
  display: inline-block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover {
  color: var(--c) !important;
}

.nav-phone {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
  background: var(--c);
  padding: 8px 18px;
  border-radius: 4px;
  letter-spacing: 0.01em;
}
.nav-phone:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-photo {
  position: absolute;
  inset: 0;
  /* Использовано изображение с Unsplash вместо локального assets/bg1.jpg */
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center 40%;
  transform-origin: center center;
  will-change: transform;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 8, 7, 0.2) 0%, rgba(10, 8, 7, 0.1) 40%, rgba(10, 8, 7, 0.65) 75%, rgba(10, 8, 7, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 72px;
  max-width: 1200px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 8, 7, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 131, 90, 0.5);
  color: var(--c2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 28px;
  animation: fadeIn 0.8s 0.2s both;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c2);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(32px, 7vw, 108px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.9s 0.3s both;
}
.hero-title span {
  color: var(--c);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
  max-width: 520px;
  line-height: 1.5;
  animation: fadeUp 0.9s 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  animation: fadeUp 0.9s 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--c);
  color: white;
}
.btn-primary:hover {
  background: var(--c2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(193, 97, 58, 0.35);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-stats {
  position: absolute;
  right: 80px;
  bottom: 72px;
  z-index: 2;
  display: flex;
  gap: 48px;
  animation: fadeIn 1s 0.8s both;
}

.hero-stat-val {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.hero-stat-val em {
  color: var(--c);
  font-style: normal;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── TICKER ── */
.ticker {
  background: var(--c);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 0;
  animation: tickerMove 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker-item::after {
  content: "◆";
  font-size: 8px;
  opacity: 0.5;
}

/* ── SECTIONS COMMON ── */
.section {
  padding: 96px 80px;
}

.section-sm {
  padding: 72px 80px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  color: var(--c);
  font-style: normal;
}

.section-desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 16px;
}

/* ── ABOUT ── */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
  align-items: start;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 340px 200px;
  gap: 12px;
}

.about-photo-main {
  grid-row: 1/3;
  border-radius: 8px;
  overflow: hidden;
}

.about-photo-sm {
  border-radius: 8px;
  overflow: hidden;
}

.about-text {
  padding-top: 8px;
}
.about-text p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge {
  padding: 6px 14px;
  background: var(--pale);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  border-radius: 100px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.about-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}
.about-stat:last-child {
  border-right: none;
}

.about-stat-val {
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 700;
  color: var(--c);
  line-height: 1;
}

.about-stat-label {
  font-size: 12px;
  color: var(--mid);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── PERKS ── */
#perks {
  background: var(--ink);
  padding: 80px;
}

.perks-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.perks-head .section-label {
  color: var(--c2);
}
.perks-head .section-label::before {
  background: var(--c2);
}
.perks-head .section-title {
  color: white;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.perk-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 40px 32px;
  border-radius: 4px;
  transition: background 0.25s;
  cursor: default;
}
.perk-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.perk-num {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 700;
  color: var(--c);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.25;
}

.perk-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.perk-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ── APARTMENTS ── */
#apartments {
  background: var(--pale);
}

.apt-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin: 40px 0 32px;
}

.apt-tab {
  padding: 12px 28px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.apt-tab.active {
  color: var(--c);
  border-bottom-color: var(--c);
}
.apt-tab:hover:not(.active) {
  color: var(--ink);
}

.apt-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.apt-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apt-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.apt-spec {
  background: white;
  padding: 20px 22px;
}

.apt-spec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.apt-spec-val {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--c);
}

.promo-box {
  background: white;
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
}

.promo-box-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 10px;
}

.promo-box p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
}

.apt-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: white;
  border: 1px solid var(--border);
}

.apt-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background-color: #fff;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 24px;
}
.apt-img-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

/* ── MORTGAGE ── */
#mortgage {
  background: white;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.prog-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  color: var(--mid);
  background: none;
  font-family: var(--font-b);
  transition: all 0.15s;
}
.prog-btn.active {
  border-color: var(--c);
  color: var(--c);
  background: rgba(193, 97, 58, 0.06);
}
.prog-btn:hover:not(.active) {
  border-color: var(--ink2);
  color: var(--ink);
}

.range-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.range-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
}

.range-val {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.range-val em {
  color: var(--c);
  font-style: normal;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  border-radius: 2px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c);
  border: 3px solid white;
  box-shadow: 0 0 0 1.5px var(--c);
  cursor: pointer;
  -webkit-transition: transform 0.15s;
  transition: transform 0.15s;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result {
  background: var(--ink);
  border-radius: 12px;
  padding: 40px;
  color: white;
  position: sticky;
  top: 80px;
}

.calc-result-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.calc-result-amount {
  font-family: var(--font-h);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: white;
  margin-bottom: 4px;
}

.calc-result-per {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
}

.calc-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
.calc-row span {
  color: rgba(255, 255, 255, 0.4);
}
.calc-row strong {
  color: white;
  font-weight: 600;
}

.calc-cta {
  margin-top: 28px;
  display: block;
  text-align: center;
  background: var(--c);
  color: white;
  padding: 16px;
  border-radius: 6px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.calc-cta:hover {
  background: var(--c2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(193, 97, 58, 0.4);
}

/* ── INFRA ── */
#infra {
  background: var(--pale);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.infra-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.25s var(--ease2);
}
.infra-card:hover {
  border-color: var(--c);
  box-shadow: 0 8px 32px rgba(193, 97, 58, 0.1);
  transform: translateY(-4px);
}

.infra-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--c);
}

.infra-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.infra-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── CTA SECTION ── */
#cta-section {
  background: var(--c);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-title {
  font-family: var(--font-h);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
  line-height: 1.65;
}

/* ── FORM ── */
.form-wrap {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 36px;
}

.form-title {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.form-field input,
.form-field select {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 13px 16px;
  font-family: var(--font-b);
  font-size: 15px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form-field input:focus,
.form-field select:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.form-field input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-field select option {
  background: var(--ink2);
}

.form-submit {
  width: 100%;
  background: white;
  color: var(--c);
  border: none;
  padding: 16px;
  border-radius: 6px;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.form-submit:hover {
  background: var(--pale);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.form-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.form-field {
  position: relative;
}

.form-field__error {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  color: #ff7070;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #ff7070;
}

.form-field--error input {
  border-color: #ff5252 !important;
}

.form-field--error .form-field__error {
  opacity: 1;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.form-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 1px;
}

.form-checkbox__box::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s;
}

.form-checkbox input[type=checkbox]:checked + .form-checkbox__box {
  background: white;
  border-color: white;
}

.form-checkbox input[type=checkbox]:checked + .form-checkbox__box::after {
  opacity: 1;
  border-color: var(--c);
}

.form-checkbox:hover .form-checkbox__box {
  border-color: rgba(255, 255, 255, 0.7);
}

.form-checkbox__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}
.form-checkbox__text a {
  color: inherit;
}

.form-checkbox--error .form-checkbox__box {
  border-color: #ff5252;
  background: rgba(255, 82, 82, 0.12);
  animation: checkbox-shake 0.35s ease;
}

@keyframes checkbox-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.form-success {
  text-align: center;
  padding: 40px 0;
  display: none;
}
.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.form-success h3 {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.form-success p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.footer-logo span {
  color: var(--c);
}

.footer-info {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.footer-links__item {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links__item:hover {
  color: var(--c);
}
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--c);
}

/* ── FLOATING CTA ── */
#float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s var(--ease2);
  pointer-events: none;
}
#float-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c);
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(193, 97, 58, 0.5);
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.float-btn:hover {
  background: var(--c2);
  transform: scale(1.04);
}

.float-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: floatPulse 1.5s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}
/* ── TWEAKS ── */
#tweaks-panel {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 260px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
#tweaks-panel.open {
  display: block;
}

.tweaks-title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}

.tweak-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.tweak-item label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.tweak-item input[type=text] {
  background: var(--pale);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-b);
  outline: none;
  transition: border-color 0.15s;
}
.tweak-item input[type=text]:focus {
  border-color: var(--c);
}

.tweak-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tweak-toggle-label {
  font-size: 13px;
  color: var(--ink2);
  font-weight: 500;
}

.toggle {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: var(--border);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.toggle.on {
  background: var(--c);
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.toggle.on::after {
  transform: translateX(16px);
}

/* ── HAMBURGER ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  position: relative;
  z-index: 201;
  /* Поверх мобильного меню */
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s var(--ease2);
}
.burger.open span {
  background: var(--ink) !important;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(253, 252, 251, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease2);
  padding-top: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  letter-spacing: -0.02em;
  transition: all 0.2s;
}
.mobile-menu a:hover {
  color: var(--c);
  transform: translateY(-2px);
}

.mobile-menu-phone {
  margin-top: 24px;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: white !important;
  background: var(--c);
  padding: 14px 32px !important;
  border-radius: 100px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(193, 97, 58, 0.25);
}

/* ── PROGRESS SECTION CSS ── */
.progress-wrap {
  position: relative;
}

.progress-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s;
}
.progress-arrow:hover {
  border-color: var(--c);
}
.progress-arrow-left {
  left: -20px;
}
.progress-arrow-right {
  right: -20px;
}

.month-tabs-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

.month-tabs-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.progress-photos-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.prog-photo-main {
  grid-column: 1;
  grid-row: 1/3;
  border-radius: 8px;
  overflow: hidden;
  height: 360px;
}

.prog-photo-sm {
  grid-column: 2;
  border-radius: 8px;
  overflow: hidden;
  height: 174px;
}

.prog-photo-square {
  grid-column: 3;
  grid-row: 1/3;
  border-radius: 8px;
  overflow: hidden;
  height: 360px;
}

.prog-photo-main img,
.prog-photo-sm img,
.prog-photo-square img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s;
}
.prog-photo-main img:hover,
.prog-photo-sm img:hover,
.prog-photo-square img:hover {
  transform: scale(1.04);
}

.progress-caption-wrap {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
}

.progress-caption-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Base */
  .section,
  .section-sm {
    padding: 56px 20px;
  }
  .section-title {
    font-size: clamp(28px, 7vw, 44px);
  }
  /* Nav */
  #nav {
    padding: 0 20px;
    height: 56px;
  }
  .nav-links {
    display: none;
  }
  .nav-phone {
    display: none;
  }
  .burger {
    display: flex;
  }
  /* Hero */
  #hero {
    min-height: 100svh;
  }
  .hero-content {
    padding: 0 20px 48px;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(44px, 11vw, 72px);
    letter-spacing: -0.025em;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
  }
  .hero-stats {
    display: none;
  }
  .hero-badge {
    font-size: 10px;
    padding: 6px 12px;
    letter-spacing: 0.08em;
  }
  /* Ticker */
  .ticker {
    padding: 10px 0;
  }
  .ticker-item {
    font-size: 11px;
    padding: 0 20px;
  }
  /* About */
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .about-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 140px;
    gap: 8px;
  }
  .about-photo-main {
    grid-row: 1;
    grid-column: 1/3;
  }
  .about-text {
    padding-top: 0;
  }
  .about-text p {
    font-size: 15px;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .about-stat {
    padding: 18px 14px;
  }
  .about-stat-val {
    font-size: 28px;
  }
  .about-stat-label {
    font-size: 11px;
  }
  /* Perks */
  #perks {
    padding: 56px 20px;
  }
  .perks-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 32px;
  }
  .perks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .perk-card {
    padding: 24px 20px;
  }
  .perk-num {
    font-size: 36px;
    margin-bottom: 10px;
  }
  .perk-title {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .perk-desc {
    font-size: 13px;
  }
  /* Apartments */
  .apt-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .apt-tab {
    padding: 10px 18px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .apt-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .apt-img {
    aspect-ratio: 16/9;
  }
  .apt-spec-val {
    font-size: 18px;
  }
  /* Mortgage */
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .calc-result {
    position: static;
    border-radius: 8px;
    padding: 28px 20px;
  }
  .calc-result-amount {
    font-size: 44px;
  }
  .prog-tabs {
    gap: 6px;
  }
  .prog-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
  .range-val {
    font-size: 17px;
  }
  /* Infrastructure */
  .infra-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .infra-card {
    padding: 22px 18px;
  }
  .infra-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
  }
  .infra-title {
    font-size: 16px;
  }
  .infra-desc {
    font-size: 13px;
  }
  /* Progress section */
  #progress .section-desc {
    font-size: 14px;
  }
  .progress-arrow {
    display: none !important;
  }
  .progress-photos-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto;
  }
  .prog-photo-main {
    grid-column: 1/3;
    height: 280px;
  }
  .prog-photo-sm {
    grid-column: auto;
    height: 180px;
  }
  .prog-photo-square {
    grid-column: 1/3;
    height: 280px;
  }
  /* CTA Section */
  #cta-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 20px;
  }
  .cta-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .cta-desc {
    font-size: 14px;
    margin-top: 12px;
  }
  #cta-section > div:first-child > div {
    gap: 10px !important;
  }
  #cta-section > div:first-child > div > div {
    font-size: 14px !important;
  }
  .form-wrap {
    padding: 24px 20px;
    border-radius: 8px;
  }
  .form-title {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-field input,
  .form-field select {
    font-size: 16px;
    padding: 14px 14px;
  }
  .form-submit {
    font-size: 16px;
    padding: 16px;
  }
  /* Footer */
  footer {
    padding: 32px 20px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: 20px;
  }
  /* Float CTA */
  #float-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .float-btn {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
  }
  /* Tweaks panel */
  #tweaks-panel {
    left: 12px;
    right: 12px;
    bottom: 80px;
    width: auto;
  }
}
@media (max-width: 480px) {
  .section,
  .section-sm {
    padding: 48px 16px;
  }
  .section-title {
    font-size: clamp(24px, 8vw, 32px);
  }
  .hero-title {
    font-size: clamp(34px, 11vw, 44px);
  }
  .hero-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero-actions .btn {
    font-size: 14px;
    padding: 14px 20px;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .about-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .about-stat:last-child {
    grid-column: 1;
    border-bottom: none;
  }
  .perks-grid {
    grid-template-columns: 1fr;
  }
  .infra-grid {
    grid-template-columns: 1fr;
  }
  .apt-specs {
    grid-template-columns: 1fr;
  }
  .apt-spec-val {
    font-size: 18px;
  }
  .promo-box {
    border-radius: 8px;
    border-left: 1px solid var(--border);
    border-top: 3px solid var(--c);
    margin-top: 8px;
  }
  .progress-photos-grid {
    grid-template-columns: 1fr !important;
  }
  .prog-photo-main,
  .prog-photo-square {
    grid-column: 1/2 !important;
    height: 220px;
  }
  .prog-photo-sm {
    grid-column: 1/2 !important;
    height: 140px;
  }
  .calc-result {
    padding: 24px 16px;
  }
  .calc-result-amount {
    font-size: 36px;
  }
  .range-field-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .range-val {
    font-size: 16px;
  }
  #cta-section {
    padding: 48px 16px 96px;
  }
  .form-wrap {
    padding: 24px 16px;
  }
  footer {
    padding: 32px 16px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}
/* ── MODALS ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease2);
}
.modal.open {
  pointer-events: all;
  opacity: 1;
}
.modal.open .modal__panel {
  transform: none;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 1024px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 48px 52px;
  transform: translateY(28px);
  transition: transform 0.45s var(--ease2);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pale);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--mid);
  font-size: 18px;
  line-height: 1;
}
.modal__close:hover {
  background: var(--border);
  color: var(--ink);
}
.modal__header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.modal__title {
  font-family: var(--font-h);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.1;
}
@media (max-width: 600px) {
  .modal {
    padding: 12px;
    align-items: flex-end;
  }
  .modal__panel {
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    padding: 32px 24px 40px;
    transform: translateY(40px);
  }
}

/* ── MODAL TYPOGRAPHY ── */
.modal-content h2 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 32px 0 12px;
  line-height: 1.2;
}
.modal-content h2:first-child {
  margin-top: 0;
}
.modal-content h3 {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
  line-height: 1.3;
}
.modal-content h4 {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--c);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 20px 0 6px;
}
.modal-content p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 12px;
}
.modal-content p:last-child {
  margin-bottom: 0;
}
.modal-content ul,
.modal-content ol {
  padding-left: 0;
  margin: 0 0 16px;
  list-style: none;
}
.modal-content ul li,
.modal-content ol li {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.modal-content ul li:last-child,
.modal-content ol li:last-child {
  border-bottom: none;
}
.modal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
}
.modal-content ol {
  counter-reset: modal-list;
}
.modal-content ol li {
  counter-increment: modal-list;
}
.modal-content ol li::before {
  content: counter(modal-list);
  position: absolute;
  left: 0;
  top: 7px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  color: var(--c);
}
.modal-content strong {
  font-weight: 600;
  color: var(--ink);
}
.modal-content .modal-highlight {
  background: rgba(193, 97, 58, 0.06);
  border-left: 3px solid var(--c);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
}
.modal-content .modal-highlight p {
  margin: 0;
  font-size: 16px;
}
.modal-content .modal-highlight a {
  color: inherit;
}

.cookie-banner {
  position: fixed;
  bottom: calc(var(--disclaimer-offset, 0px) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink2);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 20px;
  max-width: 960px;
  width: calc(100% - 32px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-banner__text {
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}
.cookie-banner__text a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover {
  color: white;
}

.cookie-accept-btn {
  flex-shrink: 0;
  background: var(--c);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.cookie-accept-btn:hover {
  opacity: 0.85;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    bottom: 16px;
  }
  .cookie-accept-btn {
    width: 100%;
  }
}
.disclaimer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: rgba(15, 13, 11, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  padding: 12px 20px;
}
@media screen and (max-width: 640px) {
  .disclaimer-banner {
    font-size: 12px;
  }
}
.disclaimer-banner a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.disclaimer-banner a:hover {
  color: rgba(255, 255, 255, 0.7);
}/*# sourceMappingURL=style.css.map */