/* =========================================================
   Attico Castiglione
   Calce, travi e cuscino pavone: i colori e i caratteri della
   prima versione, con l'impaginazione pulita a filetti sottili
   della seconda. Poche ombre, niente badge, foto con didascalia.
   ========================================================= */

:root {
  /* Muri e pavimenti */
  --plaster: #F4F2EC;
  --plaster-deep: #EAE5DB;
  --white: #FFFFFF;

  /* Travi in legno */
  --beam: #352118;
  --beam-soft: #5E4536;
  --muted: #8A7666;
  --line: rgba(53, 33, 24, 0.13);
  --line-strong: rgba(53, 33, 24, 0.26);

  /* Cuscino pavone: accento primario */
  --teal: #006D7A;
  --teal-deep: #005661;

  /* Lampada e cornice: dettagli oro */
  --gold: #D29D4F;
  --gold-deep: #B58237;

  /* Sezioni scure */
  --night-text: #FBF6EC;
  --night-soft: rgba(251, 246, 236, 0.68);
  --night-line: rgba(251, 246, 236, 0.15);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1140px;
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
::selection { background: rgba(210, 157, 79, 0.45); color: var(--beam); }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--beam);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }

/* Focus visibile solo da tastiera */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.luogo :focus-visible, .cta-final :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .lightbox-overlay :focus-visible, .lang-hint :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--beam); color: var(--night-text);
  padding: 10px 18px; border-radius: 100px; font-size: 14px; font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
}

/* ---------- ANIMAZIONI DI COMPARSA ---------- */
/* Solo con JS attivo: senza JS il contenuto resta visibile.
   Sulle sezioni si anima il contenuto, non lo sfondo. */
.js .reveal:not(section),
.js section.reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.reveal-visible:not(section),
.js section.reveal.reveal-visible > * {
  opacity: 1;
  transform: none;
}

.hero-content { animation: heroIn 0.9s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal:not(section), .js section.reveal > * { opacity: 1; transform: none; }
}

/* ---------- HEADER ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 242, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
header.scrolled { background: rgba(244, 242, 236, 0.97); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(20px, 4vw, 48px); max-width: 1440px; margin: 0 auto;
  min-height: 68px;
}
.nav-left { display: flex; align-items: center; flex-shrink: 0; }

.brand { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-name {
  font-family: var(--serif); font-size: 17px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--beam);
}
.brand-cin {
  margin-top: 5px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--muted); font-feature-settings: "tnum";
}

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a.section-link {
  font-size: 14px; color: var(--beam-soft);
  border-bottom: 1px solid transparent; padding: 2px 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a.section-link:hover,
.nav-links a.section-link.current { color: var(--teal); border-color: var(--teal); }

.lang-switch {
  display: flex; align-items: center; gap: 12px;
  padding-left: 22px; border-left: 1px solid var(--line);
}
.lang-switch a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted);
  padding: 2px 0; border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-switch a:hover { color: var(--teal); }
.lang-switch a.active { color: var(--beam); border-color: var(--beam); }

/* ---------- PULSANTI ---------- */
.btn-airbnb, .btn-primary, .btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 100px; font-weight: 600; font-family: var(--sans);
  border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-airbnb, .btn-primary { background: var(--teal); color: var(--white); }
