/* ============================================================
   VESTHOLM — финальный стилевой файл (v2)
   - Cinzel для VESTHOLM (шрифт из логотипа)
   - Cormorant Garamond для заголовков
   - Manrope для основного текста
   - Увеличенные размеры мелкого текста
   - Fix кнопки --gold (текст не пропадает при hover)
   ============================================================ */

:root {
  --ink:        #0E1B3A;
  --ink-deep:   #0A1530;
  --ink-mid:    #122247;
  --ink-soft:   #1B2D52;
  --ink-line:   rgba(245, 237, 224, 0.12);

  --gold:       #C8A876;
  --gold-bright:#D9BB85;
  --gold-soft:  #B89968;
  --gold-deep:  #8C6F48;

  --cream:      #F5EDE0;
  --paper:      #FAF7F2;
  --bone:       #E8DFCD;

  --text-on-ink:       #F5EDE0;
  --text-on-ink-muted: rgba(245, 237, 224, 0.78);
  --text-on-ink-faint: rgba(245, 237, 224, 0.55);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-brand:   "Cinzel", "Cormorant Garamond", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-card: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 14px 40px -12px rgba(200, 168, 118, .55);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-ink);
  background: var(--ink);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul,ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6,p { margin: 0; }
::selection { background: var(--gold); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   ТИПОГРАФИКА (увеличена)
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 13px;          /* было 11 */
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.title-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: inherit;
}
.title-display em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}

.section-sub {
  font-size: 19px;          /* было 17 */
  line-height: 1.6;
  color: var(--text-on-ink-muted);
  max-width: 680px;
  margin-top: 22px;
  font-weight: 300;
}

.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow,
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

.lead {
  font-size: 18.5px;        /* было 17 */
  line-height: 1.75;
  color: var(--text-on-ink-muted);
  font-weight: 300;
}
.lead + .lead { margin-top: 22px; }
.lead strong { color: var(--text-on-ink); font-weight: 500; }

/* ============================================================
   КНОПКИ — FIX (текст не пропадает при hover)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: background .35s var(--ease),
              color .35s var(--ease),
              border-color .35s var(--ease),
              box-shadow .35s var(--ease),
              transform .35s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
  overflow: hidden;
}

/* GOLD — solid с правильным hover (текст НЕ исчезает) */
.btn--gold {
  background: var(--gold);
  color: var(--ink-deep);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--ink-deep);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn--gold:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--text-on-ink);
  border: 1px solid rgba(245, 237, 224, 0.4);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(200, 168, 118, 0.06);
}
.btn--ghost svg { transition: transform .35s var(--ease); }
.btn--ghost:hover svg { transform: translateX(4px); }
.btn--ghost-light { border-color: rgba(245, 237, 224, 0.55); }

.btn--full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(10, 21, 48, 0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-on-ink);
  flex-shrink: 0;
  transition: opacity .3s;
}
.header__logo:hover { opacity: .85; }
.header__logo-mark {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}
.header__brand {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--text-on-ink);
  white-space: nowrap;
}

.header__nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-on-ink);
  position: relative;
  padding: 6px 0;
  transition: color .3s;
  white-space: nowrap;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.header__nav a:hover { color: var(--gold-bright); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-on-ink);
  transition: color .3s;
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold-bright); }
.header__phone svg { color: var(--gold); flex-shrink: 0; }
.header__actions .btn { padding: 13px 22px; font-size: 12px; letter-spacing: 0.14em; }

.header__burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.header__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-on-ink);
  margin: 0 auto;
  transition: transform .35s var(--ease), opacity .35s, background .35s;
  transform-origin: center;
}
.header.is-menu-open .header__burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--gold);
}
.header.is-menu-open .header__burger span:nth-child(2) { opacity: 0; }
.header.is-menu-open .header__burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--gold);
}

@media (max-width: 1300px) {
  .header__nav { gap: 22px; }
  .header__nav a { font-size: 13px; }
  .header__actions .btn { padding: 12px 18px; font-size: 11.5px; }
  .header__brand { font-size: 19px; }
  .header__phone { font-size: 13.5px; }
}
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
}
@media (max-width: 720px) {
  .header__phone {
    width: 38px; height: 38px;
    border: 1px solid var(--ink-line);
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
  }
  .header__phone svg { color: var(--gold); }
  .header__actions .btn { display: none; }
  .header__inner { gap: 14px; }
  .header__brand { font-size: 17px; letter-spacing: 0.16em; }
}

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  padding: 110px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 32px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-line);
  color: var(--text-on-ink);
}
.mobile-menu nav a:hover { color: var(--gold-bright); }
.mobile-menu .btn { margin-top: 32px; }
.mobile-menu .mm-phone {
  margin-top: 20px;
  font-size: 18px;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}

