/* ============================================================
   MetaRoma Stays — versione "Notte"
   Liquid glass in modalita' scura: pannelli smerigliati sospesi
   sopra una luce calda che si muove nel buio.
   Nessuna fotografia tranne quelle vere degli appartamenti.
   ============================================================ */

:root {
  /* Il buio non e' nero: e' un bruno profondo, caldo */
  --void:      #100D0B;
  --void-2:    #17130F;
  --ink:       #F6F1E8;
  --ink-2:     #C3B8A8;
  --ink-3:     #8B8074;

  --gold:      #D9B98B;
  --gold-warm: #C9A472;
  --gold-deep: #A98253;
  --teal:      #7FB0A8;
  --dusk:      #8FA9C9;

  /* Vetro scuro: poca opacita', molta sfocatura, bordo che cattura la luce */
  --pane:        rgba(255, 248, 238, .055);
  --pane-strong: rgba(255, 248, 238, .095);
  --pane-faint:  rgba(255, 248, 238, .032);
  --frost:    saturate(150%) blur(30px);
  --frost-sm: saturate(140%) blur(16px);

  /* Il bordo del vetro: luce sopra, nulla sotto */
  --rim:
    inset 0 1px 0 rgba(255, 244, 228, .16),
    inset 0 0 0 1px rgba(255, 244, 228, .06),
    inset 0 -1px 0 rgba(0, 0, 0, .25);
  --drop:    0 18px 44px rgba(0, 0, 0, .38);
  --drop-lg: 0 34px 80px rgba(0, 0, 0, .5);
  --glow:    0 0 34px rgba(217, 185, 139, .18);

  --r-xl: 34px;
  --r-lg: 26px;
  --r:    18px;
  --r-sm: 13px;
  --r-pill: 999px;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t--1: clamp(0.79rem, 0.77rem + 0.09vw, 0.85rem);
  --t-0:  clamp(1rem, 0.97rem + 0.13vw, 1.06rem);
  --t-1:  clamp(1.06rem, 1.01rem + 0.22vw, 1.22rem);
  --t-2:  clamp(1.2rem, 1.09rem + 0.46vw, 1.52rem);
  --t-3:  clamp(1.48rem, 1.26rem + 0.92vw, 2.15rem);
  --t-4:  clamp(1.8rem, 1.42rem + 1.65vw, 2.95rem);
  --t-5:  clamp(2.1rem, 1.55rem + 2.35vw, 3.8rem);

  --gutter: clamp(1.15rem, 0.8rem + 1.8vw, 2.5rem);
  --wrap: 1200px;
  --nav-h: 66px;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--void); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
img, picture, video { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 1.15em; height: 1.15em; flex: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }

body {
  font-family: var(--sans);
  font-size: var(--t-0);
  font-weight: 350;
  line-height: 1.72;
  color: var(--ink-2);
  /* lo sfondo sta su html: se lo ripetiamo qui, copre l'aura che gli sta dietro */
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
}

/* ---------- La luce nel buio ---------- */
.aura { position: fixed; inset: -25vmax; z-index: -2; pointer-events: none;
  filter: blur(70px); opacity: .9; }
.aura span { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.aura span:nth-child(1) {
  width: 66vmax; height: 66vmax; top: -14vmax; left: -10vmax;
  background: radial-gradient(circle at 45% 45%, rgba(217,185,139,.34), rgba(217,185,139,0) 64%);
  animation: swim-a 40s ease-in-out infinite alternate;
}
.aura span:nth-child(2) {
  width: 56vmax; height: 56vmax; top: 26vmax; right: -14vmax;
  background: radial-gradient(circle at 50% 50%, rgba(127,176,168,.26), rgba(127,176,168,0) 66%);
  animation: swim-b 48s ease-in-out infinite alternate;
}
.aura span:nth-child(3) {
  width: 52vmax; height: 52vmax; bottom: -10vmax; left: 20vmax;
  background: radial-gradient(circle at 50% 50%, rgba(143,169,201,.22), rgba(143,169,201,0) 68%);
  animation: swim-c 44s ease-in-out infinite alternate;
}
@keyframes swim-a { to { transform: translate3d(16vmax, 12vmax, 0) scale(1.18); } }
@keyframes swim-b { to { transform: translate3d(-18vmax, 16vmax, 0) scale(1.12); } }
@keyframes swim-c { to { transform: translate3d(14vmax, -14vmax, 0) scale(1.22); } }

.speck { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "wdth" 92, "opsz" 40;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-4); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-2); }
h4 { font-size: var(--t-1); }
p { text-wrap: pretty; }

.tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: var(--t--1); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.tag::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .55; }
.lede { font-size: var(--t-1); line-height: 1.66; color: var(--ink-2); }
.dim { color: var(--ink-3); }

