/* ============================================================
   HOTEL PIZZALTO — sistema stagionale
   Una sola struttura, due respiri. Cambia solo il colore.
   ============================================================ */

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; }
img{ display:block; max-width:100%; }
button{ font:inherit; color:inherit; background:none; border:none; cursor:pointer; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4,p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }

/* ---------- Tokens ---------- */
:root{
  --font-display:"Fraunces";
  --font-body:"Hanken Grotesk", system-ui, sans-serif;

  /* accenti stagionali (modificabili dai Tweaks) */
  --accent-estate:#2f6043;
  --accent-inverno:#2f5d80;

  --maxw:1340px;
  --pad:clamp(20px,5vw,84px);
  --sect:clamp(78px,11vw,168px);

  --parallax:7;        /* intensità movimento, da Tweaks */
  --ease:cubic-bezier(.22,.61,.36,1);

  --r:2px;             /* raggi quasi nulli, eleganza alpina */
}

/* ESTATE — bianchi caldi + verde bosco */
body[data-season="estate"]{
  --bg:#fdfcfa;
  --bg-2:#efe7d6;
  --surface:#faf7f0;
  --ink:#23201a;
  --ink-2:#4c4638;
  --muted:#706756;
  --line:#d9d0bf;
  --line-strong:#c6bba4;
  --accent:var(--accent-estate);
  --on-accent:#f5f1e8;
  --menu-bg:#1d2019;
  --menu-ink:#eee8da;
  --menu-muted:#9aa18d;
}
/* INVERNO — avorio/pietra + blu alpino */
body[data-season="inverno"]{
  --bg:#edf0f2;
  --bg-2:#e0e5e9;
  --surface:#f7f9fa;
  --ink:#1b2024;
  --ink-2:#434a51;
  --muted:#626b73;
  --line:#cfd6db;
  --line-strong:#bcc5cc;
  --accent:var(--accent-inverno);
  --on-accent:#eef1f3;
  --menu-bg:#161b20;
  --menu-ink:#e7ecf0;
  --menu-muted:#8d97a1;
}

body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--ink);
  font-size:clamp(16px,1.04vw,18px);
  line-height:1.62;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  letter-spacing:.005em;
  overflow-x:clip;
  transition:background-color .8s var(--ease), color .8s var(--ease);
}
body.menu-open,
body.booking-open{ overflow:hidden; }

/* ---------- Tipografia ---------- */
.display{
  font-family:var(--font-display), "Times New Roman", serif;
  font-weight:330;
  font-optical-sizing:auto;
  line-height:.98;
  letter-spacing:-.018em;
  text-wrap:balance;
}
.eyebrow{
  font-size:.74rem;
  letter-spacing:.26em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--muted);
  display:inline-flex;
  align-items:center;
  gap:.7em;
}
.eyebrow::before{
  content:"";
  width:26px; height:1px;
  background:var(--accent);
  display:inline-block;
}
.eyebrow--plain::before{ display:none; }

.lead{
  font-size:clamp(1.06rem,1.35vw,1.28rem);
  line-height:1.58;
  color:var(--ink-2);
  max-width:46ch;
  text-wrap:pretty;
}

.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }

/* ---------- Bottoni ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.65em;
  font-size:.82rem; letter-spacing:.13em; text-transform:uppercase; font-weight:600;
  padding:1.02em 1.7em; border-radius:var(--r);
  transition:background-color .35s var(--ease), color .35s var(--ease),
             border-color .35s var(--ease), transform .35s var(--ease);
  border:1px solid transparent; white-space:nowrap;
}
.btn .arr{ transition:transform .35s var(--ease); }
.btn:hover .arr{ transform:translateX(4px); }
.btn--primary{ background:var(--accent); color:var(--on-accent); }
.btn--primary:hover{ transform:translateY(-2px); filter:brightness(1.06); }
.btn--ghost{ border-color:var(--line-strong); color:var(--ink); }
.btn--ghost:hover{ border-color:var(--ink); background:var(--ink); color:var(--bg); }
.btn--light{ border-color:rgba(255,255,255,.5); color:#fff; }
.btn--light:hover{ background:#fff; color:#1a1a1a; border-color:#fff; }
.link-u{
  display:inline-flex; align-items:center; gap:.5em;
  font-size:.82rem; letter-spacing:.13em; text-transform:uppercase; font-weight:600;
  padding-bottom:.35em; border-bottom:1px solid var(--line-strong);
  transition:border-color .3s, gap .3s;
}
.link-u:hover{ border-color:var(--accent); gap:.85em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
  padding:clamp(16px,2vw,26px) var(--pad);
  transition:background-color .4s var(--ease), padding .4s var(--ease),
             box-shadow .4s var(--ease), color .4s var(--ease);
  color:var(--header-ink,#fff);
}
.site-header.solid{
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(14px) saturate(1.1);
  box-shadow:0 1px 0 var(--line);
  --header-ink:var(--ink);
  padding-top:clamp(12px,1.4vw,18px);
  padding-bottom:clamp(12px,1.4vw,18px);
}

/* logo */
.brand{ position:relative; display:inline-block; line-height:0; }
.brand-logo{ height:clamp(38px,3.4vw,50px); width:auto; display:block; }
.brand-logo--color{ position:absolute; inset:0; opacity:0; transition:opacity .45s var(--ease); }
.brand-logo--white{ opacity:1; transition:opacity .45s var(--ease); }
.site-header.solid .brand-logo--white{ opacity:0; }
.site-header.solid .brand-logo--color{ opacity:1; }
.brand .mark{ font-family:var(--font-display),serif; font-weight:380; letter-spacing:.01em; }

.header-right{ display:flex; align-items:center; gap:clamp(14px,1.8vw,30px); }

/* season switch */
.season-switch{
  position:relative; display:inline-flex; align-items:center;
  border:1px solid currentColor; border-radius:100px; padding:3px;
  font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  opacity:.92;
}
.season-switch button{
  position:relative; z-index:2; padding:.52em 1.05em; border-radius:100px;
  color:inherit; transition:color .4s var(--ease); white-space:nowrap;
}
.season-switch .pill{
  position:absolute; z-index:1; top:3px; bottom:3px; border-radius:100px;
  background:var(--accent); transition:left .5s var(--ease), width .5s var(--ease);
}
.season-switch button[aria-pressed="true"]{ color:var(--on-accent); }

.menu-btn{
  display:inline-flex; align-items:center; gap:.6em;
  font-size:.8rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600;
}
.menu-btn .bars{ display:inline-flex; flex-direction:column; gap:4px; width:22px; }
.menu-btn .bars span{ height:1.5px; background:currentColor; transition:transform .3s, width .3s; }
.menu-btn .bars span:nth-child(2){ width:14px; margin-left:auto; }
.menu-btn:hover .bars span:nth-child(2){ width:22px; }

