/* ============================================================
   CIVIS HOTELS — index.css  v2.1 — compact bento redesign
   ============================================================ */

/* Body padding-top: compensa la nav fixed */
body {
  padding-top: 80px;
}

/* Perf: skip painting off-screen sections while scrolling (big scroll-jank win
   on a heavy page). contain-intrinsic-size prevents scrollbar jump. */
.cv-tour,
.cv-collection,
.cv-direct,
.cv-rome,
.cv-book {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* ============================================================
   SKELETON LOADERS — shimmer until the component's image loads.
   JS adds .is-loading per block (.cv-hero / .cv-prop / .cv-reel)
   and removes it on the image's load event. No-JS = no skeleton.
   ============================================================ */
@keyframes cv-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.is-loading .cv-prop__media,
.is-loading .cv-prop__type,
.is-loading .cv-prop__name,
.is-loading .cv-prop__where,
.is-loading .cv-prop__char,
.is-loading .cv-prop__blurb,
.cv-reel.is-loading {
  background-image: linear-gradient(100deg, oklch(91% 0 0) 28%, oklch(96% 0 0) 46%, oklch(91% 0 0) 64%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: cv-shimmer 1.5s linear infinite;
  border-radius: 6px;
}
.is-loading .cv-prop__media { border-radius: var(--radius-md); }
html[data-theme="dark"] .is-loading .cv-prop__media,
html[data-theme="dark"] .is-loading .cv-prop__type,
html[data-theme="dark"] .is-loading .cv-prop__name,
html[data-theme="dark"] .is-loading .cv-prop__where,
html[data-theme="dark"] .is-loading .cv-prop__char,
html[data-theme="dark"] .is-loading .cv-prop__blurb,
html[data-theme="dark"] .cv-reel.is-loading {
  background-image: linear-gradient(100deg, oklch(24% 0 0) 28%, oklch(31% 0 0) 46%, oklch(24% 0 0) 64%);
}

/* Hide the real pixels behind the shimmer while loading */
.is-loading .cv-prop__img,
.is-loading .cv-prop__video,
.cv-reel.is-loading .cv-reel__img,
.cv-reel.is-loading .cv-reel__video { opacity: 0; }
.is-loading .cv-prop__type,
.is-loading .cv-prop__name,
.is-loading .cv-prop__where,
.is-loading .cv-prop__char,
.is-loading .cv-prop__blurb { color: transparent; }
/* text bars read as bars even when the underlying text is short */
.is-loading .cv-prop__name { width: 62%; }
.is-loading .cv-prop__type,
.is-loading .cv-prop__where { width: 38%; }
.is-loading .cv-prop__badge,
.is-loading .cv-prop__idx,
.is-loading .cv-prop__ctas,
.is-loading .cv-prop__facts,
.is-loading .cv-prop__services,
.cv-reel.is-loading .cv-reel__tag { visibility: hidden; }
.cv-hero.is-loading .cv-hero__base { opacity: 0; }

/* Smooth reveal once loaded */
.cv-prop__img, .cv-prop__video,
.cv-reel__img, .cv-reel__video,
.cv-hero__base { transition: opacity 0.5s var(--ease); }
.cv-prop__type, .cv-prop__name, .cv-prop__where, .cv-prop__char, .cv-prop__blurb { transition: color 0.4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .is-loading .cv-prop__media,
  .is-loading .cv-prop__type,
  .is-loading .cv-prop__name,
  .is-loading .cv-prop__where,
  .is-loading .cv-prop__char,
  .is-loading .cv-prop__blurb,
  .cv-reel.is-loading { animation: none; }
}

/* ============================================================
   SECTION 2 — HERO — cinematic WebGL globe (live drift + clouds).
   Static Italy-still fallback when WebGL / hardware accel is missing.
   Cinematic rules gated on html.js:not(.cv-hero-static).
   ============================================================ */

/* Hero: slideshow fotografico delle strutture, crossfade pilotato da hero-slides.js */
.cv-hero--cinematic { margin-top: -80px; } /* full-bleed under the fixed nav */

.cv-hero__stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: oklch(11% 0 0); /* fondo scuro finché la prima slide non arriva */
}

.cv-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Slideshow hero: crossfade in sola opacity, nessuna trasformazione */
.cv-hero__slides { position: absolute; inset: 0; z-index: 0; }
.cv-hero__slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 1.4s var(--ease); }
.cv-hero__slide.is-under  { opacity: 1; z-index: 1; transition: none; }
.cv-hero__slide.is-under .cv-hero__slidetag { opacity: 0; }
.cv-hero__slidetag { transition: opacity 0.5s var(--ease); }
.cv-hero__slide.is-active { opacity: 1; z-index: 2; }
.cv-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-hero__slidetag {
  position: absolute; right: clamp(16px, 2.5vw, 40px); bottom: clamp(16px, 2.5vw, 32px);
  font: 500 var(--text-xs)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: oklch(97% 0 0 / 0.85); text-shadow: 0 1px 10px oklch(0% 0 0 / 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .cv-hero__slide { transition: none; }
}

.cv-hero__stage::after { /* soft veil to tame the bright video + bottom scrim for text */
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(135% 100% at 50% 0%, transparent 38%, oklch(8% 0 0 / 0.30) 100%),
    linear-gradient(to top,
      oklch(8% 0 0 / 0.82) 0%,
      oklch(8% 0 0 / 0.55) 26%,
      oklch(8% 0 0 / 0.22) 55%,
      oklch(8% 0 0 / 0.08) 78%,
      transparent 100%);
}

.cv-hero__overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding-bottom: clamp(40px, 6vh, 80px);
}
.cv-hero__eyebrow { display: block; color: oklch(96% 0 0 / 0.82); margin-bottom: clamp(12px, 1.5vw, 20px); text-shadow: 0 1px 14px oklch(0% 0 0 / 0.55); }
.cv-hero__title {
  font-family: var(--sans); font-weight: 650; letter-spacing: -0.035em;
  color: oklch(97% 0 0); max-width: 22ch;
}
.cv-hero__sub {
  margin-top: clamp(14px, 1.6vw, 22px); max-width: 42ch;
  font: 400 var(--text-md)/1.5 var(--sans);
  color: oklch(98% 0 0 / 0.9); text-shadow: 0 1px 12px oklch(0% 0 0 / 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .cv-hero__slide { animation: none; opacity: 0; }
  .cv-hero__slide:first-child { opacity: 1; }
  .cv-hero__slide img { animation: none; transform: scale(1.03); }
}
@media (max-width: 768px) {
  .cv-hero__title { max-width: 100%; }
}

/* ============================================================
   SECTION 3 — MANIFESTO (striscia brand funzionale, densa)
   ============================================================ */

.cv-manifesto {
  padding-block: clamp(18px, 2vw, 28px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}

/* Three deliberate zones on one centred row: lead | facts | CTA */
.cv-manifesto__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 16px;
}

.cv-manifesto__lead {
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--ash-1);
  margin: 0;
  max-width: 48ch;
}
.cv-manifesto__lead strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cv-manifesto__facts {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  color: var(--ash-1);
}
.cv-manifesto__fact {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  white-space: nowrap;
}
.cv-manifesto__fact + .cv-manifesto__fact {
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
.cv-manifesto__fact-k {
  font-weight: 650;
  color: var(--ink);
  font-size: var(--text-md);
  letter-spacing: -0.02em;
}

.cv-manifesto__cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Below the single-row breakpoint: lead spans the top, facts + CTA share a row.
   1280: sotto questa soglia la riga unica lascia alla colonna lead <150px. */
@media (max-width: 1280px) {
  .cv-manifesto__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .cv-manifesto__lead { grid-column: 1 / -1; }
  .cv-manifesto__cta { justify-self: end; }
}

@media (max-width: 680px) {
  .cv-manifesto__inner { grid-template-columns: 1fr; }
  .cv-manifesto__facts { flex-wrap: wrap; gap: 10px 16px; font-size: var(--text-sm); }
  .cv-manifesto__fact + .cv-manifesto__fact { padding-left: 16px; }
  .cv-manifesto__cta { justify-self: start; }
}

/* ============================================================
   SECTION 3b — IL GRAND TOUR (viaggio + teaser Civis Passport)
   ============================================================ */
.cv-tour { padding-block: clamp(56px, 7vw, 104px); }
.cv-tour__head { max-width: 760px; }
.cv-tour__title { margin-top: 14px; }
.cv-tour__lead { margin-top: clamp(16px, 1.8vw, 24px); color: var(--ash-1); max-width: 62ch; }
.cv-tour__lead strong { color: var(--ink); font-weight: 600; }

/* route — horizontal stops joined by a hairline */
.cv-tour__route {
  list-style: none; margin: clamp(36px, 4vw, 56px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.cv-tour__routewrap { position: relative; }
.cv-tour__line {
  position: absolute; left: 0; right: 0; height: 12px; pointer-events: none;
  top: 0;
  z-index: 0;
}
.cv-tour__stop { z-index: 1; }
.cv-tour__stop {
  position: relative; padding: 22px 14px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.cv-tour__dot {
  position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ash-1);
}
.cv-tour__stop--on .cv-tour__dot {
  background: var(--ink); border-color: var(--ink);
  box-shadow: 0 0 0 4px oklch(50% 0 0 / 0.20);
}
.cv-tour__reg { font: 650 var(--text-lg)/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.cv-tour__note { font-size: var(--text-xs); color: var(--ash-2); }
.cv-tour__stop--on .cv-tour__note { color: var(--ash-1); }

/* 3 steps */
.cv-tour__steps {
  list-style: none; margin: clamp(40px, 4.5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px);
}
.cv-tour__step { border-top: 1px solid var(--line); padding-top: 16px; }
.cv-tour__num { font: 650 var(--text-sm)/1 var(--sans); color: var(--ink); letter-spacing: 0.06em; }
.cv-tour__step-h { margin: 12px 0 6px; font: 650 var(--text-xl)/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.cv-tour__step-p { font-size: var(--text-sm); line-height: 1.5; color: var(--ash-1); }
.cv-tour__cta { margin-top: clamp(32px, 3.5vw, 48px); }

@media (max-width: 720px) {
  .cv-tour__route { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .cv-tour__line { display: none; }
  .cv-tour__stop { padding-right: 8px; }
  .cv-tour__steps { grid-template-columns: 1fr; gap: 0; }
  .cv-tour__step { padding: 16px 0; }
  .cv-tour__step + .cv-tour__step { border-top: 1px solid var(--line); }
}

/* ============================================================
   SECTION 4 — LA COLLEZIONE
   Due card property dense e allineate (Expedia-style)
   ============================================================ */

.cv-collection {
  padding-block: var(--section-py);
}

.cv-collection__head-wrap {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.cv-collection__header {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 12px);
}

.cv-collection__title {
  max-width: 18ch;
}

/* ---- Grid 2-up, card allineate ---- */
.cv-collection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

/* ---- Card ---- */
.cv-prop {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cv-prop:hover {
  border-color: var(--ink);
}

/* media (video o foto) */
.cv-prop__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-mid, oklch(50% 0 0));
}
.cv-prop__video,
.cv-prop__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.8s var(--ease);
}
.cv-prop:hover .cv-prop__video,
.cv-prop:hover .cv-prop__img {
  transform: scale(1.05);
}

.cv-prop__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--sans);
  font-size: var(--text-2xs, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(15% 0 0);
  background: oklch(98% 0 0 / 0.92);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.cv-prop__idx {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  font-family: var(--sans);
  font-weight: 650;
  font-size: var(--text-lg);
  color: oklch(98% 0 0 / 0.85);
  letter-spacing: -0.02em;
}

/* body */
.cv-prop__body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  padding: clamp(20px, 2.2vw, 30px);
  flex: 1;
}

.cv-prop__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cv-prop__type {
  color: var(--ash-2);
}
.cv-prop__name {
  font-family: var(--sans);
  font-weight: 650;
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cv-prop__char {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ash-1);
  max-width: 42ch;
}

/* fatti chiave — griglia 2x2 */
.cv-prop__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
}
.cv-prop__fact {
  background: var(--paper);
  padding: 10px 14px;
}
.cv-prop__fact dt {
  font-family: var(--sans);
  font-size: var(--text-2xs, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash-2);
  margin-bottom: 3px;
}
.cv-prop__fact dd {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

/* servizi — chip a riga */
.cv-prop__services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cv-prop__services li {
  font-size: var(--text-xs);
  color: var(--ash-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  white-space: nowrap;
}

/* CTA */
.cv-prop__ctas {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 2px;
}

/* ============================================================
   RESPONSIVE — cv-collection grid
   ============================================================ */
@media (max-width: 768px) {
  .cv-collection__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 390px) {
  .cv-prop__facts {
    grid-template-columns: 1fr;
  }
  .cv-prop__ctas {
    flex-direction: column;
  }
  .cv-prop__ctas .cv-btn {
    justify-content: center;
  }
}

/* ============================================================
   COLLEZIONE CRESCE — sezione espansione italiana
   ============================================================ */
.cv-crescita {
  padding-block: var(--section-py);
  border-top: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}

.cv-crescita__header {
  margin-bottom: clamp(28px, 3.5vw, 48px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cv-crescita__eyebrow {
  margin-bottom: clamp(8px, 1vw, 12px);
}

.cv-crescita__title {
  max-width: 28ch;
}

.cv-crescita__tagline {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--ash-1);
  max-width: 44ch;
  text-align: right;
  line-height: 1.5;
}

/* ---- Region bento grid ----------------------------------- */
.cv-crescita__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(10px, 1.5vw, 20px);
  align-items: stretch;
}

/* Region card — full-bleed photo, text overlaid at the bottom over a scrim.
   Same structure for active and "in sviluppo": fills the whole card, no gaps. */
.cv-region {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(360px, 40vw, 540px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.cv-region__img-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.cv-region__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}
.cv-region:hover .cv-region__img-wrap img {
  transform: scale(1.05);
}
.cv-region::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(135% 100% at 50% 0%, transparent 42%, oklch(8% 0 0 / 0.30) 100%),
    linear-gradient(to top, oklch(8% 0 0 / 0.90) 0%, oklch(8% 0 0 / 0.34) 38%, transparent 66%);
}

.cv-region__body {
  position: relative;
  padding: clamp(16px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cv-region__status {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(98% 0 0 / 0.78);
  display: flex;
  align-items: center;
  gap: 7px;
}
.cv-region__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(98% 0 0);
  box-shadow: 0 0 0 3px oklch(98% 0 0 / 0.22);
  display: inline-block;
  flex-shrink: 0;
}

.cv-region__name {
  font-family: var(--sans);
  font-weight: 650;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  color: oklch(98% 0 0);
  line-height: 1;
}
.cv-region__sub {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: oklch(98% 0 0 / 0.8);
  line-height: 1.4;
}

/* "In sviluppo": desaturated photo + a tag, but text stays fully legible */
.cv-region--soon .cv-region__img-wrap img {
  filter: grayscale(0.75) brightness(0.82);
}
.cv-region--soon:hover .cv-region__img-wrap img {
  filter: grayscale(0.35) brightness(0.92);
}
.cv-region__overlay-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: oklch(100% 0 0 / 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: oklch(98% 0 0);
  border: 1px solid oklch(100% 0 0 / 0.22);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: var(--text-2xs, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Civis standard line */
.cv-crescita__standard {
  margin-top: clamp(20px, 2.5vw, 32px);
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  transition: border-color 0.4s var(--ease);
}

.cv-crescita__standard-label {
  flex-shrink: 0;
}

.cv-crescita__standard-text {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--ash-1);
  line-height: 1.5;
}

.cv-crescita__standard-text strong {
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   RESPONSIVE — cv-crescita
   ============================================================ */

@media (max-width: 1280px) {
  .cv-crescita__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(8px, 1.2vw, 16px);
  }
}

@media (max-width: 1024px) {
  .cv-crescita__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2vw, 20px);
  }
  .cv-region { min-height: clamp(300px, 52vw, 420px); }
  .cv-region--active {
    grid-column: 1 / -1;
    min-height: clamp(320px, 46vw, 440px);
  }
  .cv-crescita__tagline {
    text-align: left;
    max-width: 100%;
  }
  .cv-crescita__header {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .cv-crescita__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cv-region--active {
    grid-column: 1 / -1;
  }
  .cv-crescita__standard {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .cv-crescita__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cv-region--active {
    grid-column: auto;
  }
  .cv-region--soon .cv-region__img-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* ── Region blocks inside the collection (Roma / Puglia / Sicilia) ── */
.cv-region-block {
  margin-top: clamp(36px, 5vw, 64px);
  margin-bottom: clamp(14px, 1.6vw, 22px);
}
.cv-collection__grid + .cv-region-block { margin-top: clamp(44px, 6vw, 80px); }
.cv-region-block__place {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: var(--text-2xl);
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cv-region-block__count {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ash-2);
}
.cv-region-block__count--active { color: var(--ink); }
.cv-region-block__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px oklch(50% 0 0 / 0.18);
  margin-right: 8px;
  flex-shrink: 0;
}

/* Collection header tagline */
.cv-collection__tagline {
  margin-top: clamp(10px, 1vw, 14px);
  font-size: var(--text-md);
  color: var(--ash-1);
  max-width: 52ch;
}

/* "Standard Civis" promise line, closing the collection */
.cv-collection__standard {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: clamp(16px, 3vw, 56px);
  align-items: start;
}
.cv-collection__standard-label { color: var(--ash-2); }
.cv-collection__standard-text {
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--ash-1);
  line-height: 1.55;
  max-width: 70ch;
  margin: 0;
}
.cv-collection__standard-text strong { font-weight: 600; color: var(--ink); }
@media (max-width: 680px) {
  .cv-collection__standard { grid-template-columns: 1fr; gap: 10px; }
}

.cv-prop__where { font-family: var(--sans); font-size: var(--text-xs); letter-spacing: 0.1em; color: var(--ash-2); }
.cv-prop__blurb { color: var(--ash-1); }

/* ── Filterable dimore showcase (BZAR-improved, card system) ───────── */
.cv-showcase { margin-top: clamp(8px, 1.5vw, 18px); }
.cv-showcase__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.cv-showcase__filters { display: flex; flex-wrap: wrap; gap: 7px; }
.cv-filter {
  font: 600 var(--text-sm)/1 var(--sans);
  color: var(--ash-1);
  background: none;
  border: 1px solid var(--line);
  padding: 13px 18px;
  min-height: 44px; /* tap target */
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cv-filter:hover { color: var(--ink); border-color: var(--ink); }
.cv-filter.is-active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.cv-showcase__region-link {
  font: 600 var(--text-sm)/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cv-showcase__region-link:hover { opacity: 0.65; }

.cv-showcase__grid {
  display: grid;
  /* ~3 cols at desktop so 5 cards read as 3+2, not an orphaned 4+1
     (26vw: 3 tracce entrano già a ~1024px) */
  grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 26vw, 340px), 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.cv-dimora {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  isolation: isolate;
  background: oklch(40% 0 0);
}
.cv-dimora__media { position: absolute; inset: 0; z-index: -2; }
/* coming-soon tile: muted placeholder, no duplicated photo */
.cv-dimora__media--soon {
  background:
    radial-gradient(115% 90% at 50% 8%,
      color-mix(in oklch, var(--ink) 11%, var(--paper)),
      color-mix(in oklch, var(--ink) 4%, var(--paper)) 70%);
}
.cv-dimora__img,
.cv-dimora__video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}
.cv-dimora:hover .cv-dimora__img,
.cv-dimora:hover .cv-dimora__video { transform: scale(1.05); }
.cv-dimora::after {
  content: '';
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(135% 100% at 50% 0%, transparent 42%, oklch(8% 0 0 / 0.30) 100%),
    linear-gradient(to top, oklch(8% 0 0 / 0.88) 0%, oklch(8% 0 0 / 0.18) 46%, transparent 72%);
}

.cv-dimora__badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font: 600 var(--text-2xs, 0.6875rem)/1 var(--sans);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(20% 0 0);
  background: oklch(98% 0 0 / 0.6);                 /* frosted glass pill over the photo */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid oklch(100% 0 0 / 0.35);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.cv-dimora__status {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 var(--text-2xs, 0.6875rem)/1 var(--sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(98% 0 0);
  background: oklch(14% 0 0 / 0.4);                 /* frosted glass over the photo */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid oklch(100% 0 0 / 0.18);
  padding: 6px 11px; border-radius: var(--radius-pill);
}
.cv-dimora__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);                 /* status dot (monochrome) */
  box-shadow: 0 0 0 3px oklch(50% 0 0 / 0.25);
}

.cv-dimora__foot {
  position: relative;
  padding: clamp(16px, 1.6vw, 22px);
  display: flex; flex-direction: column; gap: 5px;
}
.cv-dimora__name {
  font: 650 var(--text-xl)/1 var(--sans);
  letter-spacing: -0.03em; color: oklch(98% 0 0);
}
.cv-dimora__place { font: 400 var(--text-sm)/1.3 var(--sans); color: oklch(98% 0 0 / 0.78); }
.cv-dimora__go {
  margin-top: 4px;
  font: 600 var(--text-xs)/1 var(--sans); letter-spacing: 0.04em;
  color: oklch(98% 0 0 / 0.9);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cv-dimora:hover .cv-dimora__go,
.cv-dimora:focus-visible .cv-dimora__go { opacity: 1; transform: none; }

.cv-dimora--soon .cv-dimora__img { filter: grayscale(0.72) brightness(0.82); }
.cv-dimora--soon:hover .cv-dimora__img { filter: grayscale(0.32) brightness(0.92); }

.cv-dimora.is-hidden { display: none; }

/* ── Region hub page (roma / puglia / sicilia / calabria) ─────────── */
.cv-rhero {
  position: relative;
  min-height: clamp(440px, 64vh, 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -80px;            /* full-bleed under the fixed nav */
  isolation: isolate;
}
.cv-rhero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cv-rhero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(135% 100% at 50% 0%, transparent 42%, oklch(8% 0 0 / 0.30) 100%),
    linear-gradient(to top, oklch(7% 0 0 / 0.86) 0%, oklch(7% 0 0 / 0.28) 46%, oklch(7% 0 0 / 0.42) 100%);
}
.cv-rhero__inner { padding-block: clamp(110px, 14vh, 150px) clamp(36px, 6vh, 76px); color: oklch(98% 0 0); }
.cv-rhero__crumb {
  display: flex; gap: 8px; align-items: center;
  font: 600 var(--text-xs)/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(98% 0 0 / 0.7); margin-bottom: clamp(16px, 2vw, 24px);
}
.cv-rhero__crumb a { color: inherit; text-decoration: none; }
.cv-rhero__crumb a:hover { color: oklch(98% 0 0); }
.cv-rhero__name { font: 650 clamp(3rem, 1rem + 8vw, 7rem)/0.94 var(--sans); letter-spacing: -0.04em; color: oklch(99% 0 0); }
.cv-rhero__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: clamp(16px, 2vw, 22px); }
.cv-rhero__status {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 var(--text-sm)/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(98% 0 0 / 0.9);
}
.cv-rhero__tagline { margin-top: clamp(14px, 1.6vw, 20px); max-width: 48ch; font: 400 var(--text-lg)/1.45 var(--sans); color: oklch(98% 0 0 / 0.9); }

.cv-region-page { padding-block: var(--section-py); }
.cv-region-page__intro { max-width: 62ch; font-size: var(--text-lg); line-height: 1.6; color: var(--ash-1); margin-bottom: clamp(28px, 4vw, 52px); }
.cv-region-page__intro strong { color: var(--ink); font-weight: 600; }
/* In-arrivo hubs (Sicilia/Calabria) carry only the lone intro — no showcase grid
   follows. Collapse the intro's trailing margin and the region-page bottom padding
   so it doesn't open a tall empty band before the cross-sell. ponytail: structural
   :has discriminator, no per-page class needed. */
/* Promote the first intro to a true lead: larger, ink, more present —
   the thin gray run-on read as filler. */
.cv-region-page__intro:first-of-type {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  max-width: 54ch;
}
.cv-region-page__intro:first-of-type strong { font-weight: 500; }
.cv-region-page__intro:last-child { margin-bottom: 0; }
.cv-region-page:has(> .cv-region-page__intro:only-child) { padding-bottom: 0; }
.cv-region-page:has(> .cv-region-page__intro:only-child) + .cv-pp { padding-top: clamp(20px, 2.5vw, 32px); }
.cv-region-page__h { font: 650 var(--text-2xl)/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); margin-bottom: clamp(18px, 2vw, 26px); }
/* auto-fit: gli hub hanno 2 card — niente terza traccia vuota a destra */
.cv-region-page .cv-showcase__grid { grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 360px), 1fr)); }
.cv-region-page .cv-dimora { aspect-ratio: 3 / 4; }

/* ── Property page (e.g. /lilium /imperial) ───────────────────────── */
.cv-rhero__cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: clamp(22px, 3vw, 34px); }
.cv-rhero__link { color: oklch(98% 0 0); font: 600 var(--text-sm)/1 var(--sans); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.cv-rhero__link:hover { opacity: 0.7; }
.cv-rhero--video .cv-rhero__img { object-position: center; }

.cv-pp { padding-block: var(--section-py); }
.cv-pp + .cv-pp { padding-top: 0; }
.cv-pp__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.cv-pp__lead { font-size: var(--text-lg); line-height: 1.6; color: var(--ash-1); max-width: 50ch; margin-bottom: clamp(22px, 2.6vw, 32px); }
.cv-pp__lead strong { color: var(--ink); font-weight: 600; }
.cv-pp__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ash-2); }
.cv-pp__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-pp__h { font: 650 var(--text-2xl)/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); margin-bottom: clamp(18px, 2vw, 28px); }
.cv-pp .cv-prop__services { gap: 10px; }
.cv-pp .cv-prop__services li { font-size: var(--text-sm); color: var(--ink); padding: 8px 16px; }

