/* =====================================================================
   La Casa di Sesè — stile del sito
   Palette dal sito ufficiale (verde salvia #7c915c) + oliva scuro.
   ===================================================================== */

:root {
  --ink: #1f211a;
  --ink-2: #3c3f35;
  --muted: #666a5e;
  --paper: #f6f4ef;
  --paper-deep: #ece8de;
  --white: #ffffff;
  --line: rgb(31 33 26 / .12);
  --line-strong: rgb(31 33 26 / .22);
  --line-light: rgb(246 244 239 / .14);

  --brand: #2e3627;
  --brand-deep: #22281c;
  --sage: #7c915c;
  --sage-light: #b3c495;
  --sage-deep: #56683d;
  --sage-btn: #5f7444;
  --star: #fbbc04;
  --error: #a63d28;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 3px;
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --shadow-lg: 0 40px 80px -40px rgb(20 24 16 / .45), 0 12px 30px -16px rgb(20 24 16 / .2);
  --shadow-md: 0 14px 28px -16px rgb(20 24 16 / .35);
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html.has-modal, html.menu-lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 12px 16px; background: var(--brand-deep); color: var(--white);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 768px) {
  .wrap { width: min(100% - 64px, 1200px); }
}
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

/* ---------------------------------------------------------- typography */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before { content: ""; flex: none; width: 44px; height: 1px; background: currentColor; opacity: .75; }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--sage-light); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; flex: none; width: 44px; height: 1px; background: currentColor; opacity: .75; }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.7rem + 3vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lead {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lead--light { color: rgb(246 244 239 / .74); }
.fineprint { margin: 18px 0 0; max-width: 46ch; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease-soft), border-color .3s var(--ease-soft), color .3s var(--ease-soft), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg, .btn img { flex: none; width: 15px; height: 15px; }
.btn img { width: 18px; height: 18px; }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; }
.btn--dark { background: var(--brand-deep); color: var(--white); box-shadow: 0 12px 22px -14px rgb(34 40 28 / .7); }
.btn--dark:hover { background: var(--brand); box-shadow: 0 16px 28px -14px rgb(34 40 28 / .75); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--accent { background: var(--sage-btn); color: var(--white); }
.btn--accent:hover { background: var(--sage-deep); }
.btn--line { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .45); }
.btn--line:hover { background: rgb(255 255 255 / .08); border-color: var(--white); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s var(--ease-soft);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgb(31 33 26 / .06); }
.icon-btn--light { color: var(--white); }
.icon-btn--light:hover { background: rgb(255 255 255 / .1); }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(246 244 239 / .92);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled, .site-header.menu-open {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgb(20 24 16 / .5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand { display: block; flex: none; border-radius: 2px; }
.brand img { width: auto; height: 44px; }
@media (min-width: 1024px) {
  .brand img { height: 54px; }
}
.nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.site-header__actions .btn { display: none; }
@media (min-width: 640px) {
  .site-header__actions { gap: 10px; }
  .site-header__actions .btn { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
  .nav a {
    position: relative;
    padding: 6px 0;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-2);
    transition: color .25s;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
  }
  .nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
  .nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgb(20 24 16 / .4);
  animation: menu-in .45s var(--ease);
}
.mobile-menu__nav { display: flex; flex-direction: column; padding: 8px 0 24px; }
.mobile-menu__nav > a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu__actions { display: grid; gap: 10px; margin-top: 20px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(32px, 5vw, 68px);
  color: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 120px 0;
  z-index: -2;
  background: var(--brand-deep);
}
.hero__rings {
  position: absolute;
  z-index: -1;
  top: -40px;
  right: -22vw;
  width: min(980px, 120vw);
  height: auto;
  color: rgb(246 244 239 / .07);
  pointer-events: none;
}
.hero__ring-accent {
  stroke: var(--sage);
  opacity: .6;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  animation: ring-draw 2.6s .5s var(--ease) forwards;
}
@media (min-width: 1024px) {
  .hero__rings { right: -8vw; top: -10px; width: min(900px, 70vw); }
}
.hero__grid {
  display: grid;
  gap: 32px;
  padding-bottom: clamp(36px, 4.5vw, 60px);
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.3rem, 1.9rem + 5.6vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.015em;
}
.hero__title em { font-style: italic; color: var(--sage-light); }
.hero__lead {
  max-width: 52ch;
  margin: 24px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgb(246 244 239 / .78);
  text-wrap: pretty;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 12px 26px -16px rgb(0 0 0 / .45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rating-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -16px rgb(0 0 0 / .5); }
.rating-badge img { width: auto; height: 19px; }
.rating-badge .rating-badge__booking { height: 15px; }
.rating-badge strong { font-size: 15px; font-weight: 700; }
.booking-score {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  padding: 0 6px;
  background: #003b95;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px 6px 6px 0;
}
.rating-badge__sep { width: 1px; height: 20px; background: var(--line-strong); }
.rating-badge__meta { font-size: 12.5px; color: var(--muted); }
.rating-badge__cta { font-size: 13px; font-weight: 600; }
.rating-badge__arrow { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.rating-badge:hover .rating-badge__arrow { transform: translateX(3px); }

.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 12px; height: 12px; }
.stars--lg svg { width: 18px; height: 18px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin: 28px 0 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.hero__stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 12px 18px 0;
}
.hero__stats > div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 38px); line-height: 1; }
.hero__stats dt { font-size: 10.5px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: rgb(246 244 239 / .6); }

.hero__media { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; align-items: end; }
.hero__photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--brand); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -36px rgb(0 0 0 / .7); }
.hero__photo--inset { aspect-ratio: 3 / 4; }
.hero__chip { display: none; }
@media (min-width: 1024px) {
  .hero__media { display: block; justify-self: end; width: min(100%, 470px); padding: 0 0 56px 64px; }
  .hero__photo--inset {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%;
    border: 6px solid var(--brand-deep);
    box-shadow: 0 30px 50px -24px rgb(0 0 0 / .6);
  }
  .hero__chip {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 12px;
    background: rgb(246 244 239 / .92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 2px;
  }
  .hero__chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgb(124 145 92 / .25); }
}

