/* ==========================================================================
   Retreat Funnel — The Invitation (dates, price, cart)
   Inherits the site design system (main.css): --primary-color #33443c,
   --sfondo-color #efe9df, Quattrocento (headings) + Montserrat (body).
   Self-contained: this page loads neither retreat-waitlist.css nor retreat-reveal.css.
   ========================================================================== */

/* The inherited $head hides the page via `html.js-loading { opacity: 0 }` and relies on
   a jQuery footer script to remove the class. This standalone page loads neither, so
   force it visible (works with JS disabled too). Beats the inherited rule on specificity. */
html.js-loading {
    opacity: 1;
}

.retreat-booking {
    background-color: var(--sfondo-color);
    color: var(--paragraph-color);
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

.retreat-booking h1,
.retreat-booking h2,
.retreat-booking h3 {
    font-family: "Quattrocento", serif;
    color: var(--primary-color);
    margin: 0;
}

.retreat-booking section {
    padding: 96px 0;
    position: relative;
}

.bk-included,
.bk-plan {
    background-color: #e6dfd1;
}

.bk-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.75;
    margin-bottom: 1rem;
}

.bk-section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.bk-text {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 660px;
    margin: 0 auto 1.25rem;
}

.bk-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #6b6b6b;
    max-width: 560px;
    margin: 0 auto;
}

/* 1. HERO ------------------------------------------------------------------ */
.retreat-booking .bk-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(51, 68, 60, 0.06) 0%, rgba(51, 68, 60, 0) 60%),
        var(--sfondo-color);
}

.bk-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

/* The retreat has a name now, so the hero title is two registers: the name, then
   the line under it. Smaller, letter-spaced, and not bold, so "BLOOM" still reads
   as the headline and the tagline as its subtitle rather than competing with it. */
.bk-hero-tagline {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.42em;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--primary-color);
    opacity: 0.75;
}

.bk-hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2rem;
}

.bk-dates {
    font-family: "Quattrocento", serif;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Was 0.95rem grey — a quiet aside under the dates. Now it sits above them in the
   hierarchy, so it takes the serif and the primary colour of .bk-dates: body-grey at
   this size reads as a styling mistake rather than emphasis. Letter-spacing drops
   because the 1px was set for small text. */
.bk-countdown {
    font-family: "Quattrocento", serif;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin: 0.6rem 0 0.7rem;
}

.bk-spots {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.bk-spots strong {
    font-family: "Quattrocento", serif;
    font-size: 1.35rem;
}

/* Button aligned to the site's .primary-btn */
.bk-cta,
.bk-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Quattrocento", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.3s;
}

.bk-cta::after,
.bk-submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #26332d;
    transform: scale(0, 1);
    transform-origin: left;
    z-index: -1;
    transition: all 0.4s ease-out 0s;
}

.bk-cta:hover,
.bk-submit:hover {
    color: var(--white-color);
}

.bk-cta:hover::after,
.bk-submit:hover::after {
    transform: scale(1, 1);
}

.bk-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.bk-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

/* 2. WHAT'S INCLUDED ------------------------------------------------------- */
.bk-included {
    text-align: center;
}

.bk-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 660px;
    text-align: left;
}

.bk-list li {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.9rem;
    border-bottom: 1px solid rgba(51, 68, 60, 0.14);
    font-size: 1.02rem;
    line-height: 1.65;
}

.bk-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.bk-list li:last-child {
    border-bottom: 0;
}

.bk-list strong {
    font-family: "Quattrocento", serif;
    color: var(--primary-color);
}

/* What the price does NOT cover: one muted line under the list, not a second
   bullet list — these are boundaries, not selling points, and they only need
   to be impossible to miss. */
.bk-excluded {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b6b6b;
    max-width: 660px;
    margin: 2rem auto 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(51, 68, 60, 0.14);
}

.bk-excluded strong {
    font-family: "Quattrocento", serif;
    color: var(--primary-color);
}

/* 3. THE PRICE ------------------------------------------------------------- */
.bk-price {
    text-align: center;
}

