@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&family=Raleway:wght@300;400&display=swap');

:root {
  --bg-ivory: #f2eee8;
  --bg-stone: #e3d8c8;
  --ink-deep: #151714;
  --ink-soft: #2a2d28;
  --line-soft: rgba(255, 255, 255, 0.24);
  --line-dark: rgba(18, 20, 17, 0.14);
  --gold: #9a7830;
  --shadow-soft: 0 28px 60px rgba(17, 20, 16, 0.22);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --transition-smooth: 520ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-header-fast: 140ms cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Raleway", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-home-legacy-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-home-legacy-body: "Raleway", "Avenir Next", "Helvetica Neue", sans-serif;
  --section-padding: clamp(3rem, 5vw, 5.5rem);
  --header-inline-padding: clamp(1.9rem, 3.1vw, 3.2rem);
  --max-content: 1220px;
  --accent: #9a7830;
  --accent-soft: rgba(154, 120, 48, 0.18);
  --accent-hover: #b99866;
  --home-beige: #f1ebe3;
  --home-beige-soft-1: #f4eee6;
  --home-beige-soft-2: #e9dfd3;
  --home-beige-soft-3: #f5f0e8;
  --home-subheader-offset: 0px;
  --apartment-subheader-offset: 0px;
  --footer-height: 58px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

html {
  color-scheme: light;
  background: #ece3d8;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-deep);
  background: linear-gradient(135deg, #f6f2eb 0%, #ece3d8 55%, #e7ddcf 100%);
  min-height: 100svh;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22) 0, transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(198, 168, 129, 0.2) 0, transparent 36%),
    radial-gradient(circle at 18% 82%, rgba(21, 23, 20, 0.13) 0, transparent 34%);
}

.page-home .noise-layer {
  opacity: 0.06;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  backdrop-filter: blur(9px);
  background: linear-gradient(180deg, rgba(15, 18, 15, 0.48), rgba(15, 18, 15, 0.06));
}

.home-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 2rem var(--header-inline-padding);
  left: 0;
  width: 100%;
  transform: translateX(0);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: transparent !important;
  filter: none !important;
  border-bottom: 0;
  box-shadow: none !important;
  transition:
    background-color var(--transition-header-fast),
    padding var(--transition-header-fast);
}

.brand {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-header:not(.home-header):not(.apartment-header) {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.3rem);
}

.site-header:not(.home-header):not(.apartment-header) .header-actions {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  width: auto;
  flex-wrap: nowrap;
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
}

.site-header:not(.home-header):not(.apartment-header) .menu-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.site-header:not(.home-header):not(.apartment-header) .lang-switcher {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  margin-left: clamp(0.25rem, 0.6vw, 0.55rem);
}

.site-header:not(.home-header):not(.apartment-header) .brand {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  min-width: 0;
  text-align: center;
}

.site-header:not(.home-header):not(.apartment-header) .btn {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
}

.home-header .brand {
  justify-self: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.76rem, 0.98vw, 0.98rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.96);
  white-space: nowrap;
}

.home-header .brand-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(165px, 20vw, 285px);
  height: clamp(48px, 6vw, 84px);
  transition: opacity 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .home-header .brand-logo {
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
}

.page-home .home-header .brand-logo,
.page-home .home-header.is-scrolled .brand-logo {
  width: clamp(165px, 20vw, 285px);
  height: clamp(78px, 6.9vw, 116px);
}

.page-home .home-header.is-scroll-motion .brand-logo {
  opacity: 0;
}

/* Ogni sezione mostra il proprio header solo quando è ferma:
   durante lo scroll tutte le info dell'header svaniscono come il logo,
   e ricompaiono quando la sezione si assesta (scroll fermo). */
.page-home .home-header .menu-toggle,
.page-home .home-header .lang-switcher,
.page-home .home-header .header-actions {
  transition: color var(--transition-header-fast),
    opacity 150ms cubic-bezier(0.33, 1, 0.68, 1);
}

.page-home .home-header.is-scroll-motion .menu-toggle,
.page-home .home-header.is-scroll-motion .lang-switcher,
.page-home .home-header.is-scroll-motion .header-actions {
  opacity: 0;
  pointer-events: none;
}

.home-header .brand-logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  height: auto;
  pointer-events: none;
  transition: opacity var(--transition-header-fast), transform var(--transition-header-fast), filter var(--transition-header-fast);
}

.home-header .brand-logo .logo-full {
  width: 100%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 10px 22px rgba(13, 16, 20, 0.28));
}

.home-header .brand-logo .logo-mark {
  width: clamp(62px, 5.4vw, 88px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  filter: none;
}

.home-header .menu-toggle {
  justify-self: start;
  width: 1.56rem;
  min-width: 1.56rem;
  height: 1.04rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  color: rgba(245, 242, 235, 0.9);
  transition: color var(--transition-header-fast), opacity var(--transition-header-fast);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  box-shadow:
    0 -0.33rem 0 currentColor,
    0 0.33rem 0 currentColor;
}

.site-header:not(.home-header):not(.apartment-header) .menu-toggle {
  width: 1.56rem;
  min-width: 1.56rem;
  height: 1.04rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  color: #ffffff;
}

.home-header-actions {
  justify-self: end;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.home-header .header-actions,
.apartment-header .header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.home-header .menu-toggle,
.apartment-header .menu-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.home-header .lang-switcher,
.apartment-header .lang-switcher {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  margin-left: calc(1.56rem + clamp(1.08rem, 1.8vw, 1.55rem));
}

.home-header .brand,
.apartment-header .brand {
  grid-column: 2;
  grid-row: 1;
}

.home-header .header-minimal-link,
.apartment-header .header-minimal-link {
  justify-self: end;
}

.header-minimal-link {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(0.9rem, 1.12vw, 1.04rem);
  letter-spacing: 0.02em;
  font-weight: 300;
  text-transform: none;
  color: #171a16 !important;
  transition: color var(--transition-header-fast), opacity var(--transition-header-fast);
}

.guest-area-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(0.9rem, 1.12vw, 1.04rem);
  letter-spacing: 0.02em;
  font-weight: 300;
  text-transform: none;
  color: #171a16 !important;
  white-space: nowrap;
  transition: color var(--transition-header-fast), opacity var(--transition-header-fast);
}

.site-header:not(.home-header):not(.apartment-header) .guest-area-link {
  color: rgba(245, 242, 235, 0.96) !important;
}

.home-header .header-minimal-link {
  color: rgba(245, 242, 235, 0.96) !important;
}

.home-header .guest-area-link {
  color: rgba(245, 242, 235, 0.96) !important;
}

.home-header .menu-toggle:hover,
.home-header .guest-area-link:hover,
.home-header .header-minimal-link:hover {
  border-color: transparent;
  background: transparent;
  opacity: 0.72;
}

.home-header.is-scrolled {
  left: 0;
  width: 100%;
  transform: translateX(0);
  padding: 0.98rem var(--header-inline-padding);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: transparent !important;
  filter: none !important;
  border-bottom: 0;
  box-shadow: none !important;
}

.home-header.is-scrolled .brand-logo {
  width: clamp(82px, 7vw, 108px);
  height: clamp(46px, 4.1vw, 64px);
}

.home-header.is-scrolled .menu-toggle,
.home-header.is-scrolled .guest-area-link,
.home-header.is-scrolled .header-minimal-link {
  color: #171a16;
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
}

.home-header.is-scrolled:not(.is-on-final) .guest-area-link,
.home-header.is-scrolled:not(.is-on-final) .header-minimal-link {
  color: #171a16 !important;
}

.home-header.is-scrolled.is-on-final .menu-toggle,
.home-header.is-scrolled.is-on-final .guest-area-link,
.home-header.is-scrolled.is-on-final .header-minimal-link {
  color: rgba(245, 242, 235, 0.96) !important;
}

.page-home .home-header.is-on-dark-section .menu-toggle,
.page-home .home-header.is-on-dark-section .guest-area-link,
.page-home .home-header.is-on-dark-section .header-minimal-link {
  color: rgba(245, 242, 235, 0.9) !important;
}

.home-hover-menu {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hover-menu a {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.12vw, 1.04rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, color 180ms ease, transform 220ms ease;
}

.home-header.is-scrolled .home-hover-menu a {
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
}

.home-hover-menu a:hover {
  opacity: 0.84;
}

.home-hover-menu--compact {
  --menu-inline-gap: 0.95rem;
  left: var(--home-menu-left, 0px);
  top: var(--home-menu-top, calc(50% + 1.18rem));
  display: grid;
  justify-items: start;
  gap: var(--menu-inline-gap);
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translateY(-8px);
}

.home-hover-menu--compact::before {
  content: none;
}

.home-hover-menu--compact a {
  display: block;
  color: rgba(245, 242, 235, 0.92);
  padding: 0;
  position: relative;
  transform: translateY(8px);
}

.home-hover-menu--compact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08rem;
  width: 0;
  height: 1px;
  background: rgba(245, 242, 235, 0.58);
  transition: width 240ms ease;
}

.home-hover-menu--compact a:hover::after {
  width: 100%;
}

.home-hover-menu--bar {
  left: 0;
  right: 0;
  top: calc(100% - 0.01rem);
  transform: translateY(-10px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.1vw, 2.35rem);
  width: 100%;
  padding: 0.9rem var(--header-inline-padding) 0.85rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-hover-menu--bar a {
  color: rgba(20, 23, 19, 0.88);
  font-size: clamp(0.98rem, 1.15vw, 1.16rem);
  font-weight: 300;
  letter-spacing: 0.012em;
  position: relative;
  white-space: nowrap;
  transform: translateY(8px);
}

.home-hover-menu--bar a + a::before {
  content: none;
}

.home-hover-menu--bar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08rem;
  width: 0;
  height: 1px;
  background: rgba(20, 23, 19, 0.58);
  transition: width 250ms ease;
}

.home-hover-menu--bar a:hover::after {
  width: 100%;
}

.home-header.is-menu-hover:not(.is-scrolled) .home-hover-menu--compact,
.home-header.is-menu-hover.is-scrolled.is-on-final .home-hover-menu--compact {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-header.is-menu-hover.is-scrolled:not(.is-on-final) .home-hover-menu--bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-header.is-menu-hover:not(.is-scrolled) .home-hover-menu--compact a,
.home-header.is-menu-hover.is-scrolled.is-on-final .home-hover-menu--compact a {
  animation: menu-link-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-header.is-menu-hover.is-scrolled:not(.is-on-final) .home-hover-menu--bar a {
  animation: menu-link-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hover-menu--compact a:nth-child(1),
.home-hover-menu--bar a:nth-child(1) { animation-delay: 55ms; }
.home-hover-menu--compact a:nth-child(2),
.home-hover-menu--bar a:nth-child(2) { animation-delay: 95ms; }
.home-hover-menu--compact a:nth-child(3),
.home-hover-menu--bar a:nth-child(3) { animation-delay: 135ms; }
.home-hover-menu--compact a:nth-child(4),
.home-hover-menu--bar a:nth-child(4) { animation-delay: 175ms; }
.home-hover-menu--compact a:nth-child(5),
.home-hover-menu--bar a:nth-child(5) { animation-delay: 215ms; }
.home-hover-menu--compact a:nth-child(6),
.home-hover-menu--bar a:nth-child(6) { animation-delay: 255ms; }

.menu-overlay .menu-list a {
  opacity: 0;
  transform: translateY(14px);
}

.menu-overlay.is-open .menu-list a {
  animation: menu-link-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.menu-overlay.is-open .menu-list li:nth-child(1) a { animation-delay: 70ms; }
.menu-overlay.is-open .menu-list li:nth-child(2) a { animation-delay: 120ms; }
.menu-overlay.is-open .menu-list li:nth-child(3) a { animation-delay: 170ms; }
.menu-overlay.is-open .menu-list li:nth-child(4) a { animation-delay: 220ms; }
.menu-overlay.is-open .menu-list li:nth-child(5) a { animation-delay: 270ms; }
.menu-overlay.is-open .menu-list li:nth-child(6) a { animation-delay: 320ms; }

@keyframes menu-link-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-header.is-scrolled .brand-logo .logo-full {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  filter: none;
}

.home-header.is-scrolled .brand-logo .logo-mark {
  width: 100%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.apartment-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.98rem var(--header-inline-padding);
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: 0;
}

.apartment-header .menu-toggle {
  justify-self: start;
  width: 1.56rem;
  min-width: 1.56rem;
  height: 1.04rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  color: #171a16;
}

.apartment-header .menu-toggle:hover {
  border-color: transparent;
  background: transparent;
  opacity: 0.72;
}

.apartment-header .brand-logo {
  position: relative;
  justify-self: center;
  width: clamp(82px, 7vw, 108px);
  height: clamp(46px, 4.1vw, 64px);
  display: inline-grid;
  place-items: center;
}

.apartment-header .brand-logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  display: block;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.apartment-header .brand-logo .logo-full {
  width: 100%;
  opacity: 0;
}

.apartment-header .brand-logo .logo-mark {
  width: 100%;
  opacity: 1;
}

.apartment-header .apartment-logo-mark {
  width: 100%;
  height: auto;
}

.apartment-header .apartment-header-actions {
  justify-self: end;
  width: auto;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.apartment-header .header-minimal-link {
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #171a16;
}

.apartment-header .guest-area-link {
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  color: #171a16 !important;
}

.apartment-header .guest-area-link:hover,
.apartment-header .header-minimal-link:hover {
  color: #171a16;
  opacity: 0.72;
}

.apartment-hover-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 0.02rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.1vw, 2.35rem);
  width: 100%;
  padding: 0.9rem var(--header-inline-padding) 0.85rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 170ms ease, transform 210ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apartment-hover-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.apartment-hover-menu--compact {
  --menu-inline-gap: 0.95rem;
  left: var(--home-menu-left, 0px);
  right: auto;
  top: var(--home-menu-top, calc(50% + 1.18rem));
  display: grid;
  justify-items: start;
  gap: var(--menu-inline-gap);
  min-width: 0;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translateY(-8px);
}

.apartment-hover-menu--compact::before {
  content: none;
}

.apartment-hover-menu a {
  color: rgba(20, 23, 19, 0.88);
  font-size: clamp(0.98rem, 1.15vw, 1.16rem);
  font-weight: 300;
  letter-spacing: 0.012em;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  position: relative;
}

.apartment-hover-menu--compact a {
  display: block;
  color: rgba(245, 242, 235, 0.92);
  padding: 0;
  transform: translateY(8px);
}

.apartment-hover-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.09rem;
  width: 0;
  height: 1px;
  background: rgba(20, 23, 19, 0.55);
  transition: width 240ms ease;
}

.apartment-hover-menu--compact a::after {
  background: rgba(245, 242, 235, 0.58);
}

.apartment-hover-menu a:hover::after {
  width: 100%;
}

.apartment-header.is-menu-hover .apartment-hover-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.apartment-header.is-menu-hover .apartment-hover-menu a {
  animation: menu-link-in 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.apartment-hover-menu a:nth-child(1) { animation-delay: 55ms; }
.apartment-hover-menu a:nth-child(2) { animation-delay: 95ms; }
.apartment-hover-menu a:nth-child(3) { animation-delay: 135ms; }
.apartment-hover-menu a:nth-child(4) { animation-delay: 175ms; }
.apartment-hover-menu a:nth-child(5) { animation-delay: 215ms; }
.apartment-hover-menu a:nth-child(6) { animation-delay: 255ms; }

.language-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}

.language-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.48rem 0.62rem;
  cursor: pointer;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

.language-switcher button.is-active {
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.menu-toggle {
  appearance: none;
  width: 1.56rem;
  min-width: 1.56rem;
  height: 1.04rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity var(--transition-header-fast), color var(--transition-header-fast);
}

.menu-close {
  appearance: none;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth);
}

.menu-toggle:hover {
  border-color: transparent;
  background: transparent;
  opacity: 0.72;
}

.menu-close:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 18px;
  border: 1px solid transparent;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #0f120f;
  box-shadow: 0 16px 28px rgba(10, 13, 11, 0.26);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2.6rem);
  background: radial-gradient(circle at top right, rgba(58, 66, 58, 0.46), rgba(8, 10, 9, 0.96) 62%);
  color: #f5f2eb;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.menu-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.menu-list a {
  display: inline-flex;
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3.2vw, 2.9rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
  transition: color var(--transition-smooth), transform var(--transition-smooth);
}

.menu-list a:hover {
  color: #d8b98d;
  transform: translateX(5px);
}

.menu-cta {
  width: fit-content;
  margin-top: 0.85rem;
}

.menu-note {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.74);
}

main,
.page-shell {
  position: relative;
  z-index: 4;
}

.snap-container {
  height: 100svh;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
  padding-bottom: calc(var(--footer-height) + 0.35rem);
}

.snap-section {
  scroll-snap-align: start;
  min-height: 100svh;
  position: relative;
  padding: calc(var(--section-padding) + 3.5rem) var(--section-padding) var(--section-padding);
}

.page-home .snap-section {
  --home-section-logo-image: url("../LOGO%202.png");
  --home-section-logo-width: clamp(146px, 12.5vw, 208px);
  --home-section-logo-height: clamp(78px, 6.9vw, 116px);
  --home-section-logo-top: clamp(0.08rem, 0.45vh, 0.42rem);
}

.page-home .snap-section::after {
  content: "";
  position: absolute;
  top: var(--home-section-logo-top);
  left: 50%;
  width: var(--home-section-logo-width);
  height: var(--home-section-logo-height);
  transform: translateX(-50%);
  background-image: var(--home-section-logo-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transform: translate(-50%, -3px) scale(0.994);
  transition:
    opacity 150ms cubic-bezier(0.33, 1, 0.68, 1),
    transform 165ms cubic-bezier(0.33, 1, 0.68, 1);
}

.page-home .snap-section.is-logo-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* Durante lo scroll il logo della sezione sparisce come le scritte
   dell'header, e ricompare solo quando la sezione è agganciata. */
.page-home.home-scroll-motion .snap-section.is-logo-visible::after {
  opacity: 0;
  transform: translate(-50%, -3px) scale(0.994);
}

.page-home .snap-section .section-logo-link {
  position: absolute;
  top: var(--home-section-logo-top);
  left: 50%;
  width: var(--home-section-logo-width);
  height: var(--home-section-logo-height);
  transform: translate(-50%, 0);
  z-index: 7;
  display: block;
  cursor: pointer;
  pointer-events: none;
}

.page-home .snap-section.is-logo-visible .section-logo-link {
  pointer-events: auto;
}

.page-home .snap-section .section-logo-link:focus-visible {
  outline: 1px solid rgba(154, 120, 48, 0.75);
  outline-offset: 4px;
}

.page-home .hero-panel-minimal,
.page-home .final-panel {
  --home-section-logo-image: url("../LOGO.png");
  --home-section-logo-width: clamp(165px, 20vw, 285px);
  --home-section-logo-height: clamp(48px, 6vw, 84px);
  --home-section-logo-top: clamp(1.15rem, 2.2vh, 1.9rem);
}

.page-home .presentazione-panel.snap-section,
.page-home .quote-panel.snap-section,
.page-home .highlights-panel.snap-section {
  transition: padding-top 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home.home-subheader-open .presentazione-panel.snap-section {
  padding-top: calc(clamp(8.6rem, 12.4vh, 10rem) + var(--home-subheader-offset));
}

.page-home.home-subheader-open .quote-panel.snap-section,
.page-home.home-subheader-open .highlights-panel.snap-section {
  padding-top: calc(var(--section-padding) + 3.5rem + var(--home-subheader-offset));
}

.hero-panel,
.final-panel {
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: #f6f3ed;
}

.panel-media,
.final-panel__media,
.panel-overlay {
  position: absolute;
  inset: 0;
}

.panel-media img,
.final-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  filter: saturate(1.06);
}

.panel-overlay {
  background: linear-gradient(122deg, rgba(15, 18, 15, 0.76) 12%, rgba(15, 18, 15, 0.28) 58%, rgba(15, 18, 15, 0.62) 100%);
}

.hero-panel-minimal {
  place-items: center;
  padding: 0;
}

.hero-panel-minimal .panel-media img {
  filter: saturate(0.9) contrast(0.95) brightness(0.84);
  animation: hero-push-in 14s cubic-bezier(0.25, 0.1, 0.25, 1) infinite alternate;
  will-change: transform;
}

.hero-panel-minimal .panel-overlay {
  background:
    linear-gradient(180deg, rgba(20, 31, 44, 0.42) 0%, rgba(20, 31, 44, 0.22) 34%, rgba(20, 31, 44, 0.08) 60%, rgba(20, 31, 44, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.16) 48%, rgba(255, 248, 236, 0) 68%);
}

.final-panel__media img {
  filter: saturate(0.93) contrast(0.95) brightness(0.86);
}

.final-panel .panel-overlay {
  background:
    linear-gradient(125deg, rgba(15, 18, 15, 0.64) 14%, rgba(15, 18, 15, 0.22) 56%, rgba(15, 18, 15, 0.56) 100%),
    linear-gradient(180deg, rgba(154, 120, 48, 0.08) 0%, rgba(154, 120, 48, 0) 44%);
}

.panel-content {
  position: relative;
  max-width: min(760px, 94vw);
}

.hero-panel-minimal .panel-content {
  width: 100%;
  max-width: none;
  text-align: center;
  align-self: center;
  transform: translateY(-6vh);
}

.panel-content h1,
.panel-content h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.panel-content h1 {
  font-size: clamp(2.8rem, 9vw, 6.4rem);
}

.hero-panel-minimal .panel-content h1 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-style: italic;
  font-weight: 395;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.03;
  color: rgba(250, 248, 244, 0.96);
  text-shadow: none;
}

.panel-content h2 {
  font-size: clamp(2.2rem, 7vw, 5rem);
}

.final-panel .panel-content h2 {
  font-family: var(--font-display);
}

.final-panel .panel-content p,
.final-panel .panel-content .eyebrow,
.final-panel .panel-content .btn {
  font-family: var(--font-body);
}

.lead {
  margin: 1rem 0 0;
  max-width: 52ch;
  font-size: clamp(1.04rem, 1.65vw, 1.3rem);
  line-height: 1.55;
  color: rgba(246, 243, 237, 0.92);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 243, 237, 0.78);
}