/* ---------- Impianto ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - var(--gutter) * 2, 760px); margin-inline: auto; }
.band { padding-block: clamp(2.5rem, 2rem + 3.2vw, 5.5rem); }
.band--tight { padding-block: clamp(1.75rem, 1.4rem + 2vw, 3.25rem); }
.head { max-width: 44rem; margin-bottom: clamp(1.5rem, 1.2rem + 1.4vw, 2.6rem); }
.head--mid { margin-inline: auto; text-align: center; }
.head--mid .tag { justify-content: center; }
.head p { margin-top: .8rem; font-size: var(--t-1); max-width: 46ch; }
.head--mid p { margin-inline: auto; }
.grid { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

/* ---------- Il materiale ---------- */
.pane {
  position: relative;
  background: var(--pane);
  backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
  border-radius: var(--r-lg);
  box-shadow: var(--rim), var(--drop);
  overflow: hidden;
}
.pane::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,244,228,.1) 0%, rgba(255,244,228,.02) 30%, transparent 58%);
}
.pane--strong { background: var(--pane-strong); }
.pane--faint  { background: var(--pane-faint); }

/* ---------- Controlli ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .9rem 1.8rem; border-radius: var(--r-pill);
  font-family: var(--sans); font-size: var(--t--1); font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              background-color .4s var(--ease), color .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn--gold {
  background: linear-gradient(180deg, #E6CBA3 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: #16120E; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 26px rgba(217,185,139,.24);
}
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 16px 38px rgba(217,185,139,.32); }
.btn--pane {
  background: var(--pane-strong); color: var(--ink);
  backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
  box-shadow: var(--rim);
}
.btn--pane:hover { background: rgba(255,248,238,.15); box-shadow: var(--rim), var(--glow); }
.btn--wide { width: 100%; }
.btn--sm { min-height: 44px; padding: .75rem 1.35rem; }

.more {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-size: var(--t--1); font-weight: 600; color: var(--gold);
  transition: gap .45s var(--ease), color .3s var(--ease);
}
.more svg { width: 16px; height: 16px; }
.more:hover { gap: .95rem; color: var(--ink); }

/* ---------- Navigazione ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 300; min-height: 44px; padding: .8rem 1.3rem;
  background: var(--gold); color: #16120E; border-radius: var(--r-pill); }

.nav {
  position: fixed; z-index: 100; top: clamp(.7rem, .4rem + 1vw, 1.2rem); left: 50%;
  transform: translateX(-50%);
  width: min(100% - var(--gutter) * 2, var(--wrap));
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem .5rem .5rem 1.3rem; border-radius: var(--r-pill);
  background: rgba(16, 13, 11, .5);
  backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
  box-shadow: var(--rim), var(--drop);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease);
}
.nav.is-lifted { background: rgba(16, 13, 11, .72); box-shadow: var(--rim), var(--drop-lg); }
.nav__logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.nav__logo img { height: 21px; width: auto; filter: brightness(0) invert(1) opacity(.92); }
.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative; min-height: 44px; display: inline-flex; align-items: center;
  padding: .5rem 1rem; border-radius: var(--r-pill);
  font-size: var(--t--1); font-weight: 500; color: var(--ink-2);
  transition: color .35s var(--ease);
}
.nav__link::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: rgba(255,248,238,.1); box-shadow: var(--rim);
  opacity: 0; transform: scale(.86);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::before, .nav__link[aria-current="page"]::before { opacity: 1; transform: scale(1); }
.nav__link[aria-current="page"] { color: var(--gold); font-weight: 600; }

.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: .35rem; min-height: 44px;
  padding: .5rem .85rem; border-radius: var(--r-pill);
  font-size: var(--t--1); font-weight: 600; color: var(--ink-2);
  transition: background-color .35s var(--ease); }
.lang__btn:hover { background: rgba(255,248,238,.09); }
.lang__btn svg { width: 11px; height: 11px; transition: transform .4s var(--ease); }
.lang[data-open="true"] .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + .55rem); right: 0; min-width: 10rem; padding: .35rem;
  border-radius: var(--r); background: rgba(20, 16, 13, .88);
  backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
  box-shadow: var(--rim), var(--drop);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.lang[data-open="true"] .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; min-height: 44px; padding: .5rem .85rem;
  border-radius: var(--r-sm); font-size: var(--t--1); color: var(--ink-2);
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.lang__menu a:hover { background: rgba(255,248,238,.09); color: var(--ink); }
.lang__menu a[aria-current="true"] { color: var(--gold); font-weight: 600; }

.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-pill); position: relative; }
.burger span { position: absolute; left: 14px; width: 18px; height: 1.6px; border-radius: 2px;
  background: var(--ink); transition: all .45s var(--ease); }
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 26px; }
body[data-menu="open"] .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body[data-menu="open"] .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: auto var(--gutter) var(--gutter); z-index: 95;
  padding: 1.2rem; border-radius: var(--r-xl);
  background: rgba(20, 16, 13, .9);
  backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
  box-shadow: var(--rim), var(--drop-lg);
  display: grid; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transform-origin: bottom;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
body[data-menu="open"] .sheet { opacity: 1; visibility: visible; transform: none; }
.sheet a { min-height: 54px; display: flex; align-items: center; padding: .8rem 1rem;
  border-radius: var(--r); font-family: var(--display); font-size: var(--t-2); color: var(--ink); }
.sheet a:active { background: rgba(255,248,238,.09); }
.sheet__langs { display: flex; gap: .4rem; margin-top: .7rem; padding: 0 .3rem; }
.sheet__langs a { min-height: 46px; font-family: var(--sans); font-size: var(--t--1); font-weight: 600;
  padding: .5rem 1rem; border-radius: var(--r-pill); background: rgba(255,248,238,.07); color: var(--ink-3); }
.sheet__langs a[aria-current="true"] { color: #16120E; background: var(--gold); }

/* ---------- Cielo stellato ---------- */
.sky { position: relative; }
.sky::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='720'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -1C.12 -.3 .3 -.12 1 0C.3 .12 .12 .3 0 1C-.12 .3 -.3 .12 -1 0C-.3 -.12 -.12 -.3 0 -1Z'/%3E%3C/defs%3E%3Cg fill='%23D9B98B'%3E%3Cuse href='%23s' transform='translate(90 64) scale(5)' opacity='0.95'/%3E%3Cuse href='%23s' transform='translate(430 90) scale(3.6)' opacity='0.80'/%3E%3Cuse href='%23s' transform='translate(240 170) scale(3)' opacity='0.65'/%3E%3Cuse href='%23s' transform='translate(620 140) scale(4)' opacity='0.70'/%3E%3Cuse href='%23s' transform='translate(200 260) scale(2.4)' opacity='0.55'/%3E%3Cuse href='%23s' transform='translate(500 250) scale(2.8)' opacity='0.60'/%3E%3Cuse href='%23s' transform='translate(300 330) scale(3.4)' opacity='0.65'/%3E%3Cuse href='%23s' transform='translate(60 480) scale(2.6)' opacity='0.60'/%3E%3Cuse href='%23s' transform='translate(560 420) scale(3)' opacity='0.60'/%3E%3Cuse href='%23s' transform='translate(350 540) scale(2.6)' opacity='0.55'/%3E%3Cuse href='%23s' transform='translate(680 560) scale(3.6)' opacity='0.75'/%3E%3Cuse href='%23s' transform='translate(150 600) scale(3)' opacity='0.65'/%3E%3Ccircle cx='250' cy='100' r='1.4' opacity='0.50'/%3E%3Ccircle cx='420' cy='44' r='1.2' opacity='0.42'/%3E%3Ccircle cx='40' cy='60' r='1.2' opacity='0.46'/%3E%3Ccircle cx='300' cy='60' r='1.3' opacity='0.50'/%3E%3Ccircle cx='610' cy='40' r='1.4' opacity='0.50'/%3E%3Ccircle cx='120' cy='150' r='1' opacity='0.40'/%3E%3Ccircle cx='330' cy='120' r='1.2' opacity='0.44'/%3E%3Ccircle cx='480' cy='160' r='1' opacity='0.40'/%3E%3Ccircle cx='700' cy='200' r='1' opacity='0.40'/%3E%3Ccircle cx='60' cy='260' r='1.2' opacity='0.46'/%3E%3Ccircle cx='360' cy='214' r='1' opacity='0.40'/%3E%3Ccircle cx='560' cy='264' r='1.3' opacity='0.46'/%3E%3Ccircle cx='160' cy='340' r='1.3' opacity='0.46'/%3E%3Ccircle cx='400' cy='300' r='1.2' opacity='0.44'/%3E%3Ccircle cx='680' cy='320' r='1.5' opacity='0.54'/%3E%3Ccircle cx='80' cy='380' r='1.4' opacity='0.50'/%3E%3Ccircle cx='360' cy='420' r='1' opacity='0.40'/%3E%3Ccircle cx='640' cy='460' r='1.2' opacity='0.44'/%3E%3Ccircle cx='200' cy='450' r='1.2' opacity='0.42'/%3E%3Ccircle cx='444' cy='434' r='1' opacity='0.40'/%3E%3Ccircle cx='170' cy='520' r='1' opacity='0.40'/%3E%3Ccircle cx='260' cy='580' r='1.2' opacity='0.44'/%3E%3Ccircle cx='540' cy='600' r='1' opacity='0.40'/%3E%3Ccircle cx='660' cy='600' r='1.3' opacity='0.50'/%3E%3Ccircle cx='90' cy='690' r='1.1' opacity='0.42'/%3E%3Ccircle cx='334' cy='640' r='1.4' opacity='0.46'/%3E%3Ccircle cx='440' cy='660' r='1.3' opacity='0.48'/%3E%3Ccircle cx='604' cy='684' r='1' opacity='0.40'/%3E%3Ccircle cx='240' cy='690' r='1.2' opacity='0.44'/%3E%3Ccircle cx='700' cy='700' r='1.1' opacity='0.40'/%3E%3C/g%3E%3Cuse href='%23s' transform='translate(520 500) scale(4.2)' fill='%237FB0A8' opacity='0.65'/%3E%3C/svg%3E");
  background-size: 720px auto; background-repeat: repeat;
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 97%);
          mask-image: linear-gradient(180deg, #000 52%, transparent 97%);
}

