/* ==========================================================
   Casa Cesenatico — stile
   Palette presa dalla casa: petrolio della cucina, verde pineta,
   giallo sole, rosso ombrellone. Motivo guida: l'arco della portafinestra.
   ========================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wdth-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --abisso: #0c3b47;
  --abisso-2: #082b34;
  --mare: #1e7482;
  --pineta: #2c5e45;
  --sole: #f5b83d;
  --ombrellone: #d93a24;
  --ombrellone-scuro: #b92e1a;
  --schiuma: #edf3f0;
  --bianco: #ffffff;
  --inchiostro: #11262d;
  --muted: #47606a;

  --f-display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --arco: 999px 999px 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bianco);
  color: var(--inchiostro);
  font-family: var(--f-text);
  font-size: 1.1875rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--abisso); margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.amenities .ic { width: 1.6rem; height: 1.6rem; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--abisso); color: #fff; padding: .7rem 1rem; border-radius: 8px;
  font-family: var(--f-display); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--mare); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sole); }

/* ---------- Titoli ---------- */
.h2 {
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h3 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.lede { font-size: 1.35rem; line-height: 1.5; color: var(--muted); max-width: 38ch; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--ombrellone); color: #fff; }
.btn-primary:hover { background: var(--ombrellone-scuro); }
.btn-ghost { border-color: var(--abisso); color: var(--abisso); background: transparent; }
.btn-ghost:hover { background: var(--abisso); color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 243, 240, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 59, 71, .12);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--abisso); }
.brand .logo { width: 34px; height: auto; flex: none; }
.brand-name {
  display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
  line-height: 1; letter-spacing: -0.02em;
}
.brand-sub { display: block; font-style: italic; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.nav { margin-left: auto; display: flex; gap: 1.6rem; }
.nav a {
  font-family: var(--f-display); font-weight: 600; font-size: .96rem;
  color: var(--abisso); text-decoration: none; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--ombrellone); }
.header-tools { display: flex; align-items: center; gap: .75rem; margin-left: 0; }
.nav + .header-tools { margin-left: .25rem; }

.lang { position: relative; display: inline-flex; align-items: center; color: var(--abisso); }
.lang .ic { position: absolute; left: .7rem; pointer-events: none; }
.lang select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--abisso);
  background: #fff; border: 2px solid rgba(12, 59, 71, .25); border-radius: 999px;
  padding: .5rem 1.9rem .5rem 2.3rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230c3b47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center;
}
.lang select:hover { border-color: var(--abisso); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: .6rem; }
  .brand { min-width: 0; gap: .55rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { display: none; }
  .header-tools { gap: .4rem; }
  .header-tools .btn { display: none; }
  .lang select { padding: .45rem 1.6rem .45rem 2.1rem; font-size: .88rem; background-position: right .6rem center; }
  .lang .ic { left: .6rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--schiuma); overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(6rem, 10vw, 9rem);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.hero h1 {
  font-weight: 800; font-stretch: 78%;
  font-size: clamp(3rem, 7.4vw, 6.3rem); line-height: .95; letter-spacing: -0.03em;
  text-wrap: balance; margin-bottom: 1.4rem;
}
.hero .lede { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--abisso); }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts .ic { color: var(--mare); }

.portal { position: relative; width: 100%; max-width: 430px; margin-inline: auto; }
.portal::before {
  content: ""; position: absolute; inset: -14px -14px 0 -14px;
  border: 3px solid var(--abisso); border-bottom: 0; border-radius: var(--arco);
  pointer-events: none;
}
.arch {
  margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--arco); background: var(--abisso);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.sun {
  position: absolute; z-index: 2; top: -2.6rem; right: -2.6rem;
  width: clamp(104px, 15vw, 148px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sole); color: var(--abisso);
  display: grid; place-content: center; text-align: center;
  font-family: var(--f-display); line-height: 1;
  transform: rotate(8deg); box-shadow: 0 0 0 9px rgba(245, 184, 61, .35);
}
.sun b { display: block; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; }
.sun small { display: block; font-weight: 600; font-size: .92rem; margin-top: .2rem; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(46px, 7vw, 90px); display: block; }

