/* ============================================================
   HelloChalet — Editorial Slow-Luxury Theme CSS
   ============================================================ */

:root {
  --c-cream: #FFFFFF;
  --c-cream-2: #F5F2EE;
  --c-paper: #FAF8F4;
  --c-ink: #3D3835;
  --c-ink-2: #564B47;
  --c-muted: #8A7F7A;
  --c-line: #E6E1DA;
  --c-line-2: #EFEBE4;
  --c-forest: #1E7AC9;
  --c-forest-2: #155A99;
  --c-deep: #1A4773;
  --c-clay: #1E7AC9;
  --c-clay-2: #155A99;
  --c-gold: #7FB5D7;

  --bg: var(--c-cream);
  --fg: var(--c-ink);
  --accent: var(--c-forest);
  --accent-soft: rgba(30,122,201,0.08);
  --muted: var(--c-muted);
  --line: var(--c-line);

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --f-eyebrow: "Tenor Sans", "Optima", serif;
  --f-body: "Manrope", -apple-system, "Helvetica Neue", sans-serif;

  --maxw: 1320px;
  --gutter: clamp(24px, 4vw, 64px);
  --section-y: clamp(40px, 5vw, 70px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--c-clay); color: var(--c-paper); }

/* ----------- Typography ----------- */
.eyebrow {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-muted);
}
.eyebrow.dark { color: var(--c-ink); }
.eyebrow.cream { color: var(--c-cream); }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(48px, 7.5vw, 116px);
  margin: 0;
  color: var(--c-ink);
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 400; color: var(--c-forest); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--c-ink);
}
h2.section-title { font-size: clamp(40px, 5.5vw, 80px); }
h3 { font-size: clamp(28px, 3vw, 40px); }
h4 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0; text-wrap: pretty; }
.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--c-ink-2);
  max-width: 56ch;
}

/* ----------- Layout ----------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-dark { background: var(--c-ink); color: var(--c-cream); }
.section-dark .eyebrow { color: rgba(245,239,229,0.6); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--c-cream); }
.section-dark .lead { color: rgba(245,239,229,0.78); }
.section-forest { background: var(--c-paper); color: var(--c-ink); }
.section-forest .eyebrow { color: var(--c-muted); }
.section-forest h2, .section-forest h3 { color: var(--c-ink); }
.section-forest .lead { color: var(--c-muted); }
.section-forest .ghost-light { border-color: var(--c-ink); color: var(--c-ink); }
.section-forest .ghost-light:hover { background: var(--c-ink); color: var(--c-cream); }
.center { text-align: center; }

/* ----------- Header ----------- */
#booking-bar { scroll-margin-top: 100px; }
#avail-search-bar .booking-bar-wrap { margin-top: 32px;}
#avail-search-bar .container { padding: 0!important }
/* ============================================================
   Booking bar — override [iw_availability_search]
   Adatta il form al design editoriale del tema HelloChalet.
   ============================================================ */

/* Contenitore che emerge dall'hero (homepage) */
.booking-bar-wrap {
  margin: -60px auto 0;
  max-width: calc(var(--maxw) - var(--gutter) * 2);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  box-shadow: 0 20px 60px -30px rgba(31,36,25,0.4);
  border-radius: 4px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}@media screen and (max-width: 1024px) {
  #avail-search-bar {
    padding: 0 !important;
  }
}
@media screen and (max-width: 1125px) {
  .booking-bar-wrap {
    margin: -15px auto 0 !important;
    border-radius: 4px !important;
  }
}

/* In pagina archivio: integrata nel layout, senza card */
.listings-search-wrap .archive-search-bar .iw-avail-search-wrapper { border: 0; box-shadow: none; border-radius: 0; }
.listings-search-wrap .archive-search-bar .iw-avail-field,
.listings-search-wrap .archive-search-bar .iw-avail-field-submit { padding-top: 28px; padding-bottom: 28px; }
.listings-search-wrap .archive-search-bar .iw-avail-field:first-child { padding-left: 0; }
.listings-search-wrap .archive-search-bar .iw-avail-field-submit { padding-right: 0; }

/* Reset variabili del plugin */
.booking-bar-wrap .iw-avail-search-wrapper {
  --iw-avail-h: auto; --iw-avail-radius: 0; --iw-avail-gap: 0;
  --iw-avail-border: var(--c-line-2); --iw-avail-color: var(--c-ink);
}
.booking-bar-wrap .iw-avail-search-form { margin: 0; }
.booking-bar-wrap .iw-avail-search-fields {
  display: grid !important;
  grid-template-columns: 1.5fr 1.2fr 0.8fr auto !important;
  grid-template-areas: "destination daterange guests submit" !important;
  gap: 0 !important; align-items: stretch; flex-wrap: unset;
}
.booking-bar-wrap .iw-avail-field--destination { grid-area: destination; }
.booking-bar-wrap .iw-avail-field--daterange   { grid-area: daterange; }
.booking-bar-wrap .iw-avail-field--guests      { grid-area: guests; }
.booking-bar-wrap .iw-avail-field-submit       { grid-area: submit; }
.booking-bar-wrap .iw-avail-field,
.booking-bar-wrap .iw-avail-field-submit {
  padding: 22px 28px; border-right: 1px solid var(--c-line-2);
  display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: unset;
}
.booking-bar-wrap .iw-avail-field-submit { padding: 0; border-right: 0; }
.booking-bar-wrap .iw-avail-field--destination { flex: unset; min-width: 0; }
.booking-bar-wrap .iw-avail-label {
  font-family: var(--f-eyebrow); text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 10px; color: var(--c-muted); font-weight: 400; margin-bottom: 0;
}
.booking-bar-wrap .iw-avail-input {
  border: 0; background: transparent; font-family: var(--f-display);
  font-size: 22px; font-style: italic; color: var(--c-ink);
  outline: none; width: 100%; padding: 0; height: auto;
  border-radius: 0; box-shadow: none; cursor: pointer; line-height: 1.2;
}
.booking-bar-wrap .iw-avail-input:focus { border: 0; box-shadow: none; outline: none; }
.booking-bar-wrap .iw-avail-select-wrap { position: relative; }
.booking-bar-wrap .iw-avail-select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  border: 0; background: transparent; font-family: var(--f-display);
  font-size: 22px; font-style: italic; color: var(--c-ink);
  outline: none; width: 100%; padding: 0; height: auto; border-radius: 0; cursor: pointer; line-height: 1.2;
}
.booking-bar-wrap .iw-avail-select:focus { box-shadow: none; outline: none; }
.booking-bar-wrap .iw-avail-select-arrow {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; pointer-events: none; color: var(--c-muted);
}
.booking-bar-wrap .iw-avail-select-arrow svg { width: 16px; height: 16px; display: block; }
/* Custom dropdown override — valore e freccia con stesso stile degli altri campi */
.booking-bar-wrap .iw-avail-dropdown { cursor: pointer; }
.booking-bar-wrap .iw-avail-dropdown-val {
  font-family: var(--f-display); font-size: 22px; font-style: italic;
  color: var(--c-ink); line-height: 1.2;
}
.booking-bar-wrap .iw-avail-dropdown-val[data-placeholder] { opacity: 0.5; }
.booking-bar-wrap .iw-avail-dropdown-arrow {
  color: var(--c-muted); opacity: 1; width: 18px; height: 18px;
}
.booking-bar-wrap .iw-counter { display: flex; align-items: center; gap: 12px; border: none !important; background: transparent; border-radius: 30px !important; height: auto; }
.booking-bar-wrap .iw-counter-val {
  font-family: var(--f-display); font-size: 22px; font-style: italic; font-weight: 500; color: var(--c-ink);
  min-width: 24px; text-align: center; line-height: 1.2;
}
.booking-bar-wrap .iw-counter-btn {
  width: 28px; height: 28px; border: 1px solid var(--c-line); background: transparent;
  border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; color: var(--c-ink);
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: background 0.2s, border-color 0.2s; flex-shrink: 0;
}
.booking-bar-wrap .iw-counter-btn:hover { background: var(--c-cream-2); border-color: var(--c-ink); }
.booking-bar-wrap .iw-avail-btn,
.booking-bar-wrap .iw-avail-btn.iw-avail-submit {
  height: 100%; width: 100%; min-width: 140px;
  background: var(--c-ink) !important; color: var(--c-cream) !important;
  border: 0; font-family: var(--f-eyebrow); text-transform: uppercase;
  letter-spacing: 0.24em; font-size: 11px; cursor: pointer;
  transition: opacity 0.2s; border-radius: 0; padding: 0 36px;
  display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: none;
}
.booking-bar-wrap .iw-avail-btn:hover,
.booking-bar-wrap .iw-avail-btn:focus-visible { opacity: 0.85; }
.booking-bar-wrap .iw-avail-btn .iw-icon { width: 16px; height: 16px; flex-shrink: 0; }
.booking-bar-wrap .iw-avail-loader {
  padding: 20px 28px; font-family: var(--f-eyebrow); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted);
  display: flex; align-items: center; gap: 12px;
}
.booking-bar-wrap .iw-spinner {
  width: 16px; height: 16px; border: 2px solid var(--c-line);
  border-top-color: var(--c-forest); border-radius: 50%;
  animation: iw-spin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes iw-spin { to { transform: rotate(360deg); } }
.booking-bar-wrap .iw-avail-search-results { border-top: 1px solid var(--c-line-2); padding: 40px 28px 48px; }
.booking-bar-wrap .iw-avail-results-header {
  font-family: var(--f-eyebrow); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 24px;
}
.booking-bar-wrap .iw-avail-results-grid { display: grid; grid-template-columns: repeat(var(--iw-columns, 3), 1fr); gap: 24px; }
.booking-bar-wrap .iw-empty-state {
  font-family: var(--f-eyebrow); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-muted); text-align: center; padding: 24px 0;
}
/* Pulsante "Scopri tutte le strutture" (.cta-btn solid, filtro iw_search_all_link):
   .cta-btn non va a capo e su mobile il testo EN usciva dal riquadro. */