/* Quattro, non piu' tre (2026-10-09). A minmax(240px) la quarta scendeva da sola su una
   riga accanto a un buco: 200px le fa stare tutte e quattro in fila su desktop, due e due
   sul tablet, e impilate sul telefono. */
.bk-price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.bk-price-card {
    background: #fff;
    border: 1px solid rgba(51, 68, 60, 0.14);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(51, 68, 60, 0.06);
}

.bk-price-card-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    color: #6b6b6b;
    margin-bottom: 0.6rem;
}

.bk-price-card-amount {
    font-family: "Quattrocento", serif;
    font-size: 2.6rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.bk-price-card-note {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* .bk-price-gift e' caduta il 2026-10-09: il regalo non e' piu' una riga a se' sotto i
   prezzi, sta scritto dentro l'opzione 2, che e' l'unica a prevederlo. */

/* 4. PLAN ------------------------------------------------------------------ */
.bk-plan {
    text-align: center;
}

/* 5. CART ------------------------------------------------------------------ */
.bk-cart-section {
    scroll-margin-top: 20px;
}

.bk-cart {
    background: #fff;
    border: 1px solid rgba(51, 68, 60, 0.14);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(51, 68, 60, 0.08);
    margin-top: 1.5rem;
}

.bk-field {
    margin-bottom: 1.1rem;
}

.bk-field label,
.bk-field legend {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.bk-field-hint {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #6b6b6b;
}

.bk-optional {
    font-weight: 400;
    color: #9b968c;
}

.bk-field input[type="text"],
.bk-field input[type="email"],
.bk-field input[type="tel"],
.bk-field input[type="number"],
.bk-field textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(51, 68, 60, 0.35);
    border-radius: 10px;
    background: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: var(--paragraph-color);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.bk-field input:focus,
.bk-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(51, 68, 60, 0.12);
}

.bk-field--check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.bk-field--check label {
    margin: 0;
    font-weight: 400;
}

/* --- LE QUATTRO OPZIONI (2026-10-09) ---------------------------------------
   Hanno sostituito i vecchi `.bk-radio`, tre righe di una riga ciascuna, e con loro
   `.bk-radio-aside` e `.bk-gift`: con il testo completo di ogni opzione dentro la label,
   una riga sola non basta piu'. Ogni opzione e' un cartoncino cliccabile per intero:
   titolo + prezzo in cima, i punti sotto. Lo stesso blocco serve ai metodi di pagamento
   (OPTION A / OPTION B), che hanno la stessa forma senza prezzo. */
/* Tutti i selettori di questo blocco sono volutamente piu' pesanti del necessario:
   `.bk-field label` e `.bk-field legend` esistono da prima e valgono (0,1,1), quindi un
   semplice `.bk-option` (0,1,0) perderebbe — era proprio il motivo per cui i vecchi
   radio restavano display:block e non diventavano mai griglia. */
.bk-field.bk-options legend {
    font-family: "Quattrocento", serif;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

/* La riga "Select one of the four options below." non e' una nota a pie' di campo: sta
   sopra le opzioni e le introduce, quindi il margine va sotto, non sopra. */
.bk-options-lead {
    margin: 0 0 0.9rem;
}

.bk-field label.bk-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.7rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(51, 68, 60, 0.22);
    border-radius: 12px;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--paragraph-color);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.bk-field label.bk-option:hover {
    border-color: rgba(51, 68, 60, 0.45);
}

/* Quella scelta deve essere riconoscibile a colpo d'occhio: il pallino da solo, in una
   lista di quattro cartoncini alti, si perde. Dove :has() non c'e' (browser molto
   vecchi) resta il pallino, che e' comunque visibile: nessuna informazione si perde. */
.bk-field label.bk-option:has(input:checked) {
    border-color: var(--primary-color);
    border-width: 2px;
    /* Il bordo passa da 1px a 2px: senza questo, il cartoncino scelto si allargherebbe
       di un pixel per lato e tutta la lista scatterebbe a ogni cambio di opzione. */
    padding: calc(1rem - 1px) calc(1.1rem - 1px);
    background: rgba(51, 68, 60, 0.045);
    box-shadow: 0 6px 18px rgba(51, 68, 60, 0.08);
}

.bk-option input {
    margin: 0.25rem 0 0;
}

/* Tastiera: il focus del radio dentro una label grande non si vede, quindi lo si porta
   sul cartoncino. :focus-visible e non :focus, o comparirebbe anche col mouse. */
.bk-field label.bk-option:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(51, 68, 60, 0.18);
}

.bk-option-body {
    display: block;
}

/* Titolo sopra, prezzo sotto, tutto allineato a sinistra. Il primo tentativo metteva il
   prezzo a destra con space-between: con titoli lunghi come "Full Programme +
   Non-Participating Companion" il prezzo andava a capo da solo e finiva allineato in un
   punto diverso per ogni opzione — quattro cifre su quattro colonne diverse, in un
   riquadro che esiste per far confrontare proprio quelle. */
.bk-option-head {
    display: block;
}

.bk-option-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.bk-option-price {
    display: block;
    margin-top: 0.35rem;
    font-family: "Quattrocento", serif;
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--primary-color);
}

