/* ===========================================================
   Casa Stella · foglio di stile condiviso
   Identità: rosso casa, verde abete, giallo sole, notte stellata,
   pietra e mattoni delle volte.
   =========================================================== */

/* ---------- 1. Token ---------- */
:root {
  --red: #8f3a2c;            /* rosso della casa, sicuro su crema */
  --red-deep: #742c21;       /* hover del rosso */
  --red-bright: #b5503c;     /* solo decorativo */
  --pine: #2f4a2d;           /* verde abete, sicuro su crema */
  --pine-bright: #4c7049;    /* decorativo */
  --sun: #e2a633;            /* giallo sole, decorativo */
  --sun-soft: #f6dfae;       /* sfondo tenue del sole */
  --night: #232f33;          /* notte del logo */
  --night-deep: #1a2427;
  --gold: #e8c06a;           /* testo chiaro su notte, 8:1 */
  --cream: #faf4e8;
  --stone: #efe6d2;
  --line: #d9cdb4;
  --ink: #2b2620;
  --ink-soft: #5a5148;

  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 18px;
  --radius-s: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-s: 0 2px 8px rgba(43, 38, 32, 0.08);
  --shadow-m: 0 12px 32px rgba(43, 38, 32, 0.16);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--red); text-decoration: underline; text-underline-offset: 0.16em; }
a:hover { color: var(--pine); text-decoration-thickness: 2px; }

:target { scroll-margin-top: 5rem; }

::selection { background: var(--sun-soft); color: var(--ink); }

/* ---------- 3. Focus visibile ---------- */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.night-section :focus-visible,
.hero :focus-visible,
.lang-page :focus-visible {
  outline-color: var(--cream);
}

/* ---------- 4. Tipografia base ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.8rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 2.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { max-width: 68ch; }

strong { font-weight: 700; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  top: 0; left: 1rem;
  z-index: 100;
  transform: translateY(-120%);
  background: var(--night);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--cream); }

/* ---------- 6. Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), 68rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3rem, 2rem + 6vw, 5.5rem);
}

.section--stone { background: var(--stone); }

.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 1rem + 3vw, 3rem); }
.section-head .lead { margin-top: 0.9rem; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker::before {
  content: "";
  width: 1.8em;
  height: 2px;
  background: var(--sun);
  flex: none;
}
.night-section .kicker { color: var(--gold); }

.section-head h2 { margin-top: 0.6rem; }

.stack > * + * { margin-top: 1rem; }

.center { text-align: center; }
.center .kicker { justify-content: center; }
.center p { margin-inline: auto; }

/* ---------- 7. Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font: 600 clamp(1rem, 0.95rem + 0.25vw, 1.075rem)/1.2 var(--font-sans);
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--red); color: var(--cream); }
.btn--primary:hover { background: var(--red-deep); color: var(--cream); box-shadow: var(--shadow-m); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--stone); color: var(--ink); border-color: var(--pine); }

.btn--light { background: var(--cream); color: var(--night); }
.btn--light:hover { background: #ffffff; color: var(--night); box-shadow: var(--shadow-m); }

.btn--ghost-light { border-color: var(--gold); color: var(--cream); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cream); color: var(--cream); background: rgba(250, 244, 232, 0.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- 8. Header e navigazione ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  padding-block: 0.6rem;
}

.brand {
  order: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
  padding: 0.2rem 0.2rem;
  border-radius: var(--radius-s);
}
.brand:hover { text-decoration: none; }

.brand-logo {
  width: clamp(42px, 10vw, 52px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--sun);
  flex: none;
}

.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--ink);
}
.brand-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
@media (max-width: 460px) { .brand-tag { display: none; } }

.site-nav { flex-basis: 100%; order: 4; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  font-family: var(--font-sans);
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--red); border-bottom-color: var(--sun); }
.site-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.lang-switch {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--pine); color: var(--pine); }
.lang-switch .icon { width: 1.1em; height: 1.1em; }

/* Menu mobile: attivo solo con JavaScript */
.nav-toggle {
  order: 3;
  display: none;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 0.9em;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font: 700 0.8rem/1 var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--red); color: var(--red); }