/* ============================================================
   HERO — VESTHOLM в одно слово, шрифт CINZEL
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 100px;
  overflow: hidden;
  color: var(--text-on-ink);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  animation: heroPan 24s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.12) translateX(-2%); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 35% 60%, rgba(10, 21, 48, 0.55) 0%, rgba(10, 21, 48, 0.4) 50%, rgba(10, 21, 48, 0.7) 100%);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 48, 0.6) 0%, rgba(10, 21, 48, 0.1) 30%, rgba(10, 21, 48, 0.1) 55%, rgba(10, 21, 48, 0.92) 100%);
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.deco-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(200,168,118,.4) 30%, rgba(200,168,118,.4) 70%, transparent);
  animation: lineBreath 8s var(--ease-out) infinite alternate;
}
.deco-line--1 { left: 16%; top: 0; bottom: 0; }
.deco-line--2 { left: 27%; top: 8%; bottom: 8%; animation-delay: -2s; }
@keyframes lineBreath {
  from { opacity: 0.4; }
  to   { opacity: 0.85; }
}
.deco-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .9;
}
.deco-dot--top    { left: calc(27% - 6px); top: 8%;  animation: dotPulse 4s ease-in-out infinite; }
.deco-dot--bottom { left: calc(16% - 6px); bottom: 12%; animation: dotPulse 4s ease-in-out infinite -2s; }
@keyframes dotPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,168,118,.5); }
  50%     { transform: scale(1.15); box-shadow: 0 0 0 12px rgba(200,168,118,0); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__overline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 14px;          /* было 12 */
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(10px);
  animation: heroIn 1s var(--ease-out) .25s forwards;
}
.hero__overline-line {
  display: inline-block;
  width: 64px;
  height: 1px;
  background: var(--gold-bright);
}

/* VESTHOLM — Cinzel шрифт, одно слово, БЕЗ ТОЧКИ */
.hero__title {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
  color: var(--text-on-ink);
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1.2s var(--ease-out) .5s forwards;
}

.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 36px);   /* было 20-32 */
  line-height: 1.3;
  color: var(--text-on-ink);
  margin: 30px 0 0;
  max-width: 700px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s var(--ease-out) .85s forwards;
}

.hero__lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18.5px;        /* было 16.5 */
  line-height: 1.75;
  color: var(--text-on-ink-muted);
  max-width: 620px;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s var(--ease-out) 1.05s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s var(--ease-out) 1.25s forwards;
}

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-on-ink-muted);
  z-index: 3;
  opacity: 0;
  animation: heroIn 1s var(--ease-out) 1.7s forwards;
  transition: color .3s;
}
.hero__scroll:hover { color: var(--gold-bright); }
.hero__scroll span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.hero__scroll svg { color: var(--gold); }
.hero__scroll svg circle { animation: scrollDot 2.2s ease-in-out infinite; }
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(6px); opacity: 0; }
  61%  { transform: translateY(-1px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 920px) { .hero__scroll { display: none; } }

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background: var(--ink);
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-line) 30%, var(--ink-line) 70%, transparent);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  margin-bottom: 110px;
}
.about__text > * + * { margin-top: 26px; }
.about__media { position: relative; }
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-mid);
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.about__photo:hover img { transform: scale(1.04); }
.about__photo-frame {
  position: absolute;
  top: 18px; left: 18px; right: -18px; bottom: -18px;
  border: 1px solid var(--gold);
  z-index: -1;
  pointer-events: none;
}
.about__caption {
  position: absolute;
  right: -32px;
  bottom: 40px;
  background: var(--gold);
  color: var(--ink-deep);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  max-width: 270px;
}
.about__caption-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
}
.about__caption-text {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  font-weight: 600;
}
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__caption { right: 16px; }
}

/* блок цифр */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.stat {
  padding: 48px 28px;
  border-left: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
.stat__unit {
  font-size: 0.5em;
  color: var(--text-on-ink);
  margin-left: -2px;
}
.stat__label {
  font-size: 14.5px;        /* было 13 */
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-on-ink-muted);
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat:nth-child(2)   { padding-right: 0; }
  .stat:nth-child(3),
  .stat:nth-child(4)   { border-top: 1px solid var(--ink-line); }
}

/* ============================================================
   ENV
   ============================================================ */