/* "per person", "total for two people", "€4,900 total": la qualifica del prezzo, sotto
   la cifra. Senza, "€6,000" accanto a "Shared Room" si legge come un prezzo a testa. */
.bk-option-price-note {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b6b6b;
    margin-top: 0.2rem;
}

/* I punti dell'opzione. Non sono una <ul> perche' dentro un <label> non sarebbe markup
   valido: span in colonna, con il pallino disegnato dal ::before. */
.bk-option-points {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--paragraph-color);
}

.bk-option-points > span {
    display: block;
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.2rem;
}

.bk-option-points > span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(51, 68, 60, 0.45);
}

/* Il regalo dell'opzione 2: la freccia e' quella che Ashlind ha scritto nel testo, e la
   riga non e' un punto come gli altri — e' l'unica cosa che si guadagna scegliendo. */
.bk-option-gift {
    display: block;
    margin-top: 0.6rem;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    background: rgba(203, 185, 138, 0.22);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
}

.bk-option-gift::before {
    content: '\2192\00a0';
}

/* Lo scadenzario calcolato sotto OPTION B. Vuoto quando non c'e' niente da dire (nessuna
   rata residua), e allora non deve lasciare un pallino orfano. */
.bk-option-schedule {
    font-weight: 600;
    color: var(--primary-color);
}

.bk-option-points > span:empty {
    display: none;
}

/* Le condizioni di pagamento e la cancellazione: gli stessi pallini delle opzioni, ma
   fuori da una label, quindi senza l'indentazione del cartoncino. */
.bk-terms-points {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

/* La riga che chiude il blocco del pagamento. Eredita .bk-field-hint per il corpo, ma non
   il grigio: nel testo di Ashlind e' una condizione come le altre, non una postilla. */
.bk-terms-note {
    color: var(--paragraph-color);
}

/* Il suggerimento sull'opzione scelta, che il JS sposta sotto il cartoncino giusto. Non
   piu' indentato di 1.5rem come con i vecchi radio: ora si allinea al bordo del
   cartoncino, non alle sue parole. */
.bk-sist-hint {
    margin: -0.3rem 0 0.9rem;
    padding-left: 1.1rem;
}

/* Con JS spento non si riempie mai e resta in fondo al fieldset, dove il suo margine
   aprirebbe comunque uno spazio. */
.bk-sist-hint:empty {
    display: none;
}

/* La politica di cancellazione non e' un campo da compilare: stesso riquadro delle
   opzioni, nessun pallino da cliccare. */
.bk-policy {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(51, 68, 60, 0.22);
    border-radius: 12px;
    background: rgba(51, 68, 60, 0.03);
}

.bk-policy-title {
    font-family: "Quattrocento", serif;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin: 0 0 0.6rem;
}

/* "How to cancel" dentro lo stesso riquadro: e' una parte della stessa politica, non un
   secondo blocco, quindi stacca meno del titolo sopra. */
.bk-policy-subtitle {
    font-family: ui-sans-serif, "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary-color);
    margin: 1.1rem 0 0.4rem;
}

/* I paragrafi della politica. Non sono punti elenco perche' l'ultimo e' il consiglio
   sull'assicurazione: in un elenco si leggerebbe come una condizione contrattuale. */
.bk-policy-text {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--paragraph-color);
    margin: 0 0 0.6rem;
}