.nav-toggle-box { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle-box .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

@media (max-width: 820px) {
  html.js .nav-toggle { display: inline-flex; }
  html.js .site-nav { display: none; }
  html.js .site-header[data-nav="open"] .site-nav { display: block; }

  html.js .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0 0.8rem;
  }
  html.js .site-nav a {
    display: block;
    padding: 0.8rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-bottom-width: 1px;
  }
  html.js .site-nav li:last-child a { border-bottom: none; }

  html.js .site-header[data-nav="open"] .nav-toggle-box .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  html.js .site-header[data-nav="open"] .nav-toggle-box .bar:nth-child(2) { opacity: 0; }
  html.js .site-header[data-nav="open"] .nav-toggle-box .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (min-width: 821px) {
  .header-inner { padding-block: 0.75rem; }
  .site-nav { order: 2; flex-basis: auto; }
  .site-nav ul { gap: clamp(0.8rem, 2vw, 1.5rem); }
  .lang-switch { order: 3; }
}

/* ---------- 9. Hero (home) ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92vh, 44rem);
  background: var(--night-deep);
  color: var(--cream);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 28, 26, 0.9) 0%, rgba(20, 28, 26, 0.5) 45%, rgba(20, 28, 26, 0.28) 75%, rgba(20, 28, 26, 0.5) 100%),
    linear-gradient(to right, rgba(20, 28, 26, 0.55) 0%, rgba(20, 28, 26, 0.08) 70%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(4.5rem, 12vw, 8rem) clamp(2.5rem, 6vw, 4rem);
}
.hero-logo {
  width: clamp(60px, 14vw, 84px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--sun);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.1rem;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-kicker::before { content: ""; width: 1.8em; height: 2px; background: var(--sun); flex: none; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 1.1rem + 7vw, 4.6rem);
  margin-top: 0.6rem;
}
.hero .lead {
  color: #f3ead9;
  max-width: 36rem;
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
}
.hero .btn-row { margin-top: 1.75rem; }

/* ---------- 10. Hero (pagine interne) ---------- */
.page-hero {
  position: relative;
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
}
.page-hero-inner { padding-block: clamp(2.75rem, 2rem + 5vw, 4.5rem); position: relative; }
.page-hero .star-field { opacity: 0.5; }
.page-hero h1 { color: var(--cream); margin-top: 0.6rem; }
.page-hero .kicker { color: var(--gold); }
.page-hero .lead { color: #e7ddca; margin-top: 0.9rem; }

/* ---------- 11. Campo di stelle ---------- */
.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 22px 34px, rgba(250, 244, 232, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 120px 90px, rgba(250, 244, 232, 0.65) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 200px 30px, rgba(250, 244, 232, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 250px 160px, rgba(250, 244, 232, 0.55) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 70px 190px, rgba(250, 244, 232, 0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 160px 220px, rgba(250, 244, 232, 0.6) 50%, transparent 51%);
  background-size: 290px 290px;
}

/* ---------- 12. Sezione notturna ---------- */
.night-section {
  position: relative;
  background: var(--night);
  color: #e7ddca;
  overflow: hidden;
}
.night-section h2, .night-section h3, .night-section h4 { color: var(--cream); }
.night-section .lead { color: #cfc4ae; }
.night-section a { color: var(--gold); }
.night-section strong { color: var(--cream); }

/* ---------- 13. Fascia di dati ---------- */
.facts {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.facts-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding-block: clamp(1.25rem, 1rem + 2vw, 2rem);
}
@media (min-width: 700px) { .facts-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.fact .icon { color: var(--red); width: 1.5rem; height: 1.5rem; flex: none; }
.fact strong { display: block; font-size: 1rem; }

/* ---------- 14. Sezioni divise testo + immagine ---------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: center;
}
@media (min-width: 780px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--rev > .split-media { order: -1; }
}
.split-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
}
.split-copy .btn-row { margin-top: 1.6rem; }
.split-copy p + p { margin-top: 1rem; }

/* ---------- 15. Card generiche e card icona ---------- */
.card-grid {
  display: grid;
  gap: clamp(0.9rem, 0.6rem + 1.5vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 1rem + 1.5vw, 1.6rem);
  box-shadow: var(--shadow-s);
}
.night-section .card,
.section--stone .card { background: var(--cream); }

.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 1rem + 1.5vw, 1.6rem);
  box-shadow: var(--shadow-s);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--sun-soft);
  color: var(--pine);
  margin-bottom: 0.9rem;
}
.icon-bubble .icon { width: 1.6rem; height: 1.6rem; }

.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--ink-soft); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 16. Chip ("incluso nel prezzo") ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1.6rem; }
.chip-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); width: 100%; }
@media (min-width: 560px) { .chip-label { width: auto; margin-right: 0.5rem; } }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: var(--sun-soft);
  border: 1px solid var(--sun);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4em 0.95em;
  font-size: 0.88rem;
  font-weight: 600;
}
.chip .icon { width: 1em; height: 1em; color: var(--pine); }