/* ---------- Apertura ---------- */
.open { position: relative; text-align: center;
  padding-top: calc(var(--nav-h) + clamp(1.2rem, .9rem + 1.7vw, 2.5rem));
  padding-bottom: 0; }
.open__title { font-size: var(--t-5); max-width: 17ch; margin-inline: auto; line-height: 1.08; }
.open__title em { font-style: normal; color: var(--gold);
  font-variation-settings: "wdth" 78, "opsz" 40; }
.open__sub { margin: 1rem auto 0; max-width: 44ch; font-size: var(--t-1); color: var(--ink-2); }
/* lo skyline segue l'altezza della finestra: tutto il sipario entra nel primo schermo */
.open__art { margin: clamp(1.1rem, .9rem + 1.4vw, 2rem) auto 0; max-width: 880px; }
.open__art img { width: min(100%, calc(clamp(140px, 23vh, 260px) * 3.6364));
  height: auto; aspect-ratio: 1200 / 330; margin-inline: auto; opacity: .92;
  filter: drop-shadow(0 0 26px rgba(217,185,139,.22)); }
.sky .finder { margin-top: clamp(1.2rem, 1rem + 1.5vw, 2.2rem); }
.open--page { padding-bottom: 0; }
.open--page .open__title { font-size: var(--t-4); max-width: 20ch; }

