/* Terrevi · страница Family Villas (villas.terrevi.com). Общие стили — style.css; здесь только своё. */
.v-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fffaf0; }
.v-hero-media { position: absolute; inset: 0; }
.v-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-hero .hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 14, .72) 0%, rgba(10, 14, 14, .45) 45%, rgba(10, 14, 14, 0) 75%), linear-gradient(180deg, rgba(10, 14, 14, .25) 0%, rgba(10, 14, 14, .1) 40%, rgba(10, 14, 14, .7) 100%); }
.v-hero h1, .v-hero .v-price, .v-hero .eyebrow { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.v-hero .hero-veil { z-index: 0; }
.v-hero-in { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(40px, 8vh, 90px); }
.v-hero h1 { font-size: clamp(40px, 6.4vw, 86px); color: #fffaf0; max-width: 14ch; }
.v-hero h1 em { color: #e2c793; }
.v-hero .eyebrow { color: rgba(255, 250, 240, .86); }
.v-price { margin: 18px 0 26px; font-size: 18px; color: rgba(255, 250, 240, .9); }
.v-price b { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); color: #fffaf0; margin-right: 10px; white-space: nowrap; }
.v-hero .btn.ghost { color: #fffaf0; border-color: rgba(255, 250, 240, .45); }
.v-hero .btn.ghost:hover { color: #e2c793; border-color: #e2c793; }

.v-facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: -1px; padding-top: 28px; padding-bottom: 8px; }
.v-facts > div { padding: 14px 12px; border-left: 1px solid var(--line); }
.v-facts > div:first-child { border-left: 0; }
.v-facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.v-facts span { display: block; font-size: 13px; color: var(--ink2); line-height: 1.35; margin-top: 4px; }

.v-two { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.v-h3 { font-size: 24px; margin: 26px 0 10px; }
.v-ask { list-style: none; padding: 0; margin: 0; color: var(--ink2); }
.v-ask li { padding: 6px 0 6px 22px; position: relative; border-bottom: 1px solid var(--line); }
.v-ask li::before { content: "?"; position: absolute; left: 0; top: 6px; color: var(--gold); font-weight: 700; }

.vgal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.vg-item { margin: 0; }
.vg-item .g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.vg-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.vg-item .g-open:hover img { transform: scale(1.04); }
.vg-item figcaption { font-size: 13px; color: var(--ink2); padding: 6px 2px 0; }

.vins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.vin { border-radius: var(--r); overflow: hidden; }
.vin-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vin-b { padding: 16px 18px 20px; }
.vin-b h3 { font-size: 24px; margin-bottom: 6px; }
.vin-b p { margin: 0; color: var(--ink2); }
.v-has { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; margin-top: 22px; }

.v-range { display: block; margin: 16px 0; font-size: 14px; color: var(--ink2); }
.v-range output { float: right; color: var(--ink); font-weight: 600; }
.v-range input { display: block; width: 100%; margin-top: 10px; accent-color: var(--gold); height: 28px; }

.v-mapbox { border-radius: var(--r); overflow: hidden; padding: 0; }
.v-map { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.v-map .v-sea { fill: var(--map-sea-a); }
.v-map .reef path { fill: none; stroke: var(--map-reef); stroke-width: 120; }
.v-map .isl { fill: var(--map-air); stroke: var(--map-isl-s); stroke-width: 10; }
.v-map .v-dot { fill: var(--gold); stroke: #fffaf0; stroke-width: 18; }
.v-map .v-ring { fill: none; stroke: var(--gold); stroke-width: 10; opacity: .55; }
.v-map .v-lab { font: 600 120px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--map-air); stroke-width: 24px; }

.v-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v-steps li { border-radius: var(--r); padding: 20px; }
.v-steps span { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.v-steps h3 { font-size: 23px; margin: 12px 0 6px; }
.v-steps p { margin: 0; color: var(--ink2); }

.v-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.v-sticky { display: none; }
#vp-total { white-space: nowrap; font-size: clamp(26px, 3vw, 40px); }

@media (max-width: 980px) {
  .v-facts { grid-template-columns: repeat(3, 1fr); }
  .v-facts > div:nth-child(4) { border-left: 0; }
  .v-two { grid-template-columns: 1fr; }
  .vgal { grid-template-columns: repeat(3, 1fr); }
  .vins, .v-has { grid-template-columns: repeat(2, 1fr); }
  .v-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .v-hero .hero-veil { background: linear-gradient(180deg, rgba(10, 14, 14, .3) 0%, rgba(10, 14, 14, .6) 30%, rgba(10, 14, 14, .9) 100%); }
  .v-hero h1 em { color: #f0d9a8; }
  #vp-total { font-size: clamp(24px, 7.4vw, 32px); }
  .v-facts { grid-template-columns: repeat(2, 1fr); }
  .v-facts > div { border-left: 0; border-top: 1px solid var(--line); }
  .vgal { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vins, .v-has, .v-steps { grid-template-columns: 1fr; }
  .v-links .btn { width: 100%; justify-content: center; }
  .v-sticky { display: flex; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; }
  body.villas { padding-bottom: 76px; }
}