.booking-bar-wrap .iw-empty-state-btn { max-width: 100%; white-space: normal; }
.booking-bar-wrap .iw-error {
  padding: 16px 28px; font-family: var(--f-body); font-size: 13px;
  color: #c0392b; border-top: 1px solid var(--c-line-2);
}
@media (max-width: 1023px) {
  .booking-bar-wrap .iw-avail-search-fields {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "destination daterange" "guests submit" !important;
  }
  .booking-bar-wrap .iw-avail-field-submit { padding: 0; }
  .booking-bar-wrap .iw-avail-btn,
  .booking-bar-wrap .iw-avail-btn.iw-avail-submit { min-width: unset; padding: 20px !important; }
  .booking-bar-wrap .iw-avail-field { border-bottom: 1px solid var(--c-line-2); }
  .booking-bar-wrap .iw-avail-results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .booking-bar-wrap { margin-top: -15px; border-radius: 0; border-left: 0; border-right: 0; }
  .booking-bar-wrap .iw-avail-search-fields {
    grid-template-columns: 1fr !important;
    grid-template-areas: "destination" "daterange" "guests" "submit" !important;
  }
  .booking-bar-wrap .iw-avail-field { border-right: 0; }
  .booking-bar-wrap .iw-avail-results-grid { grid-template-columns: 1fr; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,239,229,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--c-line-2);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease,
              backdrop-filter 0.35s ease;
}
/* Homepage: fixed trasparente sopra l'hero */
.site-header.transparent {
  backdrop-filter: blur(6px) saturate(81%);
  position: fixed; left: 0; right: 0; top: 0; width: 100%;
  background: transparent;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(245,239,229,0.16);
  color: var(--c-cream);
}
.site-header.transparent .top-bar { color: rgba(245,239,229,0.8); border-bottom-color: rgba(245,239,229,0.16); }
.site-header.transparent .nav a { color: var(--c-cream); }
.site-header.transparent .logo-img,
.site-header.transparent .custom-logo { filter: brightness(0) invert(1); }
.site-header.transparent .cta-btn { border-color: rgba(245,239,229,0.6); color: var(--c-cream); }
/* Dopo scroll: fixed con blur opaco (transition su background) */
.site-header.transparent.scrolled {
  background: rgba(245,239,229,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--c-line-2);
  color: var(--c-ink);
}
.site-header.transparent.scrolled .top-bar { color: var(--c-muted); border-bottom-color: var(--c-line-2); }
.site-header.transparent.scrolled .nav a { color: var(--c-ink); }
.site-header.transparent.scrolled .logo-img,
.site-header.transparent.scrolled .custom-logo { filter: none; }
.site-header.transparent.scrolled .cta-btn { border-color: var(--c-ink); color: var(--c-ink); }
.site-header.transparent.scrolled .cta-btn.solid { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-cream); }
.site-header.transparent.scrolled .cta-btn.ghost-light { border-color: var(--c-ink); color: var(--c-ink); }
.site-header.transparent.scrolled .cta-btn.ghost-light:hover { background: var(--c-ink); color: var(--c-cream); }
.site-header:not(.transparent) .cta-btn.ghost-light { border-color: var(--c-ink); color: var(--c-ink); }
.site-header:not(.transparent) .cta-btn.ghost-light:hover { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
/* fill-light: inverso di ghost-light — riempito di default, outline su hover */
.site-header.transparent .cta-btn.fill-light { background: var(--c-cream); color: var(--c-ink); border-color: var(--c-cream); }
.site-header.transparent .cta-btn.fill-light:hover { background: transparent; color: var(--c-cream); border-color: rgba(245,239,229,0.6); }
.site-header.transparent.scrolled .cta-btn.fill-light { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.site-header.transparent.scrolled .cta-btn.fill-light:hover { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.site-header:not(.transparent) .cta-btn.fill-light { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.site-header:not(.transparent) .cta-btn.fill-light:hover { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.site-header.transparent.scrolled .hamburger span { background: var(--c-ink); }
.site-header.transparent.scrolled .hamburger { border-color: rgba(0,0,0,0.2); }

.top-bar {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line-2);
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; gap: 24px; }
.top-bar .top-links { display: flex; gap: 24px; align-items: center; }
.top-bar .top-links a { display: flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--c-ink); }
.top-bar .top-social { opacity: 0.75; transition: opacity 0.2s; }
.top-bar .top-social:hover { opacity: 1; color: var(--c-ink); }

/* "Proponi il tuo immobile": stessa tipografia e stesso colore dello switch lingua
   (nessuno stile da bottone), separato dai codici lingua da un filetto discreto che
   segue il colore corrente del topbar — quindi valido sia su header trasparente che solido */
.top-bar .top-links .top-proponi {
  position: relative;
  padding-right: 24px;
  text-transform: uppercase;
  font-weight: 500;
}
.top-bar .top-links .top-proponi::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.35;
}

.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo .custom-logo-link { display: flex; align-items: center; }
.logo .custom-logo { height: 44px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.logo-img { height: 44px; width: auto; display: block; }

.nav {
  width: 100%;
  display: flex;
  /* gap controllato + center: con space-evenly le voci si allontanavano
     a dismisura man mano che il contenitore cresceva */
  gap: clamp(14px, 2vw, 40px);
  font-family: var(--f-eyebrow);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  justify-content: center;
  align-items: stretch;
  flex-direction: row;
}
.nav a { color: var(--c-ink); position: relative; padding: 4px 0; transition: color 0.2s;     text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
}
.nav a.current-menu-item::after, .nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
}

.header-actions { display: flex; gap: 16px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  transition: all 0.2s;
  background: none;
}
.icon-btn:hover { border-color: var(--c-forest); color: var(--c-forest); }
.icon-btn svg { display: block; }

.cta-btn {
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--c-ink);
  border-radius: 4px;
  color: var(--c-ink);
  background: transparent;
  transition: all 0.25s;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover { background: var(--c-ink); color: var(--c-cream); }
.cta-btn.solid { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.cta-btn.solid:hover { background: #111; border-color: #111; }
.cta-btn.clay { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.cta-btn.clay:hover { background: #111; border-color: #111; }
.cta-btn.ghost-light { border-color: rgba(245,239,229,0.5); color: var(--c-cream); }
.cta-btn.ghost-light:hover { background: var(--c-cream); color: var(--c-ink); border-color: var(--c-cream); }

/* ----------- Hero ----------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid; place-items: end start;
  /* Compensa l'header fixed trasparente in homepage */
  margin-top: calc(-1 * var(--header-h, 110px));
  padding: var(--header-h, 110px) 0 clamp(60px, 8vw, 100px) 0;
  color: var(--c-cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-ink);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(65deg, rgba(15,18,12,0.72) 0%, rgba(15,18,12,0.42) 38%, rgba(15,18,12,0.12) 70%, rgba(15,18,12,0) 100%),
    linear-gradient(180deg, rgba(15,18,12,0) 55%, rgba(15,18,12,0.55) 100%);
  pointer-events: none;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-content {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 28px;
}
.hero h1 {
  color: var(--c-cream);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  font-style: italic;
  font-weight: 400;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero h1 em { font-style: normal; color: var(--c-cream); }
.hero-sub {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: clamp(11px, 0.95vw, 14px);
  color: rgba(245,239,229,0.86);
}
.hero-desc {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 52ch;
  text-shadow: 0 1px 16px rgba(0,0,0,0.45);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 110px;
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,239,229,0.7);
  display: flex; align-items: center; gap: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-hint::before {
  content: "";
  width: 1px; height: 40px; background: rgba(245,239,229,0.6);
}

/* ----------- Section head ----------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head.center { display: block; text-align: center; max-width: 720px; margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

/* ----------- Bento categories ----------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  margin-top: 56px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  isolation: isolate;
}
.bento-card .bento-img,
.bento-card .bento-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-card .bento-img img { transition: transform 0.7s ease; }
.bento-card:hover .bento-img img { transform: scale(1.04); }
.bento-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0) 81%);
  pointer-events: none;
}
.bento-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 54%, rgba(0,0,0,0) 100%);
}
.bento-overlay {
  position: absolute; inset: 0;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 12px;
  color: var(--c-cream);
  z-index: 1;
}
.bento-eyebrow {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s, max-height 0.4s, margin-bottom 0.35s;
}
.bento-card:hover .bento-eyebrow { opacity: 1; max-height: 40px; margin-bottom: 8px; }
.bento-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 500;
  color: var(--c-cream);
  line-height: 1.0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}
.bento-title em { color: var(--c-gold); font-style: italic; }
.bento-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s, max-height 0.4s;
}
.bento-card:hover .bento-desc { opacity: 1; max-height: 120px; }
.bento-link {
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-cream);
  opacity: 0.9;
  margin-top: 4px;
}

.bento-grid .bento-1 { grid-column: span 6; grid-row: span 2; }
.bento-grid .bento-2 { grid-column: span 6; grid-row: span 1; }
.bento-grid .bento-3 { grid-column: span 6; grid-row: span 1; }
.bento-grid .bento-4 { grid-column: span 8; grid-row: span 1; }
.bento-grid .bento-5 { grid-column: span 4; grid-row: span 1; }

/* ----------- Chalet cards ----------- */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  overflow: visible;
  padding: 12px 8px;
  margin: -12px -8px;
}
/* --- Card struttura: versione archivio (standard) --- */
.chalet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.chalet-card:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 48px -8px rgba(10,15,10,0.18);
  z-index: 2;
}
.card-overlay-link {
  position: absolute; inset: 0; z-index: 1;
}
.chalet-card .img-wrap {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.chalet-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.chalet-card:hover .img-wrap img { transform: scale(1.04); }
.chalet-card .meta {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.chalet-card .name {
  font-family: var(--f-eyebrow);
  font-size: clamp(13px, 1.1vw, 16px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: var(--c-ink);
}
.chalet-card .name a { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.chalet-card .chalet-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--c-ink);
  margin-top: 5px;
  line-height: 1.2;
}
.chalet-card .location {
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 6px;
}
.chalet-card .price {
  text-align: right;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
}
.chalet-card .price small {
  display: block;
  font-family: var(--f-eyebrow);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.chalet-card .badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(250,246,238,0.92);
  color: var(--c-ink);
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
}
.chalet-card .wishlist {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(250,246,238,0.92);
  display: grid; place-items: center;
  color: var(--c-ink);
  transition: all 0.2s;
  border: 0;
  cursor: pointer;
}
.chalet-card .wishlist:hover { background: var(--c-ink); color: var(--c-cream); }
.chalet-card .wishlist svg { display: block; }
.chalet-card .card-body {
  background: #fff;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* --- Card struttura: versione home (full-image overlay) --- */
.chalet-card-hero {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
}
.chalet-card-hero .img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  isolation: isolate;
}
.chalet-card-hero .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.chalet-card-hero .img-wrap::before {
  content: " ";
  width: 100%; height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  mix-blend-mode: multiply;
  background-image: linear-gradient(180deg, #303030 0%, #fff0 40%, #fff0 80%, #303030 100%);
  opacity: 1 !important;
  transition: all .3s ease-in-out;
}
.chalet-card-hero .img-wrap::after {
  content: " ";
  width: 100%; height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  background: rgb(0 0 0);
  opacity: 0 !important;
  transition: all .3s ease-in-out;
}
.chalet-card-hero:hover .img-wrap::before { opacity: 0.8 !important; }
.chalet-card-hero .img-placeholder {
  width: 100%; height: 100%;
  background: var(--c-cream-2);
  display: grid; place-items: center;
  color: var(--c-muted); font-size: 13px;
}
.card-hero-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  padding: 24px 20px;
  text-align: center;
}
.card-hero-name {
  font-family: var(--f-eyebrow);
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--c-cream);
  line-height: 1.2;
}
.card-hero-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.45vw, 21px);
  color: rgba(245,239,229,0.96);
  margin-top: 6px;
  line-height: 1.2;
}
.card-hero-location {
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 10px;
}
.card-hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,239,229,0.75);
}
.card-hero-bottom span { display: flex; align-items: center; gap: 5px; }
.card-hero-bottom svg { display: block; flex-shrink: 0; }

.signature-grid .card-1,
.signature-grid .card-2,
.signature-grid .card-3,
.signature-grid .card-4,
.signature-grid .card-5,
.signature-grid .card-6 { grid-column: span 4; }

.see-all-row {
  margin-top: 64px;
  display: flex; justify-content: center;
}

/* ----------- Amenity row ----------- */
.amenity-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.amenity-row span { display: flex; align-items: center; gap: 6px; }
.amenity-row svg { display: block; flex-shrink: 0; }

/* ----------- Themed blocks ----------- */
/* overflow-x: foto e testo entrano con slide-left/right (translateX ±56px) e partono fuori
   dal bordo. Senza ritaglio allargavano la pagina per 1,4 s (su mobile da 390 a 413px), e
   header e pulsante WhatsApp, che sono fissi, si spostavano a destra. clip non crea un
   contenitore di scroll; hidden è il ripiego per i browser senza clip (Safari < 16). */
.themed-blocks { display: grid; grid-template-columns: 1fr; overflow-x: hidden; overflow-x: clip; }
.themed-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
/* Alternanza automatica: blocchi pari hanno immagine a destra */
.themed-block:nth-child(even) .themed-img { order: 2; }
.themed-block:nth-child(even) .themed-copy { order: 1; }
/* Classe esplicita ancora supportata per override dal Customizer */
.themed-block.img-right .themed-img { order: 2; }
.themed-block.img-right .themed-copy { order: 1; }
.themed-block.img-left .themed-img { order: 0; }
.themed-block.img-left .themed-copy { order: 1; }
.themed-block .themed-img,
.themed-block .themed-img img {
  width: 100%; height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}
.themed-block .themed-copy {
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(48px, 6vw, 96px);
  background: var(--c-cream);
}
.themed-block:nth-child(2) .themed-copy { background: var(--c-paper); }
.themed-block .themed-copy h3 {
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 64px);
  max-width: 14ch;
}
.themed-block .themed-copy h3 em { color: var(--c-forest); }
.themed-block .themed-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 44ch;
}
.themed-block .themed-copy .cta-btn { align-self: flex-start; margin-top: 4px; }