.env {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--ink-mid);
  position: relative;
  overflow: hidden;
  min-height: 720px;
}
.env__photos { position: relative; height: 100%; }
.env__photo { overflow: hidden; background: var(--ink); }
.env__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.env__photo:hover img { transform: scale(1.04); }
.env__photo--big { width: 88%; height: 100%; }
.env__photo--small {
  position: absolute;
  bottom: 6%; right: 0;
  width: 44%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--ink-mid);
  box-shadow: var(--shadow-card);
}
.env__content {
  display: flex;
  align-items: center;
  padding: clamp(70px, 9vw, 130px) 0;
}
.env__content .container {
  max-width: 620px;
  padding-left: clamp(28px, 5vw, 70px);
  padding-right: var(--gutter);
}
.env__content .lead { margin-top: 28px; }
.env__features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.env__features li {
  font-size: 16.5px;        /* было 15.5 */
  line-height: 1.6;
  color: var(--text-on-ink-muted);
  padding-left: 36px;
  position: relative;
}
.env__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 22px; height: 1px;
  background: var(--gold);
}
.env__features strong {
  color: var(--text-on-ink);
  font-weight: 500;
}
@media (max-width: 980px) {
  .env { grid-template-columns: 1fr; min-height: auto; }
  .env__photos { aspect-ratio: 4/3; }
  .env__photo--big { width: 100%; height: 100%; }
  .env__photo--small { display: none; }
}

/* ============================================================
   LOCATION — крупная карта
   ============================================================ */

.location {
  background: var(--ink-deep);
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
  overflow: hidden;
}
.location::before {
  content: "";
  position: absolute;
  top: 10%; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,168,118,.06), transparent 70%);
  pointer-events: none;
}

.location__layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;       /* карта больше */
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
}

.location__map {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-card);
}
.location__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}




  100% { transform: scale(4); opacity: 0; }
}



.location__list {
  display: flex;
  flex-direction: column;
}
.location__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 26px;
  padding: 26px 0;
  border-top: 1px solid var(--ink-line);
}
.location__list li:last-child { border-bottom: 1px solid var(--ink-line); }
.location__list-time {
  font-family: var(--font-display);
  font-size: 30px;          /* было 28 */
  color: var(--gold-bright);
  font-weight: 400;
  align-self: center;
}
.location__list-title {
  font-size: 18px;          /* было 17 */
  font-weight: 500;
  color: var(--text-on-ink);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.location__list-desc {
  font-size: 14.5px;        /* было 13.5 */
  color: var(--text-on-ink-faint);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .location__layout { grid-template-columns: 1fr; }
}

/* ============================================================
   GENPLAN
   ============================================================ */

.genplan {
  background: var(--ink);
  padding: clamp(100px, 14vw, 180px) 0;
}












/* интерактивные пины */












@media (max-width: 880px) {
  
  
  
}

/* ============================================================
   HOUSES — табы + галерея
   ============================================================ */

.houses {
  background: var(--ink-deep);
  padding: clamp(100px, 14vw, 180px) 0;
}
.houses__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 70px;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.house-tab {
  padding: 28px 22px;
  text-align: center;
  border-left: 1px solid var(--ink-line);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background .35s, color .35s;
  cursor: pointer;
}
.house-tab:first-child { border-left: none; }
.house-tab__name {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-on-ink);
  letter-spacing: 0.04em;
  transition: color .3s;
}
.house-tab__meta {
  font-size: 13px;          /* было 12 */
  color: var(--text-on-ink-faint);
  letter-spacing: 0.04em;
}
.house-tab::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.house-tab:hover .house-tab__name { color: var(--gold-bright); }
.house-tab.is-active .house-tab__name { color: var(--gold-bright); }
.house-tab.is-active::before { transform: scaleX(1); }
@media (max-width: 720px) {
  .houses__tabs { grid-template-columns: 1fr 1fr; }
  .house-tab:nth-child(3),
  .house-tab:nth-child(4) { border-top: 1px solid var(--ink-line); }
  .house-tab:nth-child(3) { border-left: none; }
}

.house {
  display: none;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
  animation: fadeUp .7s var(--ease-out);
}
.house.is-active { display: grid; }

.house__gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.house__photo {
  position: relative;
  overflow: hidden;
  background: var(--ink-mid);
}
.house__photo--main {
  aspect-ratio: 16 / 11;
}
.house__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.house__photo:hover img { transform: scale(1.05); }
.house__photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.house__photo--small { aspect-ratio: 4 / 3; cursor: pointer; }

.house__price-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--gold);
  color: var(--ink-deep);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.house__info { padding-top: 12px; }
.house__index {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.house__name {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-on-ink);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.house__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 23px;          /* было 22 */
  line-height: 1.35;
  color: var(--gold-bright);
  font-weight: 300;
  margin-bottom: 26px;
}
.house__desc {
  font-size: 17px;          /* было 16 */
  line-height: 1.75;
  color: var(--text-on-ink-muted);
  font-weight: 300;
}

