/* ==========================================================================
   Amoenus B&B — stile
   Palette dal brand: blu petrolio del logo, cornici azzurro polvere,
   sole oro, carta a righe ondulate. I frutti colorano le camere.
   ========================================================================== */

:root {
  --blue: #1f5e7c;
  --blue-deep: #123c52;
  --dusty: #86aabb;
  --dusty-soft: #dfe9ee;
  --sun: #e9a23b;
  --sun-deep: #d48a22;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #1d3340;
  --muted: #5d7582;
  --line: #d9e6ed;

  --lemon: #f1cf3f;
  --lemon-soft: #fbf3cc;
  --almond: #b7774b;
  --almond-soft: #f3e6da;
  --apple: #bf3431;
  --apple-soft: #f7dfdc;

  --serif-display: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --sans: "Quicksand", "Avenir Next", "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(18, 60, 82, .45);
  --container: 1180px;
  --nav-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button { font: inherit; }
em { font-style: normal; color: var(--sun-deep); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Carta a righe ondulate, come nei post */
.paper {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='44'%3E%3Cpath d='M0 30c40-4 80 3 120 0s80-5 120-1 80 3 120 0' fill='none' stroke='%23d6e6ef' stroke-width='1.3'/%3E%3C/svg%3E");
  background-size: 360px 44px;
}

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dusty);
  margin: 0 0 .9rem;
}
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.title {
  font-family: var(--serif-display);
  font-weight: 200;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--blue);
  margin: 0 0 1.2rem;
}
.title em { font-weight: 300; }
.title.light, .lead.light { color: #fff; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif-display);
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.35rem;
  line-height: 1;
}
.wordmark-sun { width: 1.3em; height: 1em; margin: 0 .22em; color: var(--sun); transform: translateY(-.08em); }
.wordmark-xl { font-size: clamp(2.6rem, 9vw, 6rem); font-weight: 300; color: #fff; --logo-wave: #fff; }
.wordmark-light { color: #fff; --logo-wave: #fff; }

/* ---------- Bottoni ---------- */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg);
  color: #fff;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn-sun { --bg: var(--sun); color: #fff; }
.btn-sun:hover { --bg: var(--sun-deep); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-wa { --bg: #25a35a; }
.btn-small { padding: .6rem 1.2rem; font-size: .8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem;
}

/* ---------- Navigazione ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.nav .brand { text-decoration: none; }
.nav .wordmark { color: #fff; --logo-wave: #fff; transition: color .35s; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-links a:not(.btn) {
  color: #fff; text-decoration: none;
  font-family: var(--serif-display); font-size: .88rem; letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: .3rem 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav.is-solid {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  --nav-h: 64px;
}
.nav.is-solid .wordmark { color: var(--blue); --logo-wave: var(--blue); }
.nav.is-solid .nav-links a:not(.btn) { color: var(--ink); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.6px; background: #fff; transition: transform .3s, top .3s, background .3s;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav.is-solid .nav-toggle span { background: var(--blue); }
.nav.is-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--blue-deep);
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-links a:not(.btn) { font-size: 1.1rem; color: #fff !important; }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.is-open .wordmark { color: #fff; --logo-wave: #fff; position: relative; z-index: 2; }
  .nav.is-open .nav-toggle span { background: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 60, 82, .55) 0%, rgba(18, 60, 82, .12) 38%, rgba(18, 60, 82, .2) 62%, rgba(18, 60, 82, .6) 100%);
}
.hero-content { position: relative; padding: calc(var(--nav-h) + 2rem) 20px 6rem; }
.hero-logo { margin: .4rem 0 0; font-weight: 300; }
.hero-tag {
  font-family: "Pinyon Script", "Snell Roundhand", cursive;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: .01em;
  line-height: 1.3;
  margin: .8rem 0 2.4rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: #fff; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Benvenuti ---------- */
.welcome { padding: clamp(5rem, 10vw, 8rem) 0; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.pronounce { text-align: center; }
.pr-label {
  font-family: var(--serif-display); font-weight: 300; color: var(--dusty);
  font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; display: inline-flex; align-items: center; gap: .6rem;
}
.pr-label-2 { margin-top: 2.4rem; }
.pr-arrow { width: 88px; height: 30px; color: var(--sun); transform: scaleY(-1) rotate(8deg); }
.pr-arrow.flip { transform: scaleX(-1) rotate(-10deg); }
.pr-word {
  font-family: var(--serif-display); font-weight: 600; color: var(--blue);
  font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: .04em; margin: 0; line-height: 1.1;
  position: relative; display: inline-block;
}
.pr-underline { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 12px; color: var(--sun); }
.welcome-text p { color: var(--muted); }
.signature { font-family: var(--hand); font-size: 1.9rem; color: var(--blue) !important; margin-top: 1rem; }

/* ---------- Cornici foto ---------- */
.frame {
  margin: 0;
  background: var(--dusty);
  padding: clamp(14px, 2.2vw, 26px);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-white { background: #fff; }

/* ---------- Camere ---------- */
.rooms { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); }
.room-list { display: grid; gap: clamp(4.5rem, 9vw, 7.5rem); }
.room {
  --accent: var(--lemon); --accent-soft: var(--lemon-soft);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
  position: relative;
}
.room[data-room="mandorla"] { --accent: var(--almond); --accent-soft: var(--almond-soft); }
.room[data-room="merendella"] { --accent: var(--apple); --accent-soft: var(--apple-soft); }
.room > * { min-width: 0; }
.room:nth-child(even) .room-media { order: 2; }

.room-media { position: relative; }
.room-media::before {
  content: ""; position: absolute; inset: 10% -6% -6% 12%;
  background: var(--accent-soft); border-radius: 50% 44% 48% 40%;
  z-index: 0;
}
.room:nth-child(even) .room-media::before { inset: 10% 12% -6% -6%; }
.room-main {
  position: relative; z-index: 1; cursor: zoom-in;
  aspect-ratio: 4 / 4.6;
  border: 0; display: block; width: 100%;
}
.room-main img { transition: transform .8s ease; }
.room-main:hover img { transform: scale(1.03); }
.room-main .count {
  position: absolute; right: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, .92); color: var(--blue);
  font-size: .8rem; letter-spacing: .1em; padding: .35rem .8rem; border-radius: 99px;
}
.room-thumbs {
  position: relative; z-index: 1;
  display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none;
}
.room-thumbs::-webkit-scrollbar { display: none; }
.room-thumbs button {
  flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: none; opacity: .75; transition: opacity .2s, border-color .2s;
}
.room-thumbs button:hover, .room-thumbs button.is-active { opacity: 1; border-color: var(--dusty); }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.fruit {
  position: absolute; z-index: 2; width: clamp(90px, 12vw, 150px); pointer-events: none;
  top: -40px; left: -34px; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .15));
  animation: float 7s ease-in-out infinite;
}
.room:nth-child(even) .fruit { left: auto; right: -34px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-4deg); } }

.room-body .eyebrow { color: var(--accent-text, var(--accent)); }
.room[data-room="limone"] { --accent-text: #a8820f; }
.room-name {
  font-family: var(--serif-display); font-weight: 200; color: var(--blue);
  font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1; margin: 0 0 1.2rem; letter-spacing: -.01em;
}
.room-desc { color: var(--muted); margin: 0 0 1.4rem; }
.room-tags { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.room-tags li {
  font-size: .85rem; padding: .35rem .85rem; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.room-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.room-price { font-family: var(--serif-display); color: var(--muted); font-size: .95rem; }
.room-price strong { font-size: 1.8rem; font-weight: 300; color: var(--blue); }

/* ---------- Esperienza ---------- */
.experience { padding: clamp(5rem, 10vw, 8rem) 0; background: #fff; }
.exp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.exp-photos { position: relative; min-height: 560px; }
.exp-photos .frame { position: absolute; width: 64%; aspect-ratio: 4 / 5; }
.frame-tilt-l { top: 0; left: 0; transform: rotate(-3deg); }
.frame-tilt-r { bottom: 0; right: 0; transform: rotate(2.5deg); }
.features { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.features li { display: flex; gap: .9rem; align-items: flex-start; }
.features strong { display: block; font-weight: 600; color: var(--ink); }
.features span:not(.f-ico) { font-size: .93rem; color: var(--muted); line-height: 1.5; display: block; }
.f-ico {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--dusty-soft);
  display: grid; place-items: center;
}
.f-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.times { display: flex; gap: 2.5rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.times dt { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dusty); font-family: var(--serif-display); }
.times dd { margin: .2rem 0 0; font-family: var(--serif-display); font-size: 1.3rem; font-weight: 300; color: var(--blue); }

/* ---------- Soverato ---------- */
.soverato {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(7rem, 12vw, 10rem);
  background: linear-gradient(180deg, var(--blue-deep), var(--blue));
  color: #fff;
}
.mosaic {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  grid-template-areas: "a a b c" "a a d e";
}
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 14px; bottom: 12px; font-family: var(--hand); font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.m-a { grid-area: a; } .m-b { grid-area: b; } .m-c { grid-area: c; } .m-d { grid-area: d; } .m-e { grid-area: e; }
.wave-bottom { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: #fff; }

/* ---------- Recensioni ---------- */
.reviews { padding: clamp(4rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.review {
  margin: 0; position: relative;
  background: #5f8fa3;
  color: #fff; text-align: center;
  padding: 3rem 1.8rem 2rem;
  border-radius: 6px;
  box-shadow: 0 14px 30px -18px rgba(18, 60, 82, .6);
}
.review:nth-child(2) { transform: translateY(2rem); }
.stars {
  position: absolute; top: -16px; left: 50%; translate: -50% 0;
  color: var(--sun); font-size: 1.7rem; letter-spacing: .08em; line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .08);
}
.review p { margin: 0 0 1.3rem; line-height: 1.75; font-size: .98rem; }
.review cite { font-style: italic; font-weight: 600; }
.review cite::before { content: "– "; } .review cite::after { content: " –"; }

/* ---------- Prenotazione ---------- */
.booking { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); }
.bk { background: #fff; border-radius: 10px; box-shadow: 0 30px 60px -40px rgba(18, 60, 82, .45); border: 1px solid var(--line); overflow: hidden; }
.bk-steps {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line); counter-reset: s;
}
.bk-steps li {
  counter-increment: s;
  padding: 1rem; text-align: center; font-family: var(--serif-display); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
  color: var(--muted); position: relative;
}
.bk-steps li::before { content: counter(s) " · "; }
.bk-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background .3s; }
.bk-steps li.is-done { color: var(--blue); }
.bk-steps li.is-done::after { background: var(--dusty); }
.bk-steps li.is-active { color: var(--blue); }
.bk-steps li.is-active::after { background: var(--sun); }

.bk-body { display: grid; grid-template-columns: 1fr 360px; }
.bk-main { padding: clamp(1.4rem, 3vw, 2.5rem); display: grid; gap: 2.4rem; min-width: 0; }
.bk-block { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-block legend {
  font-family: var(--serif-display); font-weight: 300; font-size: 1.5rem; color: var(--blue);
  margin-bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; padding: 0;
}
.bk-block legend .n {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--sun); color: var(--sun-deep);
  display: grid; place-items: center; font-size: .95rem; font-weight: 400;
}

.bk-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bk-room { position: relative; cursor: pointer; }
.bk-room input { position: absolute; opacity: 0; pointer-events: none; }
.bk-room-card {
  display: block; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bk-room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bk-room-info { display: block; padding: .7rem .85rem .8rem; }
.bk-room-info strong { display: block; font-family: var(--serif-display); font-weight: 400; font-size: 1.15rem; color: var(--blue); }
.bk-room-info small { color: var(--muted); font-size: .82rem; }
.bk-room:hover .bk-room-card { transform: translateY(-2px); }
.bk-room input:checked + .bk-room-card { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(233, 162, 59, .22); }
.bk-room input:focus-visible + .bk-room-card { outline: 3px solid var(--blue); outline-offset: 2px; }
.bk-room input:checked + .bk-room-card::after {
  content: "✓"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sun); color: #fff; display: grid; place-items: center; font-size: .85rem;
}

/* Calendario */
.cal { border: 1px solid var(--line); border-radius: 8px; padding: 1rem clamp(.6rem, 2vw, 1.2rem) 1rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.cal-hint { font-size: .92rem; color: var(--muted); text-align: center; }
.cal-nav {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--blue); font-size: 1.4rem; line-height: 1; cursor: pointer; flex: none;
}
.cal-nav:hover:not(:disabled) { border-color: var(--blue); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.2rem); }
.cal-month h4 {
  margin: 0 0 .6rem; text-align: center; font-family: var(--serif-display); font-weight: 400;
  text-transform: capitalize; color: var(--blue); font-size: 1.05rem; letter-spacing: .04em;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.cal-dow { text-align: center; font-size: .72rem; letter-spacing: .08em; color: var(--dusty); padding-bottom: .4rem; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 0; background: none; cursor: pointer; font-size: .92rem; color: var(--ink);
  position: relative; display: grid; place-items: center; padding: 0;
}
.cal-day span { width: 100%; height: 100%; max-width: 42px; max-height: 42px; display: grid; place-items: center; border-radius: 50%; position: relative; z-index: 1; transition: background .15s; }
.cal-day:hover:not(:disabled) span { background: var(--dusty-soft); }
.cal-day:focus-visible { outline: none; }
.cal-day:focus-visible span { box-shadow: 0 0 0 2px var(--blue); }
.cal-day:disabled { cursor: default; color: #b9c6cd; }
.cal-day.is-booked span { text-decoration: line-through; text-decoration-color: rgba(191, 52, 49, .55); }
.cal-day.is-today span { font-weight: 700; color: var(--blue); }
.cal-day.in-range::before {
  content: ""; position: absolute; inset: 12% 0; background: rgba(233, 162, 59, .16);
}
.cal-day.is-start::before { left: 50%; }
.cal-day.is-end::before { right: 50%; }
.cal-day.is-start span, .cal-day.is-end span { background: var(--sun) !important; color: #fff; font-weight: 600; }
.cal-day.is-start.is-end::before { display: none; }
.cal-empty { aspect-ratio: 1; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: .8rem; font-size: .82rem; color: var(--muted); }
.cal-legend .link { margin-left: auto; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: .3rem; }
.lg-sel { background: var(--sun); }
.lg-off { background: #dde4e8; }

/* Campi */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: grid; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: .82rem; letter-spacing: .06em; color: var(--muted); }
.field em { color: var(--dusty); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dusty); box-shadow: 0 0 0 3px rgba(134, 170, 187, .25); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--apple); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: .3rem; accent-color: var(--blue); width: 16px; height: 16px; }
.check.is-invalid { color: var(--apple); }

/* Riepilogo */
.bk-summary { background: var(--dusty-soft); padding: clamp(1.4rem, 3vw, 2rem); border-left: 1px solid var(--line); }
.sum-card { position: sticky; top: calc(var(--nav-h) + 20px); }
.sum-img { margin: 0 0 1.2rem; background: var(--dusty); padding: 10px; }
.sum-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: opacity .3s; }
.sum-card .eyebrow { margin-bottom: .2rem; }
.sum-room { font-family: var(--serif-display); font-weight: 200; font-size: 2.2rem; color: var(--blue); margin: 0 0 1rem; line-height: 1.1; }
.sum-dates { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1rem; }
.sum-dates div { background: #fff; border-radius: 8px; padding: .6rem .8rem; }
.sum-dates dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dusty); }
.sum-dates dd { margin: .15rem 0 0; font-weight: 600; font-size: .95rem; }
.sum-lines { font-size: .9rem; color: var(--muted); }
.sum-lines p { display: flex; justify-content: space-between; margin: .3rem 0; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(31, 94, 124, .2); margin-top: .8rem; padding-top: .9rem;
}
.sum-total span { font-size: .85rem; color: var(--muted); }
.sum-total strong { font-family: var(--serif-display); font-size: 2rem; font-weight: 300; color: var(--blue); }
.sum-note { font-size: .78rem; color: var(--muted); line-height: 1.5; margin: .6rem 0 1rem; }
.form-error { color: var(--apple); font-size: .88rem; margin: 0 0 .8rem; min-height: 0; }
.form-error:empty { display: none; }

/* ---------- Contatti ---------- */
.contact { padding: clamp(5rem, 10vw, 8rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dusty); font-family: var(--serif-display); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.map { background: var(--dusty); padding: clamp(12px, 2vw, 22px); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.85); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, .8); text-align: center; padding: 4rem 0 3rem; }
.footer .wordmark { font-size: 2rem; }
.footer-sub { font-family: var(--serif-display); letter-spacing: .3em; font-size: .8rem; margin: .4rem 0 1.6rem; color: var(--sun); }
.footer-addr { margin: 0 0 .4rem; }
.footer-small { font-size: .8rem; opacity: .6; margin: 1.5rem 0 0; }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25a35a; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Lightbox & modale ---------- */
.lightbox, .modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(12, 36, 50, .92); padding: 20px;
  animation: fade .25s ease;
}
.lightbox[hidden], .modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lb-figure img { max-height: 82vh; width: auto; margin: 0 auto; border: 10px solid #fff; }
.lb-figure figcaption { color: #fff; margin-top: .8rem; font-family: var(--serif-display); letter-spacing: .12em; font-size: .85rem; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }

.modal-card {
  background: #fff; border-radius: 12px; max-width: 460px; width: 100%; text-align: center;
  padding: 2.4rem 2rem 1.6rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.modal-sun { width: 64px; height: 48px; color: var(--sun); margin: 0 auto .8rem; display: block; }
.modal-card h3 { font-family: var(--serif-display); font-weight: 300; color: var(--blue); font-size: 2rem; margin: 0 0 .6rem; }
.modal-card p { color: var(--muted); margin: 0 0 1.6rem; }
.modal-actions { display: grid; gap: .8rem; }
.modal-close { margin-top: 1.2rem; }

/* ---------- Animazioni in entrata ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .bk-body { grid-template-columns: 1fr; }
  .bk-summary { border-left: 0; border-top: 1px solid var(--line); }
  .sum-card { position: static; max-width: 520px; margin: 0 auto; }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 2.6rem; }
  .review:nth-child(2) { transform: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .welcome-grid, .exp-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .room { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .room:nth-child(even) .room-media { order: 0; }
  .fruit { top: -30px; left: -8px; }
  .room:nth-child(even) .fruit { right: -8px; }
  .room-media::before { inset: 8% -4% -4% 10%; }
  .exp-photos { min-height: 0; aspect-ratio: 1 / 1.05; }
  .features { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; grid-template-areas: "a a" "b c" "d e"; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month + .cal-month { display: none; }
  .map iframe { height: 320px; }
}
@media (max-width: 600px) {
  .bk-rooms { grid-template-columns: 1fr; }
  .bk-room-card { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
  .bk-room-card img { height: 100%; aspect-ratio: auto; min-height: 84px; }
  .fields { grid-template-columns: 1fr; }
  .bk-steps li { font-size: .66rem; letter-spacing: .08em; padding: .8rem .3rem; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .hero-actions .btn { width: 100%; }
  .lb-nav { width: 42px; height: 42px; bottom: 18px; top: auto; translate: none; }
}