.book-cta{
  font-size:.8rem; letter-spacing:.13em; text-transform:uppercase; font-weight:600; white-space:nowrap;
  padding:.82em 1.4em; border-radius:var(--r); background:var(--accent); color:var(--on-accent);
  transition:filter .3s, transform .3s;
}
.book-cta:hover{ filter:brightness(1.07); transform:translateY(-1px); }

/* ============================================================
   HERO  (3 varianti, una attiva)
   ============================================================ */
.hero{ position:relative; display:none; }
body[data-hero="editoriale"] .hero--editoriale{ display:block; }
body[data-hero="cinematografico"] .hero--cinematografico{ display:block; }
body[data-hero="tipografico"] .hero--tipografico{ display:block; }

.hero-img-wrap{ position:relative; overflow:hidden; background:var(--bg-2); }
.hero-img{
  width:100%; height:100%; object-fit:cover;
  transition:opacity .6s var(--ease);
}
.hero-meta{
  display:flex; gap:clamp(20px,3vw,48px); flex-wrap:wrap;
  font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600;
}
.hero-meta span{ display:inline-flex; align-items:center; gap:.55em; }
.hero-meta span::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); }

/* --- Variante EDITORIALE (split) --- */
.hero--editoriale{ padding-top:clamp(120px,16vh,180px); }
.hero--editoriale .he-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(30px,5vw,80px);
  align-items:end; min-height:clamp(560px,76vh,860px);
}
.he-copy{ padding-bottom:clamp(20px,4vw,60px); }
.he-copy .display{ font-size:clamp(2.9rem,7.2vw,6.4rem); margin:.32em 0 .5em; }
.he-actions{ display:flex; gap:16px; flex-wrap:wrap; margin:2.1em 0 2.4em; }
.hero--editoriale .hero-img-wrap{ height:clamp(560px,76vh,860px); border-radius:var(--r); }

/* --- Variante CINEMATOGRAFICA (full-bleed) --- */
.hero--cinematografico{ height:100vh; min-height:600px; }
.hero--cinematografico .hero-img-wrap{ position:absolute; inset:0; }
.hero--cinematografico .hero-img{ height:100%; }
.hero--cinematografico .scrim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,12,9,.5) 0%, rgba(10,12,9,.04) 30%,
            rgba(10,12,9,.12) 52%, rgba(10,12,9,.8) 100%);
}
.hc-copy{
  position:absolute; left:var(--pad); right:var(--pad); bottom:clamp(56px,9vh,120px);
  color:#fff; z-index:3; text-shadow:0 1px 30px rgba(8,10,8,.34);
}
.hc-copy .eyebrow{ color:rgba(255,255,255,.9); }
.hc-copy .eyebrow::before{ background:#fff; }
.hc-copy .display{ font-size:clamp(2.6rem,6.6vw,6.3rem); max-width:17ch; margin:.22em 0 .42em; }
.hc-copy .lead{ color:rgba(255,255,255,.92); max-width:40ch; }
.hc-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:2em; }
.scroll-cue{
  position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3;
  color:rgba(255,255,255,.8); font-size:.66rem; letter-spacing:.3em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:9px;
}
.scroll-cue .ln{ width:1px; height:42px; background:rgba(255,255,255,.5); position:relative; overflow:hidden; }
.scroll-cue .ln::after{ content:""; position:absolute; inset:0; background:#fff; transform:translateY(-100%); animation:cue 2.1s var(--ease) infinite; }
@keyframes cue{ 0%{transform:translateY(-100%);} 55%{transform:translateY(100%);} 100%{transform:translateY(100%);} }

/* --- Variante TIPOGRAFICA (type-forward) --- */
.hero--tipografico{ padding:clamp(150px,20vh,240px) 0 clamp(60px,8vw,110px); background:var(--bg-2); }
.ht-grid{ display:grid; grid-template-columns:1fr; gap:clamp(36px,5vw,70px); }
.ht-top{ display:grid; grid-template-columns:1fr auto; gap:30px; align-items:end; }
.hero--tipografico .display{ font-size:clamp(3rem,11vw,10rem); }
.ht-side{ max-width:30ch; }
.ht-bottom{ display:grid; grid-template-columns:1.3fr 1fr; gap:clamp(28px,4vw,60px); align-items:center; }
.hero--tipografico .hero-img-wrap{ height:clamp(320px,42vw,560px); border-radius:var(--r); }
.ht-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:1.6em; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section{ padding-block:var(--sect); }
.section--alt{ background:var(--bg-2); transition:background-color .8s var(--ease); }
.sec-head{ max-width:none; margin-bottom:clamp(44px,6vw,84px); position:relative; padding-top:clamp(16px,2vw,28px); }
.sec-head::before{ content:""; position:absolute; top:0; left:2px; width:9px; height:9px; border-radius:50%; background:var(--accent); }
.sec-head .display{ font-size:clamp(2.7rem,6.6vw,6.2rem); margin-top:.34em; line-height:.95; max-width:16ch; }
.sec-head .lead{ margin-top:1.4em; }

/* forza stagionale */
.strength{ display:grid; grid-template-columns:1.02fr 1fr; gap:clamp(34px,5vw,84px); align-items:center; }
.strength .display{ font-size:clamp(2.5rem,5.4vw,5.2rem); margin:.3em 0 .65em; }
.proofs{ display:grid; gap:1.5em; margin-top:2.4em; max-width:48ch; }
.proof{ display:grid; grid-template-columns:auto 1fr; gap:1.1em; align-items:start; padding-top:1.5em; border-top:1px solid var(--line); }
.proof .n{ font-family:var(--font-display),serif; font-size:1.1rem; color:var(--accent); font-weight:500; }
.proof p{ color:var(--ink-2); font-size:1.02rem; line-height:1.5; }
.strength-img{ position:relative; overflow:hidden; border-radius:var(--r); height:clamp(400px,52vw,640px); background:var(--bg); }
.strength-img img{ width:100%; height:100%; object-fit:cover; transition:opacity .6s var(--ease); }
.strength-tag{
  position:absolute; left:20px; bottom:20px; z-index:2;
  background:color-mix(in srgb,var(--surface) 90%, transparent); backdrop-filter:blur(6px);
  padding:.7em 1.1em; border-radius:var(--r); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; white-space:nowrap;
}

/* attività grid */
.act-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,1.6vw,26px); }
.act-card{ position:relative; display:flex; flex-direction:column; }
.act-media{ position:relative; overflow:hidden; border-radius:var(--r); aspect-ratio:4/5; background:var(--bg-2); }
.act-media img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease), opacity .6s var(--ease); }
.act-card:hover .act-media img{ transform:scale(1.05); }
.act-num{ position:absolute; top:12px; left:14px; z-index:2; color:#fff; font-family:var(--font-display),serif; font-size:.95rem; mix-blend-mode:difference; }
.act-body{ padding:1.2em .2em 0; }
.act-body .cat{ font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); font-weight:600; }
.act-body h3{ font-family:var(--font-display),serif; font-weight:380; font-size:clamp(1.3rem,2vw,1.7rem); margin-top:.35em; line-height:1.08; }