.house__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 40px 0;
  border-top: 1px solid var(--ink-line);
}
.house__specs li {
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-right: 24px;
}
.house__specs li:nth-child(2n) {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--ink-line);
}
.house__specs span {
  font-size: 12.5px;        /* было 12 */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-ink-faint);
}
.house__specs b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23px;          /* было 22 */
  color: var(--text-on-ink);
}

.house__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .house { grid-template-columns: 1fr; }
}

/* ============================================================
   MORTGAGE
   ============================================================ */

.mortgage {
  background: var(--ink);
  padding: clamp(100px, 14vw, 180px) 0;
}
.mortgage__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.mortgage__head .lead { margin-top: 28px; margin-bottom: 40px; }

.mortgage__table {
  background: var(--ink-mid);
  border: 1px solid var(--ink-line);
  padding: 16px 36px;
}
.m-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--ink-line);
}
.m-row:first-child { border-top: none; }
.m-row--head {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-ink-faint);
  font-weight: 600;
  padding: 16px 0;
}
.m-row__name {
  font-family: var(--font-display);
  font-size: 24px;          /* было 22 */
  color: var(--text-on-ink);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 500;
}
.m-row__hint {
  font-family: var(--font-body);
  font-size: 13px;          /* было 12 */
  color: var(--text-on-ink-faint);
  letter-spacing: 0.04em;
  font-weight: 300;
}
.m-row__rate b {
  font-family: var(--font-display);
  font-size: 30px;          /* было 28 */
  color: var(--gold-bright);
  font-weight: 500;
}
.m-row__sum {
  font-size: 14.5px;
  color: var(--text-on-ink-muted);
  text-align: right;
}
.m-row__sum b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;          /* было 22 */
  color: var(--text-on-ink);
  font-weight: 500;
}
.m-row--accent {
  background: linear-gradient(90deg, rgba(200,168,118,0.1), transparent);
  margin: 0 -36px;
  padding: 26px 36px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--ink-line);
}
.m-row--accent .m-row__rate b {
  font-family: var(--font-body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  font-weight: 600;
}
@media (max-width: 980px) {
  .mortgage__grid { grid-template-columns: 1fr; }
  .m-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .m-row__sum { text-align: left; }
  .m-row--head { display: none; }
}

/* ============================================================
   CTA STRIP
   ============================================================ */

.cta-strip {
  background: var(--ink-deep);
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,168,118,.1), transparent 60%);
  pointer-events: none;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  color: var(--text-on-ink);
}
.cta-strip__desc {
  margin-top: 20px;
  color: var(--text-on-ink-muted);
  font-size: 17.5px;
  line-height: 1.65;
  max-width: 560px;
}
.cta-strip__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
  .cta-strip__buttons { justify-content: flex-start; }
}

/* ============================================================
   CONTACTS
   ============================================================ */

.contacts {
  background: var(--ink);
  padding: clamp(100px, 14vw, 180px) 0;
}
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contacts__list {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contacts__list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  align-items: start;
}
.contacts__icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.contacts__label {
  display: block;
  font-size: 12px;          /* было 11 */
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-on-ink-faint);
  margin-bottom: 6px;
  font-weight: 600;
}
.contacts__list p {
  font-size: 17px;          /* было 16 */
  line-height: 1.55;
  color: var(--text-on-ink);
}
.contacts__list a {
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
.contacts__list a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

/* Form */
.contact-form {
  background: var(--ink-mid);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--ink-line);
}
.contact-form header { margin-bottom: 32px; }
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;          /* было 32 */
  line-height: 1.2;
  color: var(--text-on-ink);
}
.contact-form header p {
  margin-top: 10px;
  color: var(--text-on-ink-muted);
  font-size: 15.5px;        /* было 14.5 */
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.field span {
  font-size: 12px;          /* было 11 */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-ink-faint);
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-line);
  padding: 12px 0;
  font: inherit;
  color: var(--text-on-ink);
  transition: border-color .3s;
  font-size: 17px;          /* было 16 */
  resize: vertical;
  font-family: inherit;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-on-ink-faint);
  font-weight: 300;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field-policy {
  font-size: 13px;          /* было 12 */
  color: var(--text-on-ink-faint);
  margin-top: 18px;
  line-height: 1.55;
}
.field-policy a {
  color: var(--gold-bright);
  border-bottom: 1px solid currentColor;
}
@media (max-width: 880px) {
  .contacts__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink-deep);
  padding: 90px 0 36px;
  border-top: 1px solid var(--ink-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 64px;
}
.footer__logo { display: block; margin-bottom: 20px; }
.footer__logo-full {
  width: 140px;
  height: auto;
  display: block;
}
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;          /* было 16 */
  color: var(--text-on-ink-muted);
  max-width: 300px;
}
.footer h4 {
  font-size: 12px;          /* было 11 */
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a,
.footer__contact a {
  font-size: 15px;          /* было 14.5 */
  color: var(--text-on-ink-muted);
  transition: color .3s;
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--gold-bright); }
.footer__contact p {
  font-size: 14.5px;        /* было 14 */
  line-height: 1.6;
  color: var(--text-on-ink-faint);
  margin-top: 10px;
}
.footer__cta p {
  font-size: 14.5px;
  color: var(--text-on-ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 36px;
  border-top: 1px solid var(--ink-line);
  font-size: 12.5px;        /* было 12 */
  color: var(--text-on-ink-faint);
  letter-spacing: 0.04em;
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   МОДАЛКИ
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: backdropIn .3s var(--ease-out);
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative;
  z-index: 1;
  background: var(--ink-mid);
  border: 1px solid var(--ink-line);
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  animation: panelIn .45s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__panel--house { max-width: 1100px; }
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  display: grid;
  place-items: center;
  color: var(--text-on-ink-muted);
  z-index: 2;
  transition: all .3s;
}
.modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg);
}
.modal__body { padding: clamp(32px, 4vw, 60px); }
.modal__panel--form .modal__body .eyebrow { margin-bottom: 18px; }
.modal__panel--form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
  color: var(--text-on-ink);
  margin-bottom: 14px;
}
.modal__panel--form .modal__body > p {
  color: var(--text-on-ink-muted);
  margin-bottom: 32px;
  font-size: 15.5px;
}
.modal-form .field { margin-bottom: 20px; }
.modal-form .btn { margin-top: 10px; }