/* ----------- Pagina Destinazioni ----------- */
.dest-intro {
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(24px, 3vw, 36px);
}
.dest-intro h2 {
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 40px);
  margin-top: 10px;
  line-height: 1.15;
}
.dest-intro-text {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dest-intro-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-2);
}

.dest-blocks { display: grid; grid-template-columns: 1fr; }
.dest-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 500px;
}
.dest-block.img-right .dest-img { order: 2; }
.dest-block.img-right .dest-copy { order: 1; }
.dest-img,
.dest-img img {
  width: 100%; height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}
.dest-img-placeholder {
  width: 100%; height: 100%;
  min-height: 500px;
  background: var(--c-cream-2);
}
.dest-copy {
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(48px, 6vw, 96px);
  background: var(--c-cream);
}
.dest-block:nth-child(odd) .dest-copy { background: var(--c-paper); }
.dest-copy h2 {
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
}
.dest-excerpt p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink-2);
  max-width: 46ch;
}
.dest-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

@media (max-width: 1023px) {
  .dest-block,
  .dest-block.img-right { grid-template-columns: 1fr; }
  .dest-block.img-right .dest-img { order: 0; }
  .dest-block.img-right .dest-copy { order: 1; }
  .dest-img, .dest-img img, .dest-img-placeholder { min-height: 320px; height: 320px; }
}
@media (max-width: 767px) {
  .dest-copy { padding: 36px 24px; }
  .dest-actions { flex-direction: column; }
  .dest-actions .cta-btn { text-align: center; }
}

/* ----------- Host Locale ----------- */
.host-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.host-split .img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
}
.host-split .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.host-split .copy { display: flex; flex-direction: column; gap: 28px; }
.host-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.2;
  color: var(--c-ink-2);
  border-left: 1px solid var(--c-line);
  padding-left: 28px;
}
.host-meta {
  display: flex; gap: 24px; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.host-meta .who { font-family: var(--f-display); font-style: italic; font-size: 22px; }
.host-meta .role {
  font-family: var(--f-eyebrow); text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 11px; color: var(--c-muted); margin-top: 4px;
}

/* ----------- Experiences ----------- */
/* exp horizontal scroll */
.exp-scroll-outer {
  position: relative;
  margin-top: 56px;
}
.exp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(245,239,229,0.35);
  background: rgba(15,18,12,0.4);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  color: var(--c-cream);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.25s;
  z-index: 10;
}
.exp-arrow:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
}
.exp-arrow svg { display: block; }
.exp-prev { left: 20px; }
.exp-next { right: 20px; }

.exp-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  display: block;
}
.exp-scroll-wrap::-webkit-scrollbar { display: none; }
.exp-scroll-wrap.is-dragging { cursor: grabbing; }
.exp-row {
  display: flex;
  gap: 20px;
  /* non forza max-content: le card si centrano se stanno nel viewport */
  padding: 0 0 4px;
}
.exp-card {
  position: relative;
  display: block;
  flex: 0 0 380px;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.exp-card .img-wrap {
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
}
.exp-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.exp-card:hover .img-wrap img { transform: scale(1.07); }
.exp-card .img-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(5,10,20,0.60) 0%,
    rgba(5,10,20,0.15) 40%
  );
  transition: opacity 0.3s ease;
}
.exp-card:hover .img-wrap::before { opacity: 0.9; }
.exp-card-body {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  padding: 28px 20px;
  text-align: center;
}
.exp-card .kind {
  display: block;
  font-family: var(--f-eyebrow);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(245,239,229,0.8);
  margin-bottom: 10px;
}
.exp-card .title {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  line-height: 1.2;
  color: var(--c-cream);
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
}

/* ----------- Testimonials ----------- */
.testi-wrap {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
}
.testi { display: flex; flex-direction: column; gap: 16px; padding-right: 12px; }
.testi .stars { color: var(--c-clay); letter-spacing: 4px; font-size: 14px; }
.testi .quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--c-ink-2);
}
.testi .author {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--c-muted);
}

/* ----------- Blog ----------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 40px);
  margin-top: 56px;
}
.blog-card { display: flex; flex-direction: column; cursor: pointer; border-radius: 4px; overflow: hidden; }
.blog-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}
.blog-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.blog-card:hover .img-wrap img { transform: scale(1.04); }
.blog-body {
  background: #fff;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card .blog-meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.blog-card .blog-title {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
  color: var(--c-ink);
}
.blog-card .blog-link {
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-top: 4px;
}

/* ----------- Blog Carousel (home) ----------- */
/* ----------- Blog Swiper (home) ----------- */
.blog-swiper { margin-top: 56px; }

/* Card equal-height */
.blog-swiper .swiper-wrapper { align-items: stretch; }
.blog-swiper .swiper-slide { display: flex; flex-direction: column; height: auto; }
.blog-swiper .blog-card { flex: 1; height: 100%; }

/* Frecce navigation — stesso stile .exp-arrow, sovrapposte alle card */
.blog-swiper .swiper-button-prev,
.blog-swiper .swiper-button-next {
  width: 44px; height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(245,239,229,0.35);
  background: rgba(15,18,12,0.4);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  color: var(--c-cream);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: grid; place-items: center;
  transition: all 0.25s;
  z-index: 10;
}
.blog-swiper .swiper-button-prev { left: 20px; right: auto; }
.blog-swiper .swiper-button-next { right: 20px; left: auto; }
.blog-swiper .swiper-button-prev::after,
.blog-swiper .swiper-button-next::after { display: none; }
.blog-swiper .swiper-button-prev svg,
.blog-swiper .swiper-button-next svg { display: block; pointer-events: none; }
.blog-swiper .swiper-button-prev:hover,
.blog-swiper .swiper-button-next:hover { background: var(--c-ink); border-color: var(--c-ink); }
.blog-swiper .swiper-button-disabled { opacity: 0.3; }

/* ----------- Newsletter ----------- */
.newsletter-band {
  position: relative;
  isolation: isolate;
  color: var(--c-cream);
  padding: clamp(56px, 7vw, 96px) 0;
  overflow: hidden;
}
.newsletter-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 78%) 0%, rgb(23 23 23 / 82%) 100%), #0e3a6600;;
}
.newsletter-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  mix-blend-mode: luminosity;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
}
.newsletter-form { display: flex; gap: 14px; align-items: stretch; }
.newsletter-form input {
  flex: 1;
  padding: 16px 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--c-cream);
  font-size: 15px;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s;
}
.newsletter-form input:focus { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }

/* ----------- Footer ----------- */
.site-footer {
  background: var(--c-cream-2);
  color: var(--c-ink);
  padding: clamp(60px, 7vw, 90px) 0 32px;
}
.footer-logo-row {
  display: flex; justify-content: center;
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--c-line);
}
.footer-logo-row img,
.footer-logo-row .custom-logo { height: 56px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(48px, 6vw, 72px) 0 56px;
  border-bottom: 1px solid var(--c-line);
}
.footer-col {
  flex: 0 0 auto;
}
.footer-col h5 {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--c-ink);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; color: var(--c-ink-2); line-height: 1.5; }
.footer-col a { color: var(--c-ink-2); transition: color 0.2s; }
.footer-col a:hover { text-decoration: underline }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}
.footer-socials { display: flex; gap: 18px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--c-ink);
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  transition: all 0.2s;
}
.footer-socials a:hover { color: var(--c-cream); background: var(--c-ink); border-color: var(--c-ink); }
.footer-socials svg { display: block; }

/* ----------- Listings archive ----------- */
/* Wrapper ricerca archivio strutture */
.listings-search-wrap {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}
.archive-search-bar {
  background: var(--c-paper);
  overflow: hidden;
}
/* Sezione risultati ricerca (si svela sopra la griglia WP) */
.iw-archive-results-section {
  padding: 48px 0 0;
  background: var(--c-cream);
}
/* Legacy — mantenuto per compatibilità */
.listings-search {
  background: var(--c-cream);
  padding: clamp(36px, 4vw, 56px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--c-line);
}
.search-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr auto;
  gap: clamp(20px, 2vw, 32px);
  align-items: end;
}
.search-field {
  display: flex; flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--c-line);
  padding: 10px 0 12px;
}
.search-field .lbl {
  font-family: var(--f-eyebrow);
  font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.search-field input, .search-field select {
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 16px;
  outline: none;
  color: var(--c-ink);
  width: 100%;
}
.filter-bar {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line-2);
  padding: 24px 0;
  position: sticky;
  top: 79px;
  z-index: 20;
}