/* L'unico momento animato: l'arco si riempie, poi sorge il sole */
@media (prefers-reduced-motion: no-preference) {
  .arch img { animation: riempi 1.3s cubic-bezier(.2, .7, .1, 1) both; }
  .sun { animation: sorge 1.1s .55s cubic-bezier(.2, .9, .3, 1.15) both; }
}
@keyframes riempi { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sorge {
  from { transform: translateY(130px) rotate(-24deg); opacity: 0; }
  to   { transform: translateY(0) rotate(8deg); opacity: 1; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portal { max-width: 360px; margin-top: 1.5rem; }
  .sun { right: -1rem; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-schiuma { background: var(--schiuma); }
.section-abisso { background: var(--abisso); color: #e4eeee; }
.section-abisso h2, .section-abisso h3 { color: #fff; }
.section-sole { background: var(--sole); }

/* ---------- La casa ---------- */
.casa-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.casa-intro .h2 { margin-bottom: 1.4rem; }
.casa-intro p { max-width: 46ch; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.6rem; }
.amenities li {
  display: flex; align-items: flex-start; gap: .75rem; padding: .8rem 0;
  border-bottom: 1px solid rgba(12, 59, 71, .14);
  font-family: var(--f-display); font-weight: 500; font-size: 1rem; line-height: 1.3; color: var(--abisso);
}
.amenities .ic { color: var(--ombrellone); margin-top: .05rem; }
@media (max-width: 860px) {
  .casa-intro { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }

.sleep { margin-top: clamp(3rem, 7vw, 5.5rem); }
.sleep-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2.2rem; }
.sleep-head p { margin: 0; color: var(--muted); font-style: italic; }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.room { margin: 0; }
.room:nth-child(2) { margin-top: 2.5rem; }
.room .arch { aspect-ratio: 3 / 4; }
.room .arch img { object-position: center; }
.room:nth-child(1) .arch img { object-position: 22% 88%; }
.room:nth-child(2) .arch img { object-position: 62% 85%; }
.room figcaption { padding-top: 1rem; }
.room h4 { font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .2rem; }
.room h4 .ic { color: var(--mare); }
.room p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
@media (max-width: 760px) {
  .rooms { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .room:nth-child(2) { margin-top: 0; }
}

/* ---------- Galleria ---------- */
.section-head { margin-bottom: 2.2rem; }
.section-head p { margin: .8rem 0 0; color: var(--muted); max-width: 52ch; }
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--abisso);
  border-radius: 14px; overflow: hidden; cursor: zoom-in;
}
.gallery img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .1, 1), opacity .3s; }
.gallery button:hover img { transform: scale(1.045); opacity: .93; }

.lb { border: 0; padding: 0; background: transparent; width: 100%; max-width: 100vw; height: 100%; max-height: 100vh; color: #fff; }
.lb::backdrop { background: rgba(8, 43, 52, .94); }
.lb[open] { display: grid; place-items: center; }
.lb-inner { position: relative; display: grid; gap: .9rem; justify-items: center; padding: 1rem; max-width: 100%; }
.lb img { max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: var(--abisso); }
.lb-cap { font-family: var(--f-display); font-weight: 500; font-size: 1rem; text-align: center; max-width: 60ch; }
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5); background: rgba(8, 43, 52, .6); color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lb-btn:hover { background: var(--ombrellone); border-color: var(--ombrellone); }
.lb-btn .ic { width: 24px; height: 24px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); }
}

/* ---------- Dintorni ---------- */
.dintorni { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.dintorni .h2 { margin-bottom: 1.4rem; }
.dintorni p { max-width: 44ch; }
.note-dist { font-size: .95rem; font-style: italic; color: #b9cdd0; }
.signpost { position: relative; display: grid; gap: .85rem; padding: 1rem 0; }
.signpost::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 14px; margin-left: -7px;
  background: rgba(255, 255, 255, .16); border-radius: 7px;
}
.sign {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  width: 92%; padding: .95rem 3rem .95rem 1.3rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.2;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
}
.sign strong { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; white-space: nowrap; }
.sign:nth-child(even) {
  margin-left: auto; padding: .95rem 1.3rem .95rem 3rem;
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 28px 100%, 0 50%);
}
.sign-sole { background: var(--sole); color: var(--abisso); }
.sign-bianco { background: #fff; color: var(--abisso); }
.sign-rosso { background: var(--ombrellone); color: #fff; }
.sign-mare { background: var(--mare); color: #fff; }
@media (max-width: 860px) {
  .dintorni { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .sign { font-size: .98rem; width: 100%; }
  .sign strong { font-size: 1.25rem; }
}

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 5vw, 3.5rem) 2rem; margin-top: 1rem; }
.review { grid-column: 1 / span 8; position: relative; padding-left: 1.6rem; border-left: 4px solid var(--sole); margin: 0; }
.review:nth-child(2) { grid-column: 5 / span 8; border-left-color: var(--ombrellone); }
.review:nth-child(3) { border-left-color: var(--mare); }
.review blockquote { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; font-style: italic; color: var(--inchiostro); text-wrap: pretty; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--abisso); }
.review .voto {
  display: inline-flex; padding: .15rem .65rem; border: 2px solid var(--abisso); border-radius: 999px;
  font-weight: 800; font-size: .92rem;
}
.review .meta { font-weight: 500; color: var(--muted); }
.reviews-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.reviews-foot p { margin: 0; color: var(--muted); font-size: 1rem; font-style: italic; }
@media (max-width: 760px) {
  .reviews { grid-template-columns: 1fr; }
  .review, .review:nth-child(2) { grid-column: auto; }
}

/* ---------- Richiesta ---------- */
.richiesta { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.richiesta .h2 { margin-bottom: 1.2rem; color: var(--abisso); }
.richiesta .intro { max-width: 40ch; color: var(--abisso); }
.steps { counter-reset: passo; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: passo; display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.steps li::before {
  content: counter(passo); display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; background: var(--abisso); color: var(--sole);
  font-family: var(--f-display); font-weight: 800; font-size: 1.2rem;
}
.steps b { display: block; font-family: var(--f-display); font-weight: 700; color: var(--abisso); line-height: 1.2; margin-bottom: .15rem; }
.steps span { font-size: 1.05rem; line-height: 1.4; color: var(--abisso); }

.form-card { background: #fff; border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 24px 60px -30px rgba(8, 43, 52, .6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lab {
  font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--abisso);
}
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-text); font-size: 1.08rem; color: var(--inchiostro);
  background: #fff; border: 2px solid rgba(12, 59, 71, .25); border-radius: 12px; padding: .75rem .9rem;
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.45; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(12, 59, 71, .55); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--mare); outline-offset: 1px; border-color: var(--mare); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--ombrellone); }
.hint { font-family: var(--f-display); font-size: .88rem; font-weight: 500; color: var(--muted); min-height: 1.2em; }
.field label.consent { font-family: var(--f-text); font-weight: 400; font-size: 1rem; color: var(--inchiostro); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.consent input { width: 1.4rem; height: 1.4rem; margin-top: .15rem; accent-color: var(--abisso); flex: none; }
.consent a { color: var(--abisso); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.form-status { margin: 1rem 0 0; padding: 0; font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.form-status:not(:empty) { padding: .9rem 1.1rem; border-radius: 12px; }
.form-status.ok { background: #e3f3e9; color: #1c5a35; }
.form-status.err { background: #fde8e4; color: #8a2413; }
.form-status.demo { background: #fff3d1; color: #6a4a00; }
.form-status a { color: inherit; }
.hp { display: none !important; }
@media (max-width: 900px) {
  .richiesta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-top: 2rem; }
.faq details { border-bottom: 2px solid rgba(12, 59, 71, .16); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
  padding: 1.15rem 0; list-style: none;
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--abisso); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--sole);
  background-image: linear-gradient(var(--abisso), var(--abisso)), linear-gradient(var(--abisso), var(--abisso));
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 3rem 1.3rem 0; margin: 0; max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--abisso-2); color: #c9dadd; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.site-footer .wave-top { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(30px, 4vw, 54px); display: block; transform: rotate(180deg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: #9fb8bd; }
.site-footer h3 { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: .7rem; }
.site-footer p, .site-footer li { font-size: 1rem; line-height: 1.55; margin: 0 0 .4rem; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--sole); }
.footer-note { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; color: #9fb8bd; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-note p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pagine testuali (privacy) ---------- */
.doc { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-weight: 800; font-stretch: 82%; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.doc h2 { font-weight: 700; font-size: 1.5rem; margin: 2.2rem 0 .6rem; letter-spacing: -0.01em; }
.doc ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.doc li { margin-bottom: .3rem; }
.doc .draft { background: var(--sole); color: var(--abisso); border-radius: 12px; padding: 1rem 1.2rem; font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.4; margin-bottom: 2rem; }
.doc .updated { color: var(--muted); font-style: italic; margin-top: 2rem; }

/* ---------- Pagina di scelta lingua (radice) ---------- */
.choose { min-height: 100vh; display: grid; place-items: center; background: var(--schiuma); padding: 2rem; text-align: center; }
.choose .logo { width: 72px; margin: 0 auto 1.2rem; }
.choose h1 { font-weight: 800; font-stretch: 82%; font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; margin-bottom: .6rem; }
.choose p { color: var(--muted); }
.choose ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
