/* =========================================================
   CASA GLICINE - foglio di stile
   Charme di campagna: lino, intonaco, cotto, glicine, salvia
   ========================================================= */
:root {
  --cream: #f7f2e9;
  --linen: #efe6d6;
  --plaster: #e7dccb;
  --ink: #2f2738;
  --ink-soft: #5a5064;
  --glicine: #9a86c4;
  --glicine-deep: #6b579c;
  --glicine-pale: #e6def3;
  --sage: #7f8c68;
  --sage-deep: #56603f;
  --cotto: #b4714f;
  --white: #fffdf9;
  --line: rgba(47, 39, 56, .14);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-lang="it"] [data-l="en"], html[data-lang="en"] [data-l="it"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 300 17px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--glicine-pale); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* Tipografia */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 7.2vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
h4 { font-size: 22px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--glicine-deep); }
p { margin: 0 0 1.1em; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow, .eyebrow.c { justify-content: center; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  font: 500 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.btn:hover { background: var(--glicine-deep); border-color: var(--glicine-deep); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-small { padding: 12px 20px; font-size: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--glicine-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Intestazione */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background .4s var(--ease), color .4s, box-shadow .4s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(20,16,26,.45), rgba(20,16,26,0)); pointer-events: none; transition: opacity .4s; }
.header-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .4s var(--ease); }
.site-header.is-scrolled, body.solid .site-header { background: rgba(247,242,233,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled::before, body.solid .site-header::before { opacity: 0; }
.site-header.is-scrolled .header-in { height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand img { width: 34px; height: 51px; }
.brand-name { display: block; font: 400 27px/1 var(--serif); letter-spacing: .02em; }
.brand-name em { font-style: italic; }
.brand-sub { display: block; font: 500 10px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.main-nav { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav-link { text-decoration: none; font: 400 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { border-color: currentColor; }
.header-tools { display: flex; align-items: center; gap: 18px; }
.site-header .btn { background: transparent; color: inherit; border-color: currentColor; }
.site-header .btn:hover { background: var(--glicine-deep); border-color: var(--glicine-deep); color: #fff; }
.lang { display: flex; align-items: center; gap: 4px; font: 500 12px/1 var(--sans); letter-spacing: .12em; }
.lang button { background: none; border: 0; padding: 6px 4px; cursor: pointer; opacity: .55; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
body.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 45; background: var(--cream); color: var(--ink); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease); }
body.nav-open .mobile-nav { opacity: 1; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: var(--cream); color: var(--ink); }
body.nav-open .site-header::before { opacity: 0; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mnav-link { font: 400 32px/1.25 var(--serif); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mnav-link.is-active { color: var(--glicine-deep); font-style: italic; }

/* Hero */
.hero, .page-hero { position: relative; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero { min-height: 100vh; min-height: 100svh; }
.page-hero { min-height: 72vh; min-height: 72svh; }
.hero > img, .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowzoom 18s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,26,.25) 0%, rgba(20,16,26,.05) 35%, rgba(20,16,26,.62) 100%); }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(120px, 16vh, 190px); padding-top: 140px; }
.page-hero .hero-content { padding-bottom: clamp(56px, 9vh, 96px); }
.hero .eyebrow, .page-hero .eyebrow { color: #fff; }
.hero h1 em, .page-hero h1 em { color: var(--glicine-pale); }
.hero h1 { max-width: 11em; }
.hero .lead { max-width: 560px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 86px); max-width: 12em; }
.page-hero p.lead { max-width: 620px; color: rgba(255,255,255,.92); }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 1px; height: 56px; background: rgba(255,255,255,.5); overflow: hidden; }
.scroll-hint::after { content: ""; position: absolute; left: 0; top: -56px; width: 1px; height: 56px; background: #fff; animation: drip 2.4s infinite var(--ease); }
@keyframes drip { to { top: 56px; } }

/* Barra prenotazione */
.booking-wrap { position: relative; z-index: 5; margin-top: -64px; }
.booking-bar { display: grid; grid-template-columns: repeat(4, 1fr) auto; background: var(--white); box-shadow: 0 30px 60px -30px rgba(47,39,56,.35); }
.booking-bar .field { padding: 18px 22px; border-right: 1px solid var(--line); min-width: 0; }
.booking-bar label { display: block; font: 500 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.booking-bar input, .booking-bar select { width: 100%; border: 0; background: transparent; font: 400 22px/1.2 var(--serif); padding: 0; outline: none; min-width: 0; }
.booking-bar .btn { height: 100%; padding: 0 34px; }

/* Sezioni */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-sm { padding: clamp(56px, 7vw, 96px) 0; }
.bg-linen { background: var(--linen); }
.bg-plaster { background: var(--plaster); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink .eyebrow { color: var(--glicine-pale); }
.bg-ink h2 em { color: var(--glicine-pale); }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 80px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .inset { position: absolute; width: 44%; right: -8%; bottom: -10%; aspect-ratio: 3 / 4; border: 10px solid var(--cream); }
.split.rev .split-media .inset { right: auto; left: -8%; }
.bg-linen .split-media .inset { border-color: var(--linen); }
.feature-list { list-style: none; padding: 0; margin: 26px 0 32px; }
.feature-list li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--glicine); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }

/* Numeri */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 400 clamp(40px, 4.4vw, 60px)/1 var(--serif); color: var(--glicine-deep); margin-bottom: 10px; }
.stat span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* Schede camere */
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.room-card { text-decoration: none; display: block; }
.room-card .ph { overflow: hidden; margin-bottom: 20px; }
.room-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover img { transform: scale(1.05); }
.room-card h3 { margin-bottom: 6px; }
.room-meta { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }
.price { font: 500 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cotto); }

/* Panorama */
.panorama { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.panorama > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panorama-card { position: relative; z-index: 2; background: var(--cream); max-width: 520px; padding: clamp(32px, 4vw, 56px); margin: 0 0 clamp(24px, 6vw, 80px) clamp(16px, 6vw, 96px); }

/* Schede generiche */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.card { text-decoration: none; display: block; }
.card .ph { overflow: hidden; margin-bottom: 22px; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.card.tall img { aspect-ratio: 4 / 5; }
a.card:hover img { transform: scale(1.05); }
.card p { color: var(--ink-soft); }
.bg-ink .card p, .bg-ink .info-grid p { color: rgba(247,242,233,.75); }
.km { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 12px; display: block; }

/* Recensioni */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.quote-card { background: var(--white); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.bg-linen .quote-card { background: var(--cream); }
.stars { color: var(--cotto); letter-spacing: .2em; font-size: 15px; margin-bottom: 18px; }
.quote-card blockquote { margin: 0 0 24px; font: italic 400 23px/1.4 var(--serif); flex: 1; }
.quote-card cite { font-style: normal; font-size: 14px; color: var(--ink-soft); }
.quote-card cite strong { display: block; color: var(--ink); font-weight: 500; letter-spacing: .04em; }
.score { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.score-big { text-align: center; }
.score-big strong { display: block; font: 400 clamp(80px, 10vw, 128px)/1 var(--serif); color: var(--glicine-deep); }
.bars { display: grid; gap: 18px; }
.bar { display: grid; grid-template-columns: 150px 1fr 40px; gap: 16px; align-items: center; font-size: 15px; }
.bar i { display: block; height: 3px; background: var(--line); position: relative; }
.bar i b { position: absolute; inset: 0 auto 0 0; background: var(--glicine-deep); }

/* Galleria */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filters button { background: none; border: 1px solid var(--line); padding: 10px 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.masonry { columns: 3; column-gap: 16px; }
.masonry button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.masonry button[hidden] { display: none; }
.masonry img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.masonry button:hover img { transform: scale(1.03); }
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(420px, 52vw, 680px); }
.strip a { overflow: hidden; display: block; }
.strip a:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,16,26,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; width: 56px; height: 56px; cursor: pointer; }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); } .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Dettaglio camere */
.room { padding: clamp(70px, 9vw, 130px) 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.room:first-of-type { border-top: 0; }
.room .split-media img.main { aspect-ratio: 4 / 5; }
.room-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.room-specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.room-specs span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.room-price { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.room-price strong { font: 400 34px/1 var(--serif); }
.amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.amen div { background: var(--cream); padding: 28px 24px; }
.bg-linen .amen div { background: var(--linen); }
.amen h4 { margin-bottom: 6px; }
.amen p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Info, FAQ, mappa */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.info-grid h4 { margin-bottom: 10px; }
.info-grid p { color: var(--ink-soft); }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 400 24px/1.3 var(--serif); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-soft); max-width: 680px; }
.map { width: 100%; height: clamp(340px, 42vw, 520px); border: 0; display: block; filter: saturate(.75); }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a { text-decoration: none; }

/* Moduli */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line); background: var(--white); padding: 14px 16px; font-size: 16px; border-radius: 0; outline: none; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--glicine-deep); }
.form textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.notice { background: var(--glicine-pale); padding: 22px 26px; margin-top: 8px; }
.notice[hidden] { display: none; }
.book-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.summary { background: var(--white); padding: clamp(28px, 3vw, 40px); position: sticky; top: 100px; }
.summary img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 22px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0 0 18px; font-size: 15px; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; text-align: right; }
.summary .total { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; font: 400 30px/1 var(--serif); }
.summary small { display: block; margin-top: 14px; color: var(--ink-soft); font-size: 13px; }

/* Testo lungo */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* CTA */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta .ornament { width: 110px; margin: 0 auto 26px; }
.cta h2 { margin-bottom: 30px; }

/* Piè di pagina */
.site-footer { background: var(--ink); color: rgba(247,242,233,.85); padding: clamp(64px, 8vw, 110px) 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(247,242,233,.15); }
.site-footer .brand { color: var(--cream); margin-bottom: 20px; }
.site-footer h4 { font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--glicine-pale); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 28px; font-size: 13px; color: rgba(247,242,233,.65); }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a { color: rgba(247,242,233,.85); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .lang { color: var(--cream); }

/* Comparsa */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero > img, .page-hero > img { animation: none; }
}

/* Schermi medi */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split, .book-layout, .score { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .split-media .inset { display: none; }
  .cards, .quotes, .info-grid { grid-template-columns: 1fr; }
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-bar .field:nth-child(2n) { border-right: 0; }
  .booking-bar .field { border-bottom: 1px solid var(--line); }
  .booking-bar .btn { grid-column: 1 / -1; padding: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .masonry { columns: 2; }
  .summary { position: static; }
  .strip { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .strip a { aspect-ratio: 1; }
  .strip a:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-in { height: 72px; }
  .header-tools .btn, .header-tools .lang { display: none; }
  .brand-name { font-size: 24px; }
  .brand img { width: 28px; height: 42px; }
  .rooms-grid { grid-template-columns: 1fr; gap: 44px; }
  .amen { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 110px 1fr 34px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .panorama { min-height: 0; flex-direction: column; align-items: stretch; }
  .panorama > img { position: static; height: 62vh; }
  .panorama-card { margin: 0; max-width: none; }
  .masonry { columns: 1; }
  .room-specs { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 6px; transform: none !important; }
  .hero-actions .btn { width: 100%; }
  .page-hero { min-height: 64svh; }
}

/* ===== Pacchetto Standard (DepthX): una pagina, nessuna animazione di transizione, nessun 3D ===== */
.hero > img, .page-hero > img { animation: none; }
.room-card img, .card img, .strip img, .masonry img { transition: none; }
.room-card:hover img, .card:hover img { transform: none; }
main > section { scroll-margin-top: 72px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.g-fonte { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.g-logo { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font: 600 14px/1 var(--sans); color: #4285f4; }
.sede { font-size: 18px; line-height: 1.6; margin: 18px 0 26px; }
.contatti-rapidi { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.mappa { margin: 0; border: 1px solid var(--line); background: var(--linen); }
.mappa svg { display: block; width: 100%; height: auto; }
.tasti-fissi { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.tasto-fisso { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.tasto-fisso svg { width: 26px; height: 26px; }
.tasto-fisso.wa { background: #25d366; }
.tasto-fisso.tel { background: var(--glicine-deep); }
.avviso-demo { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: min(520px, calc(100vw - 32px)); background: var(--ink); color: var(--cream); padding: 16px 20px; font-size: 15px; line-height: 1.5; box-shadow: 0 12px 30px rgba(0,0,0,.3); }

/* 11/11/2026: the closed mobile menu must not cover the page; on phones the footer ends above the fixed WhatsApp and call buttons */
.mobile-nav[hidden] { display: none; }
@media (max-width: 760px) { body .site-footer { padding-bottom: 160px; } }