.btn-airbnb:hover, .btn-primary:hover { background: var(--teal-deep); }
.btn-airbnb { padding: 11px 20px; font-size: 14px; }
.btn-primary { padding: 15px 26px; font-size: 15px; }
.btn-airbnb svg, .btn-primary svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-airbnb .btn-text-mobile { display: none; }
.btn-white { background: var(--gold); color: var(--beam); padding: 16px 30px; font-size: 15.5px; }
.btn-white:hover { background: var(--gold-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--teal);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { gap: 12px; }
.link-arrow svg { flex-shrink: 0; }
.link-gold { color: var(--gold); }

/* ---------- MENU MOBILE ---------- */
.mobile-menu-btn {
  display: none;
  background: transparent; border: none; cursor: pointer; color: var(--beam);
  width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0;
}
.mobile-menu-btn svg { width: 24px; height: 24px; }
.mobile-menu-btn .icon-close { display: none; }

@media (max-width: 1240px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--plaster);
    padding: 8px 24px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(53, 33, 24, 0.25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  header.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  header.menu-open .mobile-menu-btn .icon-menu { display: none; }
  header.menu-open .mobile-menu-btn .icon-close { display: block; }
  .nav-links a.section-link {
    font-family: var(--serif); font-size: 20px; color: var(--beam);
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .nav-links a.section-link.current { border-bottom-color: var(--line); }
  .lang-switch { padding: 22px 0 0; border-left: none; gap: 20px; }
  .lang-switch a { font-size: 14px; }
}

@media (max-width: 720px) {
  .nav { min-height: 60px; padding: 8px 16px; gap: 12px; }
  .nav-right { gap: 8px; }
  .brand-name { font-size: 14px; letter-spacing: 0.1em; }
  .brand-cin { font-size: 9px; margin-top: 4px; }
  .btn-airbnb { padding: 9px 15px; font-size: 13px; gap: 6px; }
  .btn-airbnb .btn-text-full { display: none; }
  .btn-airbnb .btn-text-mobile { display: inline; }
  .btn-airbnb svg { width: 13px; height: 13px; }
}
@media (max-width: 380px) {
  .nav { padding: 8px 12px; }
  .brand-name { font-size: 13px; letter-spacing: 0.06em; }
  .btn-airbnb { padding: 8px 12px; }
  .mobile-menu-btn { width: 36px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  color: var(--night-text);
  overflow: hidden;
}
.hero-picture { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 16, 11, 0.55) 0%, rgba(24, 16, 11, 0.15) 60%, rgba(24, 16, 11, 0) 100%),
    linear-gradient(180deg, rgba(24, 16, 11, 0) 35%, rgba(24, 16, 11, 0.75) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto;
  padding: 0 24px 64px;
}
.hero-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin-bottom: 22px;
  font-size: 14px; color: rgba(251, 246, 236, 0.88);
}
.hero-proof b { font-weight: 600; color: var(--night-text); }
.hero-proof-star { color: var(--gold); }
.hero-proof .sep { opacity: 0.5; }
.hero-proof-top { color: var(--gold); font-weight: 600; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 66px); line-height: 1.06;
  max-width: 800px; margin-bottom: 20px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 17px; max-width: 520px; color: rgba(251, 246, 236, 0.86); }

/* Widget prenotazione */
.hero-booking { margin-top: 30px; max-width: 820px; }
.booking-widget {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); color: var(--beam);
  border-radius: 100px; padding: 8px 8px 8px 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.booking-widget:focus-within { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(210, 157, 79, 0.6); }
.bw-dates-group { display: flex; align-items: center; gap: 16px; flex: 1.6; }
.bw-actions-group { display: flex; align-items: center; gap: 16px; flex: 1.2; }
.bw-field { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bw-field label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.bw-field:focus-within label { color: var(--teal); }
.bw-field input, .bw-field select {
  border: none; background: transparent; outline: none; padding: 0; margin: 0;
  font-family: var(--sans); font-size: 15px; color: var(--beam); cursor: pointer;
}
.bw-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.55; }
.bw-divider { width: 1px; height: 32px; background: var(--line); flex-shrink: 0; }
.bw-btn { padding: 14px 26px; font-size: 15px; }