/* feature split (camere / spa / ristorante) */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(34px,5vw,90px); align-items:center; }
.feature--rev .feature-media{ order:2; }
.feature-media{ position:relative; overflow:hidden; border-radius:var(--r); height:clamp(440px,55vw,680px); background:var(--bg-2); }
.feature-media img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease), opacity .6s var(--ease); }
body[data-season="estate"] #bar .feature-media,
#campus .feature-media{ height:auto; aspect-ratio:3 / 2; }
.section-kicker .lead a, .feature .lead a{ text-decoration:underline; text-underline-offset:4px; }
.feature-media.stack{ display:grid; grid-template-columns:1fr 1fr; gap:14px; height:clamp(440px,55vw,680px); }
.feature-media.stack > span{ position:relative; overflow:hidden; border-radius:var(--r); }
.feature-media.stack img{ position:absolute; inset:0; }
.feature .display{ font-size:clamp(2.3rem,4.7vw,4.5rem); margin:.32em 0 .7em; }
.feature .lead{ max-width:42ch; }
.feature-list{ display:flex; flex-wrap:wrap; gap:.7em; margin:1.9em 0 2.1em; }
.chip{ font-size:.78rem; letter-spacing:.04em; padding:.55em 1em; border:1px solid var(--line-strong); border-radius:100px; color:var(--ink-2); white-space:nowrap; }
.js-room-chip{ max-width:100%; white-space:normal; }

/* benessere home: titolo centrale e gallery sottostante */
.wellness-home{ display:grid; }
.wellness-home__head{
  max-width:900px; margin-inline:auto;
  text-align:center;
}
.wellness-home__head .eyebrow{ justify-content:center; }
.wellness-home__head .display{
  max-width:14ch; margin:.32em auto .55em;
  font-size:clamp(3rem,6.2vw,6rem);
}
.wellness-home__head .lead{ max-width:54ch; margin-inline:auto; }
.wellness-gallery{
  width:min(100%, 1180px); margin:clamp(46px,6vw,82px) auto 0;
  display:grid; grid-template-columns:1.4fr .86fr;
  gap:clamp(16px,2vw,28px); align-items:end;
  padding-bottom:clamp(30px,4vw,54px);
}
.wellness-gallery__item{
  position:relative; overflow:hidden; margin:0;
  background:var(--bg);
}
.wellness-gallery__item--main{ aspect-ratio:2.2 / 1; }
.wellness-gallery__item--detail{
  aspect-ratio:2.05 / 1;
  transform:translateY(clamp(30px,4vw,54px));
}
.wellness-gallery__item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.2s var(--ease);
}
.wellness-gallery__item:hover img{ transform:scale(1.025); }
.wellness-home__actions{
  display:flex; flex-direction:column; align-items:center;
  margin-top:clamp(22px,3vw,38px);
}
.wellness-home__actions .feature-list{ justify-content:center; margin-top:0; }

/* dove siamo */
.place{ position:relative; border-radius:var(--r); overflow:hidden; min-height:clamp(440px,52vw,620px); display:flex; align-items:flex-end; }
.place-img{ position:absolute; inset:0; }
.place-img img{ width:100%; height:100%; object-fit:cover; transition:opacity .6s var(--ease); }
.place::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,10,8,.05),rgba(8,10,8,.66)); }
.place-body{ position:relative; z-index:2; color:#fff; padding:clamp(30px,4vw,60px); width:100%; }
.place-body .display{ font-size:clamp(2rem,4vw,3.6rem); margin:.3em 0 .8em; max-width:18ch; }
.facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:1.4em; border-top:1px solid rgba(255,255,255,.28); padding-top:1.6em; }
.fact .k{ font-family:var(--font-display),serif; font-size:clamp(1.5rem,2.4vw,2.2rem); font-weight:400; }
.fact .k:empty{ display:none; }
.fact .v{ font-size:.74rem; letter-spacing:.13em; text-transform:uppercase; opacity:.82; margin-top:.4em; }

/* closing CTA */
.closing{ text-align:center; }
.closing .display{ font-size:clamp(2.6rem,6.4vw,6.4rem); margin:.3em auto .6em; max-width:18ch; }
.closing .lead{ margin:0 auto 2.4em; text-align:center; }
.closing-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--menu-bg); color:var(--menu-ink); padding-block:clamp(60px,8vw,110px); transition:background-color .8s var(--ease); }
.foot-top{ display:grid; grid-template-columns:1.4fr 2.6fr; gap:clamp(36px,5vw,80px); padding-bottom:clamp(44px,6vw,72px); border-bottom:1px solid rgba(255,255,255,.14); }
.foot-brand .mark{ font-family:var(--font-display),serif; font-size:clamp(2.4rem,4vw,3.6rem); font-weight:360; line-height:1; }
.foot-brand .sub{ font-size:.62rem; letter-spacing:.36em; text-transform:uppercase; margin-top:1em; color:var(--menu-muted); }
.foot-brand .stars{ color:var(--accent); letter-spacing:.2em; }
.foot-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.foot-col h4{ font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--menu-muted); font-weight:600; margin-bottom:1.3em; }
.foot-col a, .foot-col p{ display:block; color:var(--menu-ink); opacity:.8; padding:.4em 0; font-size:.96rem; transition:opacity .25s, color .25s; }
.foot-col a:hover{ opacity:1; color:var(--accent); }
.foot-bottom{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-top:clamp(28px,4vw,42px); font-size:.78rem; letter-spacing:.06em; color:var(--menu-muted); }

/* ============================================================
   MENU OVERLAY (full-screen, Silena-like)
   ============================================================ */