/* "Cosa c'è intorno" — real distances */
.cv-around { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 18vw, 200px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.cv-around__item { border-top: 1px solid var(--line); padding-top: 14px; }
.cv-around__dist { font: 650 var(--text-xl)/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.cv-around__place { font: 600 var(--text-sm)/1.25 var(--sans); color: var(--ink); margin-top: 9px; }
.cv-around__note { font-size: var(--text-xs); color: var(--ash-2); margin-top: 4px; line-height: 1.4; }

/* Guest reviews (real, attributed) */
.cv-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.cv-quote { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 16px; }
.cv-quote__stars { color: var(--ink); letter-spacing: 3px; font-size: var(--text-sm); }
.cv-quote__text { font-size: var(--text-md); line-height: 1.5; color: var(--ink); }
.cv-quote__src { font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash-2); margin-top: auto; }
.cv-reviews__more { display: inline-flex; align-items: center; gap: 7px; margin-top: clamp(18px, 2vw, 26px); font: 600 var(--text-sm)/1 var(--sans); color: var(--ink); text-decoration: none; }
.cv-reviews__more:hover { opacity: 0.65; }

@media (max-width: 860px) {
  .cv-reviews { grid-template-columns: 1fr; }
  .cv-around { grid-template-columns: repeat(2, 1fr); }
}

/* Gallery mosaic */
.cv-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(136px, 13vw, 196px);
  gap: clamp(8px, 1vw, 14px);
}
.cv-gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.cv-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.cv-gallery figure:hover img { transform: scale(1.05); }
.cv-gallery .g-tall { grid-row: span 2; }
.cv-gallery .g-wide { grid-column: span 2; }