/* ---- Search bar stile booking (Case e Chalet) ---- */
.hc-search-bar {
  padding: 32px 0 8px;
}
.hc-search-wrap {
  display: flex;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 40px -12px rgba(31,36,25,0.22);
  border-radius: 4px;
  overflow: hidden;
}
.hc-search-field {
  flex: 1;
  padding: 20px 28px;
  border-right: 1px solid var(--c-line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hc-search-field:last-child { border-right: 0; }
.hc-search-label {
  font-family: var(--f-eyebrow);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hc-search-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 4px center;
  border: none;
  padding: 0 28px 0 0;
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  color: var(--c-ink);
  cursor: pointer;
  width: 100%;
  line-height: 1.2;
}
.hc-search-select:focus { outline: none; box-shadow: none; }
.hc-search-footer {
  padding: 10px 0 0;
  text-align: right;
}
.hc-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color 0.2s;
  padding: 4px 0;
}
.hc-reset-btn:hover { color: var(--c-ink); }
.hc-search-input {
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  color: var(--c-ink);
  width: 100%;
  line-height: 1.2;
}
.hc-search-input:focus { outline: none; box-shadow: none; }
.hc-search-input::placeholder { color: var(--c-muted); font-style: italic; }
@media (max-width: 767px) {
  .hc-search-wrap { flex-direction: column; }
  .hc-search-field { border-right: 0; border-bottom: 1px solid var(--c-line-2); }
  .hc-search-field:last-child { border-bottom: 0; }
  .hc-search-field--submit { align-items: stretch; }
  .hc-search-field--submit .cta-btn { width: 100%; justify-content: center; }
}
.filter-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.filter-row .left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; flex: 1; }
.filter-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-size: 13px;
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-pill:hover { border-color: var(--c-ink); }
.filter-pill.active { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }
.filter-pill.is-locked { cursor: default; opacity: 0.75; }
.filter-pill.is-locked:hover { border-color: var(--c-ink); }
.results-wrap {
  background: var(--c-cream-2);
  padding-left: max(24px, calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding-right: max(24px, calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.results-meta {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 32px 0 24px;
}
.results-meta .count { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--c-ink-2); }
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  padding-bottom: 80px;
}
/* Strutture nella pagina destinazione: 3 in linea su desktop e tablet, 1 colonna su mobile */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
}
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px;
  padding: 0 0 60px;
}
.page-btn {
  min-width: 38px; height: 38px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--c-ink-2);
  transition: all 0.2s;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}
.page-btn:hover { background: var(--c-line-2); }
.page-btn.active { background: var(--c-ink); color: var(--c-cream); }
.page-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ----------- Page hero (interno) ----------- */
.page-hero {
  position: relative;
  min-height: 38vh;
  display: grid; align-items: end;
  padding: 48px 0;
  color: var(--c-cream);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-ink);
}
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,18,12,0.72) 0%, rgba(15,18,12,0.42) 38%, rgba(15,18,12,0.12) 70%, rgba(15,18,12,0) 100%),
    linear-gradient(265deg, rgba(15,18,12,0) 55%, rgba(15,18,12,0.35) 100%);
  pointer-events: none;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero .container { display: grid; gap: 18px; }
.page-hero h1 {
  font-size: clamp(48px, 6.5vw, 96px);
  font-style: italic;
  color: var(--c-cream);
  line-height: 1.0;
  max-width: 16ch;
  text-shadow: 0 1px 18px rgba(0,0,0,0.4);
}
.breadcrumb {
  font-family: var(--f-eyebrow);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,239,229,0.7);
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap; row-gap: 4px;   /* a 14px le voci lunghe devono poter andare a capo su mobile */
  font-weight: 600;
  text-shadow: 0 1px 18px rgba(0,0,0,0.4);
}
.breadcrumb a:hover { color: var(--c-cream); }
.breadcrumb .sep { opacity: 0.5; }
/* Variante per sfondo chiaro (pagina dettaglio struttura): niente ombra, colori ink/muted,
   va a capo sui titoli lunghi; l'ultima voce (pagina corrente) non è un link */
.breadcrumb--light {
  font-size: 12px;     /* più discreto nella pagina struttura */
  font-weight: 400;    /* il 600 vale solo per i breadcrumb sulle hero */
  color: var(--c-muted);
  text-shadow: none;
  flex-wrap: wrap;
  row-gap: 4px;
  margin-bottom: 18px;
}
.breadcrumb--light a { color: var(--c-muted); }
.breadcrumb--light a:hover { color: var(--c-ink); }
.breadcrumb--light [aria-current="page"] { color: var(--c-ink); }
/* tipologia della struttura, spostata sotto il titolo */
.detail-header .detail-type { display: block; margin-top: 12px; }

/* ----------- Detail page ----------- */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}
.detail-gallery .gimg { position: relative; overflow: hidden; height: 100%; }
.detail-gallery .gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-gallery .g-main { grid-row: span 2; height: 100%; }
.detail-gallery .gallery-btn {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(250,246,238,0.92);
  padding: 10px 18px;
  border-radius: 4px;
  font-family: var(--f-eyebrow);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-ink);
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  border: 0;
}
.detail-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 60px;
}
.detail-header h1 {
  font-size: clamp(40px, 6vw, 84px);
  font-style: italic;
  line-height: 1.0;
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.detail-header-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-top: 28px;
}
.detail-header .place {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--c-muted);
  display: flex; align-items: center; gap: 4px;
}
.detail-header .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* ----------- Singola Destinazione ----------- */
.dest-single-hero {
  position: relative;
  min-height: 38vh;
  display: grid; align-items: end;
  padding-bottom: 48px;
  color: var(--c-cream);
  overflow: hidden;
  isolation: isolate;
}
.dest-single-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-ink);
}
.dest-single-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,36,25,0.72) 0%, rgba(31,36,25,0.2) 60%, transparent 100%);
}
.dest-single-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dest-single-hero h1 {
  font-style: italic;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--c-cream);
  margin-top: 10px;
}

/* Layout 2 colonne */
.dest-single-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
}

/* Contenuto editoriale */
.dest-single-content { min-width: 0; }
.dest-single-content h2 {
  font-style: italic;
  font-size: clamp(28px, 3vw, 42px);
  margin: 40px 0 16px;
  line-height: 1.15;
}
.dest-single-content h3 {
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  margin: 32px 0 12px;
}
.dest-single-content p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--c-ink-2);
  margin-bottom: 18px;
  max-width: 64ch;
}
.dest-single-content ul, .dest-single-content ol {
  padding-left: 20px;
  margin-bottom: 18px;
  color: var(--c-ink-2);
  font-size: 17px;
  line-height: 1.7;
}
.dest-single-content li { margin-bottom: 6px; }

/* Sidebar */
.dest-single-sidebar {
  position: sticky;
  top: calc(var(--header-h, 110px) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dest-sidebar-card {
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-paper);
}
.dest-sidebar-img { aspect-ratio: 16/9; overflow: hidden; }
.dest-sidebar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dest-sidebar-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dest-sidebar-body h3 {
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  margin: 0;
}
.dest-sidebar-body p { font-size: 15px; color: var(--c-ink-2); line-height: 1.6; margin: 0; }
.dest-sidebar-body .full-w { width: 100%; text-align: center; margin-top: 4px; }
.dest-sidebar-divider {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-align: center;
  padding: 4px 0;
  border-top: 1px solid var(--c-line-2);
  margin-top: 4px;
}
.dest-sidebar-search .iw-avail-search-wrapper { --iw-avail-h: auto; }
.dest-sidebar-search .iw-avail-search-fields {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  grid-template-areas: unset !important;
  gap: 0 !important;
}
.dest-sidebar-search .iw-avail-field,
.dest-sidebar-search .iw-avail-field-submit {
  padding: 12px 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--c-line-2) !important;
}
.dest-sidebar-search .iw-avail-field-submit { border-bottom: 0 !important; padding: 16px 0 0 !important; }
.dest-sidebar-search .iw-avail-btn { width: 100%; padding: 14px !important; }
.dest-sidebar-search .iw-avail-select,
.dest-sidebar-search .iw-avail-input { font-size: 16px !important; }

.dest-sidebar-contacts {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.dest-sidebar-contacts .lbl {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.dest-sidebar-contacts a {
  display: flex; align-items: center; gap: 8px;
  color: var(--c-ink);
  font-weight: 500;
}
.dest-sidebar-contacts a:hover { color: var(--c-forest); }

/* Responsive */
@media (max-width: 1023px) {
  .dest-single-layout { grid-template-columns: 1fr; }
  .dest-single-sidebar { position: static; }
  .dest-sidebar-img { aspect-ratio: 16/7; }
}
@media (max-width: 767px) {
  .dest-single-content p { max-width: 100%; }
}
.detail-quick {
  display: flex; flex-wrap: wrap;
  gap: 28px 44px;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 40px;
}
.detail-quick .item .lbl {
  font-family: var(--f-eyebrow);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-muted);
}
.detail-quick .item .val {
  font-family: var(--f-display); font-style: italic; font-size: 26px; color: var(--c-ink);
}
.detail-section { padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.detail-section:last-child { border-bottom: 0; }
.detail-section--map { border-bottom: 0; padding-bottom: 56px; }
#struttura-map { height: 400px; border-radius: 4px; overflow: hidden; }
.hc-map-marker { background: none; border: none; }
.hc-map-marker svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.detail-section h2, .detail-section h3 { font-style: italic; font-size: clamp(28px, 2.4vw, 36px); margin-bottom: 20px; }
.detail-section .body { font-size: 17px; line-height: 1.7; color: var(--c-ink-2); max-width: 64ch; }

.amenities {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  list-style: none;
  padding: 0; margin: 0;
}
.amenities li {
  display: flex; gap: 12px; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line-2);
  font-size: 14px;
}
.amenities li .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c-forest); flex-shrink: 0; }

.amenities-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, margin-top 0.45s ease;
  margin-top: 0;
}
.amenities-extra.is-open {
  max-height: 2000px;
  margin-top: 16px;
}
.amenities-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-eyebrow);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink);
  transition: color 0.2s;
}
.amenities-toggle:hover { color: var(--c-forest); }
.amenities-toggle svg { transition: transform 0.35s ease; flex-shrink: 0; }
.amenities-toggle.is-open svg { transform: rotate(180deg); }