.house-modal {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}
.house-modal__plan {
  background: var(--ink-deep);
  padding: 20px;
  border: 1px solid var(--ink-line);
}
.house-modal__plan img {
  width: 100%;
  height: auto;
  display: block;
}
.house-modal__plan .plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.house-modal__plan .plan-grid img { border: 1px solid var(--ink-line); }
.plan-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-top: 12px;
  font-weight: 600;
}
.house-modal__info .eyebrow { margin-bottom: 16px; }
.house-modal__info h3 {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-on-ink);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.house-modal__info .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-bright);
  margin-bottom: 26px;
}
.house-modal__info .desc {
  color: var(--text-on-ink-muted);
  line-height: 1.75;
  margin-bottom: 26px;
  font-size: 16.5px;
}
.house-modal__features {
  margin-bottom: 30px;
  border-top: 1px solid var(--ink-line);
}
.house-modal__features li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 15px;
}
.house-modal__features li span {
  color: var(--text-on-ink-faint);
  letter-spacing: 0.04em;
}
.house-modal__features li b {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-on-ink);
  font-size: 17px;
}
.house-modal__price {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-bright);
  margin-bottom: 26px;
  font-weight: 500;
}
.house-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 800px) {
  .house-modal { grid-template-columns: 1fr; }
}

/* ============================================================
   ТОАСТ + BACK TO TOP
   ============================================================ */

.toast {
  position: fixed;
  bottom: 36px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  background: var(--gold);
  color: var(--ink-deep);
  padding: 16px 32px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  z-index: 60;
  transition: opacity .35s, transform .35s var(--ease), background .3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  box-shadow: var(--shadow-gold);
}
.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--gold-bright);
  transform: translateY(-3px);
}
@media (max-width: 720px) {
  .back-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}

/* ============================================================
   ФИНАЛЬНЫЕ ПРАВКИ v3
   - Hero overline крупнее
   - Hero lead — белый цвет
   - Без декоративных точек
   - Новый генплан (готовое изображение, без живых пинов)
   - Без счётчика 01/04
   - Все мелкие шрифты — крупнее
   ============================================================ */

/* HERO — overline крупнее, lead белым */
.hero__overline {
  font-size: 16px;                 /* было 14 */
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  margin-bottom: 44px;
}
.hero__overline-line {
  width: 72px;
}
.hero__lead {
  color: var(--text-on-ink) !important;   /* белый/cream */
  font-weight: 400;                /* было 300 */
  font-size: 20px;                 /* было 18.5 */
  line-height: 1.7;
  max-width: 660px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero__sub {
  font-size: clamp(26px, 3vw, 38px);
}

/* ============================================================
   ГЕНПЛАН — новый layout с готовым изображением
   ============================================================ */

.genplan__hero {
  position: relative;
  margin: 0 auto 56px;
  border: 1px solid var(--ink-line);
  background: var(--ink-mid);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-radius: 2px;
}
.genplan__hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.8s var(--ease-out);
}
.genplan__hero:hover .genplan__hero-img {
  transform: scale(1.02);
}