/* Location block */
.cv-pp__loc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 3.5vw, 64px); align-items: start; }
.cv-pp__loc-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.cv-pp__loc-figure img { width: 100%; height: 100%; object-fit: cover; }
.cv-pp__loc dl { display: grid; gap: clamp(14px, 1.6vw, 20px); margin: 0; }
.cv-pp__loc dt { font: 600 var(--text-xs)/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash-2); margin-bottom: 4px; }
.cv-pp__loc dd { font-size: var(--text-md); color: var(--ink); margin: 0; line-height: 1.4; }

@media (max-width: 860px) {
  .cv-pp__split, .cv-pp__loc { grid-template-columns: 1fr; gap: clamp(22px, 5vw, 36px); }
  .cv-pp__figure { aspect-ratio: 16 / 11; order: -1; }
  .cv-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 34vw, 200px); }
  .cv-gallery .g-wide { grid-column: span 2; }
  .cv-gallery .g-tall { grid-row: span 1; }
}

/* "In arrivo" placeholder cards */
.cv-prop--soon { opacity: 0.92; }
.cv-prop__media--soon {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(oklch(20% 0 0 / 0.55), oklch(20% 0 0 / 0.55)),
    var(--soon-img, repeating-linear-gradient(45deg, var(--ash-2) 0 1px, transparent 1px 16px));
  background-size: cover;
  background-position: center;
}
.cv-prop__soon-tag {
  font: 600 var(--text-xs)/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
}