/* ---------- 17. Galleria ---------- */
.gallery {
  display: grid;
  gap: clamp(0.9rem, 0.6rem + 1.5vw, 1.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  grid-auto-flow: dense;
}
.gallery figure {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.gallery .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery figure:hover .photo img,
.gallery figure:focus-within .photo img { transform: scale(1.05); }
.gallery figcaption {
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
@media (min-width: 640px) {
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-wide .photo { aspect-ratio: 16 / 9; }
  .gallery .g-tall .photo { aspect-ratio: 3 / 4; }
}

/* ---------- 18. Card prezzo ---------- */
.rate-grid {
  display: grid;
  gap: clamp(0.9rem, 0.6rem + 1.5vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.rate-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1.5vw, 1.9rem);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
}
.rate-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(to right, var(--red), var(--sun));
}
.rate-card h3 { margin-bottom: 0.35rem; }
.rate-stay { font-size: 0.92rem; color: var(--ink-soft); }
.rate-price {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.rate-price span { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.rate-note { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.rate-card .btn-row { margin-top: auto; padding-top: 1.4rem; }

/* ---------- 19. Tabella prezzi ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--cream); box-shadow: var(--shadow-s); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 34rem; }
.price-table caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.2rem 0.6rem;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.price-table th, .price-table td { padding: 0.85rem 1.2rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.price-table thead th {
  background: var(--stone);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: none;
}
.price-table tbody th { font-weight: 700; font-family: var(--font-serif); font-size: 1.02rem; }
.price-table .price { font-weight: 700; color: var(--red); white-space: nowrap; }
.price-table .price small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.8rem; }

/* ---------- 20. Nota / avvertenza ---------- */
.note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--sun-soft);
  border: 1px solid var(--sun);
  border-left: 5px solid var(--sun);
  border-radius: var(--radius-s);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  margin-top: 1.5rem;
}
.note .icon { color: var(--pine); width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; }

/* ---------- 21. Elenco con icone (posizione, contatti) ---------- */
.icon-list { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .icon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.icon-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.icon-list .icon { color: var(--red); width: 1.6rem; height: 1.6rem; margin-top: 0.2rem; }
.icon-list h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.icon-list p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- 22. Blocco contatti ---------- */
.contact-card {
  background: var(--night);
  color: #e7ddca;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 2vw, 2.2rem);
  box-shadow: var(--shadow-m);
  position: relative;
  overflow: hidden;
}
.contact-card .icon-bubble { background: rgba(232, 192, 106, 0.16); color: var(--gold); }
.contact-card h3 { color: var(--cream); }
.contact-card p { color: #cfc4ae; }
.contact-card a { color: var(--gold); }
.contact-card .contact-value { font-size: 1.1rem; color: var(--cream); font-weight: 600; }

.contact-grid { display: grid; gap: clamp(0.9rem, 0.6rem + 1.5vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

/* ---------- 23. Testo lungo (prosa) ---------- */
.prose { max-width: 66ch; }
.prose p + p, .prose ul + p, .prose h2 + p, .prose h3 + p, .prose dl + p { margin-top: 1rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul.checklist { margin-top: 1rem; display: grid; gap: 0.55rem; }
.prose ul.checklist li { position: relative; padding-left: 1.9rem; }
.prose ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pine);
  font-weight: 700;
}
.prose strong { color: var(--ink); }

/* Griglia dotazioni (dl) */
.amenity-grid {
  display: grid;
  gap: clamp(0.9rem, 0.6rem + 1.5vw, 1.3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  margin-top: 1.4rem;
}
.amenity-grid > div {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1.1rem 1.25rem;
}
.amenity-grid dt {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.amenity-grid dd { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- 24. Sezione CTA ---------- */
.cta-section { text-align: left; }
.cta-inner { position: relative; max-width: 46rem; }
.cta-inner .btn-row { margin-top: 1.8rem; }

/* ---------- 25. Footer ---------- */
.site-footer {
  background: var(--night-deep);
  color: #cfc4ae;
  border-top: 3px solid var(--sun);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 2rem + 4vw, 3.5rem);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }

.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-logo {
  width: 64px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex: none;
}
.footer-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: var(--cream); }
.footer-sub { font-size: 0.9rem; margin-top: 0.35rem; }

.footer-nav h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-nav a { color: #e7ddca; text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(250, 244, 232, 0.15);
  padding-block: 1.1rem;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}
.footer-bottom p { max-width: none; }

/* ---------- 26. Pagina scelta lingua ---------- */
.lang-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--night-deep);
  background-image:
    radial-gradient(90vmax 60vmax at 85% -10%, rgba(226, 166, 51, 0.14), transparent 60%),
    radial-gradient(70vmax 50vmax at 0% 110%, rgba(76, 112, 73, 0.18), transparent 60%);
  color: var(--cream);
}
.lang-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.8px 1.8px at 26px 40px, rgba(250, 244, 232, 0.85) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 140px 96px, rgba(250, 244, 232, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 230px 34px, rgba(250, 244, 232, 0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 285px 180px, rgba(250, 244, 232, 0.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 80px 210px, rgba(250, 244, 232, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 180px 250px, rgba(250, 244, 232, 0.5) 50%, transparent 51%);
  background-size: 320px 320px;
}
.lang-main {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 3rem + 5vw, 4rem) var(--gutter);
  text-align: center;
}
.lang-inner { max-width: 34rem; }
.lang-logo {
  width: clamp(110px, 28vw, 150px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid var(--sun);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  margin-inline: auto;
}
.lang-welcome {
  margin-top: 1.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.lang-main h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 1.2rem + 8vw, 4.5rem);
  margin-top: 0.5rem;
}
.lang-tag { color: #cfc4ae; margin-top: 0.8rem; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem); }
.lang-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  margin-top: 2.4rem;
  text-align: left;
}
.lang-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lang-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4); color: var(--ink); }
.lang-card strong { display: block; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; }
.lang-card span { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.15rem; }
.lang-card .icon { width: 1.6rem; height: 1.6rem; color: var(--red); flex: none; transition: transform 0.3s var(--ease); }
.lang-card:hover .icon { transform: translateX(5px); }

.lang-foot {
  position: relative;
  padding: 1.2rem var(--gutter) 1.6rem;
  text-align: center;
  font-size: 0.82rem;
  color: #a99e89;
}

/* ---------- 27. Utility ---------- */
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 1.75rem; }
.mt-l { margin-top: 2.75rem; }
.text-soft { color: var(--ink-soft);; }
.nowrap { white-space: nowrap; }

/* ---------- 28. Movimento ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes slow-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  html.js [data-reveal].is-visible { opacity: 1; transform: none; }
  html.js [data-reveal="1"] { transition-delay: 0.08s; }
  html.js [data-reveal="2"] { transition-delay: 0.16s; }
  html.js [data-reveal="3"] { transition-delay: 0.24s; }

  .hero-inner > * { animation: rise 0.85s var(--ease) both; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.1s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.2s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.3s; }
  .hero-img { animation: slow-zoom 2.6s var(--ease) both; }

  .lang-logo { animation: rise 0.9s var(--ease) both; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gallery figure:hover .photo img { transform: none; }
}

/* ---------- 29. Stampa ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .nav-toggle, .star-field { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; }
  .hero-img, .hero-scrim { display: none; }
  .hero, .night-section, .page-hero { background: #fff; color: #000; }
}