/* ============================================================
   VILLAS — ЖК detail (single product) page, desktop
   Builds on villas-home.css (tokens, header/footer) + villas-catalog.css (.v-nov).
   Figma node 2936:5057 — "Страница самой ЖК"
   ============================================================ */

/* ---------------- HERO ---------------- */
.v-jk-hero {
  position: relative;
  height: 100vh;
  min-height: 840px;
  max-height: 1080px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0e0e0e;
}

.v-jk-hero__bg {
  position: absolute;
  inset: 0;
}

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

.v-jk-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(232deg, rgba(14, 14, 14, .2) 28%, #0e0e0e 83%);
}

.v-jk-hero__crumb {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 3;
}

.v-jk-hero__crumb .v-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #fff;
}

.v-jk-hero__crumb a {
  color: #fff;
}

.v-jk-hero__crumb a:hover {
  color: var(--v-gold);
}

.v-jk-hero__crumb span {
  opacity: .5;
}

.v-jk-hero__crumb .v-jk-hero__crumb-cur {
  opacity: .5;
}

.v-jk-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: 90px;
}

.v-jk-hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.v-jk-hero__left {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.v-jk-hero__head {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.v-jk-badge {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--v-gold);
  color: #0e0e0e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.v-jk-hero__title {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 80px;
  line-height: 1.1;
  letter-spacing: -.8px;
  text-transform: uppercase;
  color: #fff;
}

.v-jk-hero__sub {
  font-size: 24px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .6);
  max-width: 729px;
}

.v-jk-hero__meta {
  display: flex;
  gap: 32px;
}

.v-jk-hero__metaitem {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-size: 20px;
  color: #fff;
}

.v-jk-hero__metaitem svg {
  width: 24px;
  height: 24px;
  color: var(--v-gold);
}

.v-jk-hero__sale {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 40px;
  border-radius: 100px;
  border: 1px solid #f3d1a4;
  background: linear-gradient(112deg, #2c542d 1%, #141e1f 103%);
  color: #fff;
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.v-jk-hero__sale svg {
  width: 16px;
  height: 16px;
  color: var(--v-gold);
}

.v-jk-hero__stats {
  display: flex;
  gap: 24px;
}

.v-jk-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.v-jk-hero__stat-label {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #c9a96e;
}

.v-jk-hero__stat-value {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.32px;
  color: #fff;
  text-transform: uppercase;
}

.v-jk-hero__stat-value sup {
  font-size: .65em;
}

.v-jk-hero__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 428px;
  flex-shrink: 0;
}

.v-jk-hero__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 80px;
  padding: 0 32px 0 16px;
  border-radius: 16px;
}

.v-jk-hero__btn-ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(154, 143, 128, .5);
}

.v-jk-hero__btn-ic svg {
  width: 22px;
  height: 22px;
}

.v-jk-hero__btn--gold {
  background: var(--v-grad);
  color: var(--v-dark);
}

.v-jk-hero__btn--gold .v-jk-hero__btn-txt {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.v-jk-hero__btn--glass {
  background: rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(154, 143, 128, .2);
}

.v-jk-hero__btn--glass .v-jk-hero__btn-ic {
  color: #fff;
}

.v-jk-hero__btn--glass .v-jk-hero__btn-txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-jk-hero__btn--glass .v-jk-hero__btn-txt strong {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: var(--v-gold);
}

.v-jk-hero__btn--glass .v-jk-hero__btn-txt span {
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.v-jk-hero__consult {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(154, 143, 128, .2);
  background: linear-gradient(130deg, #2e2e2e 14%, #1a1a1a 89%);
}

.v-jk-hero__consult-ava {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #080705;
}

.v-jk-hero__consult-txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-jk-hero__consult-txt strong {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
}

.v-jk-hero__consult-txt span {
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #c9a96e;
}

/* ---------------- STICKY TAB NAV ---------------- */
.v-jk-nav {
  position: sticky;
  top: 75px;
  /* sits below the fixed site header */
  z-index: 40;
  background: rgba(14, 14, 14, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--v-line);
}

.v-jk-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 64px;
}

.v-jk-nav a {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.v-jk-nav a:hover,
.v-jk-nav a.is-active {
  color: var(--v-gold);
  border-bottom-color: var(--v-gold);
}

.v-jk-nav__fav {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--v-line-2);
  color: #fff;
  background: none;
  font-size: 14px;
}

.v-jk-nav__fav svg {
  width: 16px;
  height: 16px;
}

.v-jk-nav__fav.is-active {
  color: var(--v-gold);
  border-color: var(--v-gold);
}

.v-jk-nav__fav.is-active svg {
  fill: var(--v-gold);
}

/* ---------------- shared section bits ---------------- */
.v-jk-sec {
  padding-top: 96px;
  padding-bottom: 120px;
}

.v-jk-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v-gold);
}