@media (max-width: 768px) {
  .hero { min-height: 100svh; }
  .hero-img { object-position: 20% center; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(20, 14, 10, 0.08) 0%, rgba(20, 14, 10, 0) 35%,
      rgba(20, 14, 10, 0.25) 58%, rgba(20, 14, 10, 0.84) 88%, rgba(20, 14, 10, 0.94) 100%);
  }
  .hero-content { padding: 0 16px 16px; }
  .hero-proof { font-size: 12px; gap: 2px 7px; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(24px, 6.4vw, 32px); line-height: 1.12; margin-bottom: 8px; }
  .hero p.lead { font-size: 13.5px; line-height: 1.4; }
  .hero-booking { margin-top: 12px; max-width: 100%; }
  .booking-widget {
    flex-direction: column; align-items: stretch; gap: 6px;
    border-radius: 14px; padding: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .bw-dates-group {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px;
    background: rgba(53, 33, 24, 0.04); border-radius: 10px; padding: 6px 10px;
  }
  .bw-divider-dates { height: 22px; }
  .bw-divider-main { display: none; }
  .bw-actions-group { gap: 6px; }
  .bw-field-guests {
    flex: 0 0 86px;
    background: rgba(53, 33, 24, 0.04); border-radius: 10px; padding: 6px 10px;
  }
  .bw-field label { font-size: 9px; margin-bottom: 0; }
  .bw-field input, .bw-field select { font-size: 13.5px; font-weight: 500; width: 100%; min-height: 20px; }
  .bw-btn { flex: 1; padding: 10px 12px; font-size: 14px; min-height: 42px; border-radius: 10px; }
}

/* ---------- SEZIONI ---------- */
section { padding: 104px 0; scroll-margin-top: 72px; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12;
  margin-top: 14px; text-wrap: balance;
}
.section-head p { color: var(--beam-soft); margin-top: 16px; }
.section-head-split {
  max-width: none;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end;
}
.section-head-split > p { margin: 0; justify-self: end; max-width: 380px; }
@media (max-width: 760px) {
  section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head-split { grid-template-columns: 1fr; }
  .section-head-split > p { justify-self: start; }
}

/* ---------- IN BREVE ---------- */
.brief { background: var(--plaster); padding: 88px 0 24px; }
.brief-head { max-width: 720px; margin-bottom: 40px; }
.brief-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin-top: 14px; }
.brief-summary { color: var(--beam-soft); margin-top: 16px; }
.brief-grid {
  margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px;
}
.brief-grid > div { border-top: 1px solid var(--line); padding: 18px 0 24px; }
.brief-grid dt { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.brief-grid dd { margin: 0; font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .brief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .brief { padding: 60px 0 8px; }
  .brief-grid { grid-template-columns: 1fr; }
  .brief-grid > div {
    display: grid; grid-template-columns: 104px 1fr; gap: 14px;
    padding: 14px 0; align-items: baseline;
  }
  .brief-grid > div:last-child { border-bottom: 1px solid var(--line); }
  .brief-grid dt { margin: 0; font-size: 12px; }
  .brief-grid dd { font-size: 14.5px; }
}

/* ---------- PRESENTAZIONE ---------- */
.presenta { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.presenta-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin: 14px 0 0; text-wrap: balance; }
.presenta-copy p { color: var(--beam-soft); margin: 0 0 16px; }
.presenta-copy p.lede {
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45;
  color: var(--beam); margin: 26px 0 24px;
}
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; min-width: 0; }
.stat-value {
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1;
  color: var(--teal); margin-bottom: 6px; white-space: nowrap;
}
.stat-value .unit { font-size: 0.8em; }
.stat-label { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.presenta-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
figcaption {
  margin-top: 12px;
  font-family: var(--serif); font-style: italic; font-size: 14.5px; line-height: 1.4;
  color: var(--muted);
}
@media (max-width: 900px) {
  .presenta { grid-template-columns: 1fr; }
  .presenta-img { order: -1; }
  .presenta-img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) {
  .presenta-copy p.lede { font-size: 18px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}

/* ---------- GALLERIA ---------- */
.gallery-bleed { background: var(--plaster-deep); }
.gallery {
  display: grid;
  grid-template-columns: 446fr 258fr 352fr;
  gap: 36px 20px;
}
.g-fig { display: flex; flex-direction: column; min-width: 0; }
.g-salotto { grid-column: 1 / 3; grid-row: 1; }
.g-camera  { grid-column: 1; grid-row: 2; }
.g-cucina  { grid-column: 2; grid-row: 2; }
.g-bagno   { grid-column: 3; grid-row: 1 / 3; }
.gallery-item {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--plaster);
  cursor: zoom-in;
}
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }
.g-salotto .gallery-item { aspect-ratio: 728 / 486; }
.g-camera  .gallery-item { aspect-ratio: 446 / 310; }
.g-cucina  .gallery-item,
.g-bagno   .gallery-item { flex: 1; min-height: 0; }
.gallery figcaption { font-size: 14px; }
.gallery-room { font-style: normal; color: var(--beam); }
.gallery-room::after { content: " —"; color: var(--muted); }