/* Легенда — карточки в ряд под изображением */
.genplan__legend-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.legend-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--ink-line);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.legend-card--house {
  cursor: pointer;
}
.legend-card--house:hover {
  background: rgba(200,168,118,0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.4);
}
.legend-card__num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.legend-card__num--letter {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-brand);
  font-size: 15px;
}
.legend-card__title {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-on-ink);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.legend-card__desc {
  font-size: 13px;
  color: var(--text-on-ink-faint);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@media (max-width: 1180px) {
  .genplan__legend-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .genplan__legend-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .legend-card { padding: 14px; gap: 12px; }
  .legend-card__title { font-size: 14.5px; }
  .legend-card__desc { font-size: 12px; }
}

/* ============================================================
   КРУПНЕЕ МЕЛКИЕ ШРИФТЫ ВЕЗДЕ
   ============================================================ */

body { font-size: 18px; }                /* было 17 */

.eyebrow {
  font-size: 14.5px;                     /* было 13 */
  letter-spacing: 0.3em;
  margin-bottom: 32px;
}

.section-sub {
  font-size: 20.5px;                     /* было 19 */
  line-height: 1.6;
}

.lead {
  font-size: 19.5px;                     /* было 18.5 */
  line-height: 1.75;
}

.stat__label {
  font-size: 15.5px;                     /* было 14.5 */
}

.location__list-time {
  font-size: 32px;                       /* было 30 */
}
.location__list-title {
  font-size: 19px;                       /* было 18 */
}
.location__list-desc {
  font-size: 15.5px;                     /* было 14.5 */
}

.house-tab__name {
  font-size: 24px;                       /* было 22 */
}
.house-tab__meta {
  font-size: 14px;                       /* было 13 */
}

.house__name {
  font-size: clamp(52px, 6.5vw, 88px);   /* было 48-80 */
}
.house__tagline {
  font-size: 24.5px;                     /* было 23 */
}
.house__desc {
  font-size: 18px;                       /* было 17 */
}
.house__specs span {
  font-size: 13.5px;                     /* было 12.5 */
}
.house__specs b {
  font-size: 24.5px;                     /* было 23 */
}

.m-row__name {
  font-size: 25.5px;                     /* было 24 */
}
.m-row__hint {
  font-size: 14px;                       /* было 13 */
}
.m-row__rate b {
  font-size: 32px;                       /* было 30 */
}
.m-row__sum {
  font-size: 15.5px;
}
.m-row__sum b {
  font-size: 25.5px;                     /* было 24 */
}

.cta-strip__title {
  font-size: clamp(36px, 4.4vw, 56px);
}
.cta-strip__desc {
  font-size: 18.5px;                     /* было 17.5 */
}

.contacts__label {
  font-size: 13px;                       /* было 12 */
  letter-spacing: 0.26em;
}
.contacts__list p {
  font-size: 18px;                       /* было 17 */
}

.contact-form h3 {
  font-size: 36px;                       /* было 34 */
}
.contact-form header p {
  font-size: 16.5px;                     /* было 15.5 */
}
.field span {
  font-size: 13px;                       /* было 12 */
}
.field input,
.field textarea {
  font-size: 18px;                       /* было 17 */
}

.footer__tagline {
  font-size: 18px;                       /* было 17 */
}
.footer h4 {
  font-size: 13px;                       /* было 12 */
}
.footer__nav a,
.footer__contact a {
  font-size: 16px;                       /* было 15 */
}
.footer__contact p,
.footer__cta p {
  font-size: 15.5px;                     /* было 14.5 */
}

.house-modal__features li {
  font-size: 16px;                       /* было 15 */
}
.house-modal__features li b {
  font-size: 18px;                       /* было 17 */
}
.house-modal__price {
  font-size: 32px;                       /* было 30 */
}


/* ============================================================
   v4 — PREMIUM UPGRADE
   - Glassmorphism header (iOS-style)
   - Гармоничный генплан с оверлеем и брендом
   - Больше сложных анимаций
   ============================================================ */

/* ---------- GLASSMORPHISM HEADER ---------- */
.header {
  background: rgba(10, 21, 48, 0.28);           /* полупрозрачный сразу */
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .5s var(--ease),
              padding .5s var(--ease),
              border-color .5s var(--ease),
              box-shadow .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(10, 21, 48, 0.72);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border-bottom: 1px solid rgba(200, 168, 118, 0.16);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6);
  padding: 12px 0;
}

/* лёгкое свечение под лого */
.header__logo {
  position: relative;
}
.header__logo::before {
  content: "";
  position: absolute;
  inset: -8px -18px;
  background: radial-gradient(ellipse at center, rgba(200,168,118,0.14), transparent 70%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  border-radius: 20px;
}
.header__logo:hover::before { opacity: 1; }

/* Тонкое подсвечивание кнопки при наведении с золотым сиянием */
.btn--gold {
  position: relative;
  overflow: hidden;
}
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transition: left .8s var(--ease-out);
  pointer-events: none;
}
.btn--gold:hover::after {
  left: 100%;
}