.cta-row {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.scroll-cue {
  position: absolute;
  left: var(--section-padding);
  bottom: 1.3rem;
  z-index: 3;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 237, 0.85);
}

.hero-panel-minimal .scroll-cue {
  left: 50%;
  transform: translateX(-50%);
  bottom: 2.2rem;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-panel-minimal .scroll-cue::after {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.45rem;
  border-right: 1px solid rgba(246, 243, 237, 0.82);
  border-bottom: 1px solid rgba(246, 243, 237, 0.82);
  transform: rotate(45deg) translateY(-0.15rem);
}

.split-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: stretch;
  background: var(--home-beige);
}

.presentazione-panel {
  --presentazione-height: auto;
  grid-template-columns: 1.24fr 1fr;
  gap: clamp(1.25rem, 2.4vw, 2.1rem);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--home-beige-soft-1) 0%, #efe6da 48%, var(--home-beige) 100%);
}

.presentazione-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 42%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, rgba(255, 255, 255, 0) 1px 22px);
  opacity: 0.34;
}

.presentazione-panel.snap-section {
  padding-top: clamp(6rem, 9vh, 7.5rem);
  padding-bottom: clamp(2.5rem, 4vh, 3.5rem);
  padding-left: clamp(1.9rem, 3.1vw, 3.2rem);
  padding-right: clamp(1.9rem, 3.1vw, 3.2rem);
}

.presentazione-panel .split-panel__media {
  min-height: auto;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  height: var(--presentazione-height);
  align-self: center;
}

.presentazione-collage {
  --collage-gap: clamp(0.75rem, 1.4vw, 1.05rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: var(--collage-gap);
  row-gap: var(--collage-gap);
  align-items: stretch;
  height: var(--presentazione-height);
}

.collage-item {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-item--hp1 {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 100%;
}

.collage-item--hp2 {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
}

.collage-item--hp3 {
  grid-column: 2;
  grid-row: 2;
  height: 100%;
}

.presentazione-copy {
  max-width: 66ch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentazione-copy p {
  margin: 0;
  font-size: clamp(1.05rem, 1.52vw, 1.2rem);
  line-height: 1.84;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.presentazione-copy p + p {
  margin-top: 1.45rem;
}

.presentazione-copy p:first-child {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.presentazione-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.62rem, 2.9vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.012em;
  line-height: 1.08;
  color: var(--ink-deep);
  text-align: justify;
  text-justify: inter-word;
}

.presentazione-copy .eyebrow {
  margin: 0 0 clamp(0.7rem, 1.2vh, 1rem);
}

.presentazione-copy h2 {
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 clamp(1.1rem, 2vh, 1.6rem);
}

.presentazione-copy h2 em {
  font-style: italic;
  font-weight: 400;
  display: block;
}

.presentazione-copy .presentazione-lead {
  margin: 0 0 clamp(1.8rem, 3vh, 2.4rem);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.06rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(21, 23, 20, 0.76);
  text-align: left;
  text-justify: unset;
  hyphens: none;
}

.presentazione-divider {
  width: 0;
  height: 1px;
  background: var(--accent);
  margin: clamp(1.4rem, 2.4vh, 2rem) 0;
  transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.presentazione-copy.is-visible .presentazione-divider {
  width: clamp(2.4rem, 4vw, 3.2rem);
}

.presentazione-qualities {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(1.8rem, 3vh, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.presentazione-qualities li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  letter-spacing: 0.01em;
  color: rgba(21, 23, 20, 0.54);
  padding-left: 1.3rem;
  position: relative;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.presentazione-qualities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 1px;
  background: var(--accent);
}

.presentazione-copy.is-visible .presentazione-qualities li:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 200ms;
}

.presentazione-copy.is-visible .presentazione-qualities li:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 340ms;
}

.presentazione-copy.is-visible .presentazione-qualities li:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 480ms;
}

.presentazione-collage .collage-item img {
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.presentazione-collage .collage-item:hover img {
  transform: scale(1.04);
}

.split-panel__media,
.narrative-panel__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 62svh;
  box-shadow: var(--shadow-soft);
}

.split-panel__media img,
.narrative-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-panel__content,
.narrative-panel__content {
  align-self: center;
  max-width: 48ch;
}

.split-panel h2,
.narrative-panel h2,
.highlights-header h2,
.page-hero h1,
.panel-block h2,
.story-grid h2,
.booking-block h1,
.cta-block h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink-deep);
}

.split-panel h2,
.narrative-panel h2,
.highlights-header h2 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
}

.split-panel p,
.narrative-panel p,
.panel-block p,
.story-grid p,
.booking-block p,
.info-block p {
  margin: 1rem 0 0;
  font-size: clamp(0.99rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: rgba(21, 23, 20, 0.86);
}

.narrative-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
  background: var(--home-beige);
}

.quote-panel {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(18, 20, 17, 0.08);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 248, 235, 0.56) 0%, rgba(255, 248, 235, 0) 58%),
    linear-gradient(180deg, var(--home-beige-soft-2) 0%, #e5d9cc 100%);
  text-align: center;
}

.quote-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0.5;
}

.quote-panel__inner {
  position: relative;
  width: min(940px, 82vw);
  padding: clamp(2.2rem, 4.2vw, 4.2rem) clamp(1.5rem, 4vw, 4.1rem);
}

.quote-panel__inner::before,
.quote-panel__inner::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(420px, 62%);
  height: 1px;
  transform: translateX(-50%);
  background: rgba(28, 31, 27, 0.22);
}

.quote-panel__inner::before {
  top: 0;
}

.quote-panel__inner::after {
  bottom: 0;
}

.quote-panel__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.15rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
}

.quote-panel__author {
  margin: 1.4rem 0 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21, 23, 20, 0.74);
}

.quote-panel__note {
  margin: 0.48rem 0 0;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  color: rgba(21, 23, 20, 0.72);
}

/* Homepage sections 3-4-5: restore legacy font mood */
.page-home .quote-panel__text,
.page-home .highlights-header h2,
.page-home .highlights-panel .apartment-card h3,
.page-home .final-panel .panel-content h2 {
  font-family: var(--font-home-legacy-display);
  font-weight: 500;
}

.page-home .quote-panel__author,
.page-home .quote-panel__note,
.page-home .highlights-panel .eyebrow,
.page-home .highlights-panel .apartment-card p,
.page-home .highlights-panel .text-link,
.page-home .final-panel .panel-content p,
.page-home .final-panel .panel-content .eyebrow,
.page-home .final-panel .panel-content .btn {
  font-family: var(--font-home-legacy-body);
  font-weight: 400;
}

.narrative-panel .eyebrow,
.split-panel .eyebrow,
.highlights-panel .eyebrow,
.page-hero .eyebrow,
.panel-block .eyebrow,
.story-grid .eyebrow,
.booking-block .eyebrow,
.info-block .eyebrow {
  color: var(--accent);
}

input::placeholder,
textarea::placeholder {
  color: rgba(21, 23, 20, 0.55);
}

.highlights-panel {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(18, 20, 17, 0.08);
  background: linear-gradient(180deg, var(--home-beige-soft-3) 0%, #f1e9de 100%);
  display: grid;
  align-content: center;
  gap: clamp(1.9rem, 3.8vh, 3rem);
}

.highlights-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(18, 20, 17, 0.025) 0 1px, rgba(18, 20, 17, 0) 1px 30px);
  opacity: 0.22;
}

.presentazione-panel > *,
.quote-panel > *,
.highlights-panel > * {
  position: relative;
  z-index: 1;
}

.highlights-header {
  max-width: 60ch;
}

.highlights-header h2 {
  font-size: clamp(1.95rem, 4.2vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.apartment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
  margin-top: clamp(2.8rem, 6.4vh, 5rem);
}

.apartment-card {
  background: rgba(248, 245, 239, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(18, 20, 17, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  min-height: 248px;
  box-shadow: 0 12px 24px rgba(18, 22, 18, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apartment-card::before {
  content: "";
  position: absolute;
  inset: -35% 40% auto -65%;
  height: 180%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.3) 48%, rgba(255, 255, 255, 0) 66%);
  transform: rotate(6deg) translateX(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms ease, opacity 320ms ease;
}

.apartment-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.apartment-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(18, 20, 17, 0.74);
}

.apartment-card .text-link {
  color: var(--gold);
  margin-top: auto;
}

.page-home .apartment-card .text-link {
  color: var(--gold);
}

.page-home .apartment-card:hover .text-link,
.page-home .apartment-card:focus-within .text-link {
  color: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 0.12rem;
  transition: color 240ms ease;
}

.text-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0.46);
  opacity: 0.76;
  transition: transform 260ms ease, opacity 260ms ease;
}

.text-link::after {
  content: "\2192";
  margin-left: 0.38rem;
  font-size: 0.84em;
  transform: translateX(0);
  transition: transform 260ms ease;
}

.text-link:hover {
  color: var(--accent);
}

.apartment-card:hover,
.apartment-card:focus-within,
.apartment-card.reveal.is-visible:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(18, 22, 18, 0.11);
  border-color: color-mix(in srgb, var(--accent) 30%, rgba(18, 20, 17, 0.2));
  background: rgba(250, 247, 241, 0.95);
}

.apartment-card:hover::before,
.apartment-card:focus-within::before {
  opacity: 1;
  transform: rotate(6deg) translateX(58%);
}

.apartment-card:hover .text-link,
.apartment-card:focus-within .text-link,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.apartment-card:hover .text-link::before,
.apartment-card:focus-within .text-link::before,
.text-link:hover::before,
.text-link:focus-visible::before {
  transform: scaleX(1);
  opacity: 1;
}

.apartment-card:hover .text-link::after,
.apartment-card:focus-within .text-link::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(0.24rem);
}