/* ============================================================
   SECTION 5 — PERCHÉ DIRETTO (valore, tela invertita)
   ============================================================ */

/* .cv-section--ink inversion now lives in shared.css (used site-wide). */

.cv-direct {
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

/* Carta nautica: due trame di punti a passo diverso, dissolte a gradiente
   con una mask radiale — delimitano il pannello come batimetriche.
   Statico, zero immagini, zero GPU: è solo pittura di background. */
.cv-direct::before,
.cv-direct::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cv-direct::before {
  background-image: radial-gradient(color-mix(in oklch, var(--ink) 34%, transparent) 1px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(75% 95% at 88% 0%, #000, transparent 72%);
  mask-image: radial-gradient(75% 95% at 88% 0%, #000, transparent 72%);
}
.cv-direct::after {
  background-image: radial-gradient(color-mix(in oklch, var(--ink) 22%, transparent) 1.3px, transparent 2px);
  background-size: 46px 46px;
  background-position: 12px 14px;
  -webkit-mask-image: radial-gradient(70% 90% at 6% 100%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 6% 100%, #000, transparent 70%);
}

.cv-direct__inner {
  position: relative;
  z-index: 1;
}

/* Un solo rettangolo a due colonne: testo+CTA a sinistra, voci a destra */
.cv-direct__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "head grid"
    "cta  grid";
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: color-mix(in oklch, var(--ink) 4%, var(--paper));
}

.cv-direct__header {
  grid-area: head;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 20px);
  padding: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 52px) clamp(16px, 2vw, 28px);
}

.cv-direct__title {
  max-width: 16ch;
}

/* Voci impilate con filetti, colonna destra del pannello */
.cv-direct__grid {
  grid-area: grid;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.cv-direct__item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 26px);
  padding: clamp(20px, 2.4vw, 34px) clamp(22px, 2.8vw, 44px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}

.cv-direct__item:last-child {
  border-bottom: none;
}

.cv-direct__item:hover {
  background-color: oklch(16% 0 0);
}

.cv-direct__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease);
}