.booking-card {
  position: sticky; top: 110px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 32px;
  border-radius: 2px;
  box-shadow: 0 12px 40px -20px rgba(31,36,25,0.18);
}
.booking-card .price-row {
  display: flex; align-items: baseline; gap: 8px;
  padding-bottom: 20px; border-bottom: 1px solid var(--c-line-2); margin-bottom: 20px;
}
.booking-card .price-row .from {
  font-family: var(--f-eyebrow); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-muted);
}
.booking-card .price-row .price {
  font-family: var(--f-display); font-style: italic; font-size: 38px; color: var(--c-ink);
}
.booking-card .price-row .per { font-size: 13px; color: var(--c-muted); }
.booking-card .field-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.booking-card .bfield { padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.booking-card .bfield + .bfield { border-left: 1px solid var(--c-line-2); }
.booking-card .bfield.full { grid-column: span 2; border-top: 1px solid var(--c-line-2); border-left: 0; }
.booking-card .bfield .lbl {
  font-family: var(--f-eyebrow); font-size: 9.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-muted);
}
.booking-card .bfield .val { font-size: 14px; color: var(--c-ink-2); }
.booking-card .breakdown {
  font-size: 13px;
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--c-line-2);
  margin-top: 6px;
}
.booking-card .breakdown .row { display: flex; justify-content: space-between; }
.booking-card .breakdown .row.total {
  font-family: var(--f-display); font-style: italic; font-size: 22px;
  padding-top: 14px; border-top: 1px solid var(--c-line-2); margin-top: 6px;
  color: var(--c-ink);
}

/* ----------- Contact ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info .block .lbl {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.contact-info .block .val {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-ink);
}
.contact-form {
  background: var(--c-paper);
  padding: clamp(36px, 4vw, 56px);
  border-radius: 2px;
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 22px;
}
.contact-form h3 { font-style: italic; font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field {
  display: flex; flex-direction: column; gap: 4px;
  border-bottom: 1px solid var(--c-line);
  padding: 10px 0 8px;
}
.field .lbl {
  font-family: var(--f-eyebrow); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-muted);
}
.field input, .field textarea, .field select {
  border: 0; background: transparent; padding: 6px 0;
  font-size: 15px; outline: none; resize: none; color: var(--c-ink); width: 100%;
}
.field textarea { min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-muted); }
.checkbox-row { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--c-muted); margin:10px 0 }
.checkbox-row input { margin-top: 3px; accent-color: var(--c-forest); }

/* ----------- Scroll animations ----------- */
@keyframes hc-fade-up {
  from { opacity: 0; transform: translateY(56px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hc-slide-left {
  from { opacity: 0; transform: translateX(-56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hc-slide-right {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(0); }
}

[data-anim] {
  opacity: 0;
}
[data-anim].anim-in {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-duration: 1.4s;
}
[data-anim="fade-up"].anim-in    { animation-name: hc-fade-up; }
[data-anim="fade-in"].anim-in    { animation-name: hc-fade-in; }
[data-anim="slide-left"].anim-in { animation-name: hc-slide-left; }
[data-anim="slide-right"].anim-in { animation-name: hc-slide-right; }

/* stagger via delay inline */
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; animation: none !important; }
}

/* ----------- Divider ----------- */
.divider {
  width: 60px; height: 1px;
  background: var(--c-ink);
  margin: 28px 0;
}
.divider.light { background: rgba(245,239,229,0.5); }
.divider.center { margin-inline: auto; }

/* ----------- Responsive ----------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .signature-grid > * { grid-column: span 12 !important; }
  .trio, .testi-wrap, .blog-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .bento-grid > * { grid-column: span 3 !important; grid-row: span 1 !important; }
  .themed-block, .themed-block.img-right { grid-template-columns: 1fr; }
  .themed-block.img-right .themed-img { order: 0; }
  .themed-block.img-right .themed-copy { order: 1; }
  .themed-block .themed-img, .themed-block .themed-img img { min-height: 320px; height: 320px; }
  .section-head { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 60vh; }
  .detail-gallery .g-main { grid-row: span 1; grid-column: span 2; }
  .detail-layout, .contact-grid, .host-split, .newsletter-inner { grid-template-columns: 1fr; }
  .footer-grid { flex-wrap: wrap; }
  .footer-grid .footer-col { flex: 1 1 calc(50% - 20px); }
  .list-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .testi-wrap, .blog-grid, .amenities { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .footer-grid .footer-col { flex: 1 1 100%; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .bento-grid > * { grid-column: 1 !important; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-radius: 4px; }
  .list-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .exp-card { flex: 0 0 300px; }
  .exp-arrow { width: 36px; height: 36px; }
  .exp-prev { left: 12px; }
  .exp-next { right: 12px; }
  .form-row { grid-template-columns: 1fr; }
}
/* ============================================================
   HelloChalet — Responsive (da mockup tab/mobile ufficiale)
   Breakpoints:
     Desktop large : ≥ 1280px (default)
     Desktop small : 1024–1279px
     Tablet        : 768–1023px
     Mobile large  : 480–767px
     Mobile small  : ≤ 479px
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   Hamburger toggle button
   ───────────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--c-ink); }
.hamburger span {
  display: block;
  width: 18px; height: 1.4px;
  background: var(--c-ink);
  transition: all 0.25s;
}
.site-header.transparent .hamburger span { background: var(--c-cream); }
.site-header.transparent .hamburger { border-color: rgba(245,239,229,0.5); }

/* ─────────────────────────────────────────────────────────────
   Mobile drawer (slide-in da destra)
   ───────────────────────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 88vw);
  height: 100vh;
  background: var(--c-cream);
  z-index: 100;
  transform: translateX(100%);
  /* visibility: da chiuso il menu è nascosto anche a Tab e screen reader (prima le sue
     13 voci invisibili stavano nel giro del Tab, anche su desktop). Si nasconde solo
     a fine animazione di chiusura (ritardo 0.4s); in apertura compare subito. */
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.4,.0,.2,1), box-shadow 0.4s cubic-bezier(.4,.0,.2,1), visibility 0s linear 0.4s;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
/* Ombra solo da aperto: da chiuso il drawer sta appena fuori dallo schermo
   e la sua ombra sfumava sul bordo destro di ogni pagina, a tutte le larghezze. */
.mobile-drawer.open {
  transform: translateX(0);
  box-shadow: -20px 0 60px -20px rgba(31,36,25,0.3);
  visibility: visible;
  transition-delay: 0s;
}

.mobile-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(31,36,25,0.5);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--c-line);
}
.mobile-drawer-head img,
.mobile-drawer-head .custom-logo { height: 38px; width: auto; }

.mobile-drawer-close {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  display: grid; place-items: center;
  color: var(--c-ink);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  background: transparent;
}
.mobile-drawer-close:hover { border-color: var(--c-ink); }

.mobile-drawer .drawer-nav {
  padding: 32px 28px 20px;
  display: flex; flex-direction: column; gap: 4px;
  list-style: none;
  margin: 0;
}
.mobile-drawer .drawer-nav li { padding: 0; }
.mobile-drawer .drawer-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line-2);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-drawer .drawer-nav a:hover {
  color: var(--c-forest);
  padding-left: 8px;
}