.final-panel {
  background: #101411;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--footer-height);
  padding: 0.62rem clamp(1rem, 2.8vw, 2.2rem);
  border-top: 1px solid rgba(21, 23, 20, 0.14);
  background: linear-gradient(180deg, rgba(241, 235, 227, 0.92) 0%, rgba(241, 235, 227, 0.98) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 24px rgba(17, 20, 16, 0.08);
  color: rgba(21, 23, 20, 0.4);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.footer-visible .site-footer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-footer p {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 23, 20, 0.38);
  padding-bottom: 0.08rem;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-footer a:hover {
  color: rgba(21, 23, 20, 0.98);
  border-color: rgba(21, 23, 20, 0.86);
}

.inner-page {
  min-height: 100svh;
  padding-top: 6rem;
}

.page-shell {
  padding: 0 clamp(1rem, 3vw, 2.2rem) calc(var(--footer-height) + 1.5rem);
}

.apartment-shell {
  padding-top: clamp(1.6rem, 3.2vh, 2.7rem);
  transition: padding-top 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

.inner-page.apartment-subheader-open .apartment-shell {
  padding-top: calc(clamp(1.6rem, 3.2vh, 2.7rem) + var(--apartment-subheader-offset));
}

/* Apartment pages: contenuto parte più in basso per respiro sotto al logo */
.page-apartment .apartment-shell {
  padding-top: clamp(7rem, 13vh, 11rem);
}

.page-apartment.apartment-subheader-open .apartment-shell {
  padding-top: calc(clamp(7rem, 13vh, 11rem) + var(--apartment-subheader-offset));
}

/* Viola: coming soon — leggermente sopra centro ottico */
.apartment-coming-soon {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0 !important;
  padding-bottom: 14vh !important;
}

.coming-soon-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.coming-soon-eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(21, 23, 20, 0.38);
}

.coming-soon-rule {
  width: 1px;
  height: clamp(2rem, 3.5vh, 3rem);
  background: rgba(154, 120, 48, 0.38);
  margin: clamp(1rem, 1.8vh, 1.6rem) auto;
}

.coming-soon-title {
  margin: clamp(1rem, 1.8vh, 1.6rem) 0 0;
  font-family: var(--font-home-legacy-display);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: rgba(21, 23, 20, 0.68);
}

.coming-soon-tagline {
  margin: clamp(1.1rem, 1.8vh, 1.6rem) 0 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(154, 120, 48, 0.65);
}

.coming-soon-stars {
  margin: 0.9rem 0 0;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: #9a7830;
  opacity: 0.75;
  text-align: center;
}

.apartment-showcase {
  width: min(1060px, 92vw);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: clamp(2rem, 3.7vw, 3.35rem);
  text-align: center;
}

.page-apartment .apartment-showcase.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-apartment .apartment-showcase.reveal > * {
  opacity: 0;
  filter: blur(1.5px);
  transform: translate3d(0, 42px, 0) scale(0.985);
  transition:
    opacity 1220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.page-apartment .apartment-showcase.reveal.is-visible > * {
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(1) { transition-delay: 120ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(2) { transition-delay: 280ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(3) { transition-delay: 440ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(4) { transition-delay: 600ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(5) { transition-delay: 760ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(6) { transition-delay: 920ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(7) { transition-delay: 1080ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(8) { transition-delay: 1240ms; }
.page-apartment .apartment-showcase.reveal.is-visible > :nth-child(9) { transition-delay: 1400ms; }

.apartment-showcase .apartment-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 2.6vw, 2.38rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(21, 23, 20, 0.68);
}

.apartment-award {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.68rem, 1.2vw, 1rem);
  max-width: min(100%, 660px);
  padding: clamp(0.52rem, 1.1vw, 0.78rem) clamp(0.82rem, 1.7vw, 1.14rem);
  border-radius: 16px;
  border: 1px solid rgba(154, 120, 48, 0.34);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.93), rgba(252, 248, 238, 0.88));
  box-shadow: 0 14px 30px rgba(19, 22, 18, 0.16);
}

.apartment-award-media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.apartment-award-media:focus-visible {
  outline: 2px solid rgba(154, 120, 48, 0.62);
  outline-offset: 2px;
}

.apartment-award img {
  width: clamp(4.7rem, 7.1vw, 6.4rem);
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.apartment-award-copy {
  display: grid;
  gap: 0.06rem;
  text-align: left;
}

.apartment-award-kicker {
  margin: 0;
  font-size: clamp(0.67rem, 0.98vw, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(154, 120, 48, 0.9);
}

.apartment-award-note {
  margin: 0;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  color: rgba(21, 23, 20, 0.66);
}

.apartment-carousel {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}

.apartment-carousel .carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.apartment-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apartment-carousel .carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.apartment-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 1.7rem;
  height: 2.1rem;
  border: 0;
  background: transparent;
  color: rgba(247, 244, 237, 0.86);
  font-size: clamp(1.7rem, 2.15vw, 2.1rem);
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(8, 10, 9, 0.45);
  cursor: pointer;
  transition: color 180ms ease, transform 220ms ease;
}

.carousel-control:hover {
  color: rgba(247, 244, 237, 0.95);
}

.carousel-control:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-control--prev {
  left: 1.08rem;
}

.carousel-control--next {
  right: 1.08rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.72rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.52rem;
}

.carousel-dot {
  width: 1.75rem;
  height: 2px;
  border: 0;
  background: rgba(247, 244, 237, 0.52);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.carousel-dot:hover {
  background: rgba(247, 244, 237, 0.8);
}

.carousel-dot.is-active {
  background: rgba(247, 244, 237, 0.95);
  transform: scaleX(1.08);
}

.apartment-showcase .apartment-features {
  margin: 0.2rem 0 0;
  font-size: clamp(0.94rem, 1.16vw, 1.08rem);
  letter-spacing: 0.02em;
  color: rgba(21, 23, 20, 0.6);
}

.apartment-showcase .apartment-description {
  margin: -0.2rem 0 0;
  max-width: 72ch;
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  line-height: 1.72;
  color: rgba(21, 23, 20, 0.58);
}

.apt-amenities {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 1.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 4rem;
  width: min(520px, 100%);
  border-top: 1px solid rgba(154, 120, 48, 0.75);
  border-bottom: 1px solid rgba(154, 120, 48, 0.75);
  padding-bottom: 1.6rem;
  margin-bottom: 0.2rem;
}

.apt-amenities li {
  font-size: clamp(0.74rem, 0.9vw, 0.84rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(21, 23, 20, 0.44);
  line-height: 1.3;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-switcher [data-lang] {
  font-family: var(--font-body);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(21, 23, 20, 0.3);
  cursor: pointer;
  background: none;
  border: none;
  border-right: 1px solid rgba(21, 23, 20, 0.14);
  padding: 0.1rem 0.55rem;
  line-height: 1;
  transition: color 180ms ease;
}

.lang-switcher [data-lang]:last-child {
  border-right: none;
  padding-right: 0;
}

.lang-switcher [data-lang]:first-child {
  padding-left: 0;
}

.lang-switcher [data-lang]:hover,
.lang-switcher [data-lang].is-active {
  color: var(--gold);
}

.site-header:not(.home-header):not(.apartment-header) .lang-switcher [data-lang] {
  color: rgba(245, 242, 235, 0.62);
  border-right-color: rgba(245, 242, 235, 0.22);
}

.site-header:not(.home-header):not(.apartment-header) .lang-switcher [data-lang]:hover,
.site-header:not(.home-header):not(.apartment-header) .lang-switcher [data-lang].is-active {
  color: rgba(245, 242, 235, 0.96);
}

.home-header .lang-switcher [data-lang] {
  color: rgba(245, 242, 235, 0.45);
  border-right-color: rgba(245, 242, 235, 0.2);
}

.home-header .lang-switcher [data-lang]:hover,
.home-header .lang-switcher [data-lang].is-active {
  color: rgba(245, 242, 235, 0.95);
}

.home-header.is-scrolled .lang-switcher [data-lang] {
  color: rgba(21, 23, 20, 0.3);
  border-right-color: rgba(21, 23, 20, 0.14);
}

.home-header.is-scrolled .lang-switcher [data-lang]:hover,
.home-header.is-scrolled .lang-switcher [data-lang].is-active {
  color: var(--gold);
}

/* Ultima sezione (final panel) su sfondo scuro: menu lingue in bianco
   come nella prima sezione, altrimenti non si vede. */
.home-header.is-scrolled.is-on-final .lang-switcher [data-lang] {
  color: rgba(245, 242, 235, 0.45);
  border-right-color: rgba(245, 242, 235, 0.2);
}

.home-header.is-scrolled.is-on-final .lang-switcher [data-lang]:hover,
.home-header.is-scrolled.is-on-final .lang-switcher [data-lang].is-active {
  color: rgba(245, 242, 235, 0.95);
}

.page-family .apartment-header:not(.is-scrolled) .lang-switcher [data-lang],
.page-apartment .apartment-header:not(.is-scrolled) .lang-switcher [data-lang],
.page-booking .apartment-header:not(.is-scrolled) .lang-switcher [data-lang] {
  color: rgba(38, 31, 20, 0.58);
  border-right-color: rgba(38, 31, 20, 0.18);
}

.page-family .apartment-header:not(.is-scrolled) .lang-switcher [data-lang]:hover,
.page-family .apartment-header:not(.is-scrolled) .lang-switcher [data-lang].is-active,
.page-apartment .apartment-header:not(.is-scrolled) .lang-switcher [data-lang]:hover,
.page-apartment .apartment-header:not(.is-scrolled) .lang-switcher [data-lang].is-active,
.page-booking .apartment-header:not(.is-scrolled) .lang-switcher [data-lang]:hover,
.page-booking .apartment-header:not(.is-scrolled) .lang-switcher [data-lang].is-active {
  color: var(--gold);
}

.apartment-showcase .apartment-cta {
  margin-top: 0.38rem;
}

.apartment-showcase .apartment-cta.btn-primary {
  background: var(--gold);
  color: #161a15;
  border-color: color-mix(in srgb, var(--gold) 55%, rgba(22, 26, 21, 0.14));
  box-shadow: 0 14px 24px rgba(20, 23, 19, 0.2);
}

.apartment-showcase .apartment-cta.btn-primary:hover {
  background: var(--accent-hover);
  filter: none;
}

.review-preview {
  width: min(1060px, 100%);
  margin-top: clamp(1rem, 2.1vw, 1.8rem);
  display: grid;
  gap: clamp(0.9rem, 1.7vw, 1.3rem);
}

.review-preview-intro {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  letter-spacing: 0.02em;
  color: rgba(21, 23, 20, 0.72);
}

.review-preview-note {
  margin: 0;
  text-align: center;
  font-size: clamp(0.84rem, 1.1vw, 0.95rem);
  color: rgba(21, 23, 20, 0.55);
}

.review-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.3rem);
  align-items: start;
}

.review-platform {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 32px rgba(16, 18, 16, 0.12);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease;
}

.review-platform:hover,
.review-platform:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(16, 18, 16, 0.18);
}

.review-platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.78rem 1rem;
}

.review-platform-brand {
  margin: 0;
  font-size: clamp(0.8rem, 1vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.96);
}

.review-platform-tag {
  margin: 0;
  font-size: clamp(0.66rem, 0.8vw, 0.74rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.review-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  opacity: 0.74;
  transform: translateX(2px);
  transition: opacity 220ms ease, transform 260ms ease;
}

.review-platform:hover .review-controls,
.review-platform:focus-within .review-controls {
  opacity: 1;
  transform: translateX(0);
}

.review-control-btn {
  width: 1.78rem;
  height: 1.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.02rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.review-control-btn:hover,
.review-control-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.26);
}

.review-platform--booking {
  border: 1px solid rgba(0, 53, 128, 0.26);
}

.review-platform--booking .review-platform-head {
  background: linear-gradient(120deg, #003b95, #0f5ec8);
}

.review-platform--airbnb {
  border: 1px solid rgba(255, 90, 95, 0.3);
}

.review-platform--airbnb .review-platform-head {
  background: linear-gradient(120deg, #ff5a5f, #ff7e74);
}

.review-list {
  margin: 0;
  --review-list-pad: 0.9rem;
  position: relative;
  padding: var(--review-list-pad);
  list-style: none;
  min-height: clamp(210px, 27vh, 282px);
}

.review-item {
  position: absolute;
  inset: var(--review-list-pad);
  padding: 0.72rem 0.76rem;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(9px) scale(0.995);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 660ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.review-item.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.review-platform--booking .review-item {
  background: rgba(0, 53, 149, 0.055);
  border: 1px solid rgba(0, 53, 149, 0.14);
}

.review-platform--airbnb .review-item {
  background: rgba(255, 90, 95, 0.06);
  border: 1px solid rgba(255, 90, 95, 0.16);
}

.review-meta {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: clamp(0.66rem, 0.76vw, 0.73rem);
  letter-spacing: 0.02em;
  color: rgba(21, 23, 20, 0.66);
}

.review-score {
  flex: 0 0 auto;
}

.review-score--booking-badge {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.64rem;
  background: #003b95;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  padding-top: 0.02rem;
}

.review-score--booking-nine {
  transform: translateY(-0.04rem);
}

.review-score--airbnb-stars {
  color: rgba(18, 19, 18, 0.92);
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.07em;
}

.review-quote {
  margin: 0.44rem 0 0;
  font-size: clamp(0.86rem, 0.98vw, 0.95rem);
  line-height: 1.52;
  color: rgba(21, 23, 20, 0.72);
}

.page-hero {
  position: relative;
  min-height: 74svh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(1.2rem, 4vw, 2.6rem);
  color: #f5f2eb;
  margin-bottom: 1.35rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(15, 18, 15, 0.72) 20%, rgba(15, 18, 15, 0.25) 68%, rgba(15, 18, 15, 0.72) 100%);
  z-index: 1;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 66ch;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.1rem);
  color: #f5f2eb;
}

.page-hero p {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.56;
  color: rgba(245, 242, 235, 0.93);
}

.content-grid,
.story-grid,
.booking-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.content-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.panel-block,
.info-block,
.cta-block,
.booking-block,
.gallery-strip,
.map-wrap {
  background: rgba(248, 245, 239, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(18, 20, 17, 0.10);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.5vw, 2.1rem);
  box-shadow: 0 14px 30px rgba(18, 20, 17, 0.08);
}

.notice,
.alert-notice {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-deep);
}

.panel-block,
.info-block,
.booking-block {
  min-height: 100%;
}

.specs {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.specs li {
  padding-bottom: 0.44rem;
  border-bottom: 1px solid rgba(18, 20, 17, 0.14);
  color: rgba(18, 20, 17, 0.78);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}

.cta-block {
  display: grid;
  gap: 0.82rem;
  align-items: start;
}

.family-intro-section {
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(248, 244, 236, 0.86);
  border: 1px solid var(--line-dark);
  box-shadow: 0 14px 30px rgba(18, 20, 17, 0.08);
}

.family-intro-section .split-panel__media {
  min-height: clamp(330px, 52svh, 560px);
}

.family-intro-section .split-panel__content {
  max-width: 56ch;
}

.family-quote-section {
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
}

.family-quote-section .quote-panel__inner {
  width: min(980px, 92vw);
}

.page-family {
  padding-top: 0;
  background: var(--home-beige);
}

.page-family .noise-layer {
  opacity: 0.05;
}

.page-family .apartment-header,
.page-apartment .apartment-header,
.page-booking .apartment-header {
  padding: clamp(1.35rem, 2.9vh, 1.95rem) var(--header-inline-padding);
}

/* Default: full logo, transparent header */
.page-family .apartment-header .brand-logo,
.page-apartment .apartment-header .brand-logo,
.page-booking .apartment-header .brand-logo {
  width: clamp(165px, 20vw, 285px);
  height: clamp(48px, 6vw, 84px);
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  transition: width var(--transition-header-fast), height var(--transition-header-fast);
}

.page-family .apartment-header .brand-logo img,
.page-apartment .apartment-header .brand-logo img,
.page-booking .apartment-header .brand-logo img {
  transition:
    opacity var(--transition-header-fast),
    transform var(--transition-header-fast);
}

.page-family .apartment-header .brand-logo .logo-full,
.page-apartment .apartment-header .brand-logo .logo-full,
.page-booking .apartment-header .brand-logo .logo-full {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.page-family .apartment-header .brand-logo .logo-mark,
.page-apartment .apartment-header .brand-logo .logo-mark,
.page-booking .apartment-header .brand-logo .logo-mark {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

/* ::before background — invisible at top, animates in on scroll */
.page-family .apartment-header::before,
.page-apartment .apartment-header::before,
.page-booking .apartment-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgb(250, 246, 240);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), bottom 200ms ease;
}

.page-family .apartment-header,
.page-apartment .apartment-header,
.page-booking .apartment-header {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
}

/* Scrolled: beige block, logo-mark — dimensioni identiche a dove-siamo */
.page-family .apartment-header.is-scrolled,
.page-apartment .apartment-header.is-scrolled,
.page-booking .apartment-header.is-scrolled {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  height: calc(clamp(1.4rem, 2.9vh, 2rem) + clamp(48px, 6vw, 84px)) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

.page-family .apartment-header.is-scrolled::before,
.page-apartment .apartment-header.is-scrolled::before,
.page-booking .apartment-header.is-scrolled::before {
  opacity: 1;
}

.page-family .apartment-header.is-scrolled.is-menu-hover::before,
.page-apartment .apartment-header.is-scrolled.is-menu-hover::before,
.page-booking .apartment-header.is-scrolled.is-menu-hover::before {
  bottom: -3.6rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.page-family .apartment-header.is-scrolled .brand-logo,
.page-apartment .apartment-header.is-scrolled .brand-logo,
.page-booking .apartment-header.is-scrolled .brand-logo {
  width: clamp(76px, 8vw, 104px) !important;
  height: clamp(76px, 8vw, 104px) !important;
}

.page-family .apartment-header.is-scrolled .brand-logo .logo-full,
.page-apartment .apartment-header.is-scrolled .brand-logo .logo-full,
.page-booking .apartment-header.is-scrolled .brand-logo .logo-full {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

.page-family .apartment-header.is-scrolled .brand-logo .logo-mark,
.page-apartment .apartment-header.is-scrolled .brand-logo .logo-mark,
.page-booking .apartment-header.is-scrolled .brand-logo .logo-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.page-family .apartment-header .menu-toggle,
.page-family .apartment-header .guest-area-link,
.page-family .apartment-header .header-minimal-link,
.page-apartment .apartment-header .menu-toggle,
.page-apartment .apartment-header .guest-area-link,
.page-apartment .apartment-header .header-minimal-link,
.page-booking .apartment-header .menu-toggle,
.page-booking .apartment-header .guest-area-link,
.page-booking .apartment-header .header-minimal-link {
  color: #171a16 !important;
}

.page-family .apartment-hover-menu--bar,
.page-apartment .apartment-hover-menu--bar,
.page-booking .apartment-hover-menu--bar {
  top: 100% !important;
  background: transparent !important;
  border: 0 !important;
}

.page-family .home-hover-menu--compact,
.page-family .apartment-hover-menu--compact,
.page-apartment .home-hover-menu--compact,
.page-apartment .apartment-hover-menu--compact,
.page-booking .home-hover-menu--compact,
.page-booking .apartment-hover-menu--compact {
  display: none !important;
}

.page-family .apartment-header.is-menu-hover .apartment-hover-menu,
.page-apartment .apartment-header.is-menu-hover .apartment-hover-menu,
.page-booking .apartment-header.is-menu-hover .apartment-hover-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-family .apartment-header.is-menu-hover .apartment-hover-menu--bar,
.page-apartment .apartment-header.is-menu-hover .apartment-hover-menu--bar,
.page-booking .apartment-header.is-menu-hover .apartment-hover-menu--bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.page-family .apartment-header.is-menu-hover .apartment-hover-menu--bar a,
.page-apartment .apartment-header.is-menu-hover .apartment-hover-menu--bar a {
  animation: menu-link-in 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-family .apartment-hover-menu--compact a,
.page-family .apartment-hover-menu--bar a,
.page-apartment .apartment-hover-menu--compact a,
.page-apartment .apartment-hover-menu--bar a {
  color: rgba(38, 31, 20, 0.82);
}

.page-family .apartment-hover-menu--compact a::after,
.page-family .apartment-hover-menu--bar a::after,
.page-apartment .apartment-hover-menu--compact a::after,
.page-apartment .apartment-hover-menu--bar a::after {
  background: rgba(38, 31, 20, 0.35);
}

.page-family .family-shell.apartment-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
  height: auto;
  overflow: visible;
  background: var(--home-beige);
}

.page-family.apartment-subheader-open .family-shell.apartment-shell {
  padding-top: 0;
}

.page-family .family-shell > section {
  scroll-snap-align: none;
  scroll-snap-stop: unset;
}

.page-family .family-shell > .family-section {
  position: relative;
  --family-section-logo-image: url("../LOGO%202.png");
  --family-section-logo-width: clamp(146px, 12.5vw, 208px);
  --family-section-logo-height: clamp(78px, 6.9vw, 116px);
  --family-section-logo-top: clamp(0.08rem, 0.45vh, 0.42rem);
}

.page-family .family-shell > .family-section::after,
.page-family .family-shell > .family-section .section-logo-link {
  display: none !important;
}

.page-family .family-section--intro,
.page-family .family-section--values {
  --family-section-logo-image: url("../LOGO.png");
  --family-section-logo-width: clamp(165px, 20vw, 285px);
  --family-section-logo-height: clamp(48px, 6vw, 84px);
  --family-section-logo-top: clamp(1.15rem, 2.2vh, 1.9rem);
}

.page-family .family-section {
  --family-section-top: clamp(9.7rem, 14.6vh, 11.1rem);
  min-height: 100svh;
  width: 100%;
  padding: var(--family-section-top) clamp(1.2rem, 3vw, 2.35rem) clamp(3.2rem, 6vh, 4.6rem);
  background: var(--home-beige);
  transition: padding-top 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-family.apartment-subheader-open .family-section {
  padding-top: var(--family-section-top);
}

.page-family .family-section--intro .family-section__inner,
.page-family .family-section--quote .quote-panel__inner,
.page-family .family-section--values .family-section__inner {
  transform: translateY(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-family.apartment-subheader-open .family-section--intro .family-section__inner,
.page-family.apartment-subheader-open .family-section--quote .quote-panel__inner,
.page-family.apartment-subheader-open .family-section--values .family-section__inner {
  transform: translateY(
    calc(var(--apartment-subheader-offset) + clamp(1.2rem, 2vh, 1.8rem))
  );
}

.page-family .family-section__inner {
  width: min(var(--max-content), 100%);
  margin: 0 auto;
}

.family-heading {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  margin-bottom: clamp(1.8rem, 3.5vh, 2.9rem);
}

.family-heading__eyebrow {
  margin: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.family-heading__title-row {
  margin: 0.5rem 0 1.7rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.family-heading__title-row span {
  display: none;
}

.family-heading h1,
.family-heading h2 {
  margin: 0;
  font-family: var(--font-home-legacy-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-align: left;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.family-heading__title-row::before,
.family-heading__title-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100vw;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(154, 120, 48, 0.72);
  z-index: 1;
}

.family-heading__title-row::before {
  right: calc(100% + 1.25rem);
}

.family-heading__title-row::after {
  left: calc(100% + 1.25rem);
}

.page-family .family-section--intro {
  --family-section-top: clamp(8.5rem, 12.5vh, 9.8rem);
  display: grid;
  align-content: start;
}

.page-family .family-section--intro .family-heading {
  margin-bottom: clamp(1rem, 2.1vh, 1.55rem);
}

.family-intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(1rem, 2.2vw, 1.9rem);
  align-items: stretch;
}

.family-intro-grid__media {
  margin: 0;
  border: 0;
  height: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--home-beige);
}

.family-intro-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.family-intro-grid__copy {
  max-width: 64ch;
}

.family-intro-grid__copy p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.03rem, 1.28vw, 1.13rem);
  line-height: 1.58;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  color: rgba(21, 23, 20, 0.75);
}

.family-intro-grid__copy p + p {
  margin-top: 0.72rem;
}

/* ── Family intro: enhanced visual treatment ─────────────────────────── */

/* Grid: balanced split, wider gap */
.page-family .family-intro-grid {
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(2rem, 3.6vw, 3.6rem);
}

/* Photo figure: cover, shadow, entrance */
.page-family .family-intro-grid__media {
  min-height: clamp(440px, 64vh, 700px);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #1c1a18;
  align-items: unset;
  justify-content: unset;
  box-shadow:
    0 2px 8px rgba(18, 20, 17, 0.06),
    0 14px 36px rgba(18, 20, 17, 0.14),
    0 40px 80px rgba(18, 20, 17, 0.10);
}

/* Bottom vignette on photo */
.page-family .family-intro-grid__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 20, 17, 0.32) 0%,
    rgba(18, 20, 17, 0.08) 30%,
    rgba(18, 20, 17, 0) 55%
  );
  pointer-events: none;
  z-index: 1;
}

/* Photo: cover fills frame, entrance zoom-out, hover zoom */
.page-family .family-intro-grid__media img {
  object-fit: cover;
  object-position: top center;
  transform-origin: center top;
  transform: scale(1.07);
  transition: transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-family .family-intro-grid__media.reveal.is-visible img {
  transform: scale(1);
}

.page-family .family-intro-grid__media:hover img {
  transform: scale(1.04);
  transition-duration: 800ms;
}

/* Text column: 2-column internal grid — lead full-width, body in 2 cols */
.page-family .family-intro-grid__copy {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.2vh, 1.2rem);
  padding: clamp(1.4rem, 2.4vw, 2.4rem) clamp(1.4rem, 2.2vw, 2.2rem);
  background: rgba(250, 246, 240, 0.72);
  border: 1px solid rgba(154, 120, 48, 0.14);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
}

.page-family .family-intro-grid__copy p {
  margin: 0;
  font-size: clamp(1.04rem, 1.28vw, 1.14rem);
  font-weight: 400;
  line-height: 1.76;
  color: rgba(21, 23, 20, 0.9);
  text-align: left;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 920ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-family .family-intro-grid__copy p + p { margin-top: 0; }

/* Stagger reveals */
.page-family .family-intro-grid__copy.reveal { opacity: 1 !important; }

.page-family .family-intro-grid__copy.is-visible p {
  opacity: 1;
  transform: none;
}

.page-family .family-intro-grid__copy.is-visible p:nth-child(1) { transition-delay: 0ms; }
.page-family .family-intro-grid__copy.is-visible p:nth-child(2) { transition-delay: 220ms; }
.page-family .family-intro-grid__copy.is-visible p:nth-child(3) { transition-delay: 400ms; }
.page-family .family-intro-grid__copy.is-visible p:nth-child(4) { transition-delay: 580ms; }
.page-family .family-intro-grid__copy.is-visible p:nth-child(5) { transition-delay: 760ms; }

/* ────────────────────────────────────────────────────────────────────── */

.page-family .family-section--quote {
  display: grid;
  justify-items: center;
  align-content: start;
  border-top: 1px solid rgba(18, 20, 17, 0.09);
  border-bottom: 1px solid rgba(18, 20, 17, 0.09);
  background: linear-gradient(180deg, #f3ece4 0%, #efe7dc 100%);
}

.page-family .family-section--quote .quote-panel__inner {
  width: min(1020px, 92vw);
  margin-top: clamp(1.4rem, 2.8vh, 2.3rem);
}

.page-family .family-section--quote .quote-panel__text {
  font-family: var(--font-home-legacy-display);
  font-size: clamp(2rem, 4.7vw, 3.95rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: rgba(21, 23, 20, 0.92);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-family .family-section--quote .quote-panel__author {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(21, 23, 20, 0.56);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 520ms;
}

/* Il wrapper reveal rimane visibile — animano i figli */
.page-family .family-section--quote .quote-panel__inner.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.page-family .family-section--quote .quote-panel__inner.is-visible .quote-panel__text {
  opacity: 1;
  transform: none;
}

.page-family .family-section--quote .quote-panel__inner.is-visible .quote-panel__author {
  opacity: 1;
  transform: none;
}

.page-family .family-section--values {
  display: grid;
  align-content: start;
}

.page-family .family-section--values .family-section__inner {
  margin-top: clamp(0.9rem, 2vh, 1.6rem);
}

.family-heading--values h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.45rem);
}

.family-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.4vw, 2.4rem);
  counter-reset: values-counter;
}

.family-values-grid article {
  counter-increment: values-counter;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.2vh, 2.8rem) clamp(1.6rem, 2.4vw, 2.2rem) clamp(1.8rem, 2.8vh, 2.4rem);
  border: none;
  border-top: 1.5px solid var(--gold);
  border-radius: 0;
  background: rgba(250, 246, 239, 0.78);
  box-shadow: 0 4px 28px rgba(33, 29, 23, 0.06);
  overflow: hidden;
  transition:
    box-shadow var(--transition-smooth),
    transform var(--transition-smooth);
}

.family-values-grid article::before {
  content: "0" counter(values-counter);
  position: absolute;
  bottom: clamp(0.6rem, 1.2vh, 1rem);
  right: clamp(1.2rem, 2vw, 1.8rem);
  font-family: var(--font-home-legacy-display);
  font-size: clamp(5rem, 7.5vw, 9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: 0.11;
  pointer-events: none;
  user-select: none;
}

.family-values-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(33, 29, 23, 0.11);
}

.family-values-grid h3 {
  margin: 0;
  font-family: var(--font-home-legacy-display);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(21, 23, 20, 0.93);
}

.family-values-grid h3::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: var(--gold);
  margin-top: clamp(1rem, 1.6vh, 1.3rem);
}

.family-values-grid p {
  margin: clamp(0.75rem, 1.1vh, 1rem) 0 0;
  font-family: var(--font-home-legacy-body);
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  line-height: 1.68;
  color: rgba(21, 23, 20, 0.68);
  letter-spacing: 0.005em;
}

.family-actions {
  margin-top: clamp(2rem, 4vh, 3rem);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.family-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.82rem 1.5rem;
  border: 1px solid rgba(154, 120, 48, 0.58);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(21, 23, 20, 0.8);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.family-action-link:hover {
  border-color: rgba(154, 120, 48, 0.86);
  color: rgba(21, 23, 20, 0.96);
}

.family-action-link--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #f7f2e9;
}

.family-action-link--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #f7f2e9;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid article {
  background: rgba(248, 244, 236, 0.82);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
}

.story-grid h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.story-grid h3,
.map-wrap h2,
.info-block h2,
.panel-block h2,
.booking-block h2,
.cta-block h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink-deep);
}

.story-grid h3,
.map-wrap h2,
.info-block h2,
.panel-block h2,
.booking-block h2,
.cta-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.story-grid p,
.map-wrap p,
.info-block p,
.cta-block p,
.booking-block p {
  margin: 0.84rem 0 0;
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 14px;
  margin-top: 0.9rem;
}

.location-shell {
  width: min(var(--max-content), 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(2.6rem, 4.8vw, 4.8rem);
  padding-top: 0;
}

.page-location {
  padding-top: 0;
}

.page-location .location-shell {
  gap: 0;
}

.page-location .apartment-header {
  padding: clamp(1.35rem, 2.9vh, 1.95rem) var(--header-inline-padding);
}

.page-location .apartment-header .brand-logo {
  width: clamp(82px, 7vw, 108px);
  height: clamp(46px, 4.1vw, 64px);
}

.page-location .apartment-header .brand-logo img {
  transition:
    opacity var(--transition-header-fast),
    transform var(--transition-header-fast),
    filter var(--transition-header-fast),
    width var(--transition-header-fast);
}

.page-location .apartment-header .brand-logo .logo-full {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  filter: none;
}

.page-location .apartment-header .brand-logo .logo-mark {
  width: 100%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.page-location .apartment-header.is-on-location-hero .brand-logo {
  width: clamp(165px, 20vw, 285px);
  height: clamp(48px, 6vw, 84px);
}

.page-location .apartment-header.is-on-location-hero .brand-logo .logo-full {
  width: 100%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 10px 22px rgba(13, 16, 20, 0.28));
}

.page-location .apartment-header.is-on-location-hero .brand-logo .logo-mark {
  width: clamp(62px, 5.4vw, 88px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

/* Keep location-page logo anchored per section, not attached to fixed header */
.page-location .apartment-header .brand-logo,
.page-location .apartment-header.is-on-location-hero .brand-logo {
  width: clamp(165px, 20vw, 285px) !important;
  height: clamp(78px, 6.9vw, 116px) !important;
  opacity: 0 !important;
  pointer-events: auto;
  cursor: pointer;
}


.page-location .apartment-header .brand-logo img,
.page-location .apartment-header.is-on-location-hero .brand-logo img {
  opacity: 0 !important;
  transition: none !important;
}

.page-location .apartment-header .menu-toggle,
.page-location .apartment-header .guest-area-link,
.page-location .apartment-header .header-minimal-link {
  color: #171a16 !important;
  transition: color 140ms cubic-bezier(0.22, 1, 0.36, 1), opacity 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-location .apartment-header.is-on-location-hero .menu-toggle,
.page-location .apartment-header.is-on-location-hero .guest-area-link,
.page-location .apartment-header.is-on-location-hero .header-minimal-link {
  color: rgba(245, 242, 235, 0.94) !important;
}

.page-location .apartment-hover-menu--bar {
  top: calc(100% - 1.4rem);
}

.page-location .apartment-hover-menu--compact a {
  color: rgba(245, 242, 235, 0.92);
}

.page-location .apartment-header.is-menu-hover .apartment-hover-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-location .apartment-header.is-menu-hover.is-on-location-hero .apartment-hover-menu--compact,
.page-location .apartment-header.is-menu-hover:not(.is-on-location-hero) .apartment-hover-menu--bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.page-location .apartment-header.is-menu-hover.is-on-location-hero .apartment-hover-menu--compact a,
.page-location .apartment-header.is-menu-hover:not(.is-on-location-hero) .apartment-hover-menu--bar a {
  animation: menu-link-in 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-location .apartment-hover-menu--bar a {
  color: rgba(20, 23, 19, 0.88);
}

.page-location .apartment-hover-menu--bar a::after {
  background: rgba(20, 23, 19, 0.55);
}

.page-location .apartment-header.is-on-location-hero .apartment-hover-menu--bar a {
  color: rgba(245, 242, 235, 0.92);
}

.page-location .apartment-header.is-on-location-hero .apartment-hover-menu--bar a::after {
  background: rgba(245, 242, 235, 0.62);
}

.location-hero-landing {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  overflow: hidden;
}

.location-hero-landing .panel-media img {
  filter: saturate(0.92) contrast(0.96) brightness(0.86);
}

.location-hero-landing .panel-overlay {
  background:
    linear-gradient(180deg, rgba(20, 31, 44, 0.38) 0%, rgba(20, 31, 44, 0.2) 32%, rgba(20, 31, 44, 0.1) 58%, rgba(20, 31, 44, 0.15) 100%),
    linear-gradient(180deg, rgba(255, 248, 236, 0.14) 46%, rgba(255, 248, 236, 0) 68%);
}

.page-location .location-hero-landing .scroll-cue {
  left: 50%;
  transform: translateX(-50%);
  bottom: 2rem;
  color: rgba(246, 243, 237, 0.84);
}

.page-location .location-snap-container {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100svh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0;
  gap: 0;
}

.page-location .location-snap-container > section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  --location-section-logo-image: url("../LOGO%202.png");
  --location-section-logo-width: clamp(146px, 12.5vw, 208px);
  --location-section-logo-height: clamp(78px, 6.9vw, 116px);
  --location-section-logo-top: clamp(0.72rem, 1.55vh, 1.25rem);
}

.page-location .location-snap-container > section::after {
  content: "";
  position: absolute;
  top: var(--location-section-logo-top);
  left: 50%;
  width: var(--location-section-logo-width);
  height: var(--location-section-logo-height);
  transform: translate(-50%, -7px) scale(0.985);
  background-image: var(--location-section-logo-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition:
    opacity 190ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 210ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-location .location-snap-container > section.is-logo-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.page-location .location-snap-container > section .section-logo-link {
  position: absolute;
  top: var(--location-section-logo-top);
  left: 50%;
  width: var(--location-section-logo-width);
  height: var(--location-section-logo-height);
  transform: translate(-50%, 0);
  z-index: 7;
  display: block;
  cursor: pointer;
  pointer-events: none;
}

.page-location .location-snap-container > section.is-logo-visible .section-logo-link {
  pointer-events: auto;
}

.page-location .location-snap-container > section .section-logo-link:focus-visible {
  outline: 1px solid rgba(154, 120, 48, 0.75);
  outline-offset: 4px;
}

.page-location .location-hero-landing {
  --location-section-logo-image: url("../LOGO.png");
  --location-section-logo-width: clamp(165px, 20vw, 285px);
  --location-section-logo-height: clamp(48px, 6vw, 84px);
  --location-section-logo-top: clamp(1.15rem, 2.2vh, 1.9rem);
}

.page-location .location-snap-container > .location-hero-landing::after {
  background-image: url("../LOGO.png");
  width: clamp(165px, 20vw, 285px);
  height: clamp(48px, 6vw, 84px);
  top: clamp(1.15rem, 2.2vh, 1.9rem);
}

.page-location .location-manifesto,
.page-location .location-layout,
.page-location .location-signature {
  min-height: 100svh;
  width: min(var(--max-content), 100%);
  margin: 0 auto;
  padding-left: clamp(1.2rem, 3vw, 2.35rem);
  padding-right: clamp(1.2rem, 3vw, 2.35rem);
  padding-top: clamp(7rem, 12vh, 9rem);
  padding-bottom: clamp(3.4rem, 6vh, 4.8rem);
  align-content: center;
  background: var(--home-beige);
  transition: padding-top 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-location .location-manifesto {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: clamp(9rem, 11vw, 13rem);
  align-content: start;
}

.page-location .location-manifesto__content {
  padding-top: max(1rem, min(1.5vw, 1.5rem));
}

.page-location.home-subheader-open .location-manifesto {
  padding-top: calc(clamp(9rem, 11vw, 13rem) + var(--home-subheader-offset));
}

.page-location.home-subheader-open .location-layout,
.page-location.home-subheader-open .location-signature {
  padding-top: calc(clamp(7rem, 12vh, 9rem) + var(--home-subheader-offset));
}

.page-location .location-manifesto__title-row h2,
.page-location .location-manifesto__contact h3,
.page-location .route-metrics p,
.page-location .arrival-card__header h3 {
  font-family: var(--font-home-legacy-display);
  font-weight: 500;
}

.page-location .location-manifesto__eyebrow,
.page-location .location-manifesto__lead,
.page-location .location-manifesto__contact p,
.page-location .location-manifesto__contact a,
.page-location .route-field input,
.page-location .route-field span,
.page-location .route-feedback,
.page-location .route-action-btn,
.page-location .arrival-card p {
  font-family: var(--font-home-legacy-body);
  font-weight: 400;
}

.location-manifesto {
  display: grid;
}

.location-manifesto__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.8rem, 3.1vw, 3.2rem);
  align-items: stretch;
  width: min(var(--max-content), 100%);
  margin: 0 auto;
  padding-left: clamp(1.2rem, 3vw, 2.35rem);
  padding-right: clamp(1.2rem, 3vw, 2.35rem);
}

.location-manifesto__content {
  max-width: 64ch;
  position: relative;
  z-index: 2;
}

.location-manifesto__eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.location-manifesto__title-row {
  margin: 0.5rem 0 1.5rem;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.location-manifesto__title-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0.02em;
  color: var(--gold);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.location-manifesto__title-row::before,
.location-manifesto__title-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100vw;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(154, 120, 48, 0.72);
  z-index: 1;
}

.location-manifesto__title-row::before {
  right: calc(100% + 1.25rem);
}

.location-manifesto__title-row::after {
  left: calc(100% + 1.25rem);
}

.location-manifesto__lead,
.page-location .location-manifesto__lead {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  text-align: left;
  color: rgba(21, 23, 20, 0.62);
}

.location-hotspots {
  margin-top: 1.8rem;
  padding: 0.9rem 0 1rem;
  border-top: 1px solid rgba(154, 120, 48, 0.42);
  border-bottom: 1px solid rgba(154, 120, 48, 0.42);
  display: grid;
  gap: 0.72rem;
}

.location-hotspots__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.location-hotspots__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.1rem;
}

.location-hotspots__list p {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  color: rgba(21, 23, 20, 0.8);
  border-bottom: 1px solid rgba(18, 20, 17, 0.08);
  padding-bottom: 0.28rem;
}

.location-hotspots__list span {
  font-size: clamp(0.92rem, 1.02vw, 1rem);
  line-height: 1.3;
}

.location-hotspots__symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.location-hotspots__place {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.location-hotspots__mode {
  display: inline-flex;
  width: 1.24rem;
  height: 1.24rem;
  color: var(--gold);
  flex-shrink: 0;
  transform: translateY(0.03rem);
}

.location-hotspots__icon {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}

.location-hotspots__list strong {
  font-family: var(--font-home-legacy-display);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}

.location-hotspots__note {
  margin: 0.08rem 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: rgba(21, 23, 20, 0.56);
}

.location-manifesto__contact {
  margin-top: 1.6rem;
  display: block;
  padding-top: 1rem;
  border-top: 1px solid rgba(154, 120, 48, 0.2);
}

.location-manifesto__contact h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(21, 23, 20, 0.72);
}

.location-manifesto__contact p {
  margin: 0 0 0.18rem;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 0.92vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: rgba(21, 23, 20, 0.52);
}

.location-manifesto__contact a {
  color: var(--gold);
  border-bottom: 1px solid rgba(154, 120, 48, 0.66);
}

.location-manifesto__media {
  margin: 0;
  min-height: clamp(460px, 62svh, 760px);
  overflow: hidden;
  position: relative;
  z-index: 3;
  align-self: stretch;
}

.location-manifesto__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.location-manifesto__media:hover img {
  transform: scale(1.04);
}

.location-layout {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  background: var(--home-beige-soft-1);
}

.page-location .location-layout {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.page-location .location-signature {
  width: 100%;
  max-width: none;
  margin: 0;
}


.location-layout__map-frame {
  width: 100%;
  border: 0;
}

.location-layout__map-frame iframe {
  width: 100%;
  min-height: clamp(420px, 54svh, 620px);
  border: 0;
}

.location-layout__planner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  padding: clamp(1rem, 2.2vw, 1.5rem) clamp(1.2rem, 5vw, 5.2rem);
  border: 1px solid rgba(18, 20, 17, 0.08);
  border-top: 0;
  background: rgba(246, 241, 232, 0.82);
}

.route-fields {
  display: grid;
  gap: 0.78rem;
}

.route-field {
  display: grid;
  gap: 0.3rem;
  position: relative;
}

.route-field span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.route-field input {
  width: 100%;
  border: 1px solid rgba(18, 20, 17, 0.1);
  border-radius: 11px;
  background: var(--bg-ivory);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.16vw, 1.1rem);
  color: rgba(21, 23, 20, 0.82);
  padding: 0.52rem 0.72rem;
  outline: none;
  transition: border-color 280ms ease;
}

.route-field input:focus {
  border-color: var(--accent);
}

.route-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.32rem 0;
  list-style: none;
  border: 1px solid rgba(18, 20, 17, 0.14);
  background: rgba(246, 241, 232, 0.98);
  box-shadow: 0 12px 26px rgba(18, 20, 17, 0.12);
  max-height: 220px;
  overflow-y: auto;
  display: none;
  z-index: 12;
}

.route-suggestions.is-open {
  display: block;
}

.route-suggestion-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.46rem 0.62rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(21, 23, 20, 0.82);
  cursor: pointer;
}

.route-suggestion-item:hover,
.route-suggestion-item:focus-visible {
  background: rgba(154, 120, 48, 0.12);
  outline: none;
}

.route-field--destination input {
  color: rgba(21, 23, 20, 0.86);
}

.route-metrics {
  display: grid;
  gap: 0.76rem;
}

.route-metrics p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.35vw, 1.42rem);
  line-height: 1.1;
  color: rgba(21, 23, 20, 0.78);
}

.route-metric-label {
  font-family: var(--font-home-legacy-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(21, 23, 20, 0.56);
}

.route-metrics strong {
  color: rgba(21, 23, 20, 0.96);
  font-weight: 500;
}

.route-actions {
  display: grid;
  gap: 0.58rem;
  justify-items: stretch;
}

.route-action-btn {
  border-radius: 0;
  min-width: 228px;
  min-height: 46px;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.route-action-btn--ghost {
  border: 1px solid rgba(154, 120, 48, 0.28);
  background: rgba(154, 120, 48, 0.12);
  color: rgba(154, 120, 48, 0.94);
  box-shadow: none;
}

.route-action-btn--ghost:hover {
  background: rgba(154, 120, 48, 0.2);
  color: rgba(154, 120, 48, 0.98);
}

.route-feedback {
  grid-column: 1 / -1;
  margin: 0.12rem 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: rgba(21, 23, 20, 0.62);
}

.route-feedback.is-error {
  color: #9f5b4d;
}

.location-signature {
  display: grid;
  align-content: center;
  gap: clamp(1.4rem, 2.2vh, 2.1rem);
  background: var(--home-beige);
}

.location-signature__heading {
  display: grid;
  justify-items: center;
  gap: 0;
}

.location-signature__eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.location-signature__title-row {
  margin: 0.5rem 0 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.location-signature__title-row::before,
.location-signature__title-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100vw;
  height: 1px;
  background: rgba(154, 120, 48, 0.72);
  z-index: 1;
}

.location-signature__title-row::before {
  right: calc(100% + 1.25rem);
}

.location-signature__title-row::after {
  left: calc(100% + 1.25rem);
}

.location-signature__heading h2 {
  margin: 0;
  position: relative;
  z-index: 2;
  font-family: var(--font-home-legacy-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.location-signature__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.25rem);
}

.arrival-card {
  background: rgba(248, 244, 236, 0.92);
  border: 1px solid rgba(18, 20, 17, 0.11);
  padding: 1.1rem;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.arrival-card__media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.arrival-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arrival-card__media--air img {
  object-fit: cover;
  object-position: 50% 46%;
}

.arrival-card__media--car img {
  object-position: 50% 52%;
}

.arrival-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(18, 20, 17, 0.14);
  padding-bottom: 0.72rem;
}

.arrival-card__header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgba(21, 23, 20, 0.9);
}

.arrival-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  color: var(--gold);
}

.arrival-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrival-card p {
  margin: 0;
  font-size: clamp(0.98rem, 1.12vw, 1.06rem);
  line-height: 1.72;
  color: rgba(21, 23, 20, 0.72);
}

.booking-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.timeline {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(18, 20, 17, 0.14);
}

.timeline span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(18, 20, 17, 0.58);
}

.booking-placeholder {
  border: 1px dashed rgba(18, 20, 17, 0.28);
  border-radius: 14px;
  min-height: 280px;
  display: grid;
  place-items: center;
  margin-top: 1rem;
  background: linear-gradient(145deg, rgba(154, 120, 48, 0.08), rgba(18, 20, 17, 0.03));
}

.booking-placeholder p {
  margin: 0;
  max-width: 28ch;
  text-align: center;
}

.page-booking .btn {
  border-radius: 8px;
}

.page-booking .btn-primary {
  box-shadow: none;
}

.booking-page-shell {
  display: grid;
  gap: 1rem;
  padding-top: clamp(2.45rem, 5vh, 3.25rem);
  transition: padding-top 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-booking.apartment-subheader-open .booking-page-shell {
  padding-top: calc(clamp(2.45rem, 5vh, 3.25rem) + var(--apartment-subheader-offset));
}

.booking-hero,
.booking-search-panel,
.booking-engine-panel {
  background: rgba(252, 250, 246, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(18, 20, 17, 0.14);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(18, 20, 17, 0.04), 0 18px 44px rgba(18, 20, 17, 0.07);
}

.booking-hero {
  min-height: 28svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  padding: clamp(6.2rem, 8.8vw, 7.5rem) clamp(1.35rem, 4vw, 3rem) clamp(1.2rem, 2.5vw, 1.8rem);
}

.booking-hero__copy {
  max-width: 760px;
}

.booking-hero h1 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.45rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-deep);
}

.booking-hero p {
  margin: 1.1rem 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
  color: rgba(21, 23, 20, 0.70);
}

.booking-hero .eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
}

.booking-hero__facts {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(18, 20, 17, 0.14);
}

.booking-hero__facts div {
  display: grid;
  grid-template-columns: minmax(96px, 0.7fr) 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18, 20, 17, 0.14);
}

.booking-hero__facts dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(21, 23, 20, 0.52);
}

.booking-hero__facts dd {
  margin: 0;
  color: rgba(21, 23, 20, 0.78);
}

.booking-search-panel,
.booking-engine-panel {
  padding: clamp(1.15rem, 3vw, 2.4rem);
}

.booking-search-panel {
  position: relative;
  z-index: 20;
  overflow: visible;
}

.booking-section-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: clamp(1rem, 2.2vw, 1.6rem);
}

.booking-section-head .eyebrow {
  margin: 0;
}

.booking-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.55vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-deep);
}

.booking-section-head p {
  margin: 0;
  max-width: 34ch;
  line-height: 1.62;
  color: rgba(21, 23, 20, 0.66);
}

.booking-section-head--split {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 1rem;
  align-items: end;
}

.booking-date-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(96px, 0.55fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.booking-date-field {
  display: grid;
  gap: 0.48rem;
}

.booking-date-field span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(21, 23, 20, 0.58);
}

.booking-date-field input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(18, 20, 17, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-deep);
  font: inherit;
  padding: 0 0.95rem;
  outline: none;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.booking-date-field input:focus {
  border-color: rgba(154, 120, 48, 0.62);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(154, 120, 48, 0.12);
}

/* ── Date range trigger + calendar custom ──────────────── */
.booking-date-trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid rgba(18, 20, 17, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-deep);
  font: inherit;
  padding: 0 0.95rem;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.booking-date-trigger:hover {
  border-color: rgba(154, 120, 48, 0.42);
}

.booking-date-trigger[aria-expanded="true"] {
  border-color: rgba(154, 120, 48, 0.62);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(154, 120, 48, 0.12);
}

.booking-date-trigger__value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-date-trigger__value.is-placeholder {
  color: rgba(21, 23, 20, 0.4);
}

.booking-date-trigger__icon {
  flex: none;
  color: rgba(21, 23, 20, 0.5);
}

.booking-calendar {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  z-index: 9999;
  width: min(560px, calc(100vw - 2.4rem));
  background: rgba(252, 249, 244, 0.99);
  border: 1px solid rgba(18, 20, 17, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(18, 20, 17, 0.16);
  padding: 1.05rem 1.15rem 0.85rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 150ms ease, transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-calendar.is-open {
  opacity: 1;
  transform: translateY(0);
}

.bkcal-nav {
  position: absolute;
  top: 1.1rem;
  right: 1.15rem;
  display: flex;
  gap: 0.3rem;
}

.bkcal-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(18, 20, 17, 0.14);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-deep);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.bkcal-arrow:hover {
  border-color: rgba(154, 120, 48, 0.5);
  background: rgba(154, 120, 48, 0.08);
}

.bkcal-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.bkcal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.bkcal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: capitalize;
  text-align: center;
  margin: 0 0 0.6rem;
  color: var(--ink-deep);
}

.bkcal-wd,
.bkcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.bkcal-wd {
  margin-bottom: 0.3rem;
}

.bkcal-wd span {
  text-align: center;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(21, 23, 20, 0.42);
  padding: 0.2rem 0;
}

.bkcal-grid {
  row-gap: 2px;
}

.bkcal-day {
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  color: var(--ink-deep);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: background-color 140ms ease, color 140ms ease;
}

.bkcal-day.is-empty {
  pointer-events: none;
}

.bkcal-day:not(.is-disabled):not(.is-start):not(.is-end):hover {
  background: rgba(154, 120, 48, 0.14);
}

.bkcal-day.is-disabled {
  color: rgba(21, 23, 20, 0.24);
  cursor: default;
}

.bkcal-day.is-inrange {
  background: rgba(154, 120, 48, 0.13);
  border-radius: 0;
}

.bkcal-day.is-start,
.bkcal-day.is-end {
  background: var(--gold);
  color: #fff;
  font-weight: 500;
}

.bkcal-day.is-start {
  border-radius: 8px 0 0 8px;
}

.bkcal-day.is-end {
  border-radius: 0 8px 8px 0;
}

.bkcal-day.is-start:not(.is-inrange):not(.is-end) {
  border-radius: 8px;
}

.bkcal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(18, 20, 17, 0.1);
}

.bkcal-nights {
  font-size: 0.85rem;
  color: rgba(21, 23, 20, 0.62);
}

.bkcal-clear {
  border: 0;
  background: transparent;
  color: rgba(21, 23, 20, 0.6);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.2rem 0;
}

.bkcal-clear:hover {
  color: var(--gold);
}

@media (max-width: 620px) {
  .booking-calendar {
    width: min(340px, calc(100vw - 2.4rem));
  }
  .bkcal-months {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bkcal-month:nth-child(2) {
    display: none;
  }
}

.booking-date-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.55rem;
}

.booking-date-actions .btn {
  min-height: 54px;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(18, 20, 17, 0.18);
  color: rgba(21, 23, 20, 0.74);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: rgba(154, 120, 48, 0.48);
  color: var(--ink-deep);
  background: rgba(154, 120, 48, 0.07);
}

.btn--contact {
  padding-inline: 1.4rem;
  padding-block: 0.5rem;
  min-height: 0;
  font-size: 0.88rem;
}

/* ── Guest picker ───────────────────────────────────────── */
.booking-guests-input-wrap {
  position: relative;
  width: 100%;
}

.booking-guests-input {
  cursor: pointer !important;
  padding-right: 2rem !important;
  user-select: none;
  caret-color: transparent;
}

.booking-guests-chevron {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(21, 23, 20, 0.45);
  transition: transform 200ms ease;
}

.booking-guests-input[aria-expanded="true"] + .booking-guests-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.booking-guests-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  z-index: 9999;
  background: rgba(252, 249, 244, 0.98);
  border: 1px solid rgba(18, 20, 17, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(18, 20, 17, 0.13);
  padding: 1rem 1.25rem 0.85rem;
}

.booking-guests-panel.is-open {
  display: block;
}

.bgg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(18, 20, 17, 0.07);
}

.bgg-row:last-of-type { border-bottom: none; }

.bgg-info { display: grid; gap: 0.12rem; }

.bgg-cat {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-deep);
}

.bgg-age {
  font-size: 0.78rem;
  color: rgba(21, 23, 20, 0.52);
}

.bgg-counter {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.bgg-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(18, 20, 17, 0.28);
  background: transparent;
  color: var(--ink-deep);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms, background 150ms;
}

.bgg-btn:hover:not(:disabled) {
  border-color: var(--ink-deep);
  background: rgba(18, 20, 17, 0.05);
}

.bgg-btn:disabled {
  border-color: rgba(18, 20, 17, 0.14);
  color: rgba(18, 20, 17, 0.25);
  cursor: default;
}

.bgg-count {
  font-size: 0.97rem;
  min-width: 1.5ch;
  text-align: center;
  color: var(--ink-deep);
}

.bgg-rule {
  font-size: 0.76rem;
  color: rgba(21, 23, 20, 0.48);
  margin: 0.6rem 0 0.7rem;
  line-height: 1.45;
}

.bgg-close {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: none;
  background: none;
  color: var(--ink-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 150ms;
}

.bgg-close:hover { opacity: 1; }

.page-guest-area {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(250, 246, 240, 0.94), rgba(232, 222, 208, 0.96)),
    var(--home-beige);
  color: var(--ink-deep);
}

.guest-area-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.guest-access-card {
  width: min(430px, 100%);
  display: grid;
  justify-items: center;
  gap: clamp(1.35rem, 3vw, 2rem);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.35rem, 4vw, 2.35rem);
  border: 1px solid rgba(38, 31, 20, 0.11);
  border-radius: 8px;
  background: rgba(250, 246, 240, 0.72);
  box-shadow: 0 24px 62px rgba(38, 31, 20, 0.12);
  text-align: center;
}

.guest-access-card__brand {
  width: clamp(74px, 17vw, 104px);
  display: inline-grid;
  place-items: center;
}

.guest-access-card__brand img {
  width: 100%;
  height: auto;
}

.guest-access-card__copy {
  display: grid;
  gap: 0.85rem;
}

.guest-access-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 0.98;
  color: rgba(21, 23, 20, 0.95);
}

.guest-access-card p {
  margin: 0 auto;
  max-width: 30ch;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.62;
  color: rgba(21, 23, 20, 0.66);
}

.guest-access-form {
  width: 100%;
  display: grid;
  gap: 0.82rem;
}

.guest-access-form label {
  justify-self: start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(21, 23, 20, 0.58);
}

.guest-access-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(18, 20, 17, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-deep);
  font: inherit;
  text-align: center;
  letter-spacing: 0.06em;
  padding: 0 1rem;
  outline: none;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.guest-access-form input:focus {
  border-color: rgba(154, 120, 48, 0.62);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 0 0 3px rgba(154, 120, 48, 0.12);
}

.guest-access-form__actions {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.38rem;
}

.guest-access-form__actions .btn {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  padding-inline: 1.15rem;
}

.guest-home-link {
  justify-self: center;
  position: relative;
  margin-top: 0.2rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.3;
  color: rgba(38, 31, 20, 0.62);
  transition: color var(--transition-header-fast);
}

.guest-home-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.42);
  transform-origin: center;
  opacity: 0.45;
  transition: transform 220ms ease, opacity 220ms ease;
}

.guest-home-link:hover {
  color: var(--ink-deep);
}

.guest-home-link:hover::after {
  transform: scaleX(1);
  opacity: 0.72;
}

.booking-result-summary {
  min-height: 1.6em;
  margin: 1rem 0 0;
  color: rgba(21, 23, 20, 0.66);
  line-height: 1.6;
}

.booking-apartments {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.2rem, 5vw, 4.2rem);
}

.booking-apartments--ready .booking-section-head,
.booking-apartments--ready .booking-apartment-card,
.booking-apartments--ready .booking-engine-panel,
.booking-apartments--ready + .booking-engine-panel,
.booking-apartments--ready ~ .booking-assist {
  animation: bookingCascadeIn 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.booking-apartments--ready .booking-section-head {
  animation-delay: 60ms;
}

.booking-apartments--ready .booking-apartment-card:nth-child(1) {
  animation-delay: 130ms;
}

.booking-apartments--ready .booking-apartment-card:nth-child(2) {
  animation-delay: 230ms;
}

.booking-apartments--ready .booking-apartment-card:nth-child(3) {
  animation-delay: 330ms;
}

.booking-apartments--ready .booking-apartment-card:nth-child(4) {
  animation-delay: 430ms;
}

@keyframes bookingCascadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.booking-apartment-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.booking-apartment-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  min-height: 255px;
  background: rgba(252, 250, 246, 0.94);
  border: 1px solid rgba(18, 20, 17, 0.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18, 20, 17, 0.04), 0 12px 30px rgba(18, 20, 17, 0.06);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

.booking-apartment-card:hover {
  border-color: rgba(154, 120, 48, 0.28);
  box-shadow: 0 2px 4px rgba(18, 20, 17, 0.05), 0 20px 46px rgba(18, 20, 17, 0.10);
  transform: translateY(-2px);
}

.booking-apartment-card.is-hidden-by-dates {
  display: none;
}

.booking-apartment-card__media {
  position: relative;
  min-height: 100%;
  background: rgba(18, 20, 17, 0.08);
  overflow: hidden;
}

.booking-apartment-card__media img {
  width: 100%;
  height: 100%;
  min-height: 255px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-apartment-card:hover .booking-apartment-card__media img {
  transform: scale(1.035);
}

.booking-apartment-card__body {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.booking-card-topline,
.booking-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.booking-card-status {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
}

.booking-card-status.is-unavailable {
  color: rgba(21, 23, 20, 0.48);
}

.booking-card-price {
  margin: 0;
  color: rgba(21, 23, 20, 0.58);
  font-size: 0.86rem;
  white-space: nowrap;
}

.booking-card-price strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink-deep);
}

.booking-apartment-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.45vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-deep);
}

.booking-apartment-card__body > p:not(.booking-card-price):not(.booking-card-status) {
  margin: 0;
  line-height: 1.62;
  color: rgba(21, 23, 20, 0.70);
}

.booking-card-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.booking-card-specs li {
  min-height: 42px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(18, 20, 17, 0.10);
  border-radius: 8px;
  color: rgba(21, 23, 20, 0.64);
  font-size: 0.78rem;
  line-height: 1.35;
}

.booking-card-actions {
  align-items: end;
}

.booking-card-actions .btn {
  min-height: 48px;
  padding: 0.78rem 1rem;
  font-size: 0.73rem;
  line-height: 1.25;
  text-align: center;
}

.booking-card-actions .text-link {
  padding-bottom: 0.82rem;
}

.smoobu-embed-slot {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(18, 20, 17, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
}

.smoobu-embed-slot p {
  margin: 0;
  max-width: 32ch;
  text-align: center;
  line-height: 1.6;
  color: rgba(21, 23, 20, 0.64);
}

.booking-assist {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(1.4rem, 4vw, 4rem);
  row-gap: 0.7rem;
  align-items: end;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  padding-top: clamp(0.95rem, 1.7vw, 1.35rem);
  padding-inline: 0;
  padding-bottom: 0;
  border-radius: 8px;
}

.booking-assist .eyebrow,
.booking-assist h2 {
  grid-column: 1 / -1;
}

.booking-assist .eyebrow {
  color: var(--accent);
}

.booking-assist h2 {
  margin-top: -0.15rem;
}

.booking-assist p {
  max-width: none;
  margin-top: 0;
  line-height: 1.62;
}

.booking-assist-link {
  justify-self: end;
  align-self: center;
  margin-top: 0;
  white-space: nowrap;
  color: var(--accent);
}

@media (max-width: 760px) {
  .booking-assist {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .booking-assist-link {
    justify-self: start;
  }
}

.apartment-listing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.apartment-teaser {
  position: relative;
  min-height: 390px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 1.2rem;
  color: #f5f2eb;
}

.apartment-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(15, 18, 15, 0.12), rgba(15, 18, 15, 0.82));
  z-index: 1;
}

.apartment-teaser img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apartment-teaser__content {
  position: relative;
  z-index: 2;
}

.apartment-teaser h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
}

.apartment-teaser p {
  margin: 0.66rem 0 0;
  line-height: 1.56;
  max-width: 31ch;
}

.apartment-teaser .text-link {
  color: rgba(245, 242, 235, 0.95);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Differentiated section entrances:
   - Section 2: fade-up morbido
   - Section 3: slide-in lento
   - Section 4: soft zoom con stagger
*/
.snap-section.presentazione-panel .reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.snap-section.presentazione-panel .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.snap-section.quote-panel .reveal {
  opacity: 0;
  transform: translate3d(64px, 0, 0);
  transition:
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.snap-section.quote-panel .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.snap-section.highlights-panel .highlights-header.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.97);
  transition:
    opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.snap-section.highlights-panel .highlights-header.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.snap-section.highlights-panel .apartment-card.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.95);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.snap-section.highlights-panel .apartment-card.reveal:nth-child(1) {
  transition-delay: 60ms;
}

.snap-section.highlights-panel .apartment-card.reveal:nth-child(2) {
  transition-delay: 140ms;
}

.snap-section.highlights-panel .apartment-card.reveal:nth-child(3) {
  transition-delay: 220ms;
}

.snap-section.highlights-panel .apartment-card.reveal:nth-child(4) {
  transition-delay: 300ms;
}

.snap-section.highlights-panel .apartment-card.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.theme-signature {
  --accent: #9a7830;
  --accent-soft: rgba(154, 120, 48, 0.18);
}

.theme-camelia {
  --accent: #be7882;
  --accent-soft: rgba(190, 120, 130, 0.18);
}

.theme-ortensia {
  --accent: #7e8f8f;
  --accent-soft: rgba(126, 143, 143, 0.22);
}

.theme-glicine {
  --accent: #9c8ab9;
  --accent-soft: rgba(156, 138, 185, 0.2);
}

.theme-viola {
  --accent: #7d687f;
  --accent-soft: rgba(125, 104, 127, 0.24);
}

.theme-camelia .site-header:not(.home-header):not(.apartment-header),
.theme-ortensia .site-header:not(.home-header):not(.apartment-header),
.theme-glicine .site-header:not(.home-header):not(.apartment-header),
.theme-viola .site-header:not(.home-header):not(.apartment-header),
.theme-signature .site-header:not(.home-header):not(.apartment-header) {
  background: linear-gradient(180deg, rgba(15, 18, 15, 0.48), rgba(15, 18, 15, 0.06));
}

.theme-camelia .btn-primary,
.theme-ortensia .btn-primary,
.theme-glicine .btn-primary,
.theme-viola .btn-primary,
.theme-signature .btn-primary {
  background: var(--accent);
}

.theme-camelia .btn-primary:hover,
.theme-ortensia .btn-primary:hover,
.theme-glicine .btn-primary:hover,
.theme-viola .btn-primary:hover,
.theme-signature .btn-primary:hover {
  filter: brightness(1.08);
}

.theme-camelia .panel-block,
.theme-ortensia .panel-block,
.theme-glicine .panel-block,
.theme-viola .panel-block,
.theme-camelia .info-block,
.theme-ortensia .info-block,
.theme-glicine .info-block,
.theme-viola .info-block,
.theme-camelia .cta-block,
.theme-ortensia .cta-block,
.theme-glicine .cta-block,
.theme-viola .cta-block {
  border-color: color-mix(in srgb, var(--accent) 26%, rgba(18, 20, 17, 0.15));
}

