:root {
  --graphite: #121212;
  --graphite-2: #1f1b17;
  --ink: #1e1e1c;
  --muted: #6f6a62;
  --cream: #f1eee8;
  --milk: #fbfaf6;
  --sand: #b7835c;
  --sand-dark: #8d5d3d;
  --line: #ddd7cd;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--milk);
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

/* ==========================================================================
   Cursor Behaviors
   ========================================================================== */
html, body {
  cursor: default;
}

/* Все текстовые и блочные элементы наследуют курсор по умолчанию */
p, span, li, dt, dd, h1, h2, h3, h4, h5, h6, strong, em, dl, div, section, article, time, label {
  cursor: inherit;
}

/* Интерактивные элементы */
a,
button,
[role="button"],
.menu-button,
.carousel-button,
.faq-question {
  cursor: pointer !important;
}

/* Элементы просмотра планировок */
.lightbox-trigger,
.offer-card__image-wrapper,
.offer-card__image-wrapper img {
  cursor: zoom-in !important;
}

/* Стандартный текстовый курсор для полей ввода */
input, textarea, select, [contenteditable="true"] {
  cursor: text;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 9.5vw, 5.25rem);
  font-weight: 720;
}

h2 {
  max-width: 840px;
  font-size: clamp(1.85rem, 6.2vw, 4rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  font-weight: 720;
}

.site-header {
  --header-pad-x: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding: 8px 16px;
  color: var(--ink);
  background: rgba(251, 250, 246, .94);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.site-header.menu-open {
  border-bottom-color: transparent;
}

.site-header--no-border {
  border-bottom: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  width: 5px;
  height: 32px;
  flex: 0 0 5px;
  background: var(--sand);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 820;
}

.brand small {
  color: var(--muted);
  font-size: .72rem;
}

.menu-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 12px 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

.header-contact {
  display: none;
}

.site-nav {
  display: grid;
  position: absolute;
  top: 100%;
  left: calc(var(--header-pad-x) * -1);
  right: calc(var(--header-pad-x) * -1);
  width: auto;
  grid-column: 1 / -1;
  gap: 0;
  overflow: hidden;
  max-height: 0;
  transform: translateY(-4px);
  background: rgba(251, 250, 246, .97);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(18, 18, 18, .14);
  transition: max-height .32s ease, transform .32s ease;
}

.site-nav.is-open {
  max-height: 360px;
  transform: translateY(0);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav a {
  display: block;
  padding: 14px var(--header-pad-x);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.section-dark,
.section-light,
.section-cream {
  padding: 30px 18px;
}

.section-dark {
  color: var(--milk);
  background: var(--graphite);
}

.newbuilds {
  background: var(--graphite-2);
}

.section-light {
  background: var(--milk);
}

.section-cream {
  background: var(--cream);
}

.hero {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: auto;
  align-items: start;
  background: var(--graphite);
  padding-top: 20px;
}

.hero__content,
.hero__visual,
.section-head,
.split,
.stats-grid,
.services-grid,
.timeline,
.calm-grid,
.invest-grid,
.media-grid,
.faq-list,
.final-cta__inner,
.site-footer,
.swipe-carousel-wrapper {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero__content {
  display: grid;
  align-content: end;
  margin-inline: auto;
  padding: 0;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(2.45rem, 9.2vw, 5.1rem);
  text-wrap: balance;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--sand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 620px;
  margin-top: 24px;
  color: #e8e1d7;
  font-size: clamp(1.02rem, 3.7vw, 1.28rem);
  line-height: 1.6;
  border-left: 2px solid var(--sand);
  padding-left: 18px;
}

.hero__lead strong {
  color: var(--white);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--graphite);
  background: var(--sand);
}

.button--primary:hover {
  background: #c49269;
  color: var(--graphite);
}

.button--secondary {
  color: var(--milk);
  background: #29231d;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button--secondary:hover {
  background: var(--graphite);
  color: var(--milk);
}

.section-light .button--secondary,
.section-cream .button--secondary {
  color: var(--graphite);
  background: #e7ded3;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.section-light .button--secondary:hover,
.section-cream .button--secondary:hover {
  background: var(--graphite);
  color: var(--milk);
}

.hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero__facts li {
  padding: 11px 0;
  color: var(--white);
  border-top: 1px solid #4b4037;
  font-size: .9rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.hero__visual--mobile {
  margin-top: 10px;
  margin-bottom: 24px;
}

@media (min-width: 680px) {
  .hero__visual--mobile {
    display: none !important;
  }
}

@media (max-width: 679px) {
  .hero__visual--desktop {
    display: none !important;
  }
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%; /* Предотвращает обрезание головы риелтора */
}

.hero__visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 3px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--milk);
}

.hero__visual span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__visual strong {
  font-size: .95rem;
}



.scenarios {
  color: var(--ink);
  background: var(--cream);
}

.scenarios__inner {
  display: grid;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 12px 18px;
}

.scenarios__lead,
.scenarios a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.scenarios__lead {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scenarios a {
  display: flex;
  gap: 12px;
  font-weight: 750;
}

.scenarios a span {
  color: var(--sand-dark);
  font-size: .78rem;
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.section-head p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
}

.stats-grid,
.services-grid,
.object-grid,
.invest-grid,
.media-grid {
  display: grid;
  gap: 12px;
}

.stat-card,
.service-card,
.invest-card,
.faq-list details {
  background: var(--milk);
  border: 1px solid var(--line);
}

.stat-card {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sand-dark);
  font-size: clamp(1.75rem, 5.5vw, 2.3rem);
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.expert-note {
  display: grid;
  gap: 12px;
  width: min(100%, var(--max));
  margin: 20px auto 0;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.expert-note__index {
  color: var(--sand-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.expert-note p {
  max-width: 800px;
  font-size: clamp(1.2rem, 4.4vw, 1.75rem);
  font-weight: 650;
  line-height: 1.35;
}

.expert-note a {
  color: var(--sand-dark);
  font-weight: 800;
}

.service-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.service-card__tag {
  width: fit-content;
  padding: 8px 11px;
  color: var(--graphite);
  background: #ead8ca;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p,
.invest-card p,
.object-card p,
.faq-list p {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 24px;
}

.split__text {
  display: grid;
  align-content: start;
  gap: 22px;
}

.split__text p:not(.eyebrow) {
  max-width: 620px;
  color: var(--milk);
  font-size: 1.05rem;
}

.object-card {
  flex: 0 0 86%;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: var(--ink);
  background: var(--milk);
}

.objects-carousel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.objects-carousel .object-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-inline: 0 10%;
}

.objects-carousel .object-grid::-webkit-scrollbar {
  display: none;
}

.objects-carousel .object-card {
  scroll-snap-align: start;
}

.objects-carousel.is-looping .object-grid {
  scroll-behavior: auto;
}

.carousel-ui {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: min(132px, 46vw);
  margin-inline: auto;
}

.carousel-button {
  display: none;
}

.carousel-progress {
  height: 2px;
  overflow: hidden;
  background: #3a312a;
}

.carousel-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--sand);
  transform: translateX(0);
  transition: transform .24s ease;
}

.object-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.object-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
  padding: 20px;
}

.object-card__body h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0;
}

.object-card__body > span {
  color: var(--sand-dark);
  font-weight: 800;
}

.object-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.object-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.object-card dt {
  color: var(--muted);
}

.object-card dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.object-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.object-card a {
  margin-top: auto;
  color: var(--sand-dark);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  color: var(--sand-dark);
  font-weight: 800;
}

.calm-grid {
  display: grid;
  gap: 6px;
}

.calm-grid p {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
}

.mortgage__panel {
  display: grid;
  gap: 14px;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.mortgage__copy {
  display: grid;
  gap: 10px;
}

.mortgage__copy h2 {
  max-width: 680px;
  font-size: clamp(1.8rem, 7vw, 3.8rem);
}

.mortgage__copy p:not(.eyebrow) {
  max-width: 620px;
  color: #e2d6c5;
  font-size: clamp(1rem, 3.7vw, 1.2rem);
}

.mortgage__copy .button {
  width: fit-content;
}

.mortgage__checks {
  display: grid;
  gap: 10px;
}

.mortgage__checks article {
  display: grid;
  gap: 6px;
  align-content: start; /* Выравнивает контент по верху */
  padding: 10px 0;
  border-top: 1px solid #40362e;
}

.mortgage__checks span {
  color: var(--sand);
  font-size: .78rem;
  font-weight: 800;
}

.mortgage__checks strong {
  color: var(--milk);
  font-size: 1.18rem;
}

.mortgage__checks p {
  color: #cfc3b6;
}

.invest-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.invest-card strong {
  color: var(--ink);
}

.media-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--graphite);
}

.media-tile img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.media-tile h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  color: var(--graphite);
  background: var(--milk);
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 760;
}

.faq-list p {
  padding: 0 0 12px;
}

.final-cta {
  text-align: left;
}

.final-cta__inner {
  display: grid;
  gap: 34px;
}

.final-cta__copy {
  display: grid;
  gap: 18px;
}

.final-cta__copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.final-cta__actions {
  display: grid;
  border-top: 2px solid var(--ink);
}

.final-cta__actions a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.final-cta__actions span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.final-cta__actions strong {
  font-size: 1.2rem;
}

.site-footer {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: none;
  padding: 28px 18px 20px;
  color: var(--milk);
  background: var(--graphite);
}

.footer-top,
.footer-columns,
.footer-bottom {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid #3f352e;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand span,
.footer-nav span,
.footer-contact span {
  color: var(--sand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-brand strong {
  max-width: 760px;
  color: var(--milk);
  font-size: clamp(1.7rem, 6vw, 3.2rem);
  font-weight: 720;
  line-height: 1.08;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  padding: 14px 18px;
  color: var(--graphite);
  background: var(--sand);
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.footer-cta:hover {
  background: #c49269;
  color: var(--graphite) !important;
  transform: translateY(-2px);
}

.footer-columns {
  display: grid;
  gap: 24px;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-nav a,
.footer-contact a {
  width: fit-content;
  color: #eee6dc;
  font-weight: 650;
}

.footer-contact p,
.disclaimer {
  color: #cfc3b6;
}

.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #3f352e;
}

.site-footer a:hover {
  color: var(--sand);
}

.disclaimer {
  font-size: .88rem;
}

.policy-body {
  background-color: var(--cream);
  color: var(--ink);
}

.policy-page {
  max-width: 800px;
  width: calc(100% - 36px);
  margin: 32px auto 80px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--sand-dark);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.policy-back:hover {
  transform: translateX(-4px);
  color: var(--ink);
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.04);
}

.policy-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--graphite);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.policy-card .policy-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
}

.policy-card h2 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--graphite);
  margin: 32px 0 16px 0;
  padding-left: 12px;
  border-left: 3px solid var(--sand);
  line-height: 1.3;
}

.policy-card p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.policy-card ul {
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}

.policy-card ul li {
  position: relative;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
  padding-left: 16px;
}

.policy-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--sand-dark);
  font-weight: bold;
}