/* ----------------------------------------------------- booking card */
.hero__booking { position: relative; }
.stay-card {
  padding: 26px 20px 22px;
  background: var(--paper);
  color: var(--ink);
  border-top: 2px solid var(--sage);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .stay-card { padding: 30px 32px 24px; }
}
.stay-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin-bottom: 20px;
}
.stay-card__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 34px); line-height: 1.1; }
.stay-card__sub { margin: 0; font-size: 13.5px; color: var(--muted); }

.stay-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}
@media (min-width: 960px) {
  .stay-card .stay-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .9fr) auto;
    align-items: end;
  }
  .stay-card .stay-form__submit { grid-column: auto; }
}
.field { min-width: 0; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: 500 15px/1.2 var(--font-body);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::-webkit-date-and-time-value { text-align: left; }
.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231f211a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}
.field input:hover, .field select:hover { border-color: rgb(31 33 26 / .4); }
.field input:focus, .field select:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgb(124 145 92 / .28); }
.field.is-invalid input { border-color: var(--error); box-shadow: 0 0 0 3px rgb(166 61 40 / .15); }
.stay-form__submit { grid-column: 1 / -1; height: 48px; }
.stay-form__error { grid-column: 1 / -1; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--error); }
.stay-form__error:empty { display: none; }
.stay-form__note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.stay-form__note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--sage); }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(52px, 6.5vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section--paper-deep { background: var(--paper-deep); }
.section--white { background: var(--white); }
.section--brand { position: relative; overflow: hidden; background: var(--brand); color: var(--paper); }
.section--deep { background: var(--brand-deep); color: var(--paper); }
.section__rings {
  position: absolute;
  left: -280px;
  bottom: -420px;
  width: 960px;
  height: auto;
  color: rgb(246 244 239 / .06);
  pointer-events: none;
}
.section-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--split > div { max-width: 720px; }

/* ----------------------------------------------------------- la casa */
#casa { padding-top: clamp(44px, 5.5vw, 72px); }
.about { display: grid; gap: 36px; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
}
.about__media { position: relative; width: 100%; max-width: 480px; padding: 28px 0 48px 20px; }
.about__photo { width: 78%; margin: 0 0 0 auto; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--paper-deep); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__quote {
  position: absolute;
  top: 0;
  left: 0;
  width: 64%;
  margin: 0;
  padding: 22px 24px;
  background: var(--brand-deep);
  color: var(--paper);
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}
.about__quote p { margin: 0; font-family: var(--font-display); font-size: clamp(19px, 2vw, 23px); font-style: italic; line-height: 1.25; }
.about__quote footer { margin-top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-light); }
.about__round {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: 40%;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.about__round img { width: 100%; height: 100%; object-fit: cover; }

.host {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.host__mono {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 26px;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--sage);
}
.host__label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); }
.host__name { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.15; }
.host__score { text-align: right; }
.host__score strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 500; line-height: 1; }
.host__score span { font-size: 12px; color: var(--muted); }
.host__text { margin: 16px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

.points { display: grid; gap: 4px; margin: 22px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) {
  .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.points li { padding-top: 16px; border-top: 1px solid var(--line); }
.points__n { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--sage-deep); }
.points h3 { margin: 4px 0 4px; font-size: 15px; font-weight: 700; }
.points p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ------------------------------------------------------------- camere */
.rooms { display: grid; gap: 36px; }
@media (min-width: 720px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
.room { display: flex; flex-direction: column; }
.room__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  cursor: zoom-in;
}
.room__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transition: transform 1.2s var(--ease);
}
.room__media:hover img { transform: scale(1.04); }
.room__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: var(--brand-deep);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
}
.room__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / .92);
  color: var(--ink);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s, transform .45s var(--ease);
}
.room__zoom svg { width: 16px; height: 16px; }
.room__media:hover .room__zoom, .room__media:focus-visible .room__zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .room__zoom { opacity: 1; transform: none; }
}
.room__title { margin: 22px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); line-height: 1.05; }
.room__title em { margin-left: 6px; font-size: .55em; color: var(--muted); }
.room__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.room__meta span { display: inline-flex; align-items: center; gap: 7px; }
.room__meta svg { width: 15px; height: 15px; color: var(--sage-deep); }
.room__text { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.room__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }

.amenities { margin-top: clamp(30px, 4vw, 44px); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenities .eyebrow { margin-bottom: 14px; }
.amenities ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.amenities li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.amenities svg { width: 15px; height: 15px; color: var(--sage-deep); }

/* ------------------------------------------------------------ servizi */
.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.services li {
  padding: 18px 14px 20px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background-color .5s var(--ease-soft);
}
.services li:hover { background: rgb(246 244 239 / .035); }
.services svg { width: 26px; height: 26px; color: var(--sage-light); }
.services h3 { margin: 12px 0 4px; font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.1; }
.services p { margin: 0; font-size: 13px; line-height: 1.55; color: rgb(246 244 239 / .7); }
@media (min-width: 640px) {
  .services li { padding: 24px 22px 26px; }
  .services h3 { font-size: 25px; }
  .services p { font-size: 14px; }
}

/* --------------------------------------------------------- balconcino */
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
}
.spec { margin: 22px 0 0; border-top: 1px solid var(--line-strong); }
.spec > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .spec > div { grid-template-columns: 150px minmax(0, 1fr); }
}
.spec dt { font-size: 10.5px; font-weight: 700; line-height: 1.9; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); }
.spec dd { margin: 0; font-size: 15px; color: var(--ink); }
.spec dd a { text-underline-offset: 3px; text-decoration-color: var(--sage); }

.split__media {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  aspect-ratio: 6 / 5;
}
.split__photo {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  cursor: zoom-in;
}
.split__photo--tall { grid-row: span 2; }
.split__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__photo:hover img { transform: scale(1.045); }