.gallery-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.gallery-foot p { color: var(--beam-soft); font-size: 15px; max-width: 440px; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .g-salotto, .g-bagno { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .g-camera, .g-cucina { grid-column: auto !important; grid-row: auto !important; }
  .g-salotto .gallery-item { aspect-ratio: 4 / 3; }
  .g-bagno .gallery-item { aspect-ratio: 4 / 5; flex: none; }
  .g-camera .gallery-item, .g-cucina .gallery-item { aspect-ratio: 1 / 1; flex: none; }
  .gallery figcaption { font-size: 13px; margin-top: 8px; }
  .g-camera .gallery-sub, .g-cucina .gallery-sub,
  .g-camera .gallery-room::after, .g-cucina .gallery-room::after { display: none; }
  .g-bagno { order: 4; }
}

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(20, 14, 10, 0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; visibility: visible; }
.lightbox-content { position: relative; max-width: 90vw; }
.lightbox-content img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 2px; }
.lb-btn {
  position: absolute; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 14, 10, 0.6); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-btn:hover { background: var(--teal); border-color: var(--teal); }
.lb-close { position: fixed; top: 20px; right: 20px; }
.lb-prev { left: -60px; top: calc(50% - 22px); }
.lb-next { right: -60px; top: calc(50% - 22px); }
.lb-caption {
  position: absolute; left: 0; right: 0; bottom: -40px; text-align: center;
  font-family: var(--serif); font-style: italic; color: var(--night-soft); font-size: 15px;
}
body.lightbox-open { scrollbar-gutter: stable; overflow: hidden; }
@media (max-width: 960px) {
  .lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-close { top: 12px; right: 12px; }
  .lightbox-content { max-width: 96vw; }
  .lightbox-content img { max-height: calc(100vh - 160px); }
}

/* ---------- RECENSIONI ---------- */
.recensioni { background: var(--plaster); }
.rec-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.rec-score h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin-top: 14px; max-width: 14ch; }
.score { display: flex; flex-direction: column; margin-top: 36px; }
.score-num { font-family: var(--serif); font-size: clamp(72px, 9vw, 104px); line-height: 0.95; color: var(--teal); }
.score-stars { color: var(--gold); font-size: 17px; letter-spacing: 4px; margin: 12px 0 6px; }
.score-sub { font-size: 14px; color: var(--muted); }
.rec-sub { margin-top: 22px; color: var(--beam-soft); font-size: 15px; max-width: 400px; }
.rec-sub strong, .rec-sub b { color: var(--beam); font-weight: 600; }
.cats { margin: 30px 0 0; border-top: 1px solid var(--line); }
.cats > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.cats dt { font-size: 14px; color: var(--beam-soft); }
.cats dd { margin: 0; font-family: var(--serif); font-size: 16px; }