.policy-card a {
  color: var(--sand-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--sand-dark);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.policy-card a:hover {
  color: var(--graphite);
  border-bottom-style: solid;
  border-color: var(--graphite);
}

@media (max-width: 680px) {
  .policy-card {
    padding: 24px 20px;
  }
  
  .policy-card h2 {
    margin-top: 24px;
  }
}

.reveal {
  transform: translateY(18px);
  transition: transform .55s ease;
}

.reveal.is-visible {
  transform: translateY(0);
}

@media (min-width: 680px) {
  .site-header {
    --header-pad-x: 28px;
    padding-inline: 28px;
  }

  .section-dark,
  .section-light,
  .section-cream {
    padding: 40px 28px;
  }

  .hero {
    padding-inline: 28px;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .hero__content {
    padding-top: 34px;
  }

  .hero__visual {
    margin-inline: 0;
    aspect-ratio: 3 / 4;
  }



  .hero__facts,
  .stats-grid,
  .calm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    min-height: auto;
  }

  .services-grid,
  .invest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--wide {
    grid-column: span 2;
  }

  .timeline li {
    grid-template-columns: 70px 1fr 1.5fr;
    align-items: start;
  }

  .media-grid {
    grid-template-columns: 1.2fr .8fr;
  }

  .media-tile--large {
    grid-row: span 2;
  }

  .media-tile--large,
  .media-tile--large img {
    min-height: 590px;
  }

  .scenarios__inner {
    grid-template-columns: .9fr repeat(3, 1fr);
    padding-inline: 28px;
  }

  .scenarios__lead,
  .scenarios a {
    min-height: 74px;
    padding: 16px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .scenarios__lead {
    padding-left: 0;
  }

  .scenarios a:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .final-cta__inner {
    grid-template-columns: 1fr .9fr;
    align-items: end;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }
}

@media (min-width: 1020px) {
  .site-header {
    --header-pad-x: 36px;
    grid-template-columns: auto 1fr auto;
    padding-inline: 36px;
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    grid-column: auto;
    justify-content: center;
    gap: 24px;
    max-height: none;
    overflow: visible;
    transform: none;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
    color: #eadfce;
    font-size: .94rem;
  }

  .site-nav a {
    padding: 0;
    border-bottom: 0;
  }

  .header-contact {
    display: grid;
    gap: 2px;
    justify-items: end;
    font-size: .78rem;
  }

  .header-contact span {
    color: var(--muted);
  }

  .header-contact strong {
    color: var(--sand-dark);
  }

  .hero {
    grid-template-columns: minmax(430px, .86fr) minmax(520px, 1fr);
    gap: clamp(30px, 4vw, 58px);
    min-height: auto;
    padding: 54px max(36px, calc((100vw - 1320px) / 2)) 42px;
    align-items: center;
  }

  .hero__content {
    max-width: 610px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 610px;
    font-size: clamp(3.05rem, 4.35vw, 4.55rem);
    line-height: 1.02;
  }

  .hero__lead {
    max-width: 520px;
  }

  .hero__facts {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }

  .hero__visual {
    height: min(66vh, 680px);
    min-height: 540px;
    aspect-ratio: 3 / 4;
  }



  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-card {
    min-height: auto;
  }

  .stat-card strong {
    font-size: clamp(1.6rem, 2vw, 2.1rem);
  }

  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .service-card {
    grid-column: span 3;
  }

  .service-card--wide {
    grid-column: span 6;
  }

  .split {
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
  }

  .object-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .objects-carousel .object-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: 0 9%;
  }

  .objects-carousel .object-card {
    flex: 0 0 calc((100% - 14px) / 2.12);
  }

  .mortgage__panel {
    grid-template-columns: .9fr 1fr;
    align-items: end;
  }

  .objects-carousel {
    gap: 18px;
  }

  .carousel-ui {
    grid-template-columns: 34px minmax(88px, 126px) 34px;
    gap: 10px;
    justify-content: end;
    width: auto;
    margin-inline: 0;
  }

  .carousel-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #d8cbbc;
    background: transparent;
    border: 1px solid #55483d;
    border-radius: 0;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }

  .carousel-button:hover {
    color: var(--graphite);
    background: var(--sand);
    transform: translateY(-1px);
  }

  .mortgage__checks {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .mortgage__checks article {
    padding: 0 18px 0 0;
    border-top: 0;
    border-right: 1px solid #40362e;
  }

  .mortgage__checks article:last-child {
    border-right: 0;
  }

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

  .site-footer {
    padding: 40px max(36px, calc((100vw - var(--max)) / 2)) 24px;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

  .footer-bottom {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }
}

/* ==========================================================================
   Swipe Carousel Wrapper & Navigation Arrows (Mobile)
   ========================================================================== */
.swipe-carousel-wrapper {
  position: relative;
  width: 100%;
}

.swipe-arrow {
  display: none !important;
}

@media (min-width: 680px) {
  .swipe-arrow {
    display: none !important;
  }
}

/* ==========================================================================
   Offers Grid & Cards (Layouts with calculations)
   ========================================================================== */

.offers-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding-inline: 36px;
  margin-inline: -18px;
  scroll-padding-inline: 36px;
}

.offers-grid::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@media (min-width: 680px) {
  .offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-inline: 0;
    margin-inline: 0;
    width: 100%;
  }
}