/* ============================================================
   ГЕНПЛАН — премиум оформление
   ============================================================ */
.genplan__hero {
  position: relative;
  margin: 0 auto 56px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-mid);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(200,168,118,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  isolation: isolate;
}
.genplan__hero::before {
  /* декоративная золотая рамка изнутри */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(200,168,118,0.25);
  z-index: 3;
  pointer-events: none;
  border-radius: 2px;
  transition: inset .8s var(--ease-out), border-color .8s;
}
.genplan__hero:hover::before {
  inset: 8px;
  border-color: rgba(200,168,118,0.5);
}
.genplan__hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 2.2s var(--ease-out), filter 1s;
}
.genplan__hero:hover .genplan__hero-img {
  transform: scale(1.03);
  filter: brightness(1.05) saturate(1.1);
}

/* Плавный градиент сверху для интеграции */
.genplan__overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(10, 21, 48, 0.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.genplan__overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 22%;
  background: linear-gradient(0deg, rgba(10, 21, 48, 0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Бренд-оверлей внутри генплана */
.genplan__brand {
  position: absolute;
  top: 32px; right: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  background: rgba(10, 21, 48, 0.45);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(200,168,118,0.3);
  border-radius: 2px;
  z-index: 4;
  transition: all .5s var(--ease);
}
.genplan__brand:hover {
  background: rgba(10, 21, 48, 0.65);
  border-color: rgba(200,168,118,0.55);
  transform: translateY(-2px);
}
.genplan__brand-mark {
  width: 34px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.genplan__brand-name {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--cream);
  line-height: 1;
}
.genplan__brand-sub {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 168, 118, 0.85);
  margin-top: 6px;
}

/* легенда — премиум */
.legend-card {
  position: relative;
  overflow: hidden;
}
.legend-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(200,168,118,0.08), transparent 50%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.legend-card--house:hover::before { opacity: 1; }
.legend-card__num {
  position: relative;
  transition: transform .5s var(--ease-out);
}
.legend-card--house:hover .legend-card__num {
  transform: scale(1.08) rotate(-5deg);
}
.legend-card--house::after {
  content: "→";
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%) translateX(-8px);
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  transition: all .5s var(--ease-out);
  font-family: var(--font-body);
}
.legend-card--house:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 720px) {
  .genplan__brand {
    top: 14px; right: 14px;
    padding: 10px 14px 10px 12px;
    gap: 10px;
  }
  .genplan__brand-mark { width: 26px; }
  .genplan__brand-name { font-size: 12px; letter-spacing: 0.2em; }
  .genplan__brand-sub { font-size: 8px; }
}

/* ============================================================
   PREMIUM АНИМАЦИИ И МИКРО-ВЗАИМОДЕЙСТВИЯ
   ============================================================ */

/* Плавное появление h2 с золотой чертой снизу */
.title-display {
  position: relative;
  display: inline-block;
}

/* Ссылки в шапке — премиум подчёркивание с задержкой */
.header__nav a::after {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform .55s var(--ease-out);
}

/* Плавающий шимер на eyebrow */
.eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold));
  animation: shimmerLine 4s ease-in-out infinite;
}
@keyframes shimmerLine {
  0%, 100% { opacity: 0.6; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.15); }
}

/* Фото домов — тонкая рамка при hover + parallax тень */
.house__photo {
  position: relative;
  transition: box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.house__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .6s, inset .6s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.house__photo:hover {
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
  transform: translateY(-4px);
}
.house__photo:hover::after {
  inset: 12px;
  border-color: rgba(200,168,118,0.55);
}

/* прайс-тэг с золотым свечением */
.house__price-tag {
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.house__photo:hover .house__price-tag {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -10px rgba(200,168,118,0.6);
}

/* Stats — число появляется с эффектом типографской классики */
.stat {
  position: relative;
  transition: transform .55s var(--ease-out);
}
.stat:hover { transform: translateY(-4px); }
.stat::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .7s var(--ease-out);
}
.stat:first-child::after { left: 0; }
.stat:hover::after { width: 60%; }
.stat__num {
  transition: color .4s;
}
.stat:hover .stat__num { color: var(--gold); }

/* Contact icons — премиум hover */
.contacts__list li {
  transition: transform .5s var(--ease-out);
}
.contacts__list li:hover {
  transform: translateX(6px);
}
.contacts__icon {
  transition: all .5s var(--ease-out);
}
.contacts__list li:hover .contacts__icon {
  background: var(--gold);
  color: var(--ink-deep);
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 8px 24px -8px rgba(200,168,118,0.5);
}

/* Форма — плавная золотая линия под фокусом */
.field {
  position: relative;
}
.field input,
.field textarea {
  transition: border-color .4s, padding-left .4s var(--ease-out);
}
.field input:focus,
.field textarea:focus {
  padding-left: 8px;
}
.field::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .5s var(--ease-out);
  pointer-events: none;
}
.field:focus-within::after {
  width: 100%;
}