.quotes { display: flex; flex-direction: column; }
.quote { margin: 0; padding: 34px 0; border-top: 1px solid var(--line); }
.quote:first-child { padding-top: 0; border-top: none; }
.quote p {
  font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.5; color: var(--beam);
}
.quote footer { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.quote cite { font-style: normal; font-weight: 600; font-size: 14px; }
.quote footer span { font-size: 13px; color: var(--muted); }

.host {
  display: flex; align-items: center; gap: 22px;
  margin-top: 72px; padding: 32px 0; border-top: 1px solid var(--line);
}
.host-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.host-quote { font-family: var(--serif); font-size: 18px; line-height: 1.5; max-width: 760px; }
.host-quote b { font-weight: 500; }
.host-meta { margin-top: 10px; font-size: 13px; color: var(--muted); }

.note-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.note-row p { color: var(--beam-soft); font-size: 15px; max-width: 460px; }

@media (max-width: 900px) {
  .rec-grid { grid-template-columns: 1fr; }
  .rec-score h2 { max-width: none; }
}
@media (max-width: 560px) {
  .host { align-items: flex-start; gap: 16px; margin-top: 48px; }
  .host-img { width: 56px; height: 56px; }
  .host-quote { font-size: 16px; }
  .quote { padding: 26px 0; }
}

/* ---------- SERVIZI ---------- */
#servizi { background: var(--plaster-deep); }
.servizi-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px;
}
.servizio { border-top: 1px solid var(--line-strong); padding: 26px 0 34px; }
.servizio svg { width: 22px; height: 22px; color: var(--teal); margin-bottom: 14px; display: block; }
.servizio h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.servizio p { font-size: 14.5px; color: var(--beam-soft); }
@media (max-width: 860px) { .servizi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (max-width: 560px) {
  .servizi-grid { grid-template-columns: 1fr; }
  .servizio {
    display: grid; grid-template-columns: 22px 1fr; column-gap: 14px;
    padding: 18px 0;
  }
  .servizio:last-child { border-bottom: 1px solid var(--line-strong); }
  .servizio svg { grid-row: 1 / 3; width: 20px; height: 20px; margin: 2px 0 0; }
  .servizio h3 { font-size: 17px; margin-bottom: 2px; }
  .servizio p { font-size: 14px; }
}

/* ---------- POSIZIONE (scura) ---------- */
.luogo { background: var(--beam); color: var(--night-text); }
.luogo .eyebrow { color: var(--gold); }
.luogo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.luogo-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin: 14px 0 22px; text-wrap: balance; }
.luogo-intro { color: var(--night-soft); max-width: 460px; }
.ztl { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--night-line); max-width: 460px; }
.ztl h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.ztl p { font-size: 14.5px; color: var(--night-soft); margin-bottom: 16px; }
.ztl .link-arrow { font-size: 14px; }
.luogo-list { list-style: none; padding: 0; margin: 0; }
.luogo-list li { padding: 20px 0; border-bottom: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 4px; }
.luogo-list li:first-child { padding-top: 0; }
.luogo-list .time { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); }
.luogo-list .place b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; margin-bottom: 4px; }
.luogo-list .place span { font-size: 14.5px; color: var(--night-soft); }
@media (max-width: 900px) { .luogo-grid { grid-template-columns: 1fr; } }

/* ---------- GUIDE ---------- */
.guides { background: var(--plaster); }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.guide-card {
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--line-strong); padding-top: 24px;
}
.guide-card-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.guide-card h3 { font-size: 23px; line-height: 1.2; transition: color 0.2s ease; }
.guide-card:hover h3 { color: var(--teal); }
.guide-card p { color: var(--beam-soft); font-size: 15px; flex: 1; }
.guide-card-note { font-style: italic; color: var(--muted); }
.guide-card-link { font-weight: 600; font-size: 14px; color: var(--teal); margin-top: 4px; }
.guide-card-link span { display: inline-block; transition: transform 0.2s ease; }
.guide-card:hover .guide-card-link span { transform: translateX(4px); }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--plaster-deep); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.accordion { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-title { margin: 0; font: inherit; letter-spacing: normal; }
.acc-header {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 20px 0; font-family: var(--serif); font-size: 18px; line-height: 1.35; color: var(--beam);
  transition: color 0.2s ease;
}
.acc-header:hover { color: var(--teal); }
.acc-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal); transition: transform 0.3s var(--ease); }
.acc-item.active .acc-icon { transform: rotate(45deg); }
.acc-content { padding: 0 40px 22px 0; }
.acc-content p { color: var(--beam-soft); font-size: 15.5px; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .acc-header { font-size: 17px; padding: 18px 0; }
  .acc-content { padding-right: 0; }
}