.overlay{
  position:fixed; inset:0; z-index:200; background:var(--menu-bg); color:var(--menu-ink);
  clip-path:inset(0 0 100% 0); visibility:hidden;
  transition:clip-path .82s var(--ease), visibility 0s linear .82s;
  display:flex; flex-direction:column;
}
.overlay.open{ clip-path:inset(0 0 0 0); visibility:visible; transition:clip-path .82s var(--ease); }
.ov-bar{ display:flex; align-items:center; justify-content:space-between; padding:clamp(16px,2vw,26px) var(--pad); border-bottom:1px solid rgba(255,255,255,.12); }
.ov-bar .brand .sub{ color:var(--menu-muted); }
.ov-close{ display:inline-flex; align-items:center; gap:.7em; font-size:.8rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600; }
.ov-close .x{ position:relative; width:20px; height:20px; }
.ov-close .x::before,.ov-close .x::after{ content:""; position:absolute; top:50%; left:0; width:100%; height:1.5px; background:currentColor; }
.ov-close .x::before{ transform:rotate(45deg); } .ov-close .x::after{ transform:rotate(-45deg); }
.ov-close:hover .x{ transform:rotate(90deg); transition:transform .4s var(--ease); }

.ov-body{ flex:1; display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(30px,5vw,80px); align-content:center; padding:clamp(30px,5vw,70px) var(--pad); overflow-y:auto; }
.ov-nav{ display:flex; flex-direction:column; }
.ov-nav a{
  font-family:var(--font-display),serif; font-weight:330; font-size:clamp(2rem,5.2vw,4.4rem);
  line-height:1.16; letter-spacing:-.01em; padding:.04em 0; width:max-content; max-width:100%;
  position:relative; color:var(--menu-ink);
  opacity:0; transform:translateY(28px);
  transition:opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.overlay.open .ov-nav a{ opacity:1; transform:none; }
.ov-nav a:hover{ color:var(--accent); }
.ov-nav a .idx{ font-family:var(--font-body); font-size:.62rem; letter-spacing:.2em; vertical-align:super; color:var(--menu-muted); margin-right:.7em; }

.ov-aside{ display:flex; flex-direction:column; gap:clamp(26px,3vw,40px); opacity:0; transform:translateY(20px); transition:opacity .7s var(--ease) .3s, transform .7s var(--ease) .3s; }
.overlay.open .ov-aside{ opacity:1; transform:none; }
.ov-season-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.ov-season-head h4{ font-size:.72rem; letter-spacing:.24em; text-transform:uppercase; color:var(--menu-muted); font-weight:600; }
.ov-sub{ display:flex; flex-direction:column; gap:.2em; }
.ov-sub a{ font-size:1.12rem; padding:.5em 0; border-bottom:1px solid rgba(255,255,255,.1); color:var(--menu-ink); opacity:.86; transition:opacity .25s, color .25s, padding-left .3s; display:flex; align-items:center; gap:.6em; }
.ov-sub a::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); opacity:0; transition:opacity .25s; }
.ov-sub a:hover{ opacity:1; color:var(--accent); padding-left:.4em; }
.ov-sub a:hover::before{ opacity:1; }
.ov-contact{ font-size:.95rem; color:var(--menu-muted); line-height:1.8; }
.ov-contact a{ color:var(--menu-ink); }
.ov-contact strong{ color:var(--menu-ink); font-weight:600; }
.ov-season-switch{ margin-top:.4em; }

/* ============================================================
   BOOKING BAR (sticky)
   ============================================================ */
.bookbar{
  position:fixed; left:50%; bottom:clamp(14px,2.4vw,28px); transform:translateX(-50%) translateY(140%);
  z-index:80; width:min(960px, calc(100% - 2*var(--pad)));
  background:color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter:blur(16px) saturate(1.1);
  border:1px solid var(--line); border-radius:8px;
  box-shadow:0 18px 50px -20px rgba(20,20,15,.4), 0 2px 8px -2px rgba(20,20,15,.15);
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto; align-items:stretch; gap:0;
  opacity:0; transition:transform .6s var(--ease), opacity .5s var(--ease);
  overflow:hidden;
}
.bookbar.show{ transform:translateX(-50%) translateY(0); opacity:1; }
.bookbar:has(.bb-ages:not(:empty)){
  width:min(1200px, calc(100% - 32px));
  grid-template-columns:minmax(126px,1.35fr) minmax(126px,1.35fr) minmax(76px,.75fr) minmax(76px,.75fr) repeat(var(--booking-children),minmax(68px,.65fr)) auto;
}
body.menu-open .bookbar{ opacity:0 !important; transform:translateX(-50%) translateY(140%) !important; }
.bb-field{ display:flex; flex-direction:column; gap:.2em; min-width:0; padding:.78em clamp(12px,1.6vw,20px); border-right:1px solid var(--line); justify-content:center; }
.bb-field label, .bb-field > span{ font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); font-weight:600; white-space:nowrap; }
.bb-field input, .bb-field select{
  font-family:inherit; font-size:.96rem; color:var(--ink); background:none; border:none; padding:0;
  font-weight:500; width:100%; outline:none; cursor:pointer;
}
.bb-field input::-webkit-calendar-picker-indicator{ opacity:.45; cursor:pointer; }
.bb-field input:focus-visible, .bb-field select:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.bb-ages{ display:contents; }
.bb-ages:empty{ display:none; }
.bookbar:has(.bb-ages:not(:empty)) .bb-field{ padding-inline:10px; }
.bb-go{ background:var(--accent); color:var(--on-accent); padding-inline:clamp(18px,2vw,32px);
  grid-column:-2 / -1; grid-row:1;
  font-size:.78rem; letter-spacing:.13em; text-transform:uppercase; font-weight:600;
  display:flex; align-items:center; gap:.6em; transition:filter .3s; }
.bb-go:hover{ filter:brightness(1.08); }
.bb-mobile-actions{ display:none; }

/* Keep the original Otello launcher clear of the responsive booking bar. */
body #otello-widget-container.position-bottom-right,
body #otello-widget-container.position-bottom-left{
  bottom:var(--pizzalto-chat-bottom, 20px) !important;
}
body #otello-widget-container.position-bottom-right .otello-chat-container:not(.mobile-view),
body #otello-widget-container.position-bottom-right .otello-welcome-container:not(.mobile-view),
body #otello-widget-container.position-bottom-left .otello-chat-container:not(.mobile-view),
body #otello-widget-container.position-bottom-left .otello-welcome-container:not(.mobile-view){
  bottom:calc(var(--pizzalto-chat-bottom, 20px) + 60px) !important;
  min-height:0; max-height:calc(100dvh - var(--pizzalto-chat-bottom, 20px) - 80px);
}
body.menu-open #otello-widget-container,
body.booking-open #otello-widget-container,
body.photo-open #otello-widget-container{
  visibility:hidden !important; pointer-events:none !important;
}

/* pannello prenotazione */
.booking-panel{
  position:fixed; inset:0; z-index:200;
  height:100vh; height:100dvh;
  background:var(--surface); color:var(--ink);
  clip-path:inset(100% 0 0 0); visibility:hidden;
  transition:clip-path .82s var(--ease), visibility 0s linear .82s;
}
.booking-panel.is-open{
  clip-path:inset(0 0 0 0); visibility:visible;
  transition:clip-path .82s var(--ease);
}
.booking-panel:focus{ outline:none; }
.booking-panel__shell{ display:flex; flex-direction:column; height:100%; }
.booking-panel__header{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:calc(16px + env(safe-area-inset-top)) var(--pad) 16px;
  border-bottom:1px solid var(--line); background:var(--surface);
}
.booking-panel__header .brand .mark{ font-size:1.5rem; }
.booking-panel__close{ color:var(--ink); }
.booking-panel__form{
  width:min(100%, 560px); margin-inline:auto;
  flex:1; overflow-y:auto;
  padding:26px 22px calc(32px + env(safe-area-inset-bottom));
}
.booking-panel__form > *{
  opacity:0; transform:translateY(28px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.booking-panel.is-open .booking-panel__form > *{ opacity:1; transform:none; }
.booking-panel__form > :nth-child(1){ transition-delay:.18s; }
.booking-panel__form > :nth-child(2){ transition-delay:.25s; }
.booking-panel__form > :nth-child(3){ transition-delay:.32s; }
.booking-panel__form > :nth-child(4){ transition-delay:.39s; }
.booking-panel__form > :nth-child(5){ transition-delay:.46s; }
.booking-panel__form > :nth-child(6){ transition-delay:.53s; }
.booking-panel__intro{ color:var(--ink-2); font-size:.94rem; line-height:1.55; margin-bottom:26px; }
.booking-panel__dates,
.booking-panel__guests{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
.booking-panel__field{ display:flex; flex-direction:column; gap:7px; min-width:0; }
.booking-panel__field > span{
  color:var(--muted); font-size:.68rem; font-weight:600; text-transform:uppercase;
}
.booking-panel__field input,
.booking-panel__field select{
  width:100%; min-width:0; min-height:56px;
  border:1px solid var(--line-strong); border-radius:4px;
  background:var(--bg); color:var(--ink);
  padding:0 12px; font:500 .96rem/1 var(--font-body);
  outline:none;
}
.booking-panel__field input:focus,
.booking-panel__field select:focus{ border-color:var(--accent); box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent); }
.bb-field select,
.booking-panel__field select{
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23706756' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:12px 8px;
  padding-right:40px;
}
.booking-panel__ages{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
  margin:2px 0 22px;
}
.booking-panel__ages:empty{ display:none; }
.booking-panel__submit{
  width:100%; min-height:58px;
  display:flex; align-items:center; justify-content:center; gap:12px;
  background:var(--accent); color:var(--on-accent);
  border-radius:4px; font-size:.78rem; font-weight:700; text-transform:uppercase;
}
.booking-panel__submit span{ font-size:1.2rem; }
.booking-panel__call{
  display:block; width:max-content; max-width:100%; margin:21px auto 0;
  padding-bottom:3px; border-bottom:1px solid var(--line-strong);
  color:var(--ink-2); font-size:.86rem; text-align:center;
}

/* ============================================================
   REVEAL & PARALLAX
   ============================================================ */
[data-reveal]{ transition:opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].reveal-ready:not(.is-in){ opacity:0; transform:translateY(34px); }
[data-reveal].is-in{ opacity:1; transform:none; }
[data-reveal][data-d="1"]{ transition-delay:.08s; }
[data-reveal][data-d="2"]{ transition-delay:.16s; }
[data-reveal][data-d="3"]{ transition-delay:.24s; }
[data-reveal][data-d="4"]{ transition-delay:.32s; }

.clip-reveal{ overflow:hidden; }
.clip-reveal > *{ display:block; transform:translateY(105%); transition:transform 1.05s var(--ease); }
.clip-reveal.is-in > *{ transform:none; }

[data-parallax]{ will-change:transform; }

/* fade-in immagini all'ingresso nel viewport */
img[data-parallax]{ opacity:1; transition:opacity 1.15s var(--ease); }
img[data-parallax].img-in{ opacity:1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .act-grid{ grid-template-columns:repeat(2,1fr); row-gap:clamp(28px,5vw,40px); }
  .foot-cols{ grid-template-columns:repeat(2,1fr); row-gap:34px; }
}
@media (max-width:860px){
  .hero--editoriale .he-grid{ grid-template-columns:1fr; gap:34px; align-items:start; min-height:0; }
  .hero--editoriale .hero-img-wrap{ height:clamp(360px,60vw,520px); }
  .ht-top{ grid-template-columns:1fr; align-items:start; }
  .ht-bottom{ grid-template-columns:1fr; }
  .strength{ grid-template-columns:1fr; gap:40px; }
  .strength-img{ height:clamp(340px,70vw,500px); }
  .feature{ grid-template-columns:1fr; gap:32px; }
  .feature--rev .feature-media{ order:0; }
  .feature-media{ height:clamp(360px,66vw,520px); }
  .wellness-gallery{
    grid-template-columns:1fr; gap:12px;
    padding-bottom:0;
  }
  .wellness-gallery__item--main,
  .wellness-gallery__item--detail{ aspect-ratio:2.25 / 1; transform:none; }
  .ov-body{ grid-template-columns:1fr; align-content:start; gap:40px; }
  .facts{ grid-template-columns:repeat(2,1fr); gap:18px; }
  .foot-top{ grid-template-columns:1fr; gap:36px; }
}
@media (max-width:767px){
  .header-right .season-switch{ display:none; }
  .header-right .book-cta{ display:none; }
  .bookbar{
    left:0; right:0; bottom:0; width:100%;
    display:block; border:0; border-radius:0;
    padding-bottom:env(safe-area-inset-bottom);
    background:var(--surface);
    transform:translateY(140%);
    box-shadow:0 -8px 28px rgba(20,20,15,.2);
  }
  .bookbar.show{ transform:none; }
  body.menu-open .bookbar{ transform:translateY(140%) !important; }
  .bookbar > .bb-field,
  .bookbar > .bb-go,
  .bookbar > .bb-ages{ display:none; }
  .bb-mobile-actions{ display:grid; grid-template-columns:1fr 1fr; min-height:62px; }
  .bb-mobile-action{
    min-width:0; display:flex; align-items:center; justify-content:center; gap:9px;
    color:var(--on-accent); font-size:.76rem; font-weight:700; text-transform:uppercase;
  }
  .bb-mobile-action svg{
    width:19px; height:19px; flex:0 0 19px;
    fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
  }
  .bb-mobile-action--booking{ background:var(--accent); }
  .bb-mobile-action--phone{ background:var(--ink); color:var(--bg); }
  .menu-btn .lbl{ display:none; }

  .hero--cinematografico{ height:100svh; min-height:700px; }
  .hc-copy{
    bottom:max(118px, calc(100px + env(safe-area-inset-bottom)));
  }
  .hc-copy .display{ font-size:clamp(2.55rem,12vw,3.3rem); margin:.18em 0 .32em; }
  .hc-copy .lead{ font-size:1.02rem; line-height:1.48; }
  .hc-actions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:1.35em; }
  .hc-actions .btn{
    min-width:0; justify-content:center;
    padding:1em .75em; font-size:.7rem;
  }
  .scroll-cue{ bottom:18px; }
}
@media (max-width:380px){
  .booking-panel__dates,
  .booking-panel__guests,
  .booking-panel__ages{ grid-template-columns:1fr; }
  .hc-copy .display{ font-size:2.45rem; }
  .hc-copy .lead{ font-size:.96rem; }
}
@media (max-width:767px) and (max-height:720px){
  .hero--cinematografico{ min-height:680px; }
  .hc-copy{ bottom:108px; }
  .hc-copy .display{ font-size:2.4rem; }
  .hc-copy .lead{ font-size:.94rem; line-height:1.42; }
  .hc-actions{ margin-top:1em; }
  .hc-actions .btn{ padding:.82em .6em; }
}

/* ---------- parallax media positioning ---------- */
.act-media{ position:relative; }
.hero-img-wrap, .strength-img, .feature-media, .feature-media.stack>span, .act-media, .place-img{ overflow:hidden; }
.hero-img,
.strength-img>img,
.feature-media>img,
.feature-media.stack img,
.act-media>img,
.place-img>img{
  position:absolute; top:-9%; left:0; width:100%; height:118%; object-fit:cover;
}
body[data-booking="off"] .bookbar{ display:none !important; }

/* ============================================================
   INTERNAL PAGES
   ============================================================ */
.page-main{ padding-top:clamp(74px,8vw,104px); }
.page-hero{
  display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(34px,5vw,84px);
  align-items:center; min-height:clamp(460px,64vh,700px);
  padding:clamp(30px,5vw,70px) var(--pad) clamp(52px,7vw,92px);
  max-width:var(--maxw); margin-inline:auto;
}
.page-hero__copy .display{ font-size:clamp(3rem,7.4vw,7.1rem); margin:.3em 0 .42em; max-width:13ch; }
.page-hero__copy .lead{ max-width:44ch; }
.page-hero__media{
  position:relative; overflow:hidden; min-height:clamp(360px,52vw,650px);
  background:var(--bg-2); border-radius:var(--r);
}
.page-hero__media img{ position:absolute; inset:-8% 0; width:100%; height:116%; object-fit:cover; }
.page-meta{
  display:flex; gap:.65em; flex-wrap:wrap; margin-top:2em;
}
.page-meta .chip{ background:color-mix(in srgb, var(--surface) 72%, transparent); }

.page-nav{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:color-mix(in srgb, var(--surface) 86%, transparent);
}
.page-nav .wrap{ display:flex; flex-wrap:wrap; gap:.8em 1.6em; padding-block:1em; }
.page-nav a{
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700;
  color:var(--muted); transition:color .25s;
}
.page-nav a:hover{ color:var(--accent); }

.section-grid{ display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(34px,6vw,92px); align-items:start; }
.section-kicker{ position:sticky; top:120px; }
.section-kicker .display{ font-size:clamp(2.4rem,4.8vw,4.9rem); margin:.32em 0 .55em; }
.section-kicker .lead{ max-width:34ch; }

.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,28px); }
.card-grid--2{ grid-template-columns:repeat(2,1fr); }
.info-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:clamp(22px,2.5vw,34px); min-height:100%;
}
.info-card .kicker{
  display:block; margin-bottom:1.1em; color:var(--muted); font-size:.68rem;
  letter-spacing:.18em; text-transform:uppercase; font-weight:700;
}
.info-card h3{
  font-family:var(--font-display),serif; font-weight:380;
  font-size:clamp(1.45rem,2vw,2rem); line-height:1.08; margin-bottom:.7em;
}
.info-card p{ color:var(--ink-2); line-height:1.55; }
.info-card--easy h3{ color:#287735; }
.info-card--moderate h3{ color:#946000; }
.info-card--hard h3{ color:#bd2929; }
.info-card a, .policy-row a, .note-box a{ text-decoration:underline; text-underline-offset:4px; overflow-wrap:anywhere; }
.info-card ul{ display:grid; gap:.65em; margin-top:1.1em; }
.info-card li{ color:var(--ink-2); padding-left:1.1em; position:relative; }
.info-card li::before{ content:""; position:absolute; left:0; top:.75em; width:5px; height:5px; border-radius:50%; background:var(--accent); }

.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.stat-title{ margin-bottom:.7em; }
.stat-title:empty{ display:none; }
body[data-season="inverno"] [data-season-stats="spaHours"]{ grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.stat-box{ background:var(--surface); padding:clamp(22px,3vw,38px); }
.stat-box strong{ display:block; font-family:var(--font-display),serif; font-size:clamp(2rem,4vw,4rem); font-weight:360; line-height:1; color:var(--accent); }
.stat-box span{ display:block; margin-top:.8em; color:var(--muted); font-size:.72rem; letter-spacing:.13em; text-transform:uppercase; font-weight:700; }

.room-grid{ display:grid; gap:clamp(18px,2vw,26px); }
.room-card{
  display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(18px,3vw,38px);
  align-items:stretch; padding:clamp(22px,3vw,38px); border:1px solid var(--line);
  background:var(--surface);
}
[data-season-only][hidden]{ display:none; }
.room-card__media{ position:relative; min-height:300px; overflow:hidden; background:var(--bg-2); }
.room-card__media img{ position:absolute; inset:-8% 0; width:100%; height:116%; object-fit:cover; }
.room-card__content{ display:flex; flex-direction:column; min-width:0; }
.room-card h3{ font-family:var(--font-display),serif; font-size:clamp(1.8rem,3vw,3rem); font-weight:360; line-height:1; margin-bottom:.45em; }
.room-card p{ color:var(--ink-2); max-width:62ch; }
.room-card .feature-list{ margin:1.3em 0 0; }
.room-card__actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:clamp(24px,3vw,38px); }
.room-card__actions .btn{ justify-content:center; min-width:160px; }

.request-layout{ display:grid; grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr); gap:clamp(34px,6vw,86px); align-items:start; }
.request-intro{ position:sticky; top:120px; }
.request-intro .display{ font-size:clamp(2.4rem,4.5vw,4.8rem); margin:.32em 0 .55em; }
.request-intro > p:not(.eyebrow){ color:var(--ink-2); max-width:38ch; margin-top:1em; }
.request-room{ border-left:4px solid var(--accent); background:color-mix(in srgb, var(--accent) 8%, var(--surface)); padding:18px 20px; margin:1.5em 0; }
.request-room span{ display:block; color:var(--muted); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700; margin-bottom:.5em; }
.request-room strong{ display:block; font-family:var(--font-display),serif; font-size:clamp(1.35rem,2vw,1.9rem); font-weight:400; line-height:1.15; }
.request-widget{ min-width:0; background:var(--surface); border:1px solid var(--line); padding:clamp(16px,2.5vw,30px); }
.request-widget iframe{ display:block; width:100%; min-height:679px; border:0; }
.request-widget__fallback{ color:var(--ink-2); padding:20px; text-align:center; }
#sb-converto-container:not(:empty) + .request-widget__fallback{ display:none; }

.offer-section-head{ display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(24px,5vw,72px); align-items:end; margin-bottom:clamp(34px,5vw,66px); }
.offer-section-head .eyebrow{ grid-column:1 / -1; }
.offer-section-head .display{ font-size:clamp(2.5rem,5.2vw,5.4rem); max-width:13ch; }
.offer-section-head .lead{ max-width:42ch; padding-bottom:.25em; }
.offer-list{ display:grid; gap:clamp(20px,3vw,34px); }
.offer-card{ display:grid; grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr); border:1px solid var(--line); background:var(--surface); min-height:390px; }
.offer-card--text{ grid-template-columns:1fr; min-height:0; }
.offer-card__condition{ margin-top:1.25em; }
.offer-card:nth-child(even) .offer-card__media{ order:2; }
.offer-card__media{ position:relative; overflow:hidden; min-height:100%; background:var(--bg-2); }
.offer-card__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.offer-card:hover .offer-card__media img{ transform:scale(1.025); }
.offer-card__content{ display:flex; flex-direction:column; align-items:flex-start; padding:clamp(26px,4vw,52px); min-width:0; }
.offer-card h3{ font-family:var(--font-display),serif; font-size:clamp(2rem,3.7vw,3.65rem); font-weight:360; line-height:1.02; margin:.22em 0 .3em; max-width:16ch; }
.offer-card__period{ color:var(--accent) !important; font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; margin-bottom:1.25em; }
.offer-card__content > p:not(.offer-card__period){ color:var(--ink-2); max-width:60ch; }
.offer-benefits{ display:grid; gap:.65em; margin-top:1.35em; }
.offer-benefits li{ color:var(--ink-2); padding-left:1.15em; position:relative; }
.offer-benefits li::before{ content:""; position:absolute; left:0; top:.7em; width:5px; height:5px; border-radius:50%; background:var(--accent); }
.offer-card__actions{ display:flex; align-items:center; flex-wrap:wrap; gap:18px 24px; margin-top:auto; padding-top:clamp(26px,4vw,44px); }
.offer-card__actions .link-u{ margin-top:0; }

.note-box{
  border-left:4px solid var(--accent); background:color-mix(in srgb, var(--accent) 8%, var(--surface));
  padding:clamp(18px,2.4vw,28px); color:var(--ink-2);
}
.note-box strong{ color:var(--ink); }

.cta-band{
  background:var(--menu-bg); color:var(--menu-ink); padding:clamp(54px,7vw,96px) var(--pad);
  transition:background-color .8s var(--ease);
}
.cta-band .wrap{ display:grid; grid-template-columns:1fr auto; gap:clamp(26px,5vw,70px); align-items:center; padding-inline:0; }
.cta-band .display{ font-size:clamp(2.4rem,5vw,5.3rem); max-width:14ch; }
.cta-band .lead{ color:color-mix(in srgb, var(--menu-ink) 78%, transparent); margin-top:1em; }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }

.policy-list{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.policy-row{ display:grid; grid-template-columns:.34fr 1fr; gap:24px; background:var(--surface); padding:clamp(18px,2vw,28px); }
.policy-row strong{ color:var(--accent); font-size:.76rem; letter-spacing:.15em; text-transform:uppercase; }
.policy-row p{ color:var(--ink-2); }

@media (max-width:980px){
  .page-hero{ grid-template-columns:1fr; min-height:0; }
  .page-hero__media{ min-height:clamp(320px,66vw,520px); }
  .section-grid{ grid-template-columns:1fr; }
  .section-kicker{ position:static; }
  .card-grid, .card-grid--2{ grid-template-columns:1fr 1fr; }
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .room-card{ grid-template-columns:1fr; }
  .room-card__media{ min-height:0; aspect-ratio:16 / 9; }
  .request-layout{ grid-template-columns:1fr; }
  .request-intro{ position:static; }
  .offer-section-head{ grid-template-columns:1fr; }
  .offer-section-head .eyebrow{ grid-column:auto; }
  .offer-card{ grid-template-columns:1fr; }
  .offer-card:nth-child(even) .offer-card__media{ order:0; }
  .offer-card__media{ min-height:0; aspect-ratio:16 / 9; }
  .cta-band .wrap{ grid-template-columns:1fr; }
  .cta-actions{ justify-content:flex-start; }
}
@media (max-width:620px){
  .page-main{ padding-top:82px; }
  .page-hero{ padding-inline:20px; }
  .card-grid, .card-grid--2, .stat-grid{ grid-template-columns:1fr; }
  .policy-row{ grid-template-columns:1fr; gap:8px; }
  .room-card__actions{ display:grid; grid-template-columns:1fr; }
  .room-card__actions .btn{ width:100%; min-width:0; }
  .request-widget{ padding:10px; }
  .offer-card__actions{ display:grid; width:100%; }
  .offer-card__actions .btn{ width:100%; justify-content:center; }
}

@media (prefers-reduced-motion:reduce){
  [data-parallax]{ transform:none !important; }
  img[data-parallax]{ opacity:1 !important; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  [data-reveal], .clip-reveal > *{ opacity:1 !important; transform:none !important; }
  html{ scroll-behavior:auto; }
}

/* Shared multilingual navigation and progressive enhancement. */
.hero--cinematografico .hero-img{ height:118%; }
.hc-copy .eyebrow{ letter-spacing:0; }
.ov-bar .brand .mark, .booking-panel__header .brand .mark{ font-size:1.5rem; line-height:1; }
:focus-visible{ outline:2px solid currentColor; outline-offset:5px; }
input:focus-visible, select:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.skip-link{ position:fixed; left:20px; top:12px; z-index:300; padding:10px 18px; color:#fff; background:#175575; transform:translateY(-160%); }
.skip-link:focus{ transform:none; }
.language-switch{ display:flex; align-items:center; gap:10px; flex-shrink:0; font-size:.75rem; font-weight:600; letter-spacing:0; }
.language-switch a{ padding:8px 2px; border-bottom:1px solid transparent; }
.language-switch a[aria-current]{ border-bottom-color:currentColor; }
.language-switch a:not([aria-current]){ opacity:.7; }
.language-switch a:hover{ opacity:1; }
.foot-bottom nav{ display:flex; flex-wrap:wrap; gap:20px; }
.foot-col{ min-width:0; }
.foot-col a{ overflow-wrap:anywhere; }
.noscript-nav{ display:flex; gap:16px; flex-wrap:wrap; padding:115px var(--pad) 20px; }
.legal-page{ padding-block:60px 120px; max-width:900px; }
.legal-page header{ margin-bottom:52px; }
.legal-page h1{ font-size:3.5rem; line-height:1.1; margin-bottom:24px; }
.legal-page section{ margin-block:32px; }
.legal-page h2{ font-size:1.4rem; margin-bottom:12px; }
.legal-page p + p{ margin-top:16px; }
.legal-page a{ text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.legacy-anchor{ display:block; }
.not-found{ min-height:100svh; display:flex; flex-direction:column; justify-content:center; gap:28px; }
.not-found h1{ font-size:3.5rem; }
.not-found nav{ display:flex; gap:16px; flex-wrap:wrap; }
.bb-field{ min-width:0; }
.booking-panel__field input[type="date"]{
  /* Keep Safari's native date value vertically centered inside the field. */
  display:inline-flex; align-items:center; height:56px; line-height:normal;
  max-width:100%; appearance:none; -webkit-appearance:none;
}
.booking-panel__field input::-webkit-date-and-time-value{ text-align:left; min-width:0; }
.btn{ white-space:normal; text-align:center; }
[id]{ scroll-margin-top:110px; }
@media (min-width:768px) and (max-width:860px){
  .bookbar{ grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto; width:calc(100% - 32px); }
  .bookbar:has(.bb-ages:not(:empty)){ grid-template-columns:minmax(112px,1.35fr) minmax(112px,1.35fr) minmax(64px,.75fr) minmax(64px,.75fr) repeat(var(--booking-children),minmax(68px,.65fr)) auto; }
  .bookbar:has(.bb-ages:not(:empty)) .bb-field{ padding-inline:6px; }
  .bb-field{ padding:.8em .65em; }
  .bb-field input, .bb-field select{ font-size:.85rem; }
  .bb-go{ padding-inline:16px; }
}
@media (min-width:768px) and (max-width:1024px){
  .bookbar:has(.bb-ages > :nth-child(3)){ grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto; }
  .bookbar:has(.bb-ages > :nth-child(3)) .bb-ages{
    display:grid; grid-column:1 / -1; grid-row:2;
    grid-template-columns:repeat(var(--booking-children),minmax(0,1fr));
    border-top:1px solid var(--line);
  }
  .bookbar:has(.bb-ages > :nth-child(3)) .bb-field--age:last-child{ border-right:0; }
}
@media (max-width:980px){
  .header-right{ gap:20px; }
  .header-right .book-cta{ display:none; }
}
@media (max-width:620px){
  .header-right{ gap:18px; }
  .language-switch{ gap:8px; font-size:.7rem; }
  .brand-logo{ max-width:120px; height:auto; }
  .legal-page h1, .not-found h1{ font-size:2.6rem; }
  .site-footer{ padding-bottom:110px; }
  .page-hero__copy .display{ overflow-wrap:break-word; }
}

/* Photographs retain their full frame, including the ski map. */
.photo-page-hero{ grid-template-columns:1fr; min-height:0; gap:32px; }
.photo-page-hero .page-hero__copy{ text-align:center; }
.photo-page-hero .display{ font-size:4rem; max-width:none; letter-spacing:0; }
.photo-page-hero .lead{ margin-inline:auto; }
.photo-page-hero .page-meta{ justify-content:center; }
.photo-page-hero .page-hero__media{ min-height:0; background:none; }
.photo-page-hero .page-hero__media img{ position:static; width:100%; height:auto; }
.photo-section{ padding-block:64px; }
.photo-section + .photo-section{ border-top:1px solid var(--line); }
.photo-section__head{ margin-bottom:32px; max-width:760px; }
.photo-section__head .display{ font-size:3rem; line-height:1.1; letter-spacing:0; }
.photo-section__head .lead{ margin-top:16px; }
.photo-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 28px; align-items:start; }
.photo-grid--single{ grid-template-columns:minmax(0,1fr); }
.photo-item{ margin:0; min-width:0; }
.photo-link{ display:block; position:relative; }
.photo-link img{ display:block; width:100%; height:auto; border-radius:2px; }
.photo-link:focus-visible{ outline:3px solid var(--accent); outline-offset:5px; }
.photo-item figcaption{ margin-top:12px; color:var(--ink-2); font-size:.95rem; }
.photo-zoom{ position:absolute; bottom:14px; right:14px; width:40px; height:40px; display:grid; place-items:center; background:var(--bg); color:var(--ink); font-size:1.6rem; line-height:1; }
.photo-open{ overflow:hidden; }
.photo-dialog{ position:fixed; inset:0; width:100%; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:var(--bg); color:var(--ink); }
.photo-dialog[open]{ display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.photo-dialog::backdrop{ background:rgba(0,0,0,.7); }
.photo-dialog__bar{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 28px; border-bottom:1px solid var(--line); }
.photo-dialog .ov-close{ color:var(--ink); }
.photo-dialog__image{ min-height:0; display:grid; place-items:center; padding:24px; }
.photo-dialog__image img{ width:100%; height:100%; min-height:0; object-fit:contain; }
.photo-dialog__footer{ display:grid; grid-template-columns:48px minmax(0,1fr) 48px; gap:16px; align-items:center; text-align:center; padding:16px 28px max(20px,env(safe-area-inset-bottom)); }
.photo-dialog__footer p{ margin-bottom:6px; }
.photo-dialog__footer .link-u{ display:inline-block; margin-left:18px; }
.photo-dialog__footer > div{ grid-column:2; }
.photo-arrow{ width:48px; height:48px; border:1px solid var(--line); background:transparent; color:var(--ink); font-size:1.6rem; cursor:pointer; }
.photo-arrow[hidden]{ display:none; }
@media (max-width:620px){
  .photo-section{ padding-block:40px; }
  .photo-page-hero .display{ font-size:2.8rem; }
  .photo-section__head .display{ font-size:2.2rem; }
  .photo-grid{ grid-template-columns:minmax(0,1fr); gap:28px; }
  .photo-dialog__bar{ padding:16px; }
  .photo-dialog__image{ padding:12px; }
  .photo-dialog__footer{ padding-inline:12px; gap:8px; font-size:.9rem; }
  .photo-dialog__footer .link-u{ display:block; margin:8px 0 0; }
}