.v-jk-h2 {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: #fff;
}

/* ---------------- ABOUT ---------------- */
.v-jk-about__grid {
  display: grid;
  grid-template-columns: 873px 1fr;
  gap: 75px;
  align-items: start;
}

.v-jk-about__img {
  width: 100%;
  aspect-ratio: 1;
  /* object-fit: cover; */
  border-radius: 24px !important;
  overflow: hidden;

}

.v-jk-about__title {
  margin: 14px 0 32px;
}

.v-jk-about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.v-jk-about__text p {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .74);
}

/* ---------------- ADVANTAGES ---------------- */
.v-jk-adv__head {
  max-width: 620px;
}

.v-jk-adv__title {
  margin-top: 12px;
}

/* outer: class card (left) + 2×2 tiles (right) */
.v-jk-adv__bento {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 40px;
}

/* ---- left: class showcase card ---- */
.v-jk-cls {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 72px;
  /* border: 1px solid #f3d1a4; */
  /* border-radius: 24px; */
  /* overflow: hidden; */
  isolation: isolate;
}

.villas-home .v-jk-cls__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.v-jk-cls::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(217deg, rgba(14, 14, 14, .2) 55%, #0e0e0e 84%);
}

.v-jk-cls__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v-jk-cls__eyebrow {
  font-family: var(--v-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #c9a96e;
}

.v-jk-cls__name {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -.64px;
  text-transform: uppercase;
  color: #fff;
}

.v-jk-cls__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.v-jk-cls__stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.v-jk-cls__stat-ic {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--v-gold);
}

