/* =========================================================
   Casale Giselle — foglio di stile
   Colori principali (cambiali qui per cambiarli in tutto il sito)
   ========================================================= */
:root {
  --ink: #3B2F22;        /* marrone scuro: pulsanti, footer */
  --text: #2A231B;       /* testo principale */
  --bar: #D2B48C;        /* sabbia: barra in alto, giorni selezionati */
  --muted: #5C5246;      /* testo secondario */
  --soft: #4A3F33;
  --cream: #F7F2EA;      /* sfondo sezione disponibilità */
  --sand: #EFE6D8;       /* sfondo contatti */
  --line: #E3D5C0;
  --line-2: #EFE8DD;
  --line-3: #CDBFAA;
  --white: #FFFFFF;
  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Garamond", "Georgia", serif;
}

/* Font ospitati sul sito (nessun collegamento a Google) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--muted); }
h1, h2, h3 { font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; line-height: 1.3; }
h2 { font-size: 30px; }
p { margin: 0; }
.serif { font-family: var(--serif); font-style: italic; }
.wrap { max-width: 1280px; margin: 0 auto; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.btn {
  display: inline-block; text-align: center; background: var(--ink); color: var(--white);
  text-decoration: none; padding: 13px 22px; font: inherit; font-size: 13px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; border: 0; cursor: pointer; min-height: 44px;
}
.btn:hover { color: var(--white); background: #2A2118; }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-caps { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; }

/* ---------- Header ---------- */
.site-header { background: var(--bar); position: sticky; top: 0; z-index: 30; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 14px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.main-nav a { text-decoration: none; }
.main-nav a[aria-current="page"], .main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; font-size: 13px; letter-spacing: 0.1em; }
.lang a { min-width: 36px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lang a[aria-current="true"] { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle, .brand-mobile { display: none; }
.menu-toggle { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; padding: 0; }

/* ---------- Intro + hero ---------- */
.intro { padding: 56px 24px 40px; text-align: center; }
.intro h1 { font-size: 48px; letter-spacing: 0.1em; }
.intro p { font-size: 22px; margin-top: 6px; }
.hero { padding: 0 24px; }
.hero img { width: 100%; height: 580px; object-fit: cover; object-position: center 55%; }

.quick-form {
  max-width: 1000px; margin: -36px auto 0; position: relative; background: var(--white);
  border: 1px solid var(--line); padding: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
}
.quick-form label { flex: 1 1 180px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.quick-form label.guests { flex-basis: 140px; }
.quick-form input, .quick-form select {
  font: inherit; font-size: 16px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--text);
  padding: 10px; border: 0; border-bottom: 1px solid var(--text); min-height: 44px; background: transparent; width: 100%;
}
.quick-form .btn { flex: 1 1 200px; }
.quick-form label, .quick-form input, .quick-form select { min-width: 0; }
.trust { text-align: center; margin: 14px 24px 0; font-size: 15px; color: var(--muted); }

.welcome { padding: 88px 24px; text-align: center; }
.welcome .text { max-width: 760px; margin: 20px auto 0; color: var(--soft); font-size: 16px; }

/* ---------- La casa ---------- */
.section-pad { padding: 0 24px; }
.house-banner {
  position: relative; overflow: hidden; background: #B79F80; min-height: 540px; padding: 64px 24px;
  display: flex; align-items: center; justify-content: center;
}
.house-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-white { position: relative; background: var(--white); max-width: 460px; padding: 56px 48px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.card-white h2 { font-size: 28px; }
.card-white p { color: var(--soft); }
.swipe-hint { display: none; }
.rooms { padding-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px 28px; }
.rooms article { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.rooms img { width: 100%; height: 300px; object-fit: cover; }
.rooms h3 { font-size: 18px; margin-top: 8px; }
.rooms p { color: var(--muted); }

/* ---------- Servizi ---------- */
.services { padding: 96px 24px; }
.services .grid { max-width: 1100px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 52px 32px; text-align: center; }
.services .item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.services .icon {
  width: 78px; height: 78px; border-radius: 50%; margin-bottom: 10px;
  display: grid; place-items: center; color: var(--ink);
  background: linear-gradient(160deg, #FBF7F0 0%, var(--sand) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line-2), 0 10px 22px rgba(59, 47, 34, 0.08);
  transition: transform .5s var(--ease, ease), background .5s ease, color .5s ease, box-shadow .5s ease;
}
.services .icon svg { width: 36px; height: 36px; }
.services .item:hover .icon {
  transform: translateY(-5px); background: var(--bar); color: var(--white);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--bar), 0 16px 28px rgba(59, 47, 34, 0.16);
}
.services h3, .places h3 { font-size: 16px; letter-spacing: 0.04em; text-transform: none; font-weight: 400; }
.services p, .places p { color: var(--muted); font-size: 15px; }

/* ---------- Disponibilità ---------- */
.availability { background: var(--cream); padding: 96px 24px; }
.availability .inner { max-width: 1200px; margin: 0 auto; }
.availability .head { text-align: center; display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.availability .head p { color: var(--soft); }
.avail-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.calendar-box { flex: 999 1 560px; min-width: 0; background: var(--white); padding: 28px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cal-nav button[disabled] { opacity: .3; cursor: default; }
.cal-status { font-size: 13px; color: var(--muted); text-align: center; }
.months { display: flex; flex-wrap: wrap; gap: 36px; }
.month { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.month h3 { font-size: 16px; text-align: center; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.weekdays { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: 0.08em; font-weight: 400; }
.day { height: 44px; border: 0; padding: 0; font: inherit; font-size: 15px; background: var(--white); color: var(--text); cursor: pointer; }
.day:hover { background: var(--line-2); }
.day.booked, .day.past { background: var(--line-2); color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.day.past { text-decoration: none; opacity: .55; background: transparent; }
.day.range { background: var(--bar); }
.day.edge { background: var(--ink); color: var(--white); font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border: 1px solid var(--line-3); }
.legend .l-free::before { background: var(--white); }
.legend .l-booked::before { background: var(--line-2); }
.legend .l-sel::before { background: var(--ink); border-color: var(--ink); }

.summary-box { flex: 1 1 300px; background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.summary-box h3 { font-size: 16px; }
.guests-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.guests-row .lbl { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border: 1px solid var(--line-3); background: var(--white); font: inherit; font-size: 20px; color: var(--text); cursor: pointer; }
.stepper button[disabled] { opacity: .4; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-size: 18px; font-weight: 400; }
.nightly { font-size: 16px; font-weight: 400; }
.summary { font-size: 24px; line-height: 1.3; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.total .lbl { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.total .val { font-family: var(--serif); font-size: 34px; font-weight: 500; }
.hint { color: var(--soft); font-size: 15px; }
.note { color: var(--muted); font-size: 13px; font-style: italic; line-height: 1.5; }
.text-btn { border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--soft); text-decoration: underline; min-height: 44px; cursor: pointer; }

/* ---------- Galleria ---------- */
.gallery { padding: 96px 24px 0; }
.gallery h2 { text-align: center; margin-bottom: 40px; }
.gallery .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery img { width: 100%; height: 380px; object-fit: cover; }
.gallery img.wide { grid-column: span 2; }
.gallery img.tall { height: 420px; }

/* ---------- Dintorni ---------- */
.places { padding: 96px 24px; }
.places .grid { max-width: 1200px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px 28px; text-align: center; list-style: none; padding: 0; }
.places li { display: flex; flex-direction: column; gap: 6px; }
.places img { width: 100%; height: 240px; object-fit: cover; margin-bottom: 10px; }
.places small { display: block; font-size: 14px; color: var(--muted); }

/* ---------- Recensioni ---------- */
.reviews-banner {
  position: relative; overflow: hidden; min-height: 540px; padding: 64px 24px; background: #66664A;
  display: flex; align-items: center; justify-content: center; transition: background-color .5s ease;
}
.reviews-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.reviews-banner figure { position: relative; margin: 0; background: var(--white); max-width: 480px; width: 100%; padding: 52px 44px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.reviews-banner h2 { font-size: 26px; }
.scores { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; }
.reviews-banner blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; min-height: 124px; }
.reviews-banner figcaption { color: var(--muted); font-size: 14px; }
.dots { display: flex; }
.dots button { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dots span { width: 8px; height: 8px; border-radius: 6px; background: #BFAF97; transition: all .2s ease; }
.dots button[aria-pressed="true"] span { width: 11px; height: 11px; background: var(--text); }

/* ---------- Contatti ---------- */
.contact { background: var(--sand); margin-top: 96px; padding: 88px 24px; }
.contact form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.contact h2 { text-align: center; margin-bottom: 8px; }
.contact .info { text-align: center; color: #3B3127; margin-bottom: 8px; }
.contact-buttons { display: none; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact label.f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-style: italic; }
.contact input, .contact select, .contact textarea {
  font: inherit; font-style: normal; color: var(--text); padding: 10px; border: 1px solid transparent; background: var(--white); min-height: 44px; width: 100%;
}
.contact textarea { resize: vertical; }
.contact input:user-invalid { border-color: #A3402D; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #3B3127; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.honeypot { display: none !important; }
.form-msg { text-align: center; font-size: 15px; padding: 12px; }
.form-msg.ok { background: var(--white); }
.form-msg.err { background: #F6E1DB; color: #6E2A1C; }

/* ---------- Mappa + footer ---------- */
.map { position: relative; height: clamp(420px, 46vw, 640px); background: #E8E0D2; overflow: hidden; }
.map svg { display: block; width: 100%; height: 100%; }
.map .map-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.map .svg-mobile { display: none; }
.map .btn { position: absolute; right: 24px; bottom: 24px; }
.site-footer { background: var(--ink); color: var(--sand); padding: 40px 24px; }
.site-footer .inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 14px; letter-spacing: 0.04em; }
.site-footer a { color: var(--sand); }
.site-footer .name { letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: flex-start; }

.wa-float, .sticky-bar { display: none; }

/* ---------- Pagina privacy ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--soft); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal .table-wrap { overflow-x: auto; margin: 16px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 400; background: var(--cream); }
.legal .todo { background: #FFF2C6; padding: 0 4px; }

/* =========================================================
   Telefono (sotto 760 px): layout del design mobile
   ========================================================= */
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.65; padding-bottom: 64px; }
  body.no-bar { padding-bottom: 0; }
  h2 { font-size: 22px; }
  .header-inner { padding: 10px 12px 10px 8px; min-height: 0; gap: 6px; }
  .menu-toggle { display: flex; }
  .brand-mobile { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; text-decoration: none; }
  .header-right { gap: 2px; }
  .header-right .btn { padding: 10px 12px; font-size: 12px; }
  .lang a:not([aria-current="true"]) { text-decoration: underline; text-underline-offset: 4px; font-weight: 500; font-size: 12px; }
  .lang a[aria-current="true"], .lang .sep { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 4px 20px 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav.simple { display: flex; position: static; flex-direction: row; background: transparent; border: 0; padding: 0; gap: 4px 14px; font-size: 12px; }
  .main-nav.simple a { border: 0; padding: 10px 0; }
  .main-nav.simple ~ .header-right, .main-nav.simple + .header-right { margin-left: auto; }
  body.no-bar .brand-mobile { display: none; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line-2); letter-spacing: 0.08em; }
  .main-nav a:last-child { border-bottom: 0; }

  .intro { padding: 36px 20px 28px; }
  .intro h1 { font-size: 30px; }
  .intro p { font-size: 20px; line-height: 1.3; }
  .hero { padding: 0 12px; }
  .hero img { height: 360px; object-position: 72% center; }
  .quick-form { margin: -28px 8px 0; padding: 16px; gap: 12px; display: grid; grid-template-columns: 1fr 1fr; }
  .quick-form label { font-size: 11px; }
  .quick-form input, .quick-form select { font-size: 15px; padding: 8px 0; }
  .quick-form label.guests, .quick-form .btn { grid-column: 1 / -1; }
  .trust { font-size: 14px; }
  .welcome { padding: 56px 24px; }

  .section-pad { padding: 0; }
  .house-banner { margin: 0 12px; min-height: 400px; padding: 40px 16px; }
  .card-white { padding: 36px 24px; gap: 14px; }
  .card-white h2 { font-size: 22px; }
  .card-white .link-caps { display: none; }
  .swipe-hint { display: block; margin: 28px 20px 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
  .rooms { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 8px; }
  .rooms article { flex: 0 0 250px; scroll-snap-align: start; gap: 6px; }
  .rooms img { height: 260px; }
  .rooms h3 { font-size: 16px; margin-top: 6px; }
  .rooms p { font-size: 15px; }

  .services { padding: 64px 20px; }
  .services .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 32px; }
  .services .item { gap: 4px; }
  .services .icon { width: 64px; height: 64px; margin-bottom: 8px; box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--line-2), 0 8px 18px rgba(59, 47, 34, 0.08); }
  .services .icon svg { width: 30px; height: 30px; }
  .services h3 { font-size: 15px; }
  .services p { font-size: 14px; line-height: 1.45; }

  .availability { padding: 56px 12px; }
  .availability .head { margin-bottom: 20px; padding: 0 8px; }
  .availability .head p { font-size: 15px; line-height: 1.5; }
  .avail-row { gap: 20px; }
  .calendar-box { padding: 16px 12px; flex-basis: 100%; }
  .month + .month { display: none; }
  .weekdays { font-size: 11px; }
  .summary-box { padding: 20px 16px; gap: 10px; flex-basis: 100%; }
  .summary { font-size: 22px; }
  .total .val { font-size: 30px; }

  .gallery { padding: 64px 0 0; }
  .gallery h2 { margin-bottom: 24px; }
  .gallery .grid { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 8px; }
  .gallery img, .gallery img.tall { flex: 0 0 300px; width: 300px; height: 360px; scroll-snap-align: center; }
  .gallery .swipe-hint { text-align: center; text-transform: none; letter-spacing: 0; font-size: 13px; margin-top: 8px; }

  .places { padding: 64px 24px; }
  .places .grid { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; text-align: left; }
  .places li { padding: 16px 0; border-bottom: 1px solid var(--line); gap: 2px; }
  .places li:last-child { border-bottom: 0; }
  .places img { height: 190px; }
  .places h3 { font-size: 15px; }
  .places p { font-size: 14px; line-height: 1.5; }

  .reviews-banner { margin: 0 12px; min-height: 520px; padding: 40px 16px 56px; }
  .reviews-banner figure { padding: 32px 20px 16px; gap: 14px; }
  .reviews-banner h2 { font-size: 20px; }
  .scores { font-size: 12px; }
  .reviews-banner blockquote { font-size: 20px; min-height: 140px; }

  .contact { margin-top: 64px; padding: 56px 20px; }
  .contact form { gap: 14px; }
  .contact .info .sep { display: none; }
  .contact .info .row { display: block; }
  .contact .info .wa { display: none; }
  .contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
  .contact-buttons a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: var(--white); text-decoration: none; font-size: 14px; font-weight: 400; }
  .fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fields .full { grid-column: 1 / -1; }
  .contact input, .contact select { padding: 10px 6px; }

  .map { height: auto; }
  .map .svg-desktop { display: none; }
  .map .svg-mobile { display: block; height: auto; aspect-ratio: 650 / 590; }
  .map .btn { position: static; display: block; margin: 0 16px 16px; padding: 12px 16px; font-size: 12px; }
  .site-footer { padding: 32px 20px 40px; }
  .site-footer .inner { flex-direction: column; gap: 16px; }
  .site-footer nav a { padding: 10px 0; }

  .wa-float {
    display: flex; position: fixed; right: 16px; bottom: 80px; z-index: 25; width: 52px; height: 52px; border-radius: 26px;
    background: var(--white); box-shadow: 0 6px 18px rgba(42,35,27,0.25); align-items: center; justify-content: center;
  }
  .sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; height: 64px; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(42,35,27,0.08); padding: 10px 16px;
    align-items: center; justify-content: space-between; gap: 12px;
  }
  .sticky-bar .txt { display: flex; flex-direction: column; line-height: 1.3; }
  .sticky-bar .txt span:first-child { font-size: 12px; color: var(--muted); }
  .sticky-bar .txt span:last-child { font-size: 19px; }
  .sticky-bar .btn { padding: 13px 18px; font-size: 12px; }

  .legal { padding: 36px 20px 64px; }
  .legal h1 { font-size: 26px; }
}

/* =========================================================
   Effetti di entrata (dissolvenza allo scorrimento)
   Attivi solo se il JavaScript funziona (classe "anim" su <html>)
   ========================================================= */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Titolo e foto principale: all'apertura della pagina */
.anim .intro h1, .anim .intro p { animation: fadeUp 1.1s var(--ease) both; }
.anim .intro p { animation-delay: .25s; }
.anim .hero img { animation: heroIn 1.8s var(--ease) .15s both; }
.anim .quick-form { animation: fadeUp 1s var(--ease) .6s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Elementi che compaiono quando arrivano sullo schermo */
.anim .reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.anim .reveal.in { opacity: 1; transform: none; }

/* Banner con foto di sfondo: la foto si "assesta" con un leggero zoom */
.anim .house-banner > img, .anim .reviews-banner > img {
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s var(--ease), transform 2.4s var(--ease);
}
.anim .house-banner.in > img, .anim .reviews-banner.in > img { opacity: 1; transform: none; }
.anim .house-banner .card-white, .anim .reviews-banner figure {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease) .45s, transform 1.1s var(--ease) .45s;
}
.anim .house-banner.in .card-white, .anim .reviews-banner.in figure { opacity: 1; transform: none; }

/* Foto della galleria e delle camere: leggero zoom al passaggio del mouse */
.places .img-wrap { margin-bottom: 10px; }
.places .img-wrap img { margin-bottom: 0; }
@media (hover: hover) {
  .rooms .img-wrap, .places .img-wrap { overflow: hidden; }
  .rooms img, .places img { transition: transform 1.2s var(--ease); }
  .rooms article:hover img, .places li:hover img { transform: scale(1.05); }
  .gallery img { transition: filter .6s var(--ease), opacity 1s var(--ease), transform 1s var(--ease); }
  .gallery img:hover { filter: brightness(1.06) saturate(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .anim .reveal, .anim .house-banner > img, .anim .reviews-banner > img,
  .anim .house-banner .card-white, .anim .reviews-banner figure { opacity: 1 !important; transform: none !important; }
}