/* Scheda appartamento: intestazione compatta, le foto devono restare in vista */
.open--unit { padding-top: calc(var(--nav-h) + clamp(1.1rem, .9rem + 1.1vw, 1.9rem)); }
.open--unit .tag { margin-bottom: .55rem; }
.open--unit .open__title { font-size: var(--t-3); max-width: 34ch; }
.open--unit .open__sub { margin-top: .55rem; font-size: var(--t-0); }

/* ---------- Ricerca ---------- */
.finder__inner { padding: 1rem; border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1fr 1fr .75fr auto; gap: .6rem; align-items: end; }
.finder--slim .finder__inner { max-width: 720px; margin-inline: auto; padding: .8rem; }
[data-find] { position: relative; }
[data-find] input[readonly] { cursor: pointer; caret-color: transparent; }
.fld { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.fld > span { padding-left: 1.05rem; font-size: .71rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: .8rem 1.05rem; border: 0; border-radius: var(--r);
  -webkit-appearance: none; appearance: none;
  background: rgba(255,248,238,.07); color: var(--ink); font-size: var(--t-0);
  box-shadow: inset 0 0 0 1px rgba(255,244,228,.09);
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
  color-scheme: dark;
}
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-3); }
[data-find] input[readonly]::placeholder { font-size: .86em; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; background: rgba(255,248,238,.11);
  box-shadow: inset 0 0 0 1px rgba(217,185,139,.55), 0 0 0 4px rgba(217,185,139,.14);
}
.fld select { padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%238B8074' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; }
.fld option { background: #17130F; color: var(--ink); }
.finder .btn { min-height: 50px; }
.finder__note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem;
  padding: .4rem .5rem 0; font-size: var(--t--1); color: var(--ink-3); }
.finder__note span { display: inline-flex; align-items: center; gap: .4rem; }
.finder__note svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Calendario arrivo / partenza ---------- */
/* il popover deve poter uscire dal pannello: niente clip sui form di ricerca */
.finder__inner, .book { overflow: visible; }
.cal { position: absolute; z-index: 60; width: min(340px, 100%); padding: 1rem;
  border-radius: var(--r-lg); background: rgba(26, 21, 17, .97);
  backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
  box-shadow: var(--rim), var(--drop-lg);
  animation: lift .45s var(--ease) both; }
.cal__head { display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-bottom: .45rem; }
.cal__title { font-size: var(--t--1); font-weight: 600; color: var(--ink);
  text-transform: capitalize; letter-spacing: .02em; }
.cal__nav { width: 38px; height: 38px; display: grid; place-content: center;
  border-radius: var(--r-pill); color: var(--ink-2); background: rgba(255,248,238,.07);
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.cal__nav svg { width: 13px; height: 13px; }
.cal__nav--r svg { transform: scaleX(-1); }
.cal__nav:hover { background: rgba(255,248,238,.13); color: var(--ink); }
.cal__nav[disabled] { opacity: .28; cursor: default; background: rgba(255,248,238,.05); }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow span { text-align: center; padding: .3rem 0 .4rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); }
.cal__d { min-height: 40px; display: grid; place-content: center;
  font-size: .86rem; font-weight: 500; color: var(--ink-2); border-radius: var(--r-sm);
  transition: background-color .18s ease, color .18s ease; }
.cal__d:hover { background: rgba(255,248,238,.1); color: var(--ink); }
.cal__d[disabled] { color: rgba(139,128,116,.38); cursor: default; background: none; }
.cal__d.mid { background: rgba(217,185,139,.16); border-radius: 0; color: var(--ink); }
.cal__d.on { background: linear-gradient(180deg, #E6CBA3, var(--gold)); color: #16120E;
  font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 16px rgba(217,185,139,.28); }
.cal__hint { margin-top: .55rem; min-height: 1.3em; text-align: center;
  font-size: var(--t--1); color: var(--gold); }

/* ---------- Schede alloggio ---------- */
.stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr));
  gap: clamp(1rem, .8rem + 1.2vw, 1.7rem); }
.unit { display: flex; flex-direction: column; padding: .55rem; border-radius: var(--r-xl);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .6s var(--ease); }
.unit:hover { transform: translateY(-6px); background: var(--pane-strong);
  box-shadow: var(--rim), var(--drop-lg), var(--glow); }