.v-jk-cls__stat-ic svg,
.v-jk-cls__stat-ic img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.v-jk-cls__stat-tx {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.v-jk-cls__stat-label {
  font-family: var(--v-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.v-jk-cls__stat-val {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

/* ---- right: 2×2 tiles ---- */
.v-jk-adv__tiles {
  flex: 1.42 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v-jk-trow {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.v-jk-trow--a {
  grid-template-columns: 0.426fr 0.574fr;
}

.v-jk-trow--b {
  grid-template-columns: 0.574fr 0.426fr;
}

.v-jk-tile {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  isolation: isolate;
}


.villas-home .v-jk-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.v-jk-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.v-jk-tile--rect {
  aspect-ratio: 576 / 428;
  /* border-radius: 24px; */
  justify-content: flex-end;
  align-items: flex-start;
}

.v-jk-tile--rect::after {
  background: linear-gradient(205deg, rgba(14, 14, 14, .12) 50%, #0e0e0e 86%);
}

.v-jk-tile--circle {
  aspect-ratio: 1;
  border-radius: 999px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 4%, 46px) 32px;
}

.v-jk-tile--circle::after {
  background: linear-gradient(to top, rgba(14, 14, 14, .15) 28%, #0e0e0e 94%);
}

.v-jk-tile__cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.v-jk-tile--circle .v-jk-tile__cap {
  align-items: center;
}

.v-jk-tile__top {
  font-family: var(--v-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.2;
  color: #fff;
}

.v-jk-tile__big {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.5px;
  color: #fff;
}

.v-jk-tile__unit {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
}

.v-jk-tile--gold .v-jk-tile__big {
  color: var(--v-gold);
}

.v-jk-tile__sub {
  font-family: var(--v-serif);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.2;
  color: #fff;
}

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .v-jk-adv__bento {
    flex-direction: column;
  }

  .v-jk-hero__btn--gold .v-jk-hero__btn-txt,
  .v-jk-hero__btn {
    font-size: 18px;
  }

  .v-jk-hero__consult-txt strong {
    font-size: 20px;
  }

  .v-jk-cls {
    flex: 0 0 auto;
    padding: 44px 36px;
    gap: 40px;
  }

  .v-jk-adv__tiles {
    flex: none;
    width: 100%;
  }

  /* circles → rounded rects so long captions fit on smaller widths */
  .v-jk-trow--a,
  .v-jk-trow--b {
    grid-template-columns: 1fr 1fr;
  }

  .v-jk-tile--circle {
    aspect-ratio: 576 / 428;
    border-radius: 24px;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 32px;
  }

  .v-jk-tile--circle .v-jk-tile__cap {
    align-items: flex-start;
  }

  .v-jk-tile--circle::after {
    background: linear-gradient(205deg, rgba(14, 14, 14, .12) 50%, #0e0e0e 86%);
  }
}

@media (max-width: 600px) {
  .v-jk-cls {
    padding: 26px 20px;
    gap: 26px;
  }

  .v-jk-cls__name {
    font-size: 28px;
  }

  .v-jk-cls__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .v-jk-cls__stat-ic,
  .v-jk-cls__stat-ic svg,
  .v-jk-cls__stat-ic img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .v-jk-cls__stat-val {
    font-size: 22px;
  }

  /* tiles stay 2-up but compact (square) — cuts the huge vertical scroll */
  .v-jk-tile--rect,
  .v-jk-tile--circle {
    aspect-ratio: 1 / 1;
  }

  .v-jk-tile {
    padding: 16px;
  }

  .v-jk-tile__cap {
    gap: 5px;
  }

  .v-jk-tile__big {
    font-size: 22px;
  }

  .v-jk-tile__top,
  .v-jk-tile__sub,
  .v-jk-tile__unit {
    font-size: 13px;
  }
}

/* ---------------- CONSTRUCTION PROGRESS / IMAGE STRIP ---------------- */
.v-jk-progress {
  margin-top: 64px;
}

.v-jk-progress__title {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.3px;
  text-transform: uppercase;
  color: #fff;
}

.v-jk-progress__sub {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .65);
  max-width: 620px;
}

.v-jk-strip {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.v-jk-shot {
  flex-shrink: 0;
  width: 280px;
  margin: 0;
}

.v-jk-strip img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.v-jk-shot__cap {
  margin-top: 12px;
}

.v-jk-shot__cap strong {
  display: block;
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}

.v-jk-shot__cap span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.v-jk-strip::-webkit-scrollbar {
  height: 6px;
}

.v-jk-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .15);
  border-radius: 3px;
}

/* ---------------- PLANS ---------------- */
.v-jk-plans__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 576px;
  gap: 32px;
  align-items: start;
}

.v-jk-plans__sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--v-dim);
}

.v-jk-plans__list {
  margin: 32px 0;
  border-top: 1px solid var(--v-line);
}

.v-jk-plan {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--v-line);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.v-jk-plan:hover {
  background: rgba(255, 255, 255, .02);
}

.v-jk-plan.is-active {
  background: rgba(201, 169, 110, .06);
  border-left-color: var(--v-gold);
}

.v-jk-plan__type {
  font-size: 20px;
  color: #fff;
}

.v-jk-plan__price,
.v-jk-plan__area {
  font-size: 16px;
  color: var(--v-dim);
}

.v-jk-plan__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--v-gold);
  white-space: nowrap;
}

.v-jk-plan__count svg {
  width: 18px;
  height: 18px;
}

.v-jk-plan__count:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v-jk-plan__count:hover svg {
  color: var(--v-gold);
}

.v-jk-plans__card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--v-line);
  background: var(--v-surface);
  padding: 32px;
}

.v-jk-plans__card-txt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--v-dim);
  margin-bottom: 24px;
}