.cv-direct__item:hover .cv-direct__icon {
  border-color: oklch(45% 0 0);
}

.cv-direct__text {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 12px);
}

.cv-direct__item-title {
  font-family: var(--sans);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.cv-direct__item-body {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ash-1);
}

.cv-direct__cta {
  grid-area: cta;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(24px, 3vw, 52px) clamp(28px, 3.5vw, 56px);
}

/* ============================================================
   RESPONSIVE — cv-direct
   ============================================================ */

@media (max-width: 900px) {
  .cv-direct__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "head" "grid" "cta";
    border-radius: var(--radius-md);
  }
  .cv-direct__grid {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .cv-direct__header {
    padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 28px) clamp(16px, 3vw, 24px);
  }
  .cv-direct__item {
    padding: clamp(20px, 3.5vw, 30px) clamp(20px, 4vw, 28px);
  }
  .cv-direct__cta {
    padding: clamp(18px, 3vw, 26px) clamp(20px, 4vw, 28px) clamp(24px, 4vw, 36px);
  }
  .cv-direct__title {
    max-width: 100%;
  }
  .cv-direct__icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  .cv-direct__panel {
    border-radius: var(--radius-sm);
  }
  .cv-direct__item {
    padding: 18px 16px;
    gap: 14px;
  }
  .cv-direct__icon {
    width: 36px;
    height: 36px;
  }
  .cv-direct__cta .cv-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   SECTION 6 — ROMA (intro + 6 reel a quadranti)
   ============================================================ */