/* ---------- CTA FINALE ---------- */
.cta-final { background: var(--beam); color: var(--night-text); padding: 112px 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 72px; align-items: end; }
.cta-final .eyebrow { color: var(--gold); }
.cta-final h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08; margin-top: 16px; text-wrap: balance; }
.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-final .fine { font-size: 13.5px; color: var(--night-soft); max-width: 340px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cta-final { padding: 76px 0; }
  .cta-action { align-items: stretch; }
  .btn-white { white-space: normal; text-align: center; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--beam); color: var(--night-soft); font-size: 13.5px;
  padding: 0 0 44px;
}
.site-footer .wrap { border-top: 1px solid var(--night-line); padding-top: 44px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.f-brand { display: flex; flex-direction: column; gap: 4px; }
.f-name { font-family: var(--serif); font-size: 21px; color: var(--night-text); }
.f-addr { font-size: 13px; }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.f-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--night-text); font-weight: 500;
  border-bottom: 1px solid var(--night-line); padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.f-link svg { color: var(--gold); }
.f-link:hover { color: var(--gold); border-color: var(--gold); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; }
.foot-links a { color: var(--night-soft); transition: color 0.2s ease; }
.foot-links a:hover { color: var(--gold); }
.footer-legal {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--night-line);
  font-size: 12.5px;
}
.footer-cin { color: var(--night-text); font-weight: 600; letter-spacing: 0.06em; font-feature-settings: "tnum"; user-select: all; }
.site-footer .legal { color: rgba(251, 246, 236, 0.5); line-height: 1.6; max-width: 640px; }
@media (max-width: 860px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .foot-top { flex-direction: column; align-items: flex-start; }
  .f-actions { flex-direction: column; gap: 14px; }
}

/* ---------- BARRA PRENOTAZIONE (MOBILE) ---------- */
.sticky-booking-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform 0.3s var(--ease);
}
.sticky-booking-bar.visible { transform: none; }
.sbb-title { font-family: var(--serif); font-size: 16px; }
.sbb-rating { font-size: 13px; color: var(--beam-soft); }
.sbb-rating span { color: var(--gold); }
.sbb-btn { min-height: 44px; }
@media (min-width: 861px) { .sticky-booking-bar { display: none !important; } }

/* ---------- IMMAGINE NON DISPONIBILE ---------- */
.img-fallback { background: var(--plaster-deep); min-height: 200px; }

/* ---------- PAGINE GUIDA E PRIVACY ---------- */
.article-main { padding: 56px 0 0; }
.article { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 32px; }
.breadcrumb a { border-bottom: 1px solid var(--line-strong); }
.breadcrumb a:hover { color: var(--teal); border-color: var(--teal); }
.article-head h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; margin: 14px 0 18px; text-wrap: balance; }
.article-lede {
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5;
  color: var(--beam-soft); margin: 0 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.article-body h2 { font-size: clamp(23px, 3vw, 29px); line-height: 1.2; margin: 44px 0 14px; }
.article-body h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 24px 0 6px; }
.article-body p, .article-body li { font-size: 16.5px; line-height: 1.7; color: var(--beam-soft); }
.article-body strong { color: var(--beam); }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--teal); border-bottom: 1px solid currentColor; }
.article-body a:hover { color: var(--teal-deep); }
.article-cta {
  margin: 64px 0 0; padding: 36px;
  background: var(--beam); color: var(--night-text); border-radius: var(--radius);
}
.article-cta h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin-bottom: 12px; }
.article-cta p { color: var(--night-soft); font-size: 15px; margin: 0 0 24px; }
.related { padding: 88px 0; }
.related-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 32px; }
.article-main + .site-footer { margin-top: 96px; }
@media (max-width: 860px) { .page .site-footer { padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 560px) {
  .article-main { padding-top: 36px; }
  .article-cta { padding: 26px 20px; }
  .article-cta .btn-primary { white-space: normal; }
}

/* ---------- SUGGERIMENTO LINGUA ---------- */
.lang-hint {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  background: var(--beam); color: var(--night-text); font-size: 14px;
  padding: 10px 12px 10px 18px; border-radius: 100px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.lang-hint a { font-weight: 600; color: var(--gold); white-space: nowrap; }
.lang-hint button {
  background: transparent; border: none; color: inherit; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%; opacity: 0.7;
}
.lang-hint button:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
@media (max-width: 860px) {
  .lang-hint {
    left: 16px; right: 16px; bottom: auto; top: 72px; transform: none;
    max-width: none; border-radius: 12px; justify-content: space-between;
  }
  .lang-hint span { flex: 1; }
}