.unit__shot { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  overflow: hidden; background: rgba(255,248,238,.04); display: block; }
.unit__shot img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter .6s var(--ease); }
.unit:hover .unit__shot img { transform: scale(1.06); }
.unit__tag { position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  background: rgba(16,13,11,.6); backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
  box-shadow: var(--rim); font-size: .68rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.unit__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: .6rem; padding: 1rem; text-align: center; }
.unit__ph img { width: 56%; max-width: 140px; opacity: .8; }
.unit__ph span { font-size: var(--t--1); color: var(--ink-3); }
.unit__body { padding: 1.2rem .95rem .6rem; display: flex; flex-direction: column; flex: 1; }
.unit__where { font-size: .71rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); }
.unit__name { font-size: var(--t-2); margin-top: .4rem; }
.unit__name a { display: inline-block; padding-block: .8rem; margin-block: -.8rem; }
.unit__line { margin-top: .55rem; font-size: var(--t--1); line-height: 1.65; color: var(--ink-3); }
.unit__facts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.unit__facts li { display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; border-radius: var(--r-pill);
  background: rgba(255,248,238,.06); box-shadow: inset 0 0 0 1px rgba(255,244,228,.07);
  font-size: .75rem; color: var(--ink-2); }
.unit__facts svg { width: 13px; height: 13px; color: var(--gold); }
.unit__go { margin-top: auto; padding-top: 1.1rem; }

/* ---------- Tessere ---------- */
.tile { padding: clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem); display: flex; flex-direction: column;
  height: 100%; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--rim), var(--drop-lg), var(--glow); }
.tile__art { width: 100%; max-width: 140px; margin-bottom: 1.15rem; }
.tile__art img { width: 100%; opacity: .9; }
.tile h3 { font-size: var(--t-1); }
.tile p { margin-top: .65rem; font-size: var(--t-0); line-height: 1.66; }
.tile .more { margin-top: 1.1rem; }

.hoods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.hood { padding: 1.7rem 1.4rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.hood:hover { transform: translateY(-4px); box-shadow: var(--rim), var(--drop-lg), var(--glow); }
.hood__art { width: 84px; margin-bottom: 1rem; }
.hood__art img { width: 100%; opacity: .88; }
.hood h3 { font-size: var(--t-1); }
.hood p { margin-top: .55rem; font-size: var(--t--1); line-height: 1.65; color: var(--ink-3); }
.hood b { margin-top: .9rem; font-size: .71rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); }

.figures { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 1rem + 2.2vw, 2.8rem); }
.figure__n { font-family: var(--display); font-size: var(--t-3); line-height: 1; color: var(--gold);
  font-variation-settings: "wdth" 80; }
.figure__l { margin-top: .35rem; font-size: var(--t--1); color: var(--ink-3); }