.mobile-drawer .drawer-cta {
  display: block;
  margin: 24px 28px 0;
  padding: 18px;
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-drawer .drawer-cta:hover { background: #111; }
.mobile-drawer .drawer-cta--ghost {
  margin-top: 12px;
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.mobile-drawer .drawer-cta--ghost:hover { background: var(--c-ink); color: var(--c-cream); }

.mobile-drawer .drawer-contact {
  padding: 28px;
  border-top: 1px solid var(--c-line);
  background: var(--c-cream-2);
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14px;
  color: var(--c-ink-2);
  margin-top: auto;
}
.mobile-drawer .drawer-contact a {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-ink-2);
  transition: color 0.2s;
}
.mobile-drawer .drawer-contact a:hover { color: var(--c-forest); }
.mobile-drawer .drawer-contact .lbl {
  font-family: var(--f-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--c-muted);
  margin-bottom: 6px;
}
.mobile-drawer .drawer-contact svg { display: block; flex-shrink: 0; }

/* Header icon-btn: always-show rimane visibile su mobile */
.header-actions .icon-btn { display: grid; }
.header-actions .cta-btn { display: inline-block; padding: 9px 18px;}

/* ─────────────────────────────────────────────────────────────
   Tablet (≤ 1023px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  :root {
    --gutter: clamp(20px, 4vw, 40px);
    --section-y: clamp(56px, 8vw, 96px);
    --maxw: 100%;
  }


  .nav { display: none; }
  .header-actions .icon-btn:not(.always-show) { display: none; }
  .header-actions .cta-btn { display: none; }
  .hamburger { display: inline-flex; }

  /* Topbar mobile: solo icone per tel/mail, social nascosti, lingua e CTA visibili */
  .top-bar .container { gap: 8px; font-size: 11px; }
  .top-contact-label { display: none; }
  .top-bar .top-social { display: none !important; }
  .top-bar .top-links .top-proponi { padding-right: 10px; }

  /* Hero */
  .hero { min-height: 78vh; }
  .hero h1 { font-size: clamp(48px, 8.5vw, 84px); }
  .hero-content { gap: 22px; }

  /* Grids → 2 colonne */
  .trio, .list-grid, .testi-wrap,
  .contact-team, .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .signature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .signature-grid > * {
    grid-column: span 1 !important;
    padding-top: 0 !important;
  }
  .signature-grid > * .img-wrap { aspect-ratio: 4 / 3 !important; }

  /* Bento tablet: feature grande + 4 piccole */
  .bento-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 12px; }
  .bento-grid .bento-1 { grid-column: span 12 !important; grid-row: span 2 !important; }
  .bento-grid .bento-2,
  .bento-grid .bento-5{ grid-column: span 5 !important; grid-row: span 1 !important; }
  .bento-grid .bento-4,
  .bento-grid .bento-3 { grid-column: span 7 !important; grid-row: span 1 !important; }

  /* Themed blocks stack */
  .themed-block, .themed-block.img-right { grid-template-columns: 1fr; min-height: 0; }
  .themed-block.img-right .themed-img { order: 0; }
  .themed-block.img-right .themed-copy { order: 1; }
  .themed-block .themed-img,
  .themed-block .themed-img img { min-height: 300px; height: 300px; }
  .themed-block .themed-copy { padding: 48px 32px; gap: 18px; }
  .themed-block .themed-copy h3 { font-size: clamp(34px, 5vw, 48px); }

  .host-split { grid-template-columns: 1fr; gap: 32px; }
  .host-split .img-wrap { aspect-ratio: 16 / 11; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }

  .footer-grid { flex-wrap: wrap; gap: 40px; }
  .footer-grid .footer-col { flex: 1 1 calc(50% - 20px); }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }

  /* Detail page */
  .detail-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 4 / 3;
    height: auto; gap: 4px;
  }
  .detail-gallery .g-main { grid-column: span 2; grid-row: 1; height: auto; }
  .detail-gallery .gimg:nth-child(4),
  .detail-gallery .gimg:nth-child(5) { display: none; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .booking-card { position: static; max-width: 520px; margin: 0 auto; }
  .amenities { grid-template-columns: 1fr; }

  /* Listings */
  .filter-bar { top: 0; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row .left { flex-wrap: nowrap; }
  .filter-pill { flex-shrink: 0; }
  .search-row { grid-template-columns: 1fr 1fr; gap: 22px; }
  .search-btn { grid-column: span 2; width: 100%; padding: 16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-form { padding: 32px 28px; }

  /* Page hero */
  .page-hero h1 { font-size: clamp(40px, 7vw, 64px); }

  /* Type */
  h2.section-title { font-size: clamp(34px, 5vw, 56px) !important; }
  .lead { font-size: 17px; }

  /* Slider controls */
  .hs-controls { bottom: 24px; gap: 12px; }
  .hs-arrow {  width: 36px; height: 36px; }
}

/* ─────────────────────────────────────────────────────────────
   Mobile (≤ 767px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: clamp(48px, 12vw, 72px);
  }

  .nav-row { padding: 14px 0; gap: 12px; }
  .logo-img { height: 36px !important; }

  /* Hero */
  .hero { min-height: 88vh; padding-bottom: clamp(44px, 8vw, 64px); }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); line-height: 1; max-width: 12ch; }
  .hero-sub { font-size: 11px; letter-spacing: 0.24em; }
  .hero-desc { font-size: 16px !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .cta-btn { width: 100%; text-align: center; justify-content: center; }
  .scroll-hint { display: none; }

  /* Slider controls */
  .hs-controls { bottom: 24px; gap: 12px; }
  .hs-arrow { width: 36px; height: 36px; }

  /* Section heads */
  .section-head, .section-head.center { margin-bottom: 32px; }
  .section-head.center { text-align: center; }
  .section-head .lead { font-size: 16px; }

  /* Type */
  h2.section-title { font-size: clamp(30px, 8vw, 44px) !important; }
  h3 { font-size: clamp(24px, 6vw, 32px); }
  .lead { font-size: 15.5px; line-height: 1.55; }
  .section { padding: 56px 0 !important; }

  /* All grids → 1 colonna */
  .trio, .list-grid, .testi-wrap,
  .contact-team, .blog-grid, .signature-grid,
  .amenities, .form-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-grid { flex-direction: column !important; gap: 24px !important; }
  .footer-grid .footer-col { flex: 1 1 100% !important; }
  .form-row { gap: 14px !important; }

  /* Bento mobile: tutto stack */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 10px;
  }
  .bento-grid .bento-1,
  .bento-grid .bento-2,
  .bento-grid .bento-3,
  .bento-grid .bento-4,
  .bento-grid .bento-5 { grid-column: 1 !important; grid-row: span 1 !important; }
  .bento-grid .bento-1 { grid-row: span 1 !important; }
  .bento-overlay { padding: 22px; }
  .bento-title { font-size: 28px; }
  .bento-eyebrow { opacity: 1 !important; max-height: 40px !important; margin-bottom: 8px !important; }
  .bento-desc { opacity: 1 !important; max-height: 200px !important; font-size: 12.5px; }

  /* Chalet card */
  .amenity-row { gap: 12px; }

  /* Detail */
  .detail-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 130px 130px;
    height: auto; gap: 4px;
  }
  .detail-gallery .g-main { grid-row: 1 !important; grid-column: 1 !important; height: 240px; }
  .detail-gallery .gimg:nth-child(2) { grid-row: 2 !important; grid-column: 1 !important; }
  .detail-gallery .gimg:nth-child(3) { grid-row: 3 !important; grid-column: 1 !important; }
  .detail-gallery .gimg:nth-child(4),
  .detail-gallery .gimg:nth-child(5) { display: none; }
  .detail-header { padding: 32px 0 24px; margin-bottom: 36px; }
  .detail-header h1 { font-size: clamp(30px, 7vw, 44px); }
  .detail-quick { gap: 18px 28px; padding: 22px 0 28px; }
  .detail-quick .item .val { font-size: 18px; }
  .detail-section { padding: 24px 0; }
  .detail-section h2, .detail-section h3 { font-size: clamp(24px, 6vw, 30px); }
  .detail-section .body { font-size: 15px; }
  .detail-header .actions { gap: 8px; flex-wrap: wrap; }
  .detail-header .actions .cta-btn { font-size: 10px; padding: 12px 18px; letter-spacing: 0.18em; }
  .booking-card { padding: 24px; max-width: 100%; }
  .booking-card .price-row .price { font-size: 30px; }

  /* Themed blocks */
  .themed-block .themed-copy { padding: 36px 22px; }
  .themed-block .themed-copy h3 { font-size: clamp(28px, 7vw, 38px); }

  /* Host */
  .host-quote { font-size: 18px; padding-left: 18px; }
  .host-meta { flex-wrap: wrap; gap: 14px; }
  .host-meta .cta-btn { margin-left: 0 !important; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input { border-radius: 4px; padding: 14px 20px; }
  .newsletter-form .cta-btn { width: 100%; padding: 14px; text-align: center; }

  /* Footer */
  .footer-col li, .footer-col a { font-size: 14px; }
  .footer-socials { justify-content: flex-start; }
  .footer-logo-row img { height: 44px !important; }
  .site-footer { padding: 60px 0 28px; }

  /* Listings */
  .search-row { grid-template-columns: 1fr; gap: 16px; }
  .search-btn { grid-column: 1; width: 100%; }
  .results-meta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0 18px; }
  .pagination .page-btn { min-width: 32px; height: 32px; padding: 0 10px; font-size: 12px; }

  /* Contact */
  .contact-info .block .val { font-size: 22px; }
  .contact-info .block p { font-size: 14px; }
  .filter-pill { font-size: 12px; padding: 8px 14px; }

  /* Page hero */
  .page-hero { min-height: 42vh !important; padding-bottom: 36px; }
  .page-hero h1 { font-size: clamp(34px, 9vw, 52px); max-width: 14ch; }

  /* Drawer mobile */
  .mobile-drawer .drawer-nav a { font-size: 24px; padding: 14px 0; }
}

/* ─────────────────────────────────────────────────────────────
   Very small (≤ 380px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 380px) {
  .top-bar { display: none; }
  .hero h1 { font-size: clamp(36px, 11vw, 50px); }
  .bento-grid { grid-auto-rows: 220px; }
}
/* ============================================================
   Hero Slider
   ============================================================ */

.hero-slider {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-items: flex-start;
  color: var(--c-cream);
}

/* ---- Sfondi ---- */
.hs-bgs {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hs-bg {
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity;
}
.hs-bg.is-active { opacity: 1; }
.hs-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,18,12,0.72) 0%, rgba(15,18,12,0.42) 38%, rgba(15,18,12,0.12) 70%, rgba(15,18,12,0) 100%);
  pointer-events: none;
}
.hs-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Contenuti ---- */
.hs-contents {
  padding-top: 130px;
  flex: 1;
  position: relative;
  justify-items: start;
  display: grid;
  align-items: end;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hs-content {
  grid-area: 1 / 1;          /* tutti i contenuti sovrapposti nella stessa cella */
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 28px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
  pointer-events: none;
}
.hs-content.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hs-content h1,
.hs-content h2 {
  color: var(--c-cream);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-style: italic;
  font-weight: 400;
  max-width: 30ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hs-content h1 em,
.hs-content h2 em { font-style: normal; color: var(--c-cream); }

/* ---- Controlli ---- */
.hs-controls {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.hs-arrow {
  width: 44px; height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(245,239,229,0.45);
  background: rgba(15,18,12,0.35);
  backdrop-filter: blur(8px);
  color: var(--c-cream);
  display:none!important;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.hs-arrow:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
}
.hs-arrow svg { display: block; }

.hs-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hs-dot {
  width: 28px; height: 2px;
  border-radius: 999px;
  background: rgba(245,239,229,0.4);
  border: 0;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}
.hs-dot.is-active {
  background: var(--c-cream);
  width: 48px;
}

/* ---- Progress bar ---- */
.hs-progress {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  background: var(--c-forest);
  z-index: 10;
  width: 0%;
  transition: width linear;
}

/* scroll-hint non più assoluto nel slider (rimane in basso a destra) */
.hero-slider .scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 48px;
  z-index: 5;
}

@media (max-width: 1125px) {
  .hs-controls { bottom: 24px; gap: 14px; }
  .hs-arrow { width: 36px; height: 36px; }
  .hero-slider .scroll-hint { display: none; }
}

/* ============================================================
   Single struttura — gallery wrap + booking calendar
   ============================================================ */

.detail-gallery-wrap {
  overflow: hidden;
  border-radius: 8px;
  margin-top: 40px;
}

/* booking-card: contacts row (replaces old manager contact) */
.booking-card-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line-2);
  margin-top: 18px;
  font-size: 13px;
  color: var(--c-muted);
}
.booking-card-contacts .lbl {
  font-family: var(--f-eyebrow);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 3px;
}
.booking-card-contacts a {
  color: var(--c-ink);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
.booking-card-contacts a:hover { text-decoration: underline; }

/* iw_calendar integration inside booking card */
.booking-calendar-wrap {
  margin-bottom: 16px;
}
.booking-calendar-wrap .iw-calendar-wrap,
.booking-calendar-wrap .iw-calendar {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  font-family: var(--f-body) !important;
}
.booking-calendar-wrap .iw-cal-head {
  font-family: var(--f-eyebrow) !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--c-muted) !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--c-line-2) !important;
  margin-bottom: 12px !important;
}
.booking-calendar-wrap .iw-cal-nav button {
  background: transparent !important;
  border: 1px solid var(--c-line) !important;
  border-radius: 50% !important;
  color: var(--c-ink) !important;
  width: 28px !important;
  height: 28px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.booking-calendar-wrap .iw-cal-nav button:hover {
  background: var(--c-cream-2) !important;
}
.booking-calendar-wrap .iw-cal-day {
  font-size: 13px !important;
  color: var(--c-ink-2) !important;
}
.booking-calendar-wrap .iw-cal-day.available {
  color: var(--c-ink) !important;
  font-weight: 500 !important;
}
.booking-calendar-wrap .iw-cal-day.booked,
.booking-calendar-wrap .iw-cal-day.unavailable {
  color: var(--c-muted) !important;
  text-decoration: line-through !important;
}
.booking-calendar-wrap .iw-cal-day.selected,
.booking-calendar-wrap .iw-cal-day.in-range {
  background: var(--c-forest) !important;
  color: var(--c-cream) !important;
  border-radius: 2px !important;
}
.booking-calendar-wrap .iw-cal-legend {
  font-family: var(--f-eyebrow) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--c-muted) !important;
  margin-top: 12px !important;
}
.booking-calendar-wrap .iw-cal-cta,
.booking-calendar-wrap .iw-calendar-btn {
  display: block !important;
  width: 100% !important;
  background: var(--c-ink) !important;
  color: var(--c-cream) !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: var(--f-eyebrow) !important;
  font-size: 11px !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  padding: 16px !important;
  cursor: pointer !important;
  margin-top: 16px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
}
.booking-calendar-wrap .iw-cal-cta:hover,
.booking-calendar-wrap .iw-calendar-btn:hover { opacity: 0.85 !important; }