.v-jk-plans__card-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

/* ---------------- GALLERY ---------------- */
.v-jk-gal__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.v-jk-gal__big {
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
}

.v-jk-gal__big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-jk-gal__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.v-jk-gal__sm {
  position: relative;
  height: 324px;
  border-radius: 16px;
  overflow: hidden;
}

.v-jk-gal__sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-jk-gal__more {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(14, 14, 14, .55);
  color: #fff;
}

.v-jk-gal__more-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.50);
  stroke-width: 1px;
  stroke: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(12px);
}

.v-jk-gal__more strong {
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.v-jk-gal__more span {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

/* ---------------- PRESENTATION CTA ---------------- */
.v-jk-present {
  background: linear-gradient(120deg, #1a1714 0%, #0e0e0e 70%);
}

.v-jk-present__grid {
  display: grid;
  grid-template-columns: 1fr 575px 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
}

.v-jk-present__title {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: #fff;
}

.v-jk-present__circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: contain;
}

.v-jk-present__side {
  max-width: 428px;
}

.v-jk-present__side p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--v-dim-2);
  margin-bottom: 32px;
}

/* ---------------- MAP ---------------- */
.v-jk-map__frame {
  margin-top: 40px;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--v-line);
}

.v-jk-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.4) invert(.92) hue-rotate(180deg) brightness(.9) contrast(.9);
}

/* ---------------- PLACES NEARBY ---------------- */
.v-jk-places__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.v-jk-places__tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--v-line-2);
  border-radius: 100px;
  overflow: hidden;
}

.v-jk-places__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  color: var(--v-dim);
  border: none;
  background: none;
}

.v-jk-places__tab svg {
  width: 20px;
  height: 20px;
}

.v-jk-places__tab.is-active {
  background: var(--v-gold);
  color: var(--v-dark);
}

/* full-bleed strip: infinite horizontal scroll — native swipe/drag + JS auto-scroll
   (3 copies in markup; the JS loops scrollLeft seamlessly) */
.v-jk-places__row {
  margin-top: 40px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.v-jk-places__row::-webkit-scrollbar {
  display: none;
}

.v-jk-places__row.is-grabbing {
  cursor: grabbing;
}

.v-jk-places__track {
  display: flex;
  width: max-content;
  padding-bottom: 4px;
}

.v-jk-place {
  position: relative;
  flex: 0 0 auto;
  width: 445px;
  max-width: 78vw;
  margin-right: 20px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
}

/* место без времени для выбранной вкладки («Пешком» / «На авто») не показываем */
.v-jk-place.is-off {
  display: none;
}

.v-jk-place img {
  -webkit-user-drag: none;
}

.v-jk-place img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-jk-place::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 14, 14, .5));
}

/* caption: frosted panel, absolutely centered, pinned near the bottom */
.v-jk-place__cap {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-radius: 20px;
  text-align: center;
  background: rgba(18, 18, 18, .32);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.v-jk-place__cap strong {
  display: block;
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.v-jk-place__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

.v-jk-place__meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .7);
}

/* ---------------- DEVELOPER ---------------- */
.v-jk-dev__grid {
  display: grid;
  grid-template-columns: 871px 1fr;
  gap: 40px;
  align-items: center;
}

.v-jk-dev__title {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -.5px;
  color: #fff;
}

.v-jk-dev__text {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--v-dim-2);
  max-width: 720px;
}

.v-jk-dev__logo {
  height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--v-line);
  background: var(--v-surface);
  font-family: var(--v-sans);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: 18px;
  color: #fff;
  text-indent: 18px;
}

/* ---------------- IPOTEKA CTA ---------------- */
.v-jk-ipoteka__grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 96px;
  align-items: center;
}

.v-jk-ipoteka__media {
  position: relative;
  height: 640px;
  border-radius: 16px;
  overflow: hidden;
}

.v-jk-ipoteka__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-jk-ipoteka__tag {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
}

.v-jk-ipoteka__tag span {
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #c9a96e;
}