.cv-rome {
  padding-block: var(--section-py);
}

/* Griglia a 4 colonne: intro (2 col) + 2 reel in alto a destra,
   poi 4 reel sotto — simmetrici rispetto allo spazio sopra. */
.cv-rome__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.cv-rome__intro {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 18px);
  padding-right: clamp(12px, 2vw, 32px);
}
.cv-rome__title { max-width: 14ch; }
.cv-rome__lead { max-width: 46ch; color: var(--ash-1); }
.cv-rome__cta { margin-top: 6px; }

/* Reel — verticale 9:16 */
.cv-reel {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: oklch(45% 0 0);
}
.cv-reel__video,
.cv-reel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
/* zoom + arrow ONLY on the linked reel — bare reels must not imply clickability */
.cv-reel__link:hover .cv-reel__img {
  transform: scale(1.05);
}
.cv-reel__link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-lg);
}
.cv-reel__link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
/* the clickable reel signals it leads to a guide */
.cv-reel__link .cv-reel__tag::after { content: " \2192"; }
.cv-reel__tag {
  position: absolute;
  bottom: 11px;
  left: 11px;
  font-family: var(--sans);
  font-size: var(--text-2xs, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(98% 0 0);
  background: oklch(8% 0 0 / 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   RESPONSIVE — cv-rome
   ============================================================ */
@media (max-width: 1024px) {
  .cv-rome__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cv-rome__intro {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-right: 0;
    margin-bottom: 4px;
  }
}
@media (max-width: 640px) {
  .cv-rome__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ============================================================
   SECTION 7 — BOOK DIRECT (conversione finale)
   ============================================================ */

.cv-book {
  padding-block: clamp(52px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.cv-book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 100%,
    oklch(28% 0 0 / 0.7) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cv-book__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(24px, 3.5vw, 44px);
}

.cv-book__header {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
  max-width: 52ch;
}

.cv-book__title {
  max-width: 22ch;
}

.cv-book__sub {
  max-width: 48ch;
  margin-inline: auto;
}
.cv-book__sub-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cv-book__sub-link:hover { opacity: 0.7; }

/* cross-sell band (property pages -> next region + Passport) */
.cv-xsell__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 3vw, 56px); align-items: end; }
.cv-xsell .cv-pp__lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cv-xsell__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cv-xsell__inner { grid-template-columns: 1fr; align-items: start; gap: 20px; } }

.cv-book__ctas {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  flex-wrap: wrap;
  justify-content: center;
}

.cv-book__cta--ghost {
  border-color: oklch(96% 0 0 / 0.28);
  color: var(--ink);
}

.cv-book__cta--ghost:hover {
  border-color: oklch(96% 0 0 / 0.7);
  background-color: oklch(96% 0 0 / 0.06);
}

.cv-book__rule {
  width: clamp(32px, 5vw, 52px);
  height: 1px;
  background-color: var(--line);
}

/* ============================================================
   RESPONSIVE — cv-book
   ============================================================ */

@media (min-width: 1600px) {
  .cv-book {
    padding-block: 112px;
  }
}

@media (max-width: 1024px) {
  .cv-book__title {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 768px) {
  .cv-book__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .cv-book__cta,
  .cv-btn.cv-book__cta {
    width: 100%;
    justify-content: center;
  }
  .cv-book__header {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .cv-book__inner {
    gap: 22px;
  }
  .cv-book__ctas {
    max-width: 100%;
  }
}


/* Card di tappa futura: nessun link, nessun hover */
.cv-dimora--soon[aria-disabled] { cursor: default; }
.cv-dimora--soon[aria-disabled]:hover .cv-dimora__img { transform: none; }


/* ── Roma in coda: slideshow editoriale della guida ──────────────────────── */
.cv-rome__grid--show {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}
.cv-romeshow {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--paper) 92%, var(--ink));
}
.cv-romeshow .cv-slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; z-index: 0; pointer-events: none;
  transition: opacity 1.4s var(--ease);
}
.cv-romeshow .cv-slide.is-under  { opacity: 1; z-index: 1; transition: none; }
.cv-romeshow .cv-slide.is-active { opacity: 1; z-index: 2; pointer-events: auto; }
.cv-romeshow .cv-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-slide__tag {
  position: absolute; left: 18px; bottom: 16px;
  font: 500 var(--text-xs)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(97% 0 0); background: oklch(10% 0 0 / 0.55);
  padding: 9px 14px; border-radius: var(--radius-pill);
  transition: opacity 0.5s var(--ease);
}
.cv-romeshow .cv-slide.is-under .cv-slide__tag { opacity: 0; }
@media (max-width: 900px) {
  .cv-rome__grid--show { grid-template-columns: 1fr; }
  .cv-romeshow { aspect-ratio: 4 / 3; }
}


/* ── Carosello Roma: card simmetriche a scorrimento con snap ─────────────── */
.cv-car { position: relative; }
.cv-car__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * clamp(14px, 1.6vw, 24px)) / 3);
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cv-car__track::-webkit-scrollbar { display: none; }
.cv-car__card {
  position: relative; display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.cv-car__card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.3s var(--ease); }
.cv-car__card:hover img { opacity: 0.88; }
/* .cv-rome sta su fondo carta: controlli in ink, non in paper */
.cv-car__card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cv-car__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.cv-car__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 1rem; cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.cv-car__btn:hover { border-color: var(--ink); background: color-mix(in oklch, var(--ink) 8%, transparent); }
html:not(.js) .cv-car__nav { display: none; }
@media (max-width: 900px) {
  .cv-car__track { grid-auto-columns: calc((100% - clamp(14px, 1.6vw, 24px)) / 2); }
}
@media (max-width: 560px) {
  .cv-car__track { grid-auto-columns: 82%; }
}