/* ============================================================
   iw-booking-widget — integrazione in booking-card
   Solo sfondo e padding: il resto del widget rimane invariato
   ============================================================ */

.booking-card .iw-booking-widget {
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
}

/* Padding card leggermente ridotto per bilanciare il widget interno */
.booking-card { padding: 28px; }

/* ============================================================
   Esperienze — pagina hub + griglia servizi
   ============================================================ */

/* Split due blocchi homepage esperienze */
.esp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.esp-block {
  display: flex;
  flex-direction: column;
}
.esp-block-img {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
}
.esp-block-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.esp-block-img:hover img { transform: scale(1.04); }
.esp-block-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,36,25,0.35) 0%, transparent 60%);
}
.esp-block-body {
  padding: 28px 0 0;
}
.esp-block-body h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 8px 0 14px;
  line-height: 1.15;
}
.esp-block-body p {
  font-size: 15px;
  color: var(--c-ink-2);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 44ch;
}

/* Griglia servizi */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.servizio-card {
  display: flex;
  flex-direction: column;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.servizio-card:hover {
  box-shadow: 0 12px 40px -16px rgba(31,36,25,0.2);
}
.servizio-card-img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.servizio-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.servizio-card:hover .servizio-card-img img { transform: scale(1.04); }
.servizio-card-placeholder {
  width: 100%; height: 100%;
  background: var(--c-cream-2);
}
.servizio-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.servizio-card-body h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.25;
}
.servizio-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.servizio-card-body h3 a:hover { text-decoration: underline; }
.servizio-card-body p {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.6;
  margin: 4px 0 8px;
  flex: 1;
}
.servizio-card-body .cta-btn { align-self: flex-start; margin-top: auto; }

/* Responsive */
@media (max-width: 1023px) {
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .esp-split { grid-template-columns: 1fr; gap: 40px; }
  .servizi-grid { grid-template-columns: 1fr; gap: 24px; }
  .servizio-card-img { aspect-ratio: 16 / 9; }
}

/* ============================================================
   Blog — archive (home.php) + single post
   ============================================================ */

/* --- Archive grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

/* Blog card — stile coerente con chalet-card */
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.blog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px -8px rgba(10,15,10,0.15);
  z-index: 2;
}
.blog-card-overlay-link {
  position: absolute; inset: 0; z-index: 1;
}
.blog-card-img {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-cream-2);
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-placeholder { width: 100%; height: 100%; background: var(--c-cream-2); }

.blog-card-body {
  background: #fff;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.blog-card-meta {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: flex; align-items: center; gap: 8px;
}
.blog-card-meta a { color: var(--c-muted); text-decoration: none; position: relative; z-index: 2; }
.blog-card-meta a:hover { color: var(--c-ink); }
.sep-dot { opacity: 0.5; }
.blog-card-title {
  font-family: var(--f-eyebrow);
  font-size: clamp(13px, 1.1vw, 15px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-ink);
  margin: 2px 0 0;
  line-height: 1.3;
  text-transform: uppercase;
}
.blog-card-title a { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.blog-card-title a:hover { text-decoration: underline; }
.blog-card-excerpt {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--c-ink);
  line-height: 1.4;
  margin: 2px 0 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-read {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: none;
  margin-top: 6px;
  position: relative; z-index: 2;
}
.blog-card-read:hover { color: var(--c-ink); }

/* --- Single post hero --- */
.post-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  background: var(--c-deep);
}
.post-hero--noimag {
  min-height: 32vh;
  background: var(--c-deep);
}
.post-hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.post-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.post-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,18,13,0.72) 0%, rgba(15,18,13,0.25) 55%, transparent 100%);
}
.post-hero .container { position: relative; z-index: 1; }
.post-hero .breadcrumb a,
.post-hero .breadcrumb span { color: rgba(245,239,229,0.7); }
.post-hero h1 {
  color: var(--c-cream);
  max-width: 22ch;
  margin-top: 16px;
}
.post-hero-meta {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,239,229,0.65);
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
}

/* --- Single post layout --- */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  padding: 60px 0 80px;
  align-items: start;
}
.post-content { min-width: 0; }

/* Prose — contenuto editoriale */
.prose { font-size: 17px; line-height: 1.8; color: var(--c-ink-2); }
.prose h2 { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(24px,2.2vw,32px); color: var(--c-ink); margin: 48px 0 16px; line-height: 1.2; }
.prose h3 { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(20px,1.8vw,26px); color: var(--c-ink); margin: 36px 0 12px; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 22px; }
.prose li { margin-bottom: 8px; }
.prose img { width: 100%; height: auto; border-radius: 2px; margin: 32px 0; display: block; }
.prose a { color: inherit; text-decoration: underline; }
.prose blockquote { border-left: 3px solid var(--c-forest); padding-left: 24px; margin: 32px 0; font-style: italic; color: var(--c-ink); font-family: var(--f-display); font-size: 1.15em; }
.prose strong { color: var(--c-ink); font-weight: 600; }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-line-2); }

/* Navigazione prev/next */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line-2);
}
.post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.post-nav-item:hover { border-color: var(--c-ink); background: var(--c-cream-2); }
.post-nav-item--next { text-align: right; }
.post-nav-dir {
  font-family: var(--f-eyebrow);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.post-nav-title {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--c-ink);
  line-height: 1.3;
}

/* --- Sidebar --- */
.post-sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 32px; }
.sidebar-block {
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 24px;
}
.sidebar-block-title {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 20px;
}
.sidebar-posts { display: flex; flex-direction: column; gap: 16px; }
.sidebar-post {
  display: flex; gap: 14px; align-items: flex-start;
  text-decoration: none; color: inherit;
}
.sidebar-post-img {
  flex-shrink: 0;
  width: 72px; height: 56px;
  overflow: hidden; border-radius: 2px;
}
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-post-body { display: flex; flex-direction: column; gap: 4px; }
.sidebar-post-date {
  font-family: var(--f-eyebrow);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.sidebar-post-title {
  font-size: 13px;
  color: var(--c-ink);
  line-height: 1.4;
  font-family: var(--f-display);
  font-style: italic;
}
.sidebar-post:hover .sidebar-post-title { text-decoration: underline; }

.sidebar-cta-block { background: rgba(245,239,229,0.86); border-color: var(--c-line-2); }
.sidebar-cta-block .eyebrow { color: var(--c-muted); }
.sidebar-cta-block h3 {
  font-family: var(--f-display); font-style: italic;
  font-size: 22px; font-weight: 400;
  color: var(--c-ink); margin: 10px 0 10px;
}
.sidebar-cta-block p { font-size: 13px; color: var(--c-muted); margin-bottom: 20px; }
.full-w { width: 100%; text-align: center; justify-content: center; }

/* --- Responsive --- */
@media (max-width: 1023px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { position: static; }
}
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item--next { text-align: left; }
}

/* ============================================================
   Filtri avanzati — Case e Chalet
   ============================================================ */

.filter-row--pills {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line-2);
  margin-bottom: 0;
}
.filter-row--advanced {
  padding: 18px 0 20px;
}
.adv-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 20px;
}
.adv-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 160px;
}
.adv-filter-group--search { flex: 1; min-width: 200px; }
.adv-filter-label {
  font-family: var(--f-eyebrow);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.adv-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--c-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 9px 34px 9px 12px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-ink);
  cursor: pointer;
  transition: border-color 0.2s;
  width: 100%;
}
.adv-filter-select:focus { outline: none; border-color: var(--c-ink); }
.adv-filter-select:hover { border-color: var(--c-ink-2); }
.adv-filter-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.adv-filter-search-wrap svg {
  position: absolute;
  right: 12px;
  color: var(--c-muted);
  pointer-events: none;
}
.adv-filter-input {
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 9px 36px 9px 12px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-ink);
  width: 100%;
  background: var(--c-paper);
  transition: border-color 0.2s;
}
.adv-filter-input::placeholder { color: var(--c-muted); }
.adv-filter-input:focus { outline: none; border-color: var(--c-ink); }
.adv-filter-reset {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  padding: 9px 14px;
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  align-self: flex-end;
}
.adv-filter-reset:hover { border-color: var(--c-ink); color: var(--c-ink); }

/* Loading state */
.hc-grid-loading { opacity: 0.45; pointer-events: none; transition: opacity 0.2s; }

@media (max-width: 767px) {
  .adv-filters { gap: 10px 14px; }
  .adv-filter-group { min-width: calc(50% - 7px); }
  .adv-filter-group--search { min-width: 100%; flex: none; }
}


/* ============================================================
   IW Booking Widget — stile allineato al tema HelloChalet
   ============================================================ */
.iw-booking-widget,
.iw-mobile-bar,
.iw-mobile-sheet {
  --iw-primary:      var(--c-ink);
  --iw-primary-dark: var(--c-deep);
  --iw-font-main:    var(--f-eyebrow);
  --iw-radius:       4px;
  --iw-radius-sm:    2px;
}

/* Bottone primario: sfondo scuro, senza gradient blu */
.iw-booking-widget .iw-btn-primary,
.iw-mobile-bar .iw-btn-primary,
.iw-mobile-sheet .iw-btn-primary {
  background-image: none;
  background: var(--c-ink);
  border-color: var(--c-ink);
  font-family: var(--f-eyebrow);
  letter-spacing: 0.15em;
  border-radius: 4px;
  text-transform: uppercase;
}
.iw-booking-widget .iw-btn-primary:hover,
.iw-booking-widget .iw-btn-primary:focus-visible,
.iw-mobile-bar .iw-btn-primary:hover,
.iw-mobile-sheet .iw-btn-primary:hover {
  background-image: none;
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}

/* Bottoni counter +/- */
.iw-booking-widget .iw-counter-btn:hover:not(:disabled) {
  background: var(--c-ink);
  color: #fff;
}

/* Bottone "Continua →" nel risultato disponibilità */
.iw-booking-widget .iw-btn-book {
  background-image: none !important;
  background: var(--c-ink) !important;
  border-color: var(--c-ink) !important;
  font-family: var(--f-eyebrow);
  letter-spacing: 0.15em;
  border-radius: 0 0 4px 4px;
}
.iw-booking-widget .iw-btn-book:hover,
.iw-booking-widget .iw-btn-book:focus-visible {
  background-image: none !important;
  background: var(--c-deep) !important;
  color: #fff !important;
  border-color: var(--c-deep) !important;
}

/* Su tablet e mobile la booking card è nascosta (sostituita dalla iw-mobile-bar) */
@media (max-width: 1024px) {
  .booking-card { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE VALUTAZIONE GRATUITA  (page-valutazione.php)
═══════════════════════════════════════════════════════════ */

/* ── 1. HERO (solo testo, full-bleed) ── */
.vg-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background: var(--c-ink);
  overflow: hidden;
}
.vg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vg-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(61,56,53,0.82) 0%,
    rgba(61,56,53,0.55) 60%,
    rgba(61,56,53,0.10) 100%
  );
}
.vg-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 10vw, 120px) var(--gutter) clamp(100px, 12vw, 160px);
  max-width: 1300px;
}
.vg-hero__content{
  max-width: 680px;
}
.eyebrow--hero {
  color: rgba(245,239,229,0.75);
}
.vg-hero__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 14px 0 0;
}
.vg-hero__title em {
  font-style: italic;
  color: rgba(245,239,229,0.88);
}
.vg-hero__lead {
  color: rgba(245,239,229,0.82);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 520px;
}

/* ── 2. SEZIONE TESTO + FORM (con margine negativo sull'hero) ── */
.vg-lead-form {
  position: relative;
  z-index: 2;
  background: var(--c-cream);
  padding-bottom: var(--section-y);
}
.vg-lead-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  padding-top: 60px;
}
.vg-lead-form__content {
  /* testo editor WP */
}
.vg-editor-content {
  color: var(--c-ink);
}
.vg-editor-content h2,
.vg-editor-content h3 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.vg-editor-content h2 { font-size: clamp(22px, 2vw, 30px); }
.vg-editor-content h3 { font-size: clamp(18px, 1.5vw, 22px); }
.vg-editor-content p {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.vg-editor-content ul,
.vg-editor-content ol {
  padding-left: 20px;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.vg-editor-content strong { color: var(--c-ink); }

/* ── FORM CARD ── */
.vg-form__card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.14);
  margin-top: -300px;
}
.vg-form__title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 12px 0 4px;
  line-height: 1.25;
}
.vg-form__subtitle {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0 0 28px;
}
.vg-form__placeholder {
  color: var(--c-muted);
  font-size: 14px;
  border: 1px dashed rgba(61,56,53,0.2);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

/* CF7 dentro .vg-form__card */
.vg-form__card .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.vg-form__card .cf7-field label {
  font-family: var(--f-eyebrow);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.vg-form__card .cf7-field abbr {
  text-decoration: none;
  color: var(--c-ink);
}
.vg-form__card .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.vg-form__card input[type="text"],
.vg-form__card input[type="email"],
.vg-form__card input[type="tel"],
.vg-form__card textarea {
  width: 100%;
  border: 1px solid rgba(61,56,53,0.18);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--c-ink);
  background: var(--c-paper);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  box-sizing: border-box;
}
.vg-form__card input[type="text"]:focus,
.vg-form__card input[type="email"]:focus,
.vg-form__card input[type="tel"]:focus,
.vg-form__card textarea:focus {
  border-color: var(--c-ink);
  background: #fff;
}
.vg-form__card input::placeholder,
.vg-form__card textarea::placeholder {
  color: var(--c-muted);
  font-style: italic;
}
.vg-form__card textarea {
  min-height: 110px;
}
.vg-form__card .cf7-privacy {
  margin: 8px 0 24px;
}
.vg-form__card .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.vg-form__card .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-ink);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.vg-form__card .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.55;
}
.vg-form__card input[type="submit"] {
  width: 100%;
  display: block;
  cursor: pointer;
  margin-top: 8px;
}
.vg-form__card .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}
.vg-form__card .wpcf7-form-control.wpcf7-not-valid {
  border-color: #e74c3c !important;
}
.vg-form__card .wpcf7-response-output {
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  margin: 16px 0 0;
  border: 1px solid rgba(61,56,53,0.12);
}
.vg-form__card .wpcf7-mail-sent-ok {
  background: #f0f9f4;
  border-color: #2ecc71;
  color: #27ae60;
}
.vg-form__card .wpcf7-validation-errors,
.vg-form__card .wpcf7-mail-sent-ng {
  background: #fdf0f0;
  border-color: #e74c3c;
  color: #c0392b;
}

/* Override globale: nessun blu nelle em di questo template */
.vg-why__title em,
.vg-services__title em {
  color: var(--c-ink);
}

/* ── 3. PERCHÉ HELLOCHALET ── */
.vg-why {
  background: var(--c-paper);
  padding: 60px 0;
}
.vg-why__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.vg-why__title {
  margin: 14px 0 0;
  font-size: clamp(26px, 2.8vw, 40px);
}
.vg-why__lead {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 14px 0 0;
}
.vg-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vg-why__card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background-color: var(--c-ink);
}
/* Overlay gradient dal basso — stesso effetto delle bento box in home */
.vg-why__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0) 81%);
  pointer-events: none;
  transition: background 0.4s ease;
  z-index: 0;
}
.vg-why__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 280px;
  padding: 32px 28px;
}
.vg-why__card-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 500;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.3;
  text-shadow: rgba(0, 0, 0, 0.55) 0px 2px 12px, rgba(0, 0, 0, 0.4) 0px 1px 3px;


}
.vg-why__card-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Desktop: titolo centrato, hover → titolo sale + testo appare */
@media (min-width: 1024px) {
  .vg-why__card-inner {
    justify-content: center;
  }
  /* Hover: gradient si intensifica (solo desktop) */
  .vg-why__card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 54%, rgba(0,0,0,0) 100%);
  }
  .vg-why__card-title {
    transition: transform 0.35s ease;
    margin-bottom: 0;
  }
  .vg-why__card:hover .vg-why__card-title {
    transform: translateY(-36px);
  }
  /* Testo: position absolute → non altera l'altezza della card */
  .vg-why__card-text {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
    margin: 0;
  }
  .vg-why__card:hover .vg-why__card-text {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 4. SERVIZI (card grid) ── */
.vg-services__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.vg-services__title {
  margin: 14px 0 0;
  font-size: clamp(26px, 2.8vw, 40px);
}
.vg-services__lead {
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 14px 0 0;
}
.vg-services {
  padding: 60px 0;
}
.vg-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vg-service-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(61,56,53,0.07);
  box-shadow: 0 2px 20px rgba(61,56,53,0.05);
  display: flex;
  flex-direction: column;
}
.vg-service-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vg-service-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.vg-service-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vg-service-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.vg-service-card__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.vg-service-card__title {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.25;
}
.vg-service-card__text {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.vg-service__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.vg-service__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.55;
}
.vg-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-ink);
  stroke: var(--c-ink);
}

/* ── 5. COME LAVORIAMO (titolo + righe titolo/descrizione) ── */
/* Nomi di classe .hc-cl ereditati dal blocco HTML che questa sezione sostituisce:
   invariati di proposito, così la resa è identica anche finché in pagina resta il
   vecchio <style> inline. La spaziatura esterna sta su .vg-how (non su .hc-cl) per
   non sommarsi a quella di .vg-free quando il blocco vive ancora lì.
   font-size/line-height dei paragrafi replicano la tipografia ereditata da .prose. */
.vg-how {
  padding: 60px 0;
}
/* Riproduce la tipografia che il blocco ereditava da .prose. Va sulla radice e non
   sui soli <p>: le max-width in `ch` si calcolano sul font-size dell'elemento che
   le porta, quindi a 16px il lead andrebbe a capo diverso. */
.hc-cl {
  font-size: 17px;
  line-height: 1.8;
}
.hc-cl__head {
  max-width: 62ch;
  margin: 0 0 40px;
}
.hc-cl .hc-cl__head h2 {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 14px;
}
.hc-cl .hc-cl__head h2 em { font-style: italic; }
.hc-cl .hc-cl__head p {
  color: var(--c-muted);
  margin: 0;
}
.hc-cl__row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--c-line);
}
.hc-cl__row:last-child { border-bottom: 1px solid var(--c-line); }
.hc-cl .hc-cl__row h3 {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.25;
  color: var(--c-ink);
  margin: 0;
}
.hc-cl .hc-cl__row p {
  color: var(--c-muted);
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 767px) {
  .hc-cl__row { grid-template-columns: 1fr; gap: 8px; }
}

/* ── 6. BLOCCO LIBERO (modello Elementor / HTML) ── */
.vg-free {
  padding: 60px 0;
}
/* i modelli Elementor gestiscono da soli larghezza e spaziature interne */
.vg-free--elementor {
  padding: 0;
}
.vg-free__inner > *:first-child { margin-top: 0; }
.vg-free__inner > *:last-child  { margin-bottom: 0; }

/* ── 7. CTA FINALE ── */
.vg-cta {
  background: var(--c-paper);
  padding-block: 60px;
}
.vg-cta__inner {
  max-width: 810px;
  margin-inline: auto;
  background: var(--c-ink);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(61,56,53,0.18);
  padding: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.vg-cta__title {
  color: #fff;
  margin: 0;
  font-size: clamp(26px, 2.8vw, 40px);
}
.vg-cta__title em {
  color: rgba(245,239,229,0.72);
}
.vg-cta__lead {
  color: rgba(245,239,229,0.68);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .vg-lead-form__inner {
    grid-template-columns: 1fr;
  }
  .vg-form__card {
    order: -1;
    margin-top: -120px;
  }
  .vg-lead-form__content {
    order: 1;
  }
  .vg-service-card__body {
    align-items: center !important;
    text-align: center !important;
  }
  .vg-service-card__header {
    flex-direction: column !important;
    align-items: center !important;
  }
  .vg-service-card__heading {
    align-items: center !important;
    text-align: center !important;
  }
  .vg-service-card__text {
    width: 100% !important;
    text-align: left !important;
  }
  .vg-service__list {
    width: 100% !important;
    text-align: left !important;
  }
  .vg-why__grid {
    grid-template-columns: 1fr;
  }
  .vg-why__card {
    width: 100%;
    max-width: 100%;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
  }
  .vg-why__grid .vg-why__card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
    margin-inline: 0;
  }
  .vg-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .vg-hero {
    min-height: auto;
  }
  .vg-why__grid {
    grid-template-columns: 1fr;
  }
  .vg-why__card {
    width: 100%;
    max-width: 100%;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
  }
  .vg-why__grid .vg-why__card:last-child:nth-child(odd) {
    max-width: 100%;
  }
  .vg-services__grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────
   Pulsante WhatsApp fisso (footer.php). Numero da Personalizza →
   Info contatti (hc_whatsapp). z-index 90: sopra l'header (50),
   sotto il drawer mobile (99/100) e sotto calendario, pannelli e
   sheet del plugin (9998+), che quindi lo coprono quando sono aperti.
   ───────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(31,36,25,0.40);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float svg { width: 30px; height: 30px; display: block; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(31,36,25,0.45); }
.wa-float:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }

@media (max-width: 767px) {
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
  /* Scheda struttura: la barra "Verifica disponibilità" del plugin occupa il fondo (72px). */
  body.iw-has-mobile-bar .wa-float { bottom: calc(72px + 16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
  .wa-float:hover { transform: none; }
}
@media print { .wa-float { display: none; } }
