/* Metrò Holiday House — stile comune di prenotazione, documenti e console */
:root {
  --notte: #0D1F3F; --notte-2: #16305C; --oro: #C8A95A; --oro-scuro: #7A5C12; --carta: #FAFAF6; --foglio: #FFFFFF;
  --inchiostro: #1B1B2F; --testo-2: #3C4253; --testo-3: #4F5566; --filo: #DCD6C4; --filo-chiaro: #ECE7DA; --tenue: #F1E9D2;
  --linea: #F2B705; --ok: #1F6B52; --ok-bg: #E3F2EC; --avviso: #7A4E00; --avviso-bg: #FFF2D2; --errore: #9B2C1F; --errore-bg: #FBE6E2;
  --booking: #DCE6F5; --booking-filo: #9DB4D6;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif; --serif: 'Literata', Georgia, serif; --display: 'Noto Serif Display', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--carta); color: var(--inchiostro); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--notte); } a:hover { color: var(--notte-2); }
:focus-visible { outline: 3px solid var(--linea); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { text-wrap: pretty; }
.nascosto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* testata */
.testata { background: var(--notte); color: var(--carta); border-bottom: 3px solid var(--oro); }
.testata-in { max-width: 1240px; margin: 0 auto; padding: 14px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.marchio { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--carta); }
.marchio img { width: 48px; height: 42px; }
.marchio b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: 23px; line-height: 1.05; }
.marchio small { display: block; font-family: var(--display); font-size: 11px; letter-spacing: .34em; color: var(--oro); margin-top: 4px; }
.testata nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; }
.testata nav a { color: var(--carta); }

.pagina { max-width: 1240px; margin: 0 auto; padding: 48px 28px 96px; }
.titolo { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(40px, 5.2vw, 66px); line-height: .98; color: var(--notte); }
.sottotitolo { margin: 14px 0 0; max-width: 44em; color: var(--testo-2); }

/* pulsanti e campi */
.btn { min-height: 52px; padding: 0 26px; border: 0; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn-notte { background: var(--notte); color: var(--carta); } .btn-notte:hover { background: var(--notte-2); color: var(--carta); }
.btn-oro { background: var(--oro); color: var(--notte); }
.btn-filo { background: transparent; color: var(--notte); box-shadow: inset 0 0 0 1px var(--notte); }
.btn-rosso { background: transparent; color: var(--errore); box-shadow: inset 0 0 0 1px var(--errore); }
.btn-piccolo { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn:disabled { opacity: .45; cursor: default; }
.icona-btn { width: 44px; height: 44px; border: 0; background: var(--foglio); box-shadow: inset 0 0 0 1px #9A9480; color: var(--notte); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icona-btn:disabled { opacity: .4; cursor: default; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label, .etichetta { font-weight: 600; color: var(--notte); }
.campo small { font-size: 13px; color: var(--testo-3); }
.input { font: inherit; min-height: 48px; padding: 10px 12px; border: 1px solid #9A9480; background: var(--foglio); color: var(--inchiostro); width: 100%; }
textarea.input { resize: vertical; min-height: 90px; }
.spunta { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--testo-2); cursor: pointer; }
.spunta input { width: 22px; height: 22px; margin: 0; accent-color: var(--notte); flex: 0 0 auto; }
.griglia-campi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px 24px; }

/* messaggi */
.msg { margin: 16px 0 0; padding: 12px 16px; font-weight: 600; }
.msg-ok { background: var(--ok-bg); color: var(--ok); } .msg-avviso { background: var(--avviso-bg); color: var(--avviso); } .msg-errore { background: var(--errore-bg); color: var(--errore); }

/* prenotazione */
.passi { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.passi li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--testo-3); }
.passi li span { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 2px #9A9480; color: var(--notte); }
.passi li[aria-current="step"] { font-weight: 700; color: var(--notte); }
.passi li[aria-current="step"] span { background: var(--oro); box-shadow: inset 0 0 0 2px var(--notte); }
.passi li.fatto { color: var(--notte); } .passi li.fatto span { background: var(--notte); color: var(--carta); box-shadow: none; }
.colonne { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.col-main { flex: 1 1 640px; min-width: 0; }
.riepilogo { flex: 1 1 340px; min-width: 0; background: var(--foglio); box-shadow: inset 0 0 0 1px var(--filo); }
.riepilogo img { width: 100%; height: 190px; object-fit: cover; }
.riepilogo-in { padding: 24px; }
.riga { margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.barra-sezione { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--notte); }
.mesi { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 40px; }
.mese h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-stretch: 84%; font-size: 26px; color: var(--notte); text-transform: capitalize; }
.settimana, .giorni { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.settimana { font-size: 13px; color: var(--testo-3); text-align: center; padding-bottom: 6px; }
.giorni { gap: 2px 0; }
.giorno { height: 46px; border: 0; margin: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 500; background: transparent; color: var(--inchiostro); cursor: pointer; }
.giorno:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--notte); }
.giorno:disabled { cursor: default; }
.giorno.passato { color: #A9A391; }
.giorno.occupato { background: #ECE7DA; color: #857F6C; text-decoration: line-through; }
.giorno.dentro { background: var(--tenue); color: var(--notte); font-weight: 600; }
.giorno.estremo { background: var(--notte); color: var(--carta); font-weight: 700; }
.legenda { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--testo-2); }
.legenda span { display: inline-flex; align-items: center; gap: 8px; }
.legenda i { width: 18px; height: 18px; display: inline-block; }
.scelta-pag { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--foglio); box-shadow: inset 0 0 0 1px var(--notte); cursor: pointer; }
.scelta-pag:has(input:checked) { box-shadow: inset 0 0 0 2px var(--notte); }
.scelta-pag input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--notte); }
#pagamento-stripe { margin-top: 24px; }

/* documenti */
.documento { max-width: 760px; font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.documento h1 { font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: clamp(36px, 5vw, 54px); line-height: 1; color: var(--notte); margin: 0 0 8px; }
.documento h2 { font-family: var(--sans); font-size: 20px; color: var(--notte); margin: 36px 0 8px; }
.documento .data { font-family: var(--sans); font-size: 15px; color: var(--testo-3); }

/* piè di pagina */
.piede { background: var(--notte); color: #E9E4D4; border-top: 3px solid var(--oro); }
.piede-in { max-width: 1240px; margin: 0 auto; padding: 36px 28px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; font-size: 14px; line-height: 1.8; }
.piede a { color: #E9E4D4; }