@media (min-width: 1020px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.offer-card {
  flex: 0 0 85%;
  min-width: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(18, 18, 18, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 680px) {
  .offer-card {
    flex: none;
    scroll-snap-align: unset;
  }
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.09);
}

.offer-card__image-wrapper {
  position: relative;
  aspect-ratio: 0.828; /* Вертикальный формат под размер планировок */
  background: #fcfcfc;
  overflow: hidden;
  cursor: zoom-in;
}

@media (min-width: 1020px) {
  .offer-card__image-wrapper {
    aspect-ratio: 0.828;
    max-height: none;
  }
}

.offer-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Заполнение всей ширины карточки */
  transition: transform 0.3s ease;
}

.offer-card__image-wrapper:hover img {
  transform: scale(1.03);
}



.offer-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px;
}

.offer-card__tag {
  align-self: start;
  padding: 4px 8px;
  margin-bottom: 12px;
  background: #ead8ca;
  color: var(--graphite);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.15;
}

.offer-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 18px;
}

.offer-card__details {
  display: grid;
  gap: 0;
  margin: 0 0 24px 0;
  margin-top: auto;
}

.offer-card__details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.offer-card__details dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.offer-card__details dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.offer-card .button {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  font-size: 0.9rem;
}

/* ==========================================================================
   International & Relocation Section
   ========================================================================== */

.international-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding-inline: 36px;
  margin-inline: -18px;
  scroll-padding-inline: 36px;
}

.international-grid::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@media (min-width: 680px) {
  .international-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-inline: 0;
    margin-inline: 0;
    width: 100%;
  }
}

@media (min-width: 1020px) {
  .international-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.international-card {
  flex: 0 0 78%;
  min-width: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(18, 18, 18, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 680px) {
  .international-card {
    flex: none;
    scroll-snap-align: unset;
  }
}

.international-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.09);
}

.international-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite);
}

/* Убран медиа-запрос сплющенных пропорций, возвращен оригинальный аспект 16/10 */

.international-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.international-card:hover .international-card__image img {
  transform: scale(1.04);
}

.international-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px;
}

/* Убран медиа-запрос мелких шрифтов и паддингов */

.international-card__tag {
  align-self: start;
  padding: 4px 8px;
  margin-bottom: 12px;
  background: var(--cream);
  color: var(--sand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.international-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--ink);
}

.international-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ==========================================================================
   Lightbox modal (Image full screen view)
   ========================================================================== */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1010;
  width: 36px;
  height: 36px;
  background: rgba(30, 30, 28, 0.85); /* Премиальный темно-серый цвет */
  border: none;
  border-radius: 50%; /* Круглая форма */
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  line-height: 1;
  outline: none;
}

.lightbox__close:hover {
  background: #d44a37; /* Премиальный красный цвет при наведении */
  transform: scale(1.08);
}

body.lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }
}

@media (min-width: 680px) {
  .offer-card__body,
  .international-card__body {
    padding: 20px;
  }
}