/* ------------------------------------------------------------ galleria */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; }
}
@media (min-width: 1200px) {
  .gallery { grid-auto-rows: 210px; }
}
.gallery .g-xl { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgb(246 244 239 / .05);
  cursor: zoom-in;
}
.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(20 24 16 / .35));
  opacity: 0;
  transition: opacity .5s var(--ease-soft);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after { opacity: 1; }
.gallery button:focus-visible { outline-offset: -3px; }

/* ---------------------------------------------------------- recensioni */
.reviews { display: grid; gap: 36px; }
@media (min-width: 1024px) {
  .reviews { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
}
.score { display: flex; align-items: center; gap: 18px; margin: 22px 0 32px; }
.score__num { font-family: var(--font-display); font-size: clamp(4.6rem, 8vw, 6.4rem); font-weight: 500; line-height: .82; }
.score__side { display: flex; flex-direction: column; gap: 4px; }
.score__label { font-size: 17px; font-weight: 700; }
.score__meta { font-size: 13.5px; color: var(--ink-2); }

.bars { display: grid; gap: 9px; max-width: 460px; margin: 0 0 22px; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 112px minmax(0, 1fr) 34px; align-items: center; gap: 14px; font-size: 13.5px; color: var(--ink-2); }
.bars b { font-weight: 700; text-align: right; color: var(--ink); }
.bars__track { display: block; height: 3px; overflow: hidden; border-radius: 2px; background: rgb(31 33 26 / .12); }
.bars__track span {
  display: block;
  height: 100%;
  background: var(--brand-deep);
  transform-origin: left;
  transform: scaleX(var(--v, 1));
  transition: transform 1.3s var(--ease) .25s;
}
html.js .bars:not(.is-in) .bars__track span { transform: scaleX(0); }
.reviews__badges { display: flex; flex-wrap: wrap; gap: 10px; }

.quotes { display: grid; gap: 14px; }
@media (min-width: 720px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Mobile: carosello orizzontale a scorrimento, invece di una colonna lunga */
@media (max-width: 719.98px) {
  .quotes {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 86%; scroll-snap-align: start; }
}
.quote { position: relative; margin: 0; padding: 22px 24px 20px; background: var(--paper); border-radius: 2px; }
.quote--feature { grid-column: 1 / -1; border-left: 2px solid var(--sage); }
.quote__mark { width: 24px; height: 24px; color: var(--sage); }
.quote blockquote { margin: 8px 0 0; }
.quote p { margin: 0; font-family: var(--font-display); font-size: 20px; font-style: italic; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.quote--feature p { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.3; }
.quote figcaption { margin-top: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote figcaption span { font-weight: 600; color: #003b95; }

/* ----------------------------------------------------------- posizione */
.location { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .location { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
}
.map-frame { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e9e6df; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.location__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.location__bar p { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ink-2); }
.location__bar p svg { flex: none; width: 16px; height: 16px; color: var(--sage-deep); }
.location__list .eyebrow { margin-bottom: 8px; }
.dist { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.dist li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.dist b { font-family: var(--font-display); font-size: 23px; font-weight: 500; white-space: nowrap; }
.location__list .fineprint { margin-top: 0; }

/* ---------------------------------------------------------------- info */
.info { display: grid; gap: 36px; }
@media (min-width: 1024px) {
  .info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
}
.info .spec { margin-top: 0; }
.faq__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 16px; height: 16px; color: var(--sage-deep); transition: transform .4s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--sage-deep); }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height .45s var(--ease), content-visibility .45s allow-discrete;
}
.faq details[open]::details-content { height: auto; }
.faq__a p { max-width: 60ch; margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.faq__a a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--sage); }

/* ----------------------------------------------------------------- CTA */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(60px, 8.5vw, 108px) 0;
  color: var(--paper);
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(34 40 28 / .84), rgb(34 40 28 / .93));
}
.cta__title {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem);
  line-height: 1.02;
  text-wrap: balance;
}
.cta__title em { font-style: italic; color: var(--sage-light); }
.cta__text { max-width: 54ch; margin: 22px auto 0; font-size: 16px; line-height: 1.7; color: rgb(246 244 239 / .78); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
@media (max-width: 639px) {
  .cta__actions { flex-direction: column; align-items: stretch; }
}

/* -------------------------------------------------------------- footer */
.site-footer { padding: 48px 0 24px; background: var(--brand-deep); color: var(--paper); border-top: 1px solid rgb(124 145 92 / .25); }
@media (max-width: 1023px) {
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer__brand img { width: 200px; height: auto; }
.site-footer__brand p { max-width: 42ch; margin: 20px 0 0; font-size: 14px; line-height: 1.7; color: rgb(246 244 239 / .68); }
.site-footer .eyebrow { margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; font-size: 14.5px; list-style: none; color: rgb(246 244 239 / .85); }
.site-footer a { color: rgb(246 244 239 / .85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  color: rgb(246 244 239 / .58);
}
.site-footer__bottom p { margin: 0; }

/* ----------------------------------------------------- mobile quickbar */
.quickbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  gap: 8px;
  transform: translateY(calc(100% + 24px));
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.quickbar.is-visible { transform: none; pointer-events: auto; }
.quickbar .btn { flex: 1; min-height: 52px; box-shadow: 0 16px 30px -12px rgb(20 24 16 / .55); }
.quickbar__wa {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 30px -12px rgb(20 24 16 / .45);
}
.quickbar__wa img { width: 26px; height: 26px; }
@media (min-width: 1024px) {
  .quickbar { display: none; }
}

/* ------------------------------------------------- dialog: prenotazione */
.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .4);
  overflow-y: auto;
}
.sheet::backdrop { background: rgb(20 24 16 / .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet[open] { animation: sheet-up .5s var(--ease); }
.sheet[open]::backdrop { animation: fade-in .4s ease; }
@media (min-width: 720px) {
  .sheet { width: min(100% - 48px, 580px); margin: auto; border-radius: 4px; box-shadow: var(--shadow-lg); }
  .sheet[open] { animation: sheet-pop .45s var(--ease); }
}
.sheet__inner { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); }
@media (min-width: 720px) {
  .sheet__inner { padding: 30px 32px 28px; }
}
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sheet__head .eyebrow { margin-bottom: 6px; }
.sheet__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.05; }
.sheet__head .icon-btn { margin: -6px -8px 0 0; }

/* ----------------------------------------------------- dialog: galleria */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(16 19 13 / .97);
  color: var(--paper);
  overflow: hidden;
}
.lightbox::backdrop { background: rgb(0 0 0 / .6); }
.lightbox[open] { animation: fade-in .35s ease; }
.lightbox__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 20px;
}
.lightbox__count { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; color: rgb(246 244 239 / .7); }
.lightbox__stage {
  position: absolute;
  inset: 64px 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  touch-action: pan-y;
}
@media (min-width: 768px) {
  .lightbox__stage { inset: 64px 88px 32px; }
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100% - 44px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8);
  transition: opacity .35s var(--ease-soft), transform .5s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__stage img.is-loading { opacity: 0; transform: scale(.985); }
.lightbox__stage figcaption { max-width: 60ch; font-size: 13.5px; text-align: center; color: rgb(246 244 239 / .72); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(246 244 239 / .1);
  color: var(--white);
  cursor: pointer;
  transition: background-color .25s;
}
.lightbox__nav:hover { background: rgb(246 244 239 / .2); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 767px) {
  .lightbox__nav { top: auto; bottom: 18px; margin-top: 0; width: 44px; height: 44px; }
  .lightbox__stage { inset: 60px 12px 80px; }
}

/* ----------------------------------------------------------- motion */
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0ms); }
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .9s var(--ease-soft), transform 1.1s var(--ease);
  transition-delay: var(--rd, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-pop { from { opacity: 0; transform: translateY(18px) scale(.985); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero__ring-accent { stroke-dashoffset: 0; }
}