/* CTA-strip — сложный эффект градиента */
.cta-strip {
  position: relative;
}
.cta-strip::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent, rgba(200,168,118,0.06), transparent 30%);
  animation: rotateGold 30s linear infinite;
  pointer-events: none;
}
@keyframes rotateGold {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* House-tabs с плавной подложкой */
.house-tab {
  position: relative;
  overflow: hidden;
}
.house-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(200,168,118,0.05));
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.house-tab.is-active::after { opacity: 1; }

/* Плавное появление секций с blur → sharp */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 1.2s var(--ease-out),
              transform 1.2s var(--ease-out),
              filter 1.2s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Location map — премиум hover с параллаксом */
.location__map {
  transition: transform .6s var(--ease-out), box-shadow .6s;
  overflow: hidden;
  position: relative;
}
.location__map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,168,118,0.05), transparent 40%, rgba(200,168,118,0.03));
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s;
}
.location__map:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 60px -30px rgba(0,0,0,0.65);
}
.location__map:hover::before { opacity: 1; }
.location__map img {
  transition: transform 2s var(--ease-out);
}
.location__map:hover img {
  transform: scale(1.03);
}

/* Location list — золотая линия слева при hover */
.location__list li {
  position: relative;
  transition: background .4s;
}
.location__list li::before {
  content: "";
  position: absolute;
  left: -20px; top: 26px; bottom: 26px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.location__list li:hover::before {
  transform: scaleY(1);
}
.location__list li:hover .location__list-time {
  color: var(--gold);
}

/* About media — плавный сдвиг рамки при hover */
.about__photo-frame {
  transition: top .8s var(--ease-out),
              left .8s var(--ease-out),
              right .8s var(--ease-out),
              bottom .8s var(--ease-out);
}
.about__media:hover .about__photo-frame {
  top: 26px; left: 26px; right: -26px; bottom: -26px;
}

/* About caption пульсирует */
.about__caption {
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.about__caption:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}

/* env features — золотая точка перед hover */
.env__features li {
  transition: padding-left .4s var(--ease-out), color .4s;
}
.env__features li:hover {
  padding-left: 44px;
  color: var(--text-on-ink);
}
.env__features li::before {
  transition: width .4s var(--ease-out);
}
.env__features li:hover::before {
  width: 30px;
}

/* mortgage rows */
.m-row {
  transition: background .4s, padding-left .5s var(--ease-out);
}
.m-row:not(.m-row--head):not(.m-row--accent):hover {
  background: rgba(200,168,118,0.03);
  padding-left: 10px;
}

/* CINEMATIC: медленный zoom на hero image */
.hero__bg img {
  animation: heroPanCinematic 40s ease-in-out infinite alternate;
}
@keyframes heroPanCinematic {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  50%  { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
  100% { transform: scale(1.08) translate3d(1%, -0.5%, 0); }
}

/* Красивая fade-анимация появления hero контента */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Footer — золотые ссылки с плавным подчёркиванием */
.footer__nav a,
.footer__contact a {
  position: relative;
  padding-bottom: 2px;
}
.footer__nav a::after,
.footer__contact a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .5s var(--ease-out);
}
.footer__nav a:hover::after,
.footer__contact a:hover::after {
  width: 100%;
}

/* Плавная анимация появления счётчиков в stats */
.stat__num {
  will-change: transform;
}

/* прекратил transition для hero__title, чтоб первая загрузка не мерцала */
.hero__title {
  will-change: transform, opacity;
}

/* декоративные точки убраны */
.deco-dot { display: none !important; }


/* ---------- Fix: eyebrow в центрированных section-head ---------- */
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head--center .eyebrow {
  margin-bottom: 24px;
}
.section-head--center .title-display {
  text-align: center;
}
.section-head--center .section-sub {
  margin-top: 24px;
}

/* мобильное позиционирование бренда на генплане */
@media (max-width: 600px) {
  .genplan__brand {
    top: 8px; right: 8px;
    padding: 6px 10px 6px 8px;
    gap: 6px;
    max-width: 60%;
  }
  .genplan__brand-mark { width: 22px; }
  .genplan__brand-name { font-size: 10px; letter-spacing: 0.16em; }
  .genplan__brand-sub { font-size: 7px; margin-top: 3px; }
}