/* ---------- Dettaglio ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 21rem;
  gap: clamp(1.2rem, 1rem + 2vw, 2.6rem); align-items: start; }
.panel { padding: clamp(1.4rem, 1.15rem + 1.3vw, 2.3rem); }
.panel + .panel { margin-top: clamp(1rem, .8rem + 1vw, 1.6rem); }
.panel h2 { font-size: var(--t-2); margin-bottom: 1rem; }
.panel p + p { margin-top: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem;
  border-radius: var(--r-pill); background: rgba(255,248,238,.06);
  box-shadow: inset 0 0 0 1px rgba(255,244,228,.07); font-size: var(--t--1); color: var(--ink-2); }
.chips svg { width: 15px; height: 15px; color: var(--gold); }
.points li { position: relative; padding-left: 1.6rem; line-height: 1.65; }
.points li + li { margin-top: .75rem; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(217,185,139,.6); }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: .65rem 1.2rem; }
.kit li { display: flex; align-items: center; gap: .55rem; font-size: var(--t-0); color: var(--ink-2); }
.kit svg { width: 16px; height: 16px; color: var(--gold); }

.book { position: sticky; top: calc(var(--nav-h) + 1.3rem); padding: 1.5rem; }
.book .fld + .fld { margin-top: .7rem; }
.book .btn { margin-top: 1.1rem; }
.book__perks { margin-top: 1.2rem; padding-top: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,244,228,.09); display: grid; gap: .6rem;
  font-size: var(--t--1); color: var(--ink-3); }
.book__perks li { display: flex; align-items: flex-start; gap: .55rem; }
.book__perks svg { width: 15px; height: 15px; color: var(--teal); margin-top: .3em; }
.book__alt { margin-top: 1rem; text-align: center; font-size: var(--t--1); }
.book__alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-weight: 600; }

/* ---------- Galleria ---------- */
.band--gal { padding-block: clamp(.9rem, .7rem + .9vw, 1.5rem); }
.panel--gal { padding: clamp(.55rem, .45rem + .5vw, .95rem); }
.panel--gal .shots__cap { padding: 0 .5rem .25rem; }
.shots__wrap { position: relative; }
.shots__nav, .shots__count { display: none; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.shots__i { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden;
  cursor: zoom-in; background: rgba(255,248,238,.04); }
.shots__i:first-child { grid-column: span 2; grid-row: span 2; border-radius: var(--r-lg); }
/* su schermo grande l'altezza segue la finestra: titolo e foto entrano insieme */
@media (min-width: 901px) {
  .shots { grid-template-rows: 1fr 1fr; height: clamp(340px, 52vh, 540px); }
  .shots__i, .shots__i:first-child { aspect-ratio: auto; }
}
.shots__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shots__i:hover img { transform: scale(1.05); }
.shots__more { position: absolute; inset: 0; display: grid; place-content: center;
  background: rgba(16,13,11,.55); backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
  font-family: var(--display); font-size: var(--t-1); color: var(--ink); }
.shots__cap { display: flex; align-items: center; gap: .5rem; margin-top: .75rem;
  font-size: var(--t--1); color: var(--ink-3); }
.shots__cap svg { width: 15px; height: 15px; color: var(--gold); }

.lens { position: fixed; inset: 0; z-index: 200; background: rgba(10, 8, 7, .85);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.lens[data-open="true"] { opacity: 1; visibility: visible; }
.lens__img { max-width: 90vw; max-height: 82vh; object-fit: contain;
  border-radius: var(--r-lg); box-shadow: var(--drop-lg); }
.lens__b { position: absolute; width: 48px; height: 48px; display: grid; place-content: center;
  border-radius: var(--r-pill); color: var(--ink); background: rgba(255,248,238,.1);
  backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
  box-shadow: var(--rim); transition: transform .4s var(--ease), background-color .3s var(--ease); }
.lens__b:hover { background: rgba(255,248,238,.2); transform: scale(1.06); }
.lens__b svg { width: 20px; height: 20px; }
.lens__x { top: 1.3rem; right: 1.3rem; }
.lens__p { left: 1.3rem; top: 50%; margin-top: -24px; }
.lens__n { right: 1.3rem; top: 50%; margin-top: -24px; }
.lens__c { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  padding: .45rem 1.1rem; border-radius: var(--r-pill); background: rgba(255,248,238,.1);
  box-shadow: var(--rim); font-size: var(--t--1); color: var(--ink-2); }

/* ---------- Filtri ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem;
  padding: .6rem; border-radius: var(--r-pill); margin-bottom: clamp(1.4rem, 1rem + 1.8vw, 2.3rem); }
.filters__set { display: flex; flex-wrap: wrap; gap: .35rem; margin-right: auto; }
.pill { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .5rem 1.05rem; border-radius: var(--r-pill);
  font-size: var(--t--1); font-weight: 500; color: var(--ink-2);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.pill b { font-weight: 600; font-size: .71rem; padding: .1rem .45rem; border-radius: var(--r-pill);
  background: rgba(255,248,238,.1); color: var(--ink-3); transition: inherit; }
.pill:hover { background: rgba(255,248,238,.07); }
.pill.on { background: linear-gradient(180deg, #E6CBA3, var(--gold)); color: #16120E; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px rgba(217,185,139,.24); }
.pill.on b { background: rgba(22,18,14,.2); color: #16120E; }
.filters__g { display: inline-flex; align-items: center; gap: .55rem; padding-right: .5rem; }
.filters__g span { font-size: var(--t--1); color: var(--ink-3); }
.filters__g select { min-height: 44px; padding: .5rem 2.1rem .5rem 1rem; border: 0;
  border-radius: var(--r-pill); background: rgba(255,248,238,.07); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,244,228,.08); font-size: var(--t--1);
  appearance: none; cursor: pointer; color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%238B8074' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: 11px; }
.unit[hidden] { display: none; }
.nothing { text-align: center; padding: 3rem 1rem; font-size: var(--t-1); color: var(--ink-3); }
.nothing[hidden] { display: none; }

/* ---------- Servizi ---------- */
.svc { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.4rem, 1rem + 2.5vw, 3.5rem);
  align-items: center; padding: clamp(1.5rem, 1.2rem + 1.8vw, 2.8rem); }
.svc:nth-child(even) .svc__art { order: 2; }
.svc__art { display: grid; place-items: center; padding: .5rem; }
.svc__art img { width: 100%; max-width: 240px; opacity: .9; }
.svc__txt p + p { margin-top: .85rem; }
.svc__txt .btn { margin-top: 1.5rem; }
.svc + .svc { margin-top: clamp(1rem, .9rem + 1.2vw, 1.8rem); }

/* ---------- Richiamo ---------- */
.call { padding: clamp(2.2rem, 1.8rem + 2.6vw, 4rem) clamp(1.4rem, 1rem + 2.6vw, 3.5rem);
  text-align: center; position: relative; overflow: hidden; }
.call__art { position: absolute; inset: auto 0 -14% 0; opacity: .16; pointer-events: none; }
.call__art img { width: 100%; }
.call__in { position: relative; z-index: 1; }
.call p { margin: .9rem auto 0; max-width: 40ch; font-size: var(--t-1); }
.call .btn { margin-top: 1.6rem; }

/* ---------- Modulo ---------- */
.form { display: grid; gap: .85rem; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.form__ck { display: flex; align-items: flex-start; gap: .65rem; font-size: var(--t--1); color: var(--ink-3); }
.form__ck input { width: 18px; height: 18px; min-height: 0; margin-top: .3em;
  accent-color: var(--gold); flex: none; box-shadow: none; }
.msg { padding: .85rem 1.15rem; border-radius: var(--r); font-size: var(--t--1); display: none; }
.msg[data-show="true"] { display: block; }
.msg--ok { background: rgba(127,176,168,.14); color: #A9CFC8; box-shadow: inset 0 0 0 1px rgba(127,176,168,.3); }
.msg--no { background: rgba(214,140,110,.14); color: #E0A98F; box-shadow: inset 0 0 0 1px rgba(214,140,110,.3); }

.reach { display: grid; gap: .5rem; }
.reach a { display: flex; align-items: center; gap: 1rem; min-height: 44px; padding: 1rem 1.2rem;
  border-radius: var(--r-lg); transition: transform .45s var(--ease), background-color .45s var(--ease); }
.reach a:hover { transform: translateX(4px); background: rgba(255,248,238,.07); }
.reach__i { width: 42px; height: 42px; flex: none; display: grid; place-content: center;
  border-radius: var(--r-pill); background: rgba(217,185,139,.13); color: var(--gold); }
.reach__i svg { width: 18px; height: 18px; }
.reach small { display: block; font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.reach strong { display: block; margin-top: .1rem; font-weight: 500; color: var(--ink); }
.map { width: 100%; aspect-ratio: 3 / 2; border: 0; border-radius: var(--r-lg);
  filter: invert(.92) hue-rotate(180deg) saturate(.5) contrast(.92);
  background: rgba(255,248,238,.04); }

/* ---------- Piede ---------- */
.foot { margin-top: clamp(1.8rem, 1.4rem + 2.4vw, 3.5rem); padding: 0 0 2rem; }
.foot__in { padding: clamp(1.7rem, 1.4rem + 1.8vw, 2.8rem); border-radius: var(--r-xl); }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.4rem, 1rem + 2vw, 3rem); }
.foot__logo img { height: 21px; filter: brightness(0) invert(1) opacity(.9); }
.foot__about { margin-top: 1rem; font-size: var(--t--1); line-height: 1.7; max-width: 30ch; color: var(--ink-3); }
.foot h4 { font-family: var(--sans); font-size: .71rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); margin-bottom: .9rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t--1);
  color: var(--ink-2); transition: color .3s var(--ease); }
.foot a:hover { color: var(--gold); }
.foot__social { display: flex; gap: .45rem; margin-top: 1.2rem; }
.foot__social a { width: 44px; height: 44px; display: grid; place-content: center; border-radius: var(--r-pill);
  background: rgba(255,248,238,.07); box-shadow: var(--rim);
  transition: background-color .4s var(--ease), transform .4s var(--ease); }
.foot__social a:hover { background: var(--gold); color: #16120E; transform: translateY(-2px); }
.foot__social svg { width: 16px; height: 16px; }
.foot__end { margin-top: 1.6rem; padding-top: 1.3rem; box-shadow: inset 0 1px 0 rgba(255,244,228,.09);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem;
  font-size: var(--t--1); color: var(--ink-3); }
.foot__end nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Avvisi e dock ---------- */
.ck { position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 150; max-width: 25rem;
  padding: 1.2rem 1.4rem; border-radius: var(--r-xl); font-size: var(--t--1); color: var(--ink-2); display: none; }
.ck[data-show="true"] { display: block; animation: lift .6s var(--ease) both; }
@keyframes lift { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.ck__row { margin-top: .9rem; display: flex; gap: .7rem; align-items: center; }
.dock { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 90;
  display: none; justify-content: center; gap: .55rem; padding: .5rem;
  max-width: 430px; margin-inline: auto; border-radius: var(--r-pill); }
.dock .btn { flex: 1 1 0; min-width: 0; padding-inline: .9rem; }
.dock__wa svg { width: 17px; height: 17px; }

/* sigillo AiutoHost: fisso in basso a destra; su mobile sale sopra la dock,
   poco sopra il pulsante WhatsApp */
.sigillo { position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 80;
  line-height: 0; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.sigillo img { width: 180px; height: 180px; }

/* ---------- Movimento ---------- */
[data-in] { opacity: 0; transform: translateY(24px); }
[data-in].seen { opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease); }
@media (prefers-reduced-motion: reduce) { [data-in] { opacity: 1; transform: none; } }

/* ---------- Passaggio fra le pagine ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4,0,1,1) both; }
  ::view-transition-new(root) { animation: vt-in .42s cubic-bezier(0,0,.2,1) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes vt-in  { from { opacity: 0; transform: translateY(12px); } }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.32,.72,0,1); }
}
.nav { view-transition-name: nav; }
.dock { view-transition-name: dock; }
::view-transition-old(nav), ::view-transition-new(nav),
::view-transition-old(dock), ::view-transition-new(dock) { animation: none; }

@supports (animation-timeline: scroll()) {
  .nav::after { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; bottom: 0; height: 2px;
    border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--teal));
    transform-origin: left; transform: scaleX(0); opacity: .9;
    animation: prog linear both; animation-timeline: scroll(root block); }
  @keyframes prog { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .nav::after { display: none; } }

/* ---------- Adattamento ---------- */
@media (max-width: 1040px) {
  .detail { grid-template-columns: 1fr; }
  /* la card di prenotazione sale subito dopo la galleria, coi campi data affiancati */
  .detail aside { order: -1; }
  .book { position: static; }
  .book form { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; align-items: end; }
  .book .fld + .fld { margin-top: 0; }
  .book form .fld:nth-of-type(3), .book form .btn { grid-column: 1 / -1; }
  .book .btn { margin-top: .3rem; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .lang { display: none; }
  .burger { display: block; }
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__art, .svc__art { order: -1; }
  .finder__inner { grid-template-columns: 1fr 1fr; }
  .finder__inner .fld--g, .finder__inner .btn { grid-column: 1 / -1; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots__i:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 3/2; }
  .dock { display: flex; }
  body { padding-bottom: 5rem; }
  .sigillo { bottom: 5.6rem; }
  .sigillo img { width: 116px; height: 116px; }
  .ck { left: var(--gutter); right: var(--gutter); bottom: 5.4rem; max-width: none; }
  .sheet { bottom: 5.4rem; }
  /* meno sfocatura dove non serve: costa cara sul telefono */
  .pane:not(.nav):not(.dock):not(.ck):not(.sheet) {
    backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(30, 25, 20, .55);
  }
  .pane--strong { background: rgba(36, 30, 24, .72); }
  .aura { filter: blur(56px); }
}
@media (max-width: 700px) {
  /* galleria a carosello: solo la copertina, si scorre con le frecce o col dito */
  .shots { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shots::-webkit-scrollbar { display: none; }
  .shots__i, .shots__i:first-child { flex: 0 0 100%; aspect-ratio: 4 / 3;
    border-radius: var(--r-lg); scroll-snap-align: center; }
  .shots__i[hidden] { display: block; }
  .shots__more, .shots__cap { display: none; }
  .shots__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 42px; height: 42px; display: grid; place-content: center; border-radius: var(--r-pill);
    color: var(--ink); background: rgba(16, 13, 11, .55);
    backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
    box-shadow: var(--rim); transition: opacity .3s var(--ease); }
  .shots__nav svg { width: 16px; height: 16px; }
  .shots__nav--p { left: .55rem; }
  .shots__nav--n { right: .55rem; }
  .shots__nav[disabled] { opacity: .35; }
  .shots__count { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; display: block;
    padding: .32rem .75rem; border-radius: var(--r-pill); background: rgba(16, 13, 11, .6);
    backdrop-filter: var(--frost-sm); -webkit-backdrop-filter: var(--frost-sm);
    box-shadow: var(--rim); font-size: .7rem; font-weight: 600; letter-spacing: .04em;
    color: var(--ink); }
}
@media (max-width: 620px) {
  .tag { letter-spacing: .11em; font-size: .71rem; }
  .tag::before { display: none; }
  .open .tag, .head--mid .tag { justify-content: center; }

  /* apertura compatta: titolo, skyline e ricerca entrano nel primo schermo,
     con la card che termina poco sopra i pulsanti in basso */
  .open { padding-top: calc(var(--nav-h) + .6rem); }
  .open__title { font-size: clamp(1.7rem, 7.6vw, 2.15rem); }
  .open__sub { font-size: .88rem; line-height: 1.55; margin-top: .4rem; }
  .open__art { margin-top: .6rem; }
  .open__art img { width: 86%; }
  .sky .finder { margin-top: .6rem; }
  .sky::before { background-size: 600px auto; }
  .finder__note { display: none; }

  /* Schede alloggio compatte, a lista: foto a sinistra, dati a destra */
  .stack { grid-template-columns: 1fr; gap: .7rem; }
  .unit { display: grid; grid-template-columns: 116px 1fr; align-items: stretch;
    gap: .85rem; padding: .5rem; border-radius: var(--r-lg); }
  .unit:hover { transform: none; }
  .unit__shot { aspect-ratio: auto; height: 100%; min-height: 122px; border-radius: var(--r); }
  .unit__tag { display: none; }
  .unit__body { padding: .3rem .4rem .3rem 0; min-width: 0; }
  .unit__where { font-size: .64rem; }
  .unit__name { font-size: var(--t-1); margin-top: .2rem; line-height: 1.2; }
  .unit__line { display: none; }
  .unit__facts { margin-top: .5rem; gap: .25rem .8rem; }
  .unit__facts li { padding: 0; background: none; box-shadow: none;
    font-size: .73rem; color: var(--ink-3); }
  .unit__facts svg { width: 12px; height: 12px; }
  .unit__go { padding-top: .55rem; }
  .unit__go .more { min-height: 0; }
  .unit__go .more svg { width: 14px; height: 14px; }
}
@media (max-width: 600px) {
  :root { --nav-h: 60px; --r-xl: 28px; --r-lg: 22px; }
  /* arrivo e partenza restano affiancati: il modulo occupa meno schermo */
  .finder__inner { padding: .7rem; gap: .45rem; }
  .fld input, .fld select { min-height: 44px; padding: .6rem .85rem; }
  .fld > span { padding-left: .9rem; font-size: .65rem; }
  .finder .btn { min-height: 46px; }
  .form__2 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .filters { border-radius: var(--r-lg); }
}