.bk-policy-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* La frase che chiude le condizioni. Si legge PRIMA dei dati personali, ed e' ripetuta
   sotto il bottone: chi scorre veloce la incontra almeno una volta. */
.bk-policy-consent {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    font-weight: 600;
    color: var(--primary-color);
}

/* "Your details": lo stacco fra le condizioni lette e i campi da scrivere. L'ordine e'
   il punto della pagina, quindi il passaggio fra i due va visto. */
.bk-step-title {
    font-family: "Quattrocento", serif;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin: 1.8rem 0 0.9rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(51, 68, 60, 0.14);
}

/* La riga TWIN BEDS / DOUBLEBED sotto le note: compare solo sull'opzione 2, ed e' una
   richiesta, non una nota grigia. */
.bk-note-hint {
    color: var(--primary-color);
}

.bk-note-hint[hidden] {
    display: none;
}

.bk-summary {
    border-top: 1px solid rgba(51, 68, 60, 0.14);
    margin-top: 1.4rem;
    padding-top: 1.2rem;
}

.bk-summary p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 0.5rem;
    font-size: 0.98rem;
}

.bk-summary strong {
    font-family: "Quattrocento", serif;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Quale delle quattro opzioni, in cima al riepilogo: la cifra da sola non dice da quale
   scelta e' uscita. E' un titolo, non un importo, quindi non prende il corpo delle cifre
   e puo' andare a capo. Deve stare DOPO `.bk-summary strong`, che ha la sua stessa
   specificita': a pari peso vince l'ultima regola scritta. */
.bk-summary-which strong {
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: right;
}

/* L'etichetta non si spezza: "Your booking" andava a capo per far posto al nome lungo
   dell'opzione 2, che e' l'unica informazione che puo' permettersi due righe. */
.bk-summary-which > span {
    white-space: nowrap;
}

.bk-consent {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #6b6b6b;
    margin: 0.9rem 0 0;
}

.bk-success {
    margin-top: 1rem;
    background: rgba(51, 68, 60, 0.08);
    border: 1px solid rgba(51, 68, 60, 0.25);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    color: var(--primary-color);
    font-size: 1.02rem;
}

.bk-success strong {
    font-family: "Quattrocento", serif;
}

.bk-error {
    margin-top: 0.7rem;
    color: #b00020;
    font-size: 0.9rem;
}

/* 6. FOOTER ---------------------------------------------------------------- */
.bk-footer {
    background-color: var(--primary-color);
    padding: 48px 0;
    text-align: center;
}

.bk-footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 1.25rem;
}

.bk-footer-company {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 1.1rem;
}

.bk-footer-company strong {
    font-family: "Quattrocento", serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.bk-footer-company a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s;
}

.bk-footer-company a:hover {
    border-bottom-color: #fff;
}

.bk-footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

.bk-footer-copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    margin: 0.9rem auto 0;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 767px) {
    .retreat-booking section {
        padding: 64px 0;
    }
    .retreat-booking .bk-hero {
        min-height: 88vh;
        padding: 90px 0;
    }
    .bk-cart {
        padding: 1.4rem;
    }
    .bk-cta {
        width: 100%;
    }
    /* Su telefono il cartoncino si stringe: 1.1rem di padding piu' il pallino piu' il
       prezzo a destra lasciavano al titolo una colonna di poche parole. */
    .bk-field label.bk-option,
    .bk-field label.bk-option:has(input:checked) {
        padding: 0.9rem;
        gap: 0.6rem;
    }
}