.v-jk-ipoteka__tag strong {
  display: block;
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  margin-top: 4px;
}

.v-jk-ipoteka__title {
  font-family: var(--v-serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: #fff;
}

.v-jk-ipoteka__desc {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--v-dim-2);
  max-width: 600px;
}

.v-jk-ipoteka__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
}

.v-jk-ipoteka__badge svg {
  width: 28px;
  height: 28px;
  color: var(--v-gold);
}

.v-jk-ipoteka__btn {
  margin-top: 32px;
}

/* ---------------- FAQ ---------------- */
.v-jk-faq__list {
  margin-top: 48px;
  border-top: 1px solid var(--v-line);
}

.v-jk-faq__item {
  border-bottom: 1px solid var(--v-line);
}

.v-jk-faq__q {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 30px;
  align-items: start;
  padding: 40px 0;
  cursor: pointer;
  list-style: none;
}

.v-jk-faq__q::-webkit-details-marker {
  display: none;
}

.v-jk-faq__icon {
  width: 50px;
  height: 50px;
  position: relative;
  flex-shrink: 0;
}

.v-jk-faq__icon::before,
.v-jk-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--v-gold);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.v-jk-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.v-jk-faq__item[open] .v-jk-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.v-jk-faq__qtext {
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
  padding-top: 10px;
}

.v-jk-faq__a {
  padding: 0 0 40px 80px;
  max-width: 900px;
  margin-left: auto;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .74);
}

/* ---------------- SIMILAR ---------------- */
.v-jk-similar__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.v-jk-similar__title {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
}

.v-jk-similar__nav {
  display: flex;
  gap: 12px;
}

.v-jk-similar__nav button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--v-line-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.v-jk-similar__nav button svg {
  width: 24px;
  height: 24px;
}

.v-jk-similar__nav button:hover {
  border-color: var(--v-gold);
  color: var(--v-gold);
}

.v-jk-similar__row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.v-jk-similar__row .v-nov__media {
  height: 300px;
}

.v-jk-bottom {
  padding-bottom: 120px;
}

/* ------------------------------------------------------------
   Image-width fix. The global `.villas-home img { width: 324px }`
   (specificity 0,1,1) wins over the class-on-<img> rules below
   (0,1,0), squashing these four images to 324px. Re-assert their
   width with a higher-specificity selector (0,2,0) so they size
   correctly. (Container `… img` selectors are 0,1,1 and load after
   the reset, so they were unaffected.)
   ------------------------------------------------------------ */
.villas-home .v-jk-about__img,
.villas-home .v-jk-plans__card-img,
.villas-home .v-jk-present__circle {
  width: 100%;
}

.villas-home .v-jk-hero__consult-ava {
  width: 64px;
  border-radius: 999px;
}

/* ============================================================
   RESPONSIVE — ЖК detail page
   (container side-padding is handled by villas-home.css)
   ============================================================ */
@media (max-width: 1280px) {
  .v-jk-h2 {
    font-size: 46px;
  }

  .v-jk-hero__title {
    font-size: 64px;
  }

  .v-jk-about__grid {
    grid-template-columns: minmax(0, 1fr) 1fr;
    gap: 48px;
  }

  .v-jk-plans__grid {
    grid-template-columns: 1fr 440px;
  }

  .v-jk-gal__big {
    height: 460px;
  }

  .v-jk-gal__sm {
    height: 260px;
  }

  .v-jk-dev__grid {
    grid-template-columns: minmax(0, 1.1fr) 1fr;
  }

  .v-jk-ipoteka__grid {
    grid-template-columns: 420px 1fr;
    gap: 56px;
  }

  .v-jk-ipoteka__media {
    height: 560px;
  }

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

  .v-jk-present__title {
    font-size: 40px;
  }
}