.theme-camelia .text-link,
.theme-ortensia .text-link,
.theme-glicine .text-link,
.theme-viola .text-link {
  color: color-mix(in srgb, var(--accent) 70%, #161a15);
}

.theme-camelia .text-link:hover,
.theme-ortensia .text-link:hover,
.theme-glicine .text-link:hover,
.theme-viola .text-link:hover {
  color: var(--accent);
}

@media (max-width: 1120px) {
  .apartment-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid,
  .booking-grid,
  .booking-hero,
  .split-panel,
  .narrative-panel {
    grid-template-columns: 1fr;
  }

  .booking-date-form,
  .booking-section-head--split,
  .booking-apartment-card {
    grid-template-columns: 1fr;
  }

  .booking-apartment-card__media img {
    min-height: 280px;
  }

  .split-panel__media,
  .narrative-panel__media {
    min-height: 46svh;
  }

  .presentazione-panel {
    --presentazione-height: auto;
  }

  .presentazione-panel .split-panel__media,
  .presentazione-collage {
    height: auto;
  }

  .location-manifesto__grid,
  .location-signature__cards,
  .location-layout__planner {
    grid-template-columns: 1fr;
  }

  .location-manifesto__title-row h2 {
    white-space: normal;
  }

  .location-hotspots__list {
    grid-template-columns: 1fr;
  }

  .route-actions {
    justify-items: stretch;
  }

  .route-action-btn {
    min-width: 0;
    width: 100%;
  }

  .location-hero-landing {
    min-height: 100svh;
  }

  .page-family .family-section {
    --family-section-top: clamp(9.2rem, 13.8vh, 10.6rem);
  }

  .page-family .family-section--intro {
    --family-section-top: clamp(8.1rem, 12vh, 9.2rem);
  }

  .page-family .family-intro-grid,
  .page-family .family-values-grid {
    grid-template-columns: 1fr;
  }

  .page-family .family-intro-grid__media {
    width: min(520px, 100%);
    height: auto;
    max-height: clamp(360px, 62svh, 640px);
  }

  .page-family .family-intro-grid__copy {
    max-width: none;
  }

}

@media (max-width: 980px) {
  .home-hover-menu {
    display: none !important;
  }

  .apartment-hover-menu {
    display: none !important;
  }
}

@media (max-width: 780px) {
  :root {
    --footer-height: 60px;
    --header-inline-padding: clamp(1rem, 4.2vw, 1.35rem);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.58rem;
  }

  .site-header:not(.home-header):not(.apartment-header) {
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.62rem;
  }

  .site-header:not(.home-header):not(.apartment-header) .brand {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  .site-header:not(.home-header):not(.apartment-header) .btn {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header:not(.home-header):not(.apartment-header) .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: auto;
    flex-wrap: nowrap;
    gap: 0.74rem;
  }

  .brand {
    font-size: 1.18rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .language-switcher {
    order: 3;
  }

  .home-header {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 1.15rem var(--header-inline-padding);
    left: 0;
    width: 100%;
    transform: none;
  }

  .home-header .lang-switcher,
  .apartment-header .lang-switcher {
    margin-left: calc(1.56rem + 0.82rem);
  }

  .home-header .lang-switcher [data-lang],
  .apartment-header .lang-switcher [data-lang],
  .site-header:not(.home-header):not(.apartment-header) .lang-switcher [data-lang] {
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    padding-left: 0.38rem;
    padding-right: 0.38rem;
  }

  .home-header .lang-switcher [data-lang]:first-child,
  .apartment-header .lang-switcher [data-lang]:first-child,
  .site-header:not(.home-header):not(.apartment-header) .lang-switcher [data-lang]:first-child {
    padding-left: 0;
  }

  .home-header .lang-switcher [data-lang]:last-child,
  .apartment-header .lang-switcher [data-lang]:last-child,
  .site-header:not(.home-header):not(.apartment-header) .lang-switcher [data-lang]:last-child {
    padding-right: 0;
  }

  .home-header .brand {
    justify-self: center;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .home-header .brand-logo {
    width: clamp(128px, 39vw, 190px);
    height: clamp(40px, 12vw, 62px);
  }

  .page-home .home-header .brand-logo,
  .page-home .home-header.is-scrolled .brand-logo {
    width: clamp(128px, 39vw, 190px);
    height: clamp(54px, 17vw, 86px);
  }

  .home-header .brand-logo .logo-mark {
    width: clamp(50px, 17vw, 70px);
  }

  .page-home .snap-section {
    --home-section-logo-width: clamp(94px, 29vw, 146px);
    --home-section-logo-height: clamp(54px, 17vw, 86px);
    --home-section-logo-top: clamp(0.04rem, 0.25vh, 0.32rem);
  }

  .page-home .hero-panel-minimal,
  .page-home .final-panel {
    --home-section-logo-width: clamp(128px, 39vw, 190px);
    --home-section-logo-height: clamp(40px, 12vw, 62px);
    --home-section-logo-top: clamp(1.05rem, 2.1vh, 1.55rem);
  }

  .home-header .header-actions {
    width: auto;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 0.9rem;
  }

  .home-header.is-scrolled {
    left: 0;
    width: 100%;
    transform: none;
    padding: 0.9rem var(--header-inline-padding);
  }

  .home-header .header-minimal-link {
    font-size: 0.9rem;
  }

  .apartment-header {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem var(--header-inline-padding);
  }

  .apartment-header .brand-logo {
    width: clamp(76px, 21vw, 94px);
    height: clamp(38px, 11vw, 52px);
  }

  .apartment-header .apartment-header-actions {
    justify-self: end;
    gap: 0.9rem;
  }

  .apartment-header .header-minimal-link {
    font-size: 0.9rem;
  }

  .hero-panel-minimal .panel-content h1 {
    font-size: clamp(2rem, 4vw, 3.7rem);
  }

  .hero-panel-minimal .panel-content {
    transform: translateY(-3vh);
  }

  .snap-container {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-location .location-snap-container {
    height: 100svh;
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
  }

  .page-family .family-snap-container {
    height: 100svh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
  }

  .snap-section {
    min-height: auto;
    scroll-snap-align: none;
    padding-top: 8.2rem;
    padding-bottom: 2.9rem;
  }

  .hero-panel-minimal.snap-section {
    min-height: 72svh;
    padding: 0;
  }

  .hero-panel,
  .final-panel,
  .page-hero,
  .apartment-teaser {
    min-height: 72svh;
  }

  .apartment-grid,
  .story-grid,
  .apartment-listing,
  .booking-apartment-list,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .booking-hero {
    min-height: auto;
    padding-top: 7.6rem;
  }

  .booking-hero h1 {
    max-width: 18ch;
  }

  .booking-date-actions,
  .booking-card-topline,
  .booking-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-date-actions {
    grid-template-columns: 1fr;
  }

  .booking-date-actions .btn,
  .booking-card-actions .btn,
  .booking-card-actions .text-link {
    width: 100%;
  }

  .booking-card-actions .text-link {
    padding: 0;
  }

  .booking-card-specs {
    grid-template-columns: 1fr;
  }

  .apartment-showcase {
    width: 100%;
    gap: 0.96rem;
  }

  .apartment-award {
    width: min(100%, 560px);
    justify-content: flex-start;
    border-radius: 14px;
    padding: 0.45rem 0.62rem;
    gap: 0.58rem;
  }

  .apartment-award img {
    width: clamp(4.1rem, 20vw, 5.4rem);
  }

  .apartment-award-copy {
    text-align: left;
  }

  .apartment-award-kicker {
    font-size: clamp(0.58rem, 2.35vw, 0.67rem);
    letter-spacing: 0.11em;
  }

  .apartment-award-note {
    font-size: clamp(0.72rem, 3vw, 0.83rem);
  }

  .apartment-carousel {
    aspect-ratio: 4 / 3;
  }

  .carousel-control {
    width: 1.58rem;
    height: 1.95rem;
    font-size: 1.58rem;
  }

  .carousel-control--prev {
    left: 0.72rem;
  }

  .carousel-control--next {
    right: 0.72rem;
  }

  .carousel-dots {
    bottom: 1.08rem;
  }

  .apartment-showcase .apartment-features {
    line-height: 1.55;
  }

  .review-preview {
    margin-top: 1rem;
    gap: 0.76rem;
  }

  .review-preview-grid {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .review-platform {
    border-radius: 16px;
  }

  .review-platform-head {
    padding: 0.64rem 0.78rem;
  }

  .review-platform-brand {
    font-size: 0.77rem;
    letter-spacing: 0.09em;
  }

  .review-platform-tag {
    font-size: 0.62rem;
  }

  .review-controls {
    gap: 0.28rem;
    opacity: 1;
    transform: none;
  }

  .review-control-btn {
    width: 1.58rem;
    height: 1.58rem;
    font-size: 0.92rem;
  }

  .review-list {
    --review-list-pad: 0.7rem;
    padding: var(--review-list-pad);
    min-height: 268px;
  }

  .review-item {
    padding: 0.6rem 0.64rem;
  }

  .review-meta {
    font-size: 0.62rem;
    gap: 0.5rem;
  }

  .review-quote {
    margin-top: 0.36rem;
    font-size: 0.82rem;
    line-height: 1.46;
  }

  .review-score--booking-badge {
    min-width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.55rem;
    font-size: 1.2rem;
    padding-top: 0;
  }

  .review-score--airbnb-stars {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .presentazione-collage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .collage-item--hp1,
  .collage-item--hp2,
  .collage-item--hp3 {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .presentazione-qualities {
    gap: 0.6rem;
  }

  .presentazione-qualities li {
    font-size: 0.7rem;
  }

  .site-footer {
    padding: 0.56rem 0.9rem;
    gap: 0.7rem;
    letter-spacing: 0.045em;
    font-size: 0.69rem;
    text-transform: uppercase;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .location-hero-landing {
    min-height: 100svh;
    border-radius: 0;
  }

  .location-layout__map-frame iframe {
    min-height: 350px;
  }

  .page-location .location-manifesto,
  .page-location .location-layout,
  .page-location .location-signature {
    padding-top: 7.4rem;
    padding-bottom: 2.5rem;
  }

  .page-location .location-layout {
    padding-top: 7.4rem;
  }

  .page-family .apartment-header .brand-logo,
  .page-apartment .apartment-header .brand-logo,
  .page-booking .apartment-header .brand-logo {
    width: clamp(128px, 39vw, 190px);
    height: clamp(40px, 12vw, 62px);
  }

  .page-family .family-section {
    --family-section-top: clamp(8.7rem, 13.2vh, 9.9rem);
    padding: var(--family-section-top) var(--header-inline-padding) clamp(2.8rem, 6vh, 3.8rem);
  }

  .page-family .family-section--intro {
    --family-section-top: clamp(7.6rem, 11.2vh, 8.8rem);
  }

  .page-family.apartment-subheader-open .family-section {
    padding-top: var(--family-section-top);
  }

  .page-family.apartment-subheader-open .family-section--intro .family-section__inner,
  .page-family.apartment-subheader-open .family-section--quote .quote-panel__inner,
  .page-family.apartment-subheader-open .family-section--values .family-section__inner {
    transform: translateY(
      calc(var(--apartment-subheader-offset) + clamp(1.4rem, 2.8vh, 2.2rem))
    );
  }

  .page-family .family-shell > .family-section {
    --family-section-logo-width: clamp(94px, 29vw, 146px);
    --family-section-logo-height: clamp(54px, 17vw, 86px);
    --family-section-logo-top: clamp(0.04rem, 0.25vh, 0.32rem);
  }

  .page-family .family-section--intro,
  .page-family .family-section--values {
    --family-section-logo-width: clamp(128px, 39vw, 190px);
    --family-section-logo-height: clamp(40px, 12vw, 62px);
    --family-section-logo-top: clamp(1.05rem, 2.1vh, 1.55rem);
  }

  .page-family .family-heading {
    gap: 0.55rem;
    margin-bottom: clamp(1.5rem, 3vh, 2.1rem);
  }

  .page-family .family-heading__title-row {
    margin: 0.42rem 0 1.2rem;
  }

  .page-family .family-heading__eyebrow,
  .page-family .family-heading h1,
  .page-family .family-heading h2 {
    text-align: left;
  }

  .page-family .family-heading h1,
  .page-family .family-heading h2 {
    white-space: normal;
  }

  .page-family .family-intro-grid {
    gap: 1.3rem;
  }

  .page-family .family-intro-grid__copy p {
    font-size: 1.06rem;
    line-height: 1.58;
  }

  .page-family .family-section--quote .quote-panel__text {
    font-size: clamp(1.75rem, 9.2vw, 2.6rem);
  }

  .page-family .family-values-grid article {
    padding: 1.5rem 1.3rem 1.4rem;
  }

  .page-family .family-values-grid article::before {
    font-size: clamp(4rem, 18vw, 6.5rem);
    bottom: 0.4rem;
    right: 1rem;
  }

  .page-family .family-actions {
    margin-top: 1.8rem;
  }

  .page-family .family-action-link {
    width: 100%;
    min-width: 0;
  }

  .page-location .location-snap-container > section {
    --location-section-logo-width: clamp(94px, 29vw, 146px);
    --location-section-logo-height: clamp(54px, 17vw, 86px);
    --location-section-logo-top: clamp(0.56rem, 1.2vh, 0.95rem);
  }

  .page-location .location-hero-landing {
    --location-section-logo-width: clamp(128px, 39vw, 190px);
    --location-section-logo-height: clamp(40px, 12vw, 62px);
    --location-section-logo-top: clamp(1.05rem, 2.1vh, 1.55rem);
  }

  .page-location .apartment-header .brand-logo,
  .page-location .apartment-header.is-on-location-hero .brand-logo {
    width: clamp(128px, 39vw, 190px) !important;
    height: clamp(54px, 17vw, 86px) !important;
  }

  .page-location .location-snap-container > .location-hero-landing::after {
    width: clamp(128px, 39vw, 190px);
    height: clamp(40px, 12vw, 62px);
    top: clamp(1.05rem, 2.1vh, 1.55rem);
  }

  .location-signature__heading h2 {
    font-size: clamp(1.7rem, 9vw, 2.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .presentazione-panel .reveal,
  .quote-panel .reveal,
  .highlights-panel .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  [data-parallax] {
    transform: none !important;
  }

  .apartment-carousel .carousel-slide {
    transition: none !important;
  }

  .page-apartment .apartment-showcase.reveal > * {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@keyframes accessFadeIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-push-in {
  0% {
    transform: scale(1.03) translateY(0);
  }
  100% {
    transform: scale(1.17) translateY(-1.2%);
  }
}

/* ======================================================
   DOVE SIAMO V2 — Scorrimento continuo, header cinematico
   ====================================================== */

/* ── 1. Rimuovi snap scrolling: passa a window scroll ── */

.page-location-v2 .location-snap-container {
  height: auto !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

.page-location-v2 .location-snap-container > section {
  min-height: unset !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: unset !important;
}

.page-location-v2 .location-snap-container > .location-hero-landing {
  min-height: 100svh !important;
  min-height: 100dvh !important;
}

/* ── 2. Nascondi i loghi flottanti per-sezione ─────── */

.page-location-v2 .location-snap-container > section::after,
.page-location-v2 .location-snap-container > section .section-logo-link {
  display: none !important;
}

/* ── 3. Brand-logo: ripristina visibilità e transizioni ── */

.page-location-v2 .apartment-header .brand-logo,
.page-location-v2 .apartment-header.is-on-location-hero .brand-logo {
  opacity: 1 !important;
  pointer-events: auto;
  cursor: pointer;
  transition:
    width var(--transition-header-fast),
    height var(--transition-header-fast) !important;
}

.page-location-v2 .apartment-header .brand-logo img,
.page-location-v2 .apartment-header.is-on-location-hero .brand-logo img {
  opacity: 1 !important;
  transition:
    opacity var(--transition-header-fast),
    transform var(--transition-header-fast),
    filter var(--transition-header-fast) !important;
}

/* ── 4. Stato HERO: trasparente, logo completo, testo chiaro ── */
/* Identico alla homepage: nessun background, nessun bordo        */

.page-location-v2 .apartment-header,
.page-location-v2 .apartment-header.is-on-location-hero {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: clamp(1.4rem, 2.9vh, 2rem) var(--header-inline-padding) !important;
  transition:
    background var(--transition-header-fast),
    border-color var(--transition-header-fast),
    box-shadow var(--transition-header-fast),
    padding var(--transition-header-fast) !important;
}

/* Logo hero: versione completa con scritta */
.page-location-v2 .apartment-header .brand-logo,
.page-location-v2 .apartment-header.is-on-location-hero .brand-logo {
  width: clamp(165px, 20vw, 285px) !important;
  height: clamp(48px, 6vw, 84px) !important;
}

.page-location-v2 .apartment-header .brand-logo .logo-full,
.page-location-v2 .apartment-header.is-on-location-hero .brand-logo .logo-full {
  opacity: 1 !important;
  width: 100% !important;
  transform: translate(-50%, -50%) scale(1) !important;
  filter: drop-shadow(0 8px 22px rgba(13, 16, 20, 0.32)) !important;
}

.page-location-v2 .apartment-header .brand-logo .logo-mark,
.page-location-v2 .apartment-header.is-on-location-hero .brand-logo .logo-mark {
  opacity: 0 !important;
}

/* Testo chiaro su hero */
.page-location-v2 .apartment-header .menu-toggle,
.page-location-v2 .apartment-header.is-on-location-hero .menu-toggle,
.page-location-v2 .apartment-header .guest-area-link,
.page-location-v2 .apartment-header.is-on-location-hero .guest-area-link,
.page-location-v2 .apartment-header .header-minimal-link,
.page-location-v2 .apartment-header.is-on-location-hero .header-minimal-link {
  color: rgba(245, 242, 235, 0.94) !important;
  transition: color var(--transition-header-fast) !important;
}

/* ── 4b. ::before sempre presente, invisibile nell'hero — anima opacity al scroll ── */
.page-location-v2 .apartment-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgb(250, 246, 240);
  opacity: 0;
  z-index: -1;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), bottom 200ms ease;
  pointer-events: none;
}

/* ── 5. Stato SCROLLATO: barra elegante con sfondo caldo ── */

.page-location-v2 .apartment-header.is-scrolled {
  /* background gestito da ::before per estendersi seamlessly sul menu bar */
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  height: calc(clamp(1.4rem, 2.9vh, 2rem) + clamp(48px, 6vw, 84px)) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

/* Un solo rettangolo di sfondo che si estende sul menu bar — nessuna separazione visiva */
.page-location-v2 .apartment-header.is-scrolled::before {
  opacity: 1;
}

.page-location-v2 .apartment-header.is-scrolled.is-menu-hover::before {
  bottom: -3.6rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

/* Logo scrollato: simbolo senza testo (LOGO 2.png — mark), più grande ma dentro l'header fisso */
.page-location-v2 .apartment-header.is-scrolled .brand-logo {
  width: clamp(76px, 8vw, 104px) !important;
  height: clamp(76px, 8vw, 104px) !important;
}

.page-location-v2 .apartment-header.is-scrolled .brand-logo .logo-full {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.92) !important;
  filter: none !important;
}

.page-location-v2 .apartment-header.is-scrolled .brand-logo .logo-mark {
  opacity: 1 !important;
  width: 100% !important;
  transform: translate(-50%, -50%) scale(1) !important;
  filter: none !important;
}

/* Testo scuro su sfondo bianco */
.page-location-v2 .apartment-header.is-scrolled .menu-toggle,
.page-location-v2 .apartment-header.is-scrolled .guest-area-link,
.page-location-v2 .apartment-header.is-scrolled .header-minimal-link {
  color: rgba(38, 31, 20, 0.88) !important;
}

/* ── 6. Menu bar: trasparente, il ::before dell'header fa da sfondo ─── */

.page-location-v2 .apartment-hover-menu--bar {
  top: 100% !important;
  background: transparent !important;
  border: 0 !important;
}

/* ── 7. Menu compact su hero: identico all'homepage (testo flottante, no box) ─── */
.page-location-v2 .apartment-header.is-menu-hover.is-on-location-hero .apartment-hover-menu--compact {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.page-location-v2 .apartment-hover-menu--bar a {
  color: rgba(38, 31, 20, 0.82) !important;
}

.page-location-v2 .apartment-hover-menu--bar a::after {
  background: rgba(38, 31, 20, 0.35) !important;
}

.page-location-v2 .apartment-hover-menu--compact a {
  color: rgba(245, 242, 235, 0.90) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
  letter-spacing: 0.012em !important;
}

/* ── 6. Background html + shell + sezioni: colore unico senza gap ── */

/* html ha #ece3d8 di default — lo allineiamo al beige delle sezioni */
html:has(.page-location-v2) {
  background: var(--home-beige) !important;
}

.page-location-v2 .location-snap-container {
  background: var(--home-beige) !important;
}

.page-location-v2 .location-manifesto {
  min-height: unset !important;
  align-content: start !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: var(--home-beige) !important;
  padding-top: clamp(5rem, 9vh, 7.5rem) !important;
  padding-bottom: clamp(3.5rem, 6vh, 5.5rem) !important;
}

.page-location-v2 .location-layout {
  min-height: unset !important;
  align-content: start !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: var(--home-beige) !important;
  padding-top: clamp(3.5rem, 6vh, 5rem) !important;
  padding-bottom: clamp(3.5rem, 6vh, 5rem) !important;
  gap: 0 !important;
}

.page-location-v2 .location-layout__planner {
  border-top: 1px solid rgba(18, 20, 17, 0.08) !important;
  margin-top: -0.25rem !important;
  position: relative !important;
  z-index: 1 !important;
  background: rgb(250, 246, 240) !important;
}

.page-location-v2 .location-signature {
  min-height: unset !important;
  align-content: start !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: var(--home-beige) !important;
  padding-top: clamp(3.5rem, 6vh, 5rem) !important;
  padding-bottom: clamp(5rem, 8vh, 7rem) !important;
}

/* Annulla l'offset del subheader (layout libero con scroll continuo) */
.page-location-v2.home-subheader-open .location-manifesto,
.page-location-v2.home-subheader-open .location-layout,
.page-location-v2.home-subheader-open .location-signature {
  padding-top: clamp(5rem, 9vh, 7.5rem) !important;
}

.page-location-v2.home-subheader-open .location-layout,
.page-location-v2.home-subheader-open .location-signature {
  padding-top: clamp(3.5rem, 6vh, 5rem) !important;
}

/* ── 9. Mobile: mantieni scorrimento continuo ───────── */

@media (max-width: 780px) {
  .page-location-v2 .location-snap-container {
    height: auto !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  .page-location-v2 .location-snap-container > .location-hero-landing {
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }

  .page-location-v2 .location-snap-container > section {
    min-height: unset !important;
    scroll-snap-align: none !important;
  }

  .page-location-v2 .apartment-header .brand-logo,
  .page-location-v2 .apartment-header.is-on-location-hero .brand-logo,
  .page-location-v2 .apartment-header.is-scrolled .brand-logo {
    width: clamp(90px, 28vw, 128px) !important;
    height: clamp(28px, 8.5vw, 40px) !important;
  }

  .page-location-v2 .location-manifesto,
  .page-location-v2 .location-layout,
  .page-location-v2 .location-signature {
    padding-top: clamp(4rem, 8vh, 5.5rem) !important;
    padding-bottom: 2.5rem !important;
    min-height: unset !important;
  }
}

@media (max-width: 1120px) {
  .page-location-v2 .location-manifesto__grid {
    padding-left: clamp(1.2rem, 3vw, 2.35rem);
    padding-right: clamp(1.2rem, 3vw, 2.35rem);
  }
}

/* ── Hover animation: schede Come arrivare ── */
.page-location-v2 .arrival-card {
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms ease;
  will-change: transform;
}

.page-location-v2 .arrival-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(18, 20, 17, 0.12), 0 4px 12px rgba(18, 20, 17, 0.06);
  border-color: rgba(154, 120, 48, 0.35);
}

.page-location-v2 .arrival-card__media img {
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-location-v2 .arrival-card:hover .arrival-card__media img {
  transform: scale(1.06);
}

.page-location-v2 .arrival-card__header h3 {
  transition: color 320ms ease;
}

.page-location-v2 .arrival-card:hover .arrival-card__header h3 {
  color: var(--accent);
}

/* ── Rimuovi riga divisoria tra hotspots e contatto ── */
.page-location-v2 .location-hotspots {
  border-bottom: 1px solid rgba(154, 120, 48, 0.42) !important;
}

.page-location-v2 .location-manifesto__contact {
  border-top: 0 !important;
  padding-top: 1.4rem !important;
}

/* ── Ingrandisci font info contatto ── */
.page-location-v2 .location-manifesto__contact h3 {
  font-size: clamp(1rem, 1.15vw, 1.1rem) !important;
  letter-spacing: 0.1em !important;
}

.page-location-v2 .location-manifesto__contact p {
  font-size: clamp(0.98rem, 1.08vw, 1.04rem) !important;
  font-weight: 400 !important;
  color: rgba(21, 23, 20, 0.65) !important;
  line-height: 1.7 !important;
}

/* ── Booking API: spinner, error box, unavailable card ── */
@keyframes chh-spin {
  to { transform: rotate(360deg); }
}

[data-booking-check][data-loading="true"],
[data-booking-proceed][data-loading="true"] {
  color: transparent;
  pointer-events: none;
  position: relative;
}

[data-booking-check][data-loading="true"]::after,
[data-booking-proceed][data-loading="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid rgba(154, 120, 48, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: chh-spin 0.8s linear infinite;
}

.booking-api-error {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1.1rem;
  background: rgba(154, 120, 48, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.86rem;
  color: rgba(21, 23, 20, 0.78);
  line-height: 1.5;
}

.booking-apartment-card.is-api-unavailable {
  opacity: 0.55;
}

.booking-apartment-card.is-api-unavailable .booking-apartment-card__media {
  position: relative;
}

.booking-apartment-card.is-api-unavailable .booking-apartment-card__media img {
  filter: grayscale(1) saturate(0) contrast(0.92);
}

.booking-apartment-card.is-api-unavailable .booking-apartment-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 17, 0.38);
  pointer-events: none;
}

.booking-apartment-card.is-api-unavailable .booking-card-book {
  cursor: not-allowed;
  opacity: 0.6;
}

.booking-card-price-total {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(21, 23, 20, 0.55);
  letter-spacing: 0;
}

.booking-card-price-contact {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
}

.booking-apartments--api-loaded .booking-apartment-card {
  animation: bookingCascadeIn 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.booking-apartments--api-loaded .booking-apartment-card:nth-child(1) { animation-delay: 0ms; }
.booking-apartments--api-loaded .booking-apartment-card:nth-child(2) { animation-delay: 80ms; }
.booking-apartments--api-loaded .booking-apartment-card:nth-child(3) { animation-delay: 160ms; }
.booking-apartments--api-loaded .booking-apartment-card:nth-child(4) { animation-delay: 240ms; }

/* ── Booking form panel ─────────────────────────────────────────────────── */
.booking-form-overlay {
  --booking-modal-block-space: clamp(2.5rem, 7vh, 5rem);
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: var(--booking-modal-block-space) clamp(1.25rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  overscroll-behavior: contain;
}

.booking-form-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-form-panel {
  position: relative;
  width: min(100%, 820px);
  max-height: calc(100svh - (var(--booking-modal-block-space) * 2));
  margin: 0 auto;
  overflow: auto;
  padding: clamp(1.15rem, 2.3vw, 1.75rem);
  background: var(--bg-ivory);
  border-radius: 22px;
  box-shadow: 0 24px 72px rgba(17, 20, 16, 0.42);
  transform: translateY(1.5rem) scale(0.985);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  overscroll-behavior: contain;
}

.booking-form-overlay.is-open .booking-form-panel {
  transform: translateY(0) scale(1);
}

.booking-form-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(18, 20, 17, 0.12);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.86);
  color: rgba(21, 23, 20, 0.74);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-form-head {
  padding-right: 2.5rem;
}

.booking-form-head h2 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0;
}

.booking-form-head p:last-child {
  margin: 0.55rem 0 0;
  color: rgba(21, 23, 20, 0.64);
}

.booking-details-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.booking-form-section {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(18, 20, 17, 0.1);
}

.booking-form-section h3 {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(21, 23, 20, 0.58);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.85rem;
}

.booking-form-email-phone-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.85rem;
}

.booking-form-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.booking-form-field--wide {
  grid-column: 1 / -1;
}

.booking-form-field > span,
.booking-form-field > label,
.booking-form-field .booking-form-label {
  font-size: 0.84rem;
  color: rgba(21, 23, 20, 0.76);
}

.booking-form-field input,
.booking-form-field select,
.booking-form-field textarea,
.booking-phone-row select,
.booking-phone-row input {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid rgba(18, 20, 17, 0.15);
  border-radius: 10px;
  background: #f5f0e8;
  padding: 0.62rem 0.78rem;
  font: inherit;
  color: var(--ink-deep);
  outline: none;
}

.booking-form-field textarea {
  resize: vertical;
  min-height: 5.6rem;
}

.booking-form-field input:focus,
.booking-form-field select:focus,
.booking-form-field textarea:focus,
.booking-phone-row select:focus,
.booking-phone-row input:focus {
  border-color: var(--accent);
}

.booking-form-field.is-invalid input,
.booking-form-field.is-invalid select,
.booking-form-field.is-invalid textarea,
.booking-phone-row.is-invalid select,
.booking-phone-row.is-invalid input {
  border-color: #8b3a3a;
}

.booking-form-field em {
  font-size: 0.76rem;
  font-style: normal;
  color: rgba(21, 23, 20, 0.52);
  line-height: 1.45;
}

.booking-form-guests-summary {
  display: grid;
  gap: 0.2rem;
  min-height: 2.55rem;
  border: 1px solid rgba(18, 20, 17, 0.15);
  border-radius: 10px;
  background: #f5f0e8;
  padding: 0.62rem 0.78rem;
  color: var(--ink-deep);
}

.booking-form-guests-summary strong {
  font-weight: 600;
}

.booking-form-guests-summary span {
  color: rgba(21, 23, 20, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
}

.booking-phone-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  gap: 0.45rem;
}

.booking-cancellation-box {
  padding: 0.8rem;
  border: 1px solid rgba(18, 20, 17, 0.1);
  border-radius: 10px;
  background: rgba(245, 240, 232, 0.72);
  color: rgba(21, 23, 20, 0.68);
  font-size: 0.88rem;
  line-height: 1.65;
}

.booking-policy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(21, 23, 20, 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.booking-policy-check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.booking-form-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.booking-form-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem 0 0.72rem;
  border-bottom: 1px solid rgba(18, 20, 17, 0.08);
}

.booking-form-summary dt {
  color: rgba(21, 23, 20, 0.55);
  font-size: 0.82rem;
}

.booking-form-summary dd {
  margin: 0;
  text-align: right;
  color: rgba(21, 23, 20, 0.86);
}

.booking-form-summary div:last-child {
  padding-top: 1.45rem;
  padding-bottom: 1.35rem;
  margin-top: 0.75rem;
  border-bottom-color: rgba(18, 20, 17, 0.16);
  border-top: 1px solid rgba(18, 20, 17, 0.12);
}

.booking-form-summary div:last-child dt,
.booking-form-summary div:last-child dd {
  color: var(--ink-deep);
  font-size: 1rem;
  font-weight: 700;
}

.booking-countdown {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  letter-spacing: 0;
  color: var(--accent);
}

.booking-countdown.is-warning {
  color: #8b3a3a;
}

.booking-form-message {
  padding: 0.85rem 1rem;
  border-left: 3px solid #8b3a3a;
  border-radius: 0 8px 8px 0;
  background: rgba(139, 58, 58, 0.08);
  color: #6f2f2f;
  font-size: 0.86rem;
  line-height: 1.5;
}

.booking-field-error {
  min-height: 1em;
  color: #8b3a3a;
  font-size: 0.75rem;
  line-height: 1.35;
}

.booking-form-submit {
  justify-self: end;
  min-width: min(100%, 260px);
}

.booking-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

html.booking-form-open,
body.booking-form-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 720px) {
  .booking-form-overlay {
    --booking-modal-block-space: clamp(0.9rem, 2.5vh, 1.4rem);
    padding-inline: clamp(0.75rem, 3vw, 1rem);
  }

  .booking-form-panel {
    width: 100%;
    max-height: calc(100svh - (var(--booking-modal-block-space) * 2));
    border-radius: 18px;
    padding: 1.15rem;
  }

  .booking-form-grid,
  .booking-form-summary {
    grid-template-columns: 1fr;
  }

  .booking-phone-row {
    grid-template-columns: minmax(96px, 0.38fr) minmax(0, 1fr);
  }

  .booking-form-summary div {
    align-items: flex-start;
  }

  .booking-form-submit {
    width: 100%;
  }
}