@media (max-width: 1024px) {
  .v-jk-sec {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .v-jk-h2 {
    font-size: 40px;
  }

  /* hero → stacked, height driven by content */
  .v-jk-hero {
    height: auto;
    min-height: 640px;
    max-height: none;
    padding-top: 140px;
  }

  .v-jk-hero__inner {
    padding-bottom: 48px;
  }

  .v-jk-hero__crumb {
    top: 96px;
  }

  .v-jk-hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .v-jk-hero__left {
    gap: 36px;
  }

  .v-jk-hero__title {
    font-size: 52px;
  }

  .v-jk-hero__sub {
    font-size: 18px;
  }

  .v-jk-hero__right {
    width: 100%;
    max-width: 460px;
  }

  /* sticky tab-nav scrolls horizontally */
  .v-jk-nav__inner {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .v-jk-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .v-jk-nav a {
    flex-shrink: 0;
  }

  .v-jk-nav__fav {
    flex-shrink: 0;
  }

  .v-jk-about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .v-jk-about__img {
    max-width: 560px;
    margin: 0 auto;
  }

  .v-jk-plans__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .v-jk-plans__card-img {
    height: 360px;
  }

  .v-jk-gal__grid {
    grid-template-columns: 1fr;
  }

  .v-jk-gal__big {
    height: 420px;
  }

  .v-jk-gal__sm {
    height: 220px;
  }

  .v-jk-present__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
    padding: 56px 0;
  }

  .v-jk-present__circle {
    max-width: 340px;
  }

  .v-jk-present__side {
    max-width: 520px;
  }

  .v-jk-map__frame {
    height: 400px;
  }

  .v-jk-dev__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .v-jk-dev__title {
    font-size: 36px;
  }

  .v-jk-dev__logo {
    height: 200px;
    font-size: 40px;
    letter-spacing: 12px;
  }

  .v-jk-ipoteka__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .v-jk-ipoteka__media {
    height: 460px;
    max-width: 560px;
  }

  .v-jk-ipoteka__title {
    font-size: 40px;
  }

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

@media (max-width: 768px) {


  .v-jk-sec {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .v-jk-h2 {
    font-size: 26px;
    letter-spacing: -.2px;
  }

  .v-jk-eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .v-jk-about__text p {
    font-size: 16px;
  }

  .v-jk-progress {
    margin-top: 44px;
  }

  .v-jk-progress__title {
    font-size: 24px;
  }

  /* hero */
  .v-jk-hero {
    min-height: 560px;
    padding-top: 128px;
  }

  .v-jk-hero__crumb {
    top: 84px;
  }

  .v-jk-hero__title {
    font-size: 34px;
  }

  .v-jk-hero__sub {
    font-size: 16px;
  }

  .v-jk-hero__left {
    gap: 28px;
  }

  .v-jk-hero__head {
    gap: 20px;
  }

  .v-jk-hero__metaitem {
    font-size: 16px;
  }

  .v-jk-hero__stats {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .v-jk-hero__stat-value {
    font-size: 23px;
  }

  .v-jk-hero__right {
    max-width: 100%;
  }

  .v-jk-hero__btn {
    height: 68px;
  }

  /* section heads (title + tabs/toggle) stack */
  .v-jk-places__head,
  .v-jk-similar__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .v-jk-places__tab {
    padding: 11px 18px;
    font-size: 14px;
  }

  /* plan rows → type on its own line, meta below */
  .v-jk-plan {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding: 18px 16px;
  }

  .v-jk-plan__type {
    flex: 1 0 100%;
    font-size: 18px;
  }

  .v-jk-plan__price,
  .v-jk-plan__area {
    font-size: 15px;
  }

  .v-jk-plan__count {
    margin-left: auto;
  }

  .v-jk-plans__card {
    padding: 20px;
  }

  .v-jk-plans__card-img {
    height: 280px;
  }

  .v-jk-gal__big {
    height: 320px;
  }

  .v-jk-gal__row {
    grid-template-columns: 1fr 1fr;
  }

  .v-jk-gal__sm {
    height: 190px;
  }

  /* the "смотреть все" tile spans the full row on mobile */
  .v-jk-gal__row .v-jk-gal__sm:has(.v-jk-gal__more) {
    grid-column: 1 / -1;
  }

  .v-jk-present__title {
    font-size: 26px;
  }

  .v-jk-map__frame {
    height: 320px;
  }

  .v-jk-dev__title {
    font-size: 26px;
  }

  .v-jk-dev__logo {
    height: 150px;
    font-size: 28px;
    letter-spacing: 7px;
  }

  .v-jk-ipoteka__media {
    height: 400px;
  }

  .v-jk-ipoteka__title {
    font-size: 26px;
  }

  .v-jk-ipoteka__desc {
    font-size: 16px;
  }

  /* FAQ */
  .v-jk-faq__q {
    grid-template-columns: 32px 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .v-jk-faq__icon {
    width: 32px;
    height: 32px;
  }

  .v-jk-faq__icon::before,
  .v-jk-faq__icon::after {
    width: 16px;
  }

  .v-jk-faq__qtext {
    font-size: 17px;
    padding-top: 4px;
  }

  .v-jk-faq__a {
    padding: 0 0 28px 48px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .v-jk-h2 {
    font-size: 22px;
  }

  .v-jk-hero__title {
    font-size: 28px;
  }

  .v-jk-hero__stat-value {
    font-size: 22px;
  }

  .v-jk-hero__sale {
    padding: 0 22px;
    font-size: 13px;
  }

  .v-jk-progress__title {
    font-size: 22px;
  }

  .v-jk-present__title {
    font-size: 22px;
  }

  .v-jk-ipoteka__title {
    font-size: 22px;
  }

  .v-jk-dev__title {
    font-size: 22px;
  }

  .v-jk-dev__logo {
    font-size: 24px;
    letter-spacing: 5px;
  }

  .v-jk-gal__big {
    height: 240px;
  }

  .v-jk-gal__sm {
    height: 150px;
  }

  .v-jk-map__frame {
    height: 260px;
  }

  .v-jk-shot {
    width: 230px;
  }

  .v-jk-strip img {
    height: 165px;
  }

  .v-jk-similar__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FULLSCREEN GALLERY POPUP (hero «Смотреть галерею» / «Смотреть все»)
   ============================================================ */
body.v-gallery-open {
  overflow: hidden;
}

.v-gallery {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: rgba(9, 9, 9, .97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .25s ease;
}

.v-gallery[hidden] {
  display: none;
}

.v-gallery.is-open {
  opacity: 1;
}

.v-gallery__top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
}

.v-gallery__count {
  font-family: var(--v-serif);
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}

.v-gallery__close {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--v-line-2);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}

.v-gallery__close:hover {
  border-color: var(--v-gold);
  color: var(--v-gold);
}

.v-gallery__close svg {
  width: 22px;
  height: 22px;
}

.v-gallery__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 32px;
}

.v-gallery__frame {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.villas-home .v-gallery__img {
  display: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.villas-home .v-gallery__img.is-active {
  display: block;
}

.v-gallery__nav {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--v-line-2);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.v-gallery__nav:hover {
  border-color: var(--v-gold);
  color: var(--v-gold);
  background: rgba(255, 222, 163, .08);
}

.v-gallery__nav svg {
  width: 26px;
  height: 26px;
}

.v-gallery__thumbs {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 20px 40px 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.v-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.v-gallery__thumb {
  flex: 0 0 auto;
  width: 110px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .5;
  transition: opacity .15s ease, border-color .15s ease;
}

.v-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--v-gold);
}

.v-gallery__thumb:hover {
  opacity: 1;
}

.villas-home .v-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .v-gallery__top {
    padding: 14px 18px;
  }

  .v-gallery__count {
    font-size: 16px;
  }

  .v-gallery__close {
    width: 44px;
    height: 44px;
  }

  .v-gallery__stage {
    gap: 6px;
    padding: 0 6px;
  }

  .v-gallery__nav {
    width: 42px;
    height: 42px;
  }

  .v-gallery__nav svg {
    width: 18px;
    height: 18px;
  }

  .v-gallery__thumbs {
    padding: 14px 18px 22px;
    gap: 8px;
    justify-content: flex-start;
  }

  .v-gallery__thumb {
    width: 74px;
    height: 50px;
  }
}