/* TheBeautyAlkemist: stile del sito, condiviso da tutte le pagine. Generato da genera_sito.py */
/* === FONT (licenza SIL Open Font License, vedi cartella fonts) === */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format('woff2'); }

/* =========================================================
   PALETTE — presa dalle foto della spa
   rovere scuro (travi e botti), sale (parete di sale),
   crepuscolo (cielo sulle colline), lino (teli)
   ========================================================= */
:root {
    --notte: #241A13;
    --notte-2: #1B130E;
    --rovere: #3B2B1F;
    --crepuscolo: #1F2836;
    --lino: #EDE5DA;
    --lino-2: #E3D8CA;
    --sale: #E3A56B;
    --sale-chiaro: #EDB884;
    --sale-scuro: #8A4F27;
    --chiaro: #F4EDE4;
    --chiaro-2: #CDBFAF;
    --inchiostro: #2A211B;
    --inchiostro-2: #54473D;

    /* colori delle fasi del percorso (dalle luci della spa) */
    --t-accoglienza: #CDBFAF;
    --t-calore: #E3A56B;
    --t-freddo: #8FD0DC;
    --t-vapore: #C99AD6;
    --t-riposo: #EBCFA6;

    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Jost', 'Futura', 'Century Gothic', 'Segoe UI', sans-serif;

    --wrap: 1200px;
    --gutter: clamp(1rem, 5vw, 4rem);
    --header-h: 76px;
    --radius: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--chiaro-2);
    background: var(--notte);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.1;
    color: var(--chiaro);
}

:focus-visible { outline: 2px solid var(--sale); outline-offset: 3px; }

.skip {
    position: absolute; left: -9999px; top: 1rem;
    background: var(--chiaro); color: var(--inchiostro);
    padding: .6rem 1rem; z-index: 3000; text-decoration: none;
}
.skip:focus { left: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* === FASCE (sezioni) === */
.band { padding: clamp(5rem, 10vw, 8rem) 0; scroll-margin-top: calc(var(--header-h) - 1px); }
.band--notte { background: var(--notte); }
.band--crepuscolo { background: var(--crepuscolo); }
.band--lino { background: var(--lino); color: var(--inchiostro-2); }
.band--lino-2 { background: var(--lino-2); color: var(--inchiostro-2); }
.band--lino h2, .band--lino h3,
.band--lino-2 h2, .band--lino-2 h3 { color: var(--inchiostro); }

.head { max-width: 40rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.head h2 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); margin-bottom: 1.1rem; }
.head p { font-size: 1.125rem; }

/* === PULSANTI === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: .8rem 1.75rem;
    font: 500 1rem/1.2 var(--sans); letter-spacing: .02em;
    text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.btn--sale { background: var(--sale); color: var(--notte); }
.btn--sale:hover { background: var(--sale-chiaro); }
.btn--line { border-color: rgba(244, 237, 228, .35); color: var(--chiaro); background: transparent; }
.btn--line:hover { border-color: var(--chiaro); }
.btn--small { min-height: 42px; padding: .55rem 1.2rem; font-size: .95rem; }

/* === HEADER === */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background-color .35s, box-shadow .35s;
}
.site-header.is-solid {
    background: rgba(36, 26, 19, .95);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(244, 237, 228, .08);
}
/* con il menu aperto niente sfocatura: altrimenti il pannello a tutto schermo resta "chiuso" dentro l'header */
body.menu-open .site-header {
    background: var(--notte);
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
.header-inner {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* Logo TheBeautyAlkemist nello stile del vecchio logo EDEN:
   parola grande in maiuscolo spaziato + riga piccola in oro, centrate */
.logo {
    display: inline-flex; flex-direction: column; align-items: center;
    text-align: center; line-height: 1;
    color: var(--chiaro); text-decoration: none;
}
.logo-the {
    font-family: var(--sans); font-weight: 400; font-size: .6rem;
    letter-spacing: .4em; text-transform: uppercase;
    color: var(--sale); margin: 0 -.4em 6px 0;
}
.logo-name {
    font-family: var(--serif); font-weight: 500; font-size: 2rem;
    letter-spacing: .15em; text-transform: uppercase; margin-right: -.15em;
}

.main-nav ul { list-style: none; display: flex; gap: 2rem; }
.main-nav a {
    font-size: .95rem; color: var(--chiaro-2); text-decoration: none;
    padding: .4rem 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--chiaro); border-bottom-color: var(--sale); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.menu-toggle {
    display: none; width: 44px; height: 44px; border: 0; background: transparent;
    color: var(--chiaro); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 22px; height: 1.5px; background: currentColor;
    position: relative; transition: transform .3s, background-color .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
    .menu-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        background: var(--notte); padding: 1.5rem var(--gutter) 3rem;
        overflow-y: auto; display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a {
        display: block; padding: 1rem 0;
        font-family: var(--serif); font-size: 1.8rem; color: var(--chiaro);
        border-bottom: 1px solid rgba(244, 237, 228, .1);
    }
}
@media (max-width: 480px) {
    .logo-the { font-size: .55rem; letter-spacing: .34em; margin-right: -.34em; }
    .logo-name { font-size: 1.6rem; letter-spacing: .13em; margin-right: -.13em; }
}
@media (max-width: 380px) {
    .logo-name { font-size: 1.4rem; letter-spacing: .1em; margin-right: -.1em; }
    .btn--small { padding: .5rem .9rem; }
}

/* === HERO === */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: grid; background: var(--notte); overflow: hidden;
}
.hero-media {
    position: absolute; inset: 0; margin: 0; overflow: hidden;
    perspective: 1600px; perspective-origin: 50% 45%;
    animation: fadein 1.6s ease both;
}
/* la trasformazione (parallasse e leggera profondità 3D) la calcola lo script;
   la scala resta fissa così la foto rimane nitida */
.hero-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
    transform: scale(1.1); transform-origin: 50% 45%;
    backface-visibility: hidden;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(36, 26, 19, .55) 0%, rgba(36, 26, 19, .15) 30%, rgba(36, 26, 19, .85) 68%, var(--notte) 100%);
}
.hero-media figcaption { display: none; }

.hero-text {
    position: relative; z-index: 1;
    align-self: end;
    padding: calc(var(--header-h) + 3rem) var(--gutter) 3.5rem;
    max-width: 40rem;
}
.hero h1 {
    font-size: clamp(3rem, 6.2vw, 5.4rem); font-style: italic; line-height: 1.02;
    margin-bottom: 1.5rem;
}
.hero .lede { font-size: 1.15rem; color: var(--chiaro); max-width: 33rem; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hero-media { position: relative; grid-column: 2; grid-row: 1; }
    .hero-media img { position: absolute; inset: 0; }
    .hero-media::after { background: linear-gradient(90deg, var(--notte) 0%, rgba(36, 26, 19, 0) 22%); }
    .hero-media figcaption {
        display: block; position: absolute; z-index: 1; right: var(--gutter); bottom: 2rem;
        max-width: 19rem; text-align: right;
        font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.4;
        color: var(--chiaro); text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
    }
    .hero-text {
        grid-column: 1; grid-row: 1; align-self: center;
        max-width: none;
        padding: calc(var(--header-h) + 3rem) 3rem 4rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    }
}

/* === PUNTI CHIAVE === */
.facts-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-bottom: 1px solid rgba(244, 237, 228, .08); }
.facts { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
.fact { border-top: 1px solid rgba(227, 165, 107, .4); padding-top: 1.25rem; }
.fact h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.fact p { font-size: .98rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* === SPAZI === */
.space {
    display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
.space + .space { margin-top: clamp(4.5rem, 9vw, 7.5rem); }

/* Foto come lastre in 3D: la cornice si inclina (allo scroll e sotto il mouse),
   la foto scorre al suo interno più lenta (parallasse) e l'icona galleggia davanti. */
.space-media { perspective: 1800px; }
.photo {
    position: relative; display: block; width: 100%;
    border: 0; padding: 0; background: transparent;
    aspect-ratio: 4 / 5; cursor: zoom-in; border-radius: var(--radius);
    transform-style: preserve-3d;
    outline: 1px solid transparent; /* bordi lisci quando la lastra è inclinata */
    box-shadow: var(--sx, 0px) var(--sy, 28px) 64px -24px rgba(0, 0, 0, .55);
}
.photo-clip {
    position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius);
    background: var(--rovere); backface-visibility: hidden;
}
.photo-clip img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.12); backface-visibility: hidden;
}
.photo-glare {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 232, 205, .16), rgba(255, 232, 205, 0) 60%);
    opacity: var(--go, 0);
}
.photo .zoom {
    position: absolute; right: .9rem; bottom: .9rem;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(36, 26, 19, .7); color: var(--chiaro);
    transform: translateZ(22px);
    transition: background-color .3s;
}
.photo:hover .zoom, .photo:focus-visible .zoom { background: var(--sale); color: var(--notte); }

.phase {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
    font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--chiaro-2);
}
/* simboli alchemici dei quattro elementi */
.el {
    width: 18px; height: 18px; flex: none; color: var(--c);
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
}
.space-text h3 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: 1.1rem; }
.space-text p { max-width: 32rem; }

@media (max-width: 819.98px) { .space .photo { aspect-ratio: 4 / 3; } }
@media (min-width: 820px) {
    .space { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 5.5rem); }
    .space:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
    .space:nth-child(even) .space-media { order: 2; }
}

/* === PERCORSO === */
.guide {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    margin-bottom: clamp(4rem, 8vw, 5.5rem);
}
.guide-item { border-top: 1px solid rgba(244, 237, 228, .14); padding-top: 1.25rem; }
.guide-item h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.guide-item p { font-size: 1rem; max-width: 24rem; }
@media (min-width: 820px) { .guide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }


/* === LA SPA FATTA COME SI DEVE === */
.howto { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.howto-item { border-top: 2px solid var(--sale-scuro); padding-top: 1.1rem; }
.howto-item h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.howto-item p { font-size: 1rem; max-width: 22rem; }
@media (min-width: 820px) { .howto { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.nc-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.nc-grid--end {
    margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(3rem, 6vw, 4rem);
    border-top: 1px solid rgba(42, 33, 27, .14);
}
.nc-block h3, .nc-heat h3 { font-size: clamp(1.9rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.nc-block p { max-width: 34rem; }
.band--lino sup, .band--lino-2 sup { font-size: .68em; line-height: 0; }
sup a { color: var(--sale-scuro); text-decoration: none; padding: 0 .1em; }
sup a:hover { text-decoration: underline; }

.countries { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.countries h4 {
    font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--inchiostro);
    padding-bottom: .5rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(42, 33, 27, .16);
}
.country-list { list-style: none; display: grid; gap: .3rem; font-size: .98rem; }
.country-list li { position: relative; padding-left: 1.1rem; color: var(--inchiostro); }
.country-list li::before {
    content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; border-radius: 50%;
    background: var(--sale-scuro);
}
.country-list--muted li { color: var(--inchiostro-2); }
.country-list--muted li::before { background: transparent; border: 1px solid var(--inchiostro-2); }
.nc-note { font-size: .98rem; margin-top: 1.1rem; }

.nc-heat {
    margin: clamp(3.5rem, 7vw, 5rem) 0; padding: clamp(3rem, 6vw, 4rem) 0;
    border-top: 1px solid rgba(42, 33, 27, .14); border-bottom: 1px solid rgba(42, 33, 27, .14);
}
.nc-heat-intro { font-size: 1.125rem; max-width: 44rem; margin-bottom: 2.25rem; }
.evidence { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.ev { display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem 0 1.4rem; border-top: 1px solid rgba(42, 33, 27, .16); }
.ev h4 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--inchiostro); }
.ev p { font-size: .98rem; }
.ev-class { margin-top: auto; padding-top: .8rem; border-top: 1px solid rgba(42, 33, 27, .12); }
.ev-class strong { color: var(--sale-scuro); font-weight: 500; }
.nc-honest { margin-top: 1.75rem; max-width: 46rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--inchiostro); }

.nc-chapters { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgba(42, 33, 27, .16); }
.nc-chapter { display: grid; grid-template-columns: 1fr; gap: .9rem; padding: 2rem 0; border-bottom: 1px solid rgba(42, 33, 27, .16); }
.nc-chapter h3 { font-size: clamp(1.8rem, 2.8vw, 2.2rem); }
.nc-body > p { max-width: 40rem; font-size: 1.05rem; }
.nc-body .nc-note { font-size: .98rem; }
#senza-costume details.nc-more, #senza-costume details.nc-sources { border: 0; }
details.nc-more { margin-top: 1rem; }
details.nc-more > summary, details.nc-sources > summary {
    justify-content: flex-start; gap: .6rem; padding: .3rem 0; width: fit-content;
    font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--sale-scuro);
}
details.nc-more > summary:hover, details.nc-sources > summary:hover { color: var(--inchiostro); }
details.nc-more > summary::after, details.nc-sources > summary::after { font-size: 1.3rem; }
details.nc-more[open] > summary { margin-bottom: 1.2rem; }
details.nc-more > p { max-width: 40rem; margin-bottom: 1rem; }
details.nc-more .evidence { grid-template-columns: 1fr; }
details.nc-more .nc-honest { margin-top: 1.25rem; font-size: 1.15rem; }
details.nc-sources { margin-top: 1.75rem; }
details.nc-sources[open] > summary { margin-bottom: .8rem; }
@media (min-width: 900px) {
    .nc-chapter { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding: 2.5rem 0; }
}
.sources { font-size: .88rem; padding-left: 1.4rem; display: grid; gap: .35rem; }
.sources a { color: var(--inchiostro-2); }
.sources a:hover { color: var(--sale-scuro); }
.sources li { scroll-margin-top: calc(var(--header-h) + 1rem); }
.sources li:target { background: rgba(227, 165, 107, .25); }

@media (min-width: 900px) {
    .nc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
    .evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* === PRIMA DELLA VISITA === */
.prep { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.prep h3 { font-size: 1.9rem; margin-bottom: 1.25rem; }
.ticks { list-style: none; }
.ticks li {
    position: relative; padding: 1rem 0 1rem 1.25rem;
    border-top: 1px solid rgba(42, 33, 27, .14);
}
.ticks li:last-child { border-bottom: 1px solid rgba(42, 33, 27, .14); }
.ticks li::before { content: "–"; position: absolute; left: 0; top: 1rem; color: var(--inchiostro-2); }
.ticks strong { color: var(--inchiostro); font-weight: 500; }
@media (min-width: 820px) { .prep { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }

/* === TARIFFE === */
.menu { max-width: none; }
.menu-row {
    display: grid; grid-template-columns: 1fr; gap: .9rem;
    padding: 2rem 0; border-bottom: 1px solid rgba(244, 237, 228, .12);
}
.menu-row h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.menu-row p { font-size: .98rem; max-width: 34rem; }
.menu-row--main {
    padding: 2.25rem clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid rgba(227, 165, 107, .45); border-radius: var(--radius);
    background: rgba(59, 43, 31, .45);
}
.menu-row--main h3 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.included { list-style: none; margin-top: .5rem; display: grid; gap: .45rem; }
.included li { position: relative; padding-left: 1.4rem; font-size: .98rem; color: var(--chiaro); }
.included li::before {
    content: ""; position: absolute; left: 0; top: .62em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--sale);
}
.price { font-family: var(--sans); font-weight: 500; font-size: 1.15rem; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; color: var(--chiaro); white-space: nowrap; }
.menu-row--main .price { font-size: 2.6rem; }
.more-paths {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
    margin-top: 1.25rem; padding: 1.4rem clamp(1.25rem, 4vw, 2.5rem); text-decoration: none;
    border: 1px solid rgba(244, 237, 228, .14); border-radius: var(--radius); background: rgba(59, 43, 31, .25);
    transition: background-color .3s, border-color .3s;
}
.more-paths:hover { background: rgba(59, 43, 31, .55); border-color: rgba(227, 165, 107, .5); }
.more-paths-text { flex: 1 1 22rem; font-size: .98rem; }
.more-paths-text strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--chiaro); margin-bottom: .2rem; }
.more-paths-cta { color: var(--sale); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.prices { display: flex; gap: 1.75rem; }
.prices div { display: flex; flex-direction: column; }
.dur { font-family: var(--sans); font-size: .85rem; color: var(--chiaro-2); }
.menu-sub { padding: clamp(4rem, 8vw, 5.5rem) 0 1rem; border-bottom: 1px solid rgba(244, 237, 228, .28); }
.menu-link { color: var(--sale); text-underline-offset: 3px; white-space: nowrap; }
.prices .offer-tag { margin-top: .45rem; }
.menu-sub h3 { font-size: 1.9rem; margin-bottom: .4rem; }
.menu-note { margin-top: 1.5rem; font-size: .95rem; }
@media (min-width: 640px) {
    .menu-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: start; }
    .prices, .menu-row > .price { justify-content: flex-end; text-align: right; }
    .prices div { align-items: flex-end; }
}

/* === LISTINO DEI PERCORSI (home e pagina percorsi): una tabella, non una pila di riquadri === */
.path--oro   { --c: #E3A56B; --ci: #8A4F27; }
.path--aria  { --c: #C99AD6; --ci: #74468A; }
.path--acqua { --c: #8FD0DC; --ci: #2B6B77; }
.path--terra { --c: #EBCFA6; --ci: #85562A; }
.path--vita  { --c: #A9D1B2; --ci: #3D6B4B; }
.lst-table { width: 100%; margin-top: clamp(3rem, 6vw, 4rem); border-collapse: collapse; }
.lst-table thead th {
    padding: 0 1.5rem .7rem 0; text-align: left; vertical-align: bottom;
    font: 400 .86rem/1.3 var(--sans); color: var(--chiaro-2); border-bottom: 1px solid rgba(244, 237, 228, .28);
}
.lst-table thead td { border-bottom: 1px solid rgba(244, 237, 228, .28); }
.lst-group-row th { padding: 2.4rem 0 .8rem; text-align: left; font-weight: 400; border-bottom: 1px solid rgba(244, 237, 228, .14); }
.lst-table tbody:first-of-type .lst-group-row th { padding-top: 1.6rem; }
.lst-group-name { margin-right: 1rem; font-family: var(--serif); font-size: 1.65rem; color: var(--chiaro); }
.lst-group-note { font-size: .93rem; color: var(--chiaro-2); }
.lst-row th, .lst-row td {
    padding: 1.4rem 1.5rem 1.45rem 0; text-align: left; vertical-align: top; font-weight: 400;
    border-bottom: 1px solid rgba(244, 237, 228, .12);
}
.lst-name { width: 36%; }
.lst-name a { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; color: var(--chiaro); text-decoration: none; }
.lst-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lst-for { display: block; margin-top: .35rem; font-size: .95rem; color: var(--chiaro-2); }
.lst-when, .lst-dur { padding-top: 1.6rem !important; font-size: .97rem; color: var(--chiaro); }
.lst-when { width: 19%; }
.lst-dur { width: 12%; }
.lst-price { width: 21%; padding-top: 1.5rem !important; color: var(--chiaro-2); }
.lst-price .num { font-size: 1.3rem; color: var(--chiaro); }
.lst-unit { font-size: .9rem; }
.lst-price small { display: block; margin-top: .2rem; font-size: .86rem; line-height: 1.4; }
.lst-price .lst-promo { color: var(--sale); }
.lst-cta { width: 1%; padding-right: 0 !important; padding-top: 1.35rem !important; white-space: nowrap; text-align: right; }
.lst-cta .btn { min-width: 7.5rem; }
.lst-more { display: block; margin-top: .55rem; text-align: center; font-size: .92rem; color: var(--chiaro-2); text-underline-offset: 3px; }
.lst-more:hover { color: var(--chiaro); }
.lst-foot { margin-top: 1.6rem; font-size: 1rem; }
.lst-foot a { color: var(--sale); text-underline-offset: 3px; }
@media (max-width: 899.98px) {
    .lst-table, .lst-table tbody, .lst-table tr, .lst-table th, .lst-table td { display: block; width: auto !important; }
    .lst-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .lst-group-row th { padding: 2.2rem 0 .6rem; }
    .lst-group-name { display: block; margin: 0 0 .15rem; }
    .lst-row { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(244, 237, 228, .12); }
    .lst-row th, .lst-row td { padding: 0 !important; border: 0; }
    .lst-name { grid-column: 1 / -1; margin-bottom: .8rem; }
    .lst-name a { font-size: 1.5rem; }
    .lst-when, .lst-dur { grid-column: 1 / -1; font-size: .95rem; }
    .lst-when::before, .lst-dur::before { content: attr(data-label) " "; color: var(--chiaro-2); margin-right: .35rem; }
    .lst-price { grid-column: 1; margin-top: .8rem; }
    .lst-cta { grid-column: 2; align-self: end; margin-top: .8rem; }
}

/* === FAQ === */
.faq { max-width: 50rem; }
details { border-bottom: 1px solid rgba(42, 33, 27, .16); }
details:first-of-type { border-top: 1px solid rgba(42, 33, 27, .16); }
summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    padding: 1.4rem 0;
    font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.3; color: var(--inchiostro);
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+"; flex: none;
    font-family: var(--sans); font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--sale-scuro);
    transition: transform .3s;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-content { padding: 0 0 1.6rem; max-width: 44rem; }
.faq-content a { color: var(--sale-scuro); }

/* === PRENOTA / DOVE SIAMO === */
.visit { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.visit h2 { font-size: clamp(2.6rem, 5vw, 3.8rem); font-style: italic; margin-bottom: 1.1rem; }
.visit .lede { font-size: 1.125rem; max-width: 30rem; margin-bottom: 2rem; }
.visit .hero-actions { margin-bottom: 2.75rem; }
.info { display: grid; gap: 1.25rem; }
.info dt { font-size: .88rem; color: var(--chiaro-2); }
.info dd a { color: var(--chiaro); }
.map {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
    background: transparent;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75); }
.map-placeholder {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem;
    text-align: center; padding: 1.5rem; color: var(--chiaro);
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(244, 237, 228, .14);
}
.map-placeholder svg { color: var(--sale); }
.map-placeholder p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.map-note { margin-top: .9rem; font-size: .88rem; max-width: 34rem; }
.map-note a { color: var(--chiaro); }
.map-link { display: inline-block; margin-top: .6rem; color: var(--chiaro); }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; } }

/* === FOOTER === */
.site-footer { background: var(--notte-2); padding: 4rem 0 2.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-grid .logo { margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--chiaro); }
.footer-grid h3 { font-family: var(--sans); font-weight: 500; font-size: .9rem; color: var(--chiaro-2); margin-bottom: .75rem; }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 237, 228, .08);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
    font-size: .85rem; color: rgba(205, 191, 175, .75);
}
.footer-bottom a { color: var(--chiaro-2); }
.footer-bottom a:hover { color: var(--chiaro); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1.2fr 1.4fr; gap: 3rem; } }

/* === LIGHTBOX === */
.lightbox {
    margin: auto; padding: 0; border: 0; background: transparent;
    max-width: 94vw; max-height: 94vh; overflow: visible; color: var(--chiaro);
}
.lightbox::backdrop { background: rgba(20, 14, 10, .93); }
.lightbox[open] { animation: rise .35s ease-out; }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { text-align: center; margin-top: .9rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.lb-close {
    position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px;
    border: 1px solid rgba(244, 237, 228, .35); border-radius: 50%;
    background: rgba(36, 26, 19, .6); color: var(--chiaro); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* === INTERAZIONI:INIZIO === */
/* Regole di questa parte: niente riquadri attorno ai contenuti, un solo colore per azioni e link,
   numeri in cifre allineate, linee sottili solo dove separano davvero qualcosa. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--ink { background: var(--inchiostro); color: var(--chiaro); }
.btn--ink:hover { background: #3E3128; }
.num { font-family: var(--sans); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }

/* --- prossimo passo, alla fine di una sezione --- */
.next {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem;
    margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(244, 237, 228, .14);
}
.next > p { flex: 1 1 24rem; max-width: 42rem; font-size: 1.05rem; color: var(--chiaro); }
.next strong { font-weight: 500; }
.next-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.next--light { border-top-color: rgba(42, 33, 27, .16); }
.next--light > p { color: var(--inchiostro); }
.next-price { margin: 0 .3rem 0 .4rem; font-family: var(--sans); font-weight: 500; font-variant-numeric: lining-nums; white-space: nowrap; }
.next-small { font-size: .9rem; color: var(--chiaro-2); }

/* --- listino: consiglio e fasce di oggi --- */
.lst-help { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 900px) { .lst-help { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 5rem); } }
.lst-hint p { max-width: 36rem; font-size: 1.06rem; color: var(--chiaro); }
.lst-hint p + p { margin-top: .9rem; color: var(--chiaro-2); }
.lst-hint a, .lst-hint .link-btn { color: var(--sale); text-underline-offset: 3px; }

.today[hidden] { display: none; }
.today-title { margin-bottom: .55rem; font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: var(--chiaro); }
.today-list { list-style: none; border-top: 1px solid rgba(244, 237, 228, .18); }
.today-list li {
    display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) auto; column-gap: 1rem; align-items: baseline;
    padding: .6rem 0; border-bottom: 1px solid rgba(244, 237, 228, .1); font-size: .95rem;
}
.today-time { font-variant-numeric: lining-nums tabular-nums; color: var(--chiaro-2); }
.today-name { color: var(--chiaro); }
.today-state { margin-left: .5rem; font-size: .85rem; color: var(--chiaro-2); }
.today-list li.is-now .today-state { color: var(--sale); }
.today-list li.is-past { color: rgba(205, 191, 175, .5); }
.today-list li.is-past .today-name, .today-list li.is-past .today-time { color: inherit; }
.today-list .link-btn { font-size: .9rem; color: var(--sale); text-underline-offset: 3px; }
.today-note { margin-top: .75rem; font-size: .85rem; color: var(--chiaro-2); }

/* --- consulente: trova il tuo percorso --- */
.fd {
    width: min(620px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
    margin: auto; padding: 0; overflow: auto; border-radius: 4px;
    border: 1px solid rgba(244, 237, 228, .18); background: var(--notte); color: var(--chiaro-2);
    font-family: var(--sans); font-size: 1rem; line-height: 1.6; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
}
.fd::backdrop { background: rgba(20, 14, 10, .8); }
.fd-inner { padding: 1.4rem 1.6rem 1.7rem; }
.fd-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.fd-progress { font-size: .88rem; font-variant-numeric: lining-nums; }
.fd-bars { display: none; }
.fd-x {
    flex: none; width: 40px; height: 40px; border-radius: 2px; cursor: pointer;
    border: 1px solid rgba(244, 237, 228, .25); background: transparent; color: var(--chiaro); font-size: 1.35rem; line-height: 1;
}
.fd-x:hover { border-color: var(--chiaro); }
.fd-q { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 2.25rem); line-height: 1.15; color: var(--chiaro); margin-bottom: 1rem; }
.fd-q:focus { outline: none; }
.fd-opts { list-style: none; border-top: 1px solid rgba(244, 237, 228, .14); }
.fd-opt {
    width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; text-align: left;
    padding: .9rem .2rem; border: 0; border-bottom: 1px solid rgba(244, 237, 228, .14); background: transparent;
    color: var(--chiaro); font: inherit; cursor: pointer; transition: background-color .2s;
}
.fd-opt:hover, .fd-opt:focus-visible { background: rgba(255, 255, 255, .04); }
.fd-opt:hover b, .fd-opt:focus-visible b { color: var(--sale); }
.fd-opt .el, .fd-opt .fd-dot { display: none; }
.fd-opt b { font-weight: 500; font-size: 1.05rem; line-height: 1.35; transition: color .2s; }
.fd-opt small { font-size: .9rem; line-height: 1.4; color: var(--chiaro-2); }
.fd-back { margin-top: 1.1rem; font-size: .92rem; color: var(--chiaro-2); }
.fd-kicker { font-size: .92rem; color: var(--chiaro-2); }
.fd-name { margin: .1rem 0 .7rem; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.1; color: var(--chiaro); }
.fd-name .el { display: none; }
.fd-why { font-size: 1.02rem; color: var(--chiaro); }
.fd-facts { margin: 1.1rem 0; border-top: 1px solid rgba(244, 237, 228, .14); }
.fd-facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(244, 237, 228, .14); font-size: .95rem; }
.fd-facts dt { color: var(--chiaro-2); }
.fd-facts dd { color: var(--chiaro); }
.fd-note { margin-bottom: .8rem; font-size: .93rem; }
.fd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: 1.2rem; }
.fd-more { font-size: .95rem; color: var(--chiaro); text-underline-offset: 3px; }
.fd-alt { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(244, 237, 228, .14); font-size: .93rem; }
.fd-alt a { color: var(--sale); text-underline-offset: 3px; }
.fd-restart { margin-top: .9rem; font-size: .9rem; color: var(--chiaro-2); }

/* --- modulo di prenotazione --- */
.bk { width: min(680px, calc(100vw - 2rem)); color-scheme: dark; }
.bk-kicker { font-size: .92rem; color: var(--chiaro-2); }
.bk .fd-q { margin-bottom: .2rem; }
.bk-lede { font-size: .98rem; }
.bk-lede a { color: var(--chiaro); }
.bk-help { margin-top: -.4rem; font-size: .9rem; }
.bk-help .link-btn { color: var(--sale); }
.pr-field select, .pr-field textarea {
    width: 100%; min-height: 46px; padding: .6rem .8rem; border-radius: 2px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 237, 228, .25); color: var(--chiaro);
    font: 400 1rem/1.3 var(--sans);
}
.pr-field select option { background: var(--notte); color: var(--chiaro); }
.pr-field textarea { min-height: 86px; resize: vertical; line-height: 1.45; }
.pr-field select:focus, .pr-field textarea:focus { outline: 2px solid var(--sale); outline-offset: 1px; border-color: transparent; }
.pr-field select:disabled { opacity: .55; }
.pr-field input[type="date"] { color-scheme: dark; }
.bk-opt { margin-left: .3rem; font-size: .8rem; color: var(--chiaro-2); }
.bk-info, .bk-sum { border-top: 1px solid rgba(244, 237, 228, .14); }
.bk-info[hidden] { display: none; }
.bk-info div, .bk-sum div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(244, 237, 228, .14); font-size: .93rem; }
.bk-info dt, .bk-sum dt { color: var(--chiaro-2); }
.bk-info dd, .bk-sum dd { color: var(--chiaro); }
.bk-msg { margin-top: -.35rem; font-size: .88rem; color: var(--chiaro-2); }
.bk-msg:empty { display: none; }
.bk-msg.is-warn { color: #F0B8A8; }
.bk-msg .link-btn { color: var(--sale); }
.bk-attesa { margin-top: -.2rem; padding: .7rem .9rem; border-left: 2px solid var(--sale); background: rgba(227, 165, 107, .08); font-size: .9rem; color: var(--chiaro); }
.bk-attesa[hidden] { display: none; }
.bk-total { margin: -.2rem 0 .2rem; font-size: .95rem; color: var(--chiaro-2); font-variant-numeric: lining-nums tabular-nums; }
.bk-total[hidden] { display: none; }
.bk-total strong { color: var(--chiaro); font-weight: 500; font-size: 1.05rem; }
.bk-total .bk-warn { color: #F0B8A8; font-size: .88rem; }
.bk-tariffa[hidden] { display: none; }
.bk .fd-actions a.link-btn { color: var(--chiaro); }
.bk-done[hidden] { display: none; }
.bk-done .bk-lede { margin: .5rem 0 1.1rem; }
.bk-bring { margin: 1.1rem 0 1.3rem; font-size: .93rem; }

/* --- il ritmo del percorso --- */
.rhythm { margin-top: clamp(3.5rem, 7vw, 5rem); }
.rh-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; margin-bottom: 2.2rem; }
.rh-head h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.rh-head p { max-width: 30rem; font-size: .98rem; }
.rh-figure { margin: 0; }
.rh-chart { position: relative; height: clamp(200px, 26vw, 300px); margin-left: 2.4rem; }
.rh-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rh-grid { stroke: rgba(244, 237, 228, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rh-line { fill: none; stroke: var(--chiaro); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rh-area { fill: rgba(244, 237, 228, .04); }
.rh-band { fill: rgba(227, 165, 107, .13); transition: x .4s ease, width .4s ease; }
.rh-y { position: absolute; top: 0; bottom: 0; left: -2.4rem; width: 2rem; }
.rh-y span { position: absolute; right: 0; transform: translateY(-50%); font-size: .76rem; font-variant-numeric: lining-nums tabular-nums; color: var(--chiaro-2); }
.rh-x { position: relative; height: 1.3rem; margin: .55rem 0 0 2.4rem; }
.rh-x span { position: absolute; transform: translateX(-50%); font-size: .76rem; font-variant-numeric: lining-nums; color: var(--chiaro-2); white-space: nowrap; }
.rh-x span:first-child { transform: none; }
.rh-x span:last-child { transform: translateX(-100%); }
.rh-dot {
    position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.rh-dot::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
    background: var(--crepuscolo); border: 1.5px solid var(--chiaro); transition: background-color .25s, border-color .25s;
}
.rh-dot.is-on::before { background: var(--sale); border-color: var(--sale); }
.rh-dot-temp {
    position: absolute; bottom: calc(100% - 2px); left: 50%; transform: translateX(-50%);
    font-size: .8rem; line-height: 1; font-variant-numeric: lining-nums; color: var(--chiaro-2); white-space: nowrap; pointer-events: none;
}
.rh-dot.is-on .rh-dot-temp { color: var(--chiaro); }
.rh-note { margin-top: .4rem; font-size: .86rem; color: var(--chiaro-2); }
.rh-tabs { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-top: 1.8rem; border-bottom: 1px solid rgba(244, 237, 228, .16); }
.rh-tab {
    margin-bottom: -1px; padding: .75rem 0; border: 0; border-bottom: 2px solid transparent; background: transparent;
    color: var(--chiaro-2); font: 400 1rem/1.3 var(--sans); cursor: pointer; transition: color .2s, border-color .2s;
}
.rh-tab b { font-weight: inherit; }
.rh-tab small, .rh-tab .el { display: none; }
.rh-tab:hover { color: var(--chiaro); }
.rh-tab[aria-selected="true"] { color: var(--chiaro); border-bottom-color: var(--sale); }
.rh-stage { display: grid; grid-template-columns: 1fr; gap: .4rem 3rem; padding-top: 1.5rem; }
.rh-stage[hidden] { display: none; }
@media (min-width: 900px) { .rh-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.rh-ritual { font-size: .92rem; color: var(--chiaro-2); }
.rh-stage h4 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.15; color: var(--chiaro); }
.rh-stage p { max-width: 40rem; }
.rh-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin-top: .6rem; font-size: .9rem; color: var(--chiaro-2); font-variant-numeric: lining-nums; }
.rh-meta b { color: var(--chiaro); font-weight: 500; }
/* la curva si disegna una volta sola, quando entra nello schermo */
.rhythm.will-draw .rh-svg { clip-path: inset(0 100% 0 0); }
.rhythm.will-draw .rh-dot { opacity: 0; }
.rhythm.is-drawn .rh-svg { clip-path: inset(0 0 0 0); transition: clip-path 1.6s cubic-bezier(.45, 0, .2, 1); }
.rhythm.is-drawn .rh-dot { opacity: 1; transition: opacity .4s ease calc(var(--i) * .2s + .3s); }

/* --- carta regalo --- */
.gift { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .gift { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 5rem); align-items: start; } }
.gift-text h2 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); margin-bottom: .9rem; }
.gift-text p { font-size: 1.08rem; max-width: 30rem; }
.gift-list { list-style: none; border-top: 1px solid rgba(244, 237, 228, .18); }
.gift-item {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; row-gap: .15rem; align-items: baseline;
    padding: 1.1rem 0; border-bottom: 1px solid rgba(244, 237, 228, .12); text-decoration: none;
}
.gift-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--chiaro); }
.gift-desc { grid-column: 1; font-size: .93rem; line-height: 1.45; color: var(--chiaro-2); }
.gift-price { grid-column: 2; grid-row: 1; font-family: var(--sans); font-weight: 500; font-variant-numeric: lining-nums; color: var(--chiaro); white-space: nowrap; }
.gift-go { grid-column: 2; grid-row: 2; font-size: .9rem; color: var(--sale); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.gift-item:hover .gift-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gift-more { margin-top: 1rem; font-size: .95rem; }
.gift-more a { color: var(--chiaro); text-underline-offset: 3px; }
@media (max-width: 520px) {
    .gift-item { grid-template-columns: 1fr auto; }
    .gift-go { grid-column: 1 / -1; grid-row: 3; margin-top: .3rem; }
}

/* --- domande frequenti --- */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) {
    .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 5rem); align-items: start; }
    .faq-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
@media (max-width: 899.98px) {
    /* su smartphone le domande vengono subito dopo ricerca e argomenti; il contatto va in fondo */
    .faq-side { display: contents; }
    .faq-help { order: 2; }
    .faq-main { order: 1; }
    .faq-layout { gap: 0; }
    .faq-cats { margin-bottom: 2rem; }
    .faq-help { margin-top: 2rem; }
}
.faq-side h2 { font-size: clamp(2.4rem, 4.6vw, 3.3rem); margin-bottom: .7rem; }
.faq-lede { font-size: 1.08rem; margin-bottom: 1.5rem; }
.faq-search { position: relative; display: block; }
.faq-search svg { position: absolute; left: .9rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--inchiostro-2); pointer-events: none; }
.faq-search input {
    width: 100%; min-height: 50px; padding: .7rem 2.9rem .7rem 2.7rem; border-radius: 2px;
    border: 1px solid rgba(42, 33, 27, .3); background: #F7F3EE; color: var(--inchiostro); font: 400 1rem/1.3 var(--sans);
}
.faq-search input::placeholder { color: #857669; }
.faq-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.faq-search input:focus { outline: 2px solid var(--sale-scuro); outline-offset: 1px; border-color: transparent; }
.faq-clear {
    position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 2px;
    border: 0; background: transparent; color: var(--inchiostro-2); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.faq-clear:hover { color: var(--inchiostro); }
.faq-clear[hidden] { display: none; }
.faq-cats { display: flex; flex-wrap: wrap; gap: .1rem 1.25rem; margin-top: 1.1rem; }
.faq-cats button {
    padding: .35rem 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; cursor: pointer;
    color: var(--inchiostro-2); font: 400 .95rem/1.3 var(--sans); transition: color .2s, border-color .2s;
}
.faq-cats button span { margin-left: .2rem; font-size: .8rem; font-variant-numeric: lining-nums; color: #857669; }
.faq-cats button:hover { color: var(--inchiostro); }
.faq-cats button[aria-pressed="true"] { color: var(--inchiostro); border-bottom-color: var(--sale-scuro); }
.faq-help { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(42, 33, 27, .16); }
.faq-help p { margin-bottom: .9rem; font-size: .97rem; color: var(--inchiostro-2); }
.faq-help strong { color: var(--inchiostro); font-weight: 500; }
.faq-help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.faq-help .link-btn, .faq-content .link-btn { color: var(--sale-scuro); }
.faq-count { margin-bottom: .6rem; font-size: .9rem; font-variant-numeric: lining-nums; color: var(--inchiostro-2); }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group-title { margin-bottom: .25rem; font-family: var(--sans); font-weight: 500; font-size: .95rem; color: var(--inchiostro-2); }
.faq-item summary { font-size: 1.32rem; }
.faq-item { scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-item:target summary, .faq-item.is-linked summary { color: var(--sale-scuro); }
.faq-empty { padding: 1.2rem 0; border-top: 1px solid rgba(42, 33, 27, .16); }
.faq-empty[hidden] { display: none; }
.faq-empty p { margin-bottom: .6rem; color: var(--inchiostro); }
.faq-empty a { color: var(--sale-scuro); font-weight: 500; }

/* --- sezione finale --- */
.visit-hint { margin: -1.75rem 0 2.5rem; font-size: .95rem; }
.visit-hint .link-btn { color: var(--sale); }

@media (prefers-reduced-motion: reduce) {
    .rhythm *, .fd[open] { transition: none !important; animation: none !important; }
}
/* === INTERAZIONI:FINE === */
/* === CENTRO:INIZIO === */
.pillars { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.pillar { display: flex; flex-direction: column; gap: .6rem; padding-top: 1.2rem; border-top: 1px solid rgba(244, 237, 228, .28); }
.pillar h3 { font-size: clamp(1.8rem, 2.8vw, 2.15rem); }
.pillar p { font-size: 1rem; max-width: 26rem; }
.pillar a { margin-top: auto; padding-top: .5rem; width: fit-content; font-size: .97rem; color: var(--sale); text-underline-offset: 3px; }
.facts--spa { margin-bottom: clamp(3.5rem, 7vw, 5rem); }

.lg { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .lg { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 5rem); } }
.lg-intro h2 { font-size: clamp(2.3rem, 4.2vw, 3.3rem); margin-bottom: 1.1rem; }
.lg-intro > p { font-size: 1.1rem; max-width: 36rem; }
.net { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-lines line { stroke: rgba(42, 33, 27, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.net-hub, .net-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.net-hub {
    left: 50%; top: 50%; width: 44%; aspect-ratio: 1; justify-content: center; gap: .2rem; padding: .8rem; border-radius: 50%;
    background: var(--lino); border: 1px solid var(--inchiostro);
}
.net-hub strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.1; color: var(--inchiostro); }
.net-hub span { font-size: .8rem; line-height: 1.3; color: var(--inchiostro-2); }
.net-node { width: max-content; max-width: 9rem; padding: .4rem .5rem; background: var(--lino); }
.net-node strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.15; color: var(--inchiostro); }
.net-node span { font-size: .78rem; line-height: 1.3; color: var(--inchiostro-2); }
.lg-steps { list-style: none; counter-reset: lg; display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 820px) { .lg-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.lg-steps li { counter-increment: lg; padding-top: 1.1rem; border-top: 1px solid rgba(42, 33, 27, .3); }
.lg-steps li::before { content: counter(lg); display: block; margin-bottom: .2rem; font-size: .92rem; font-variant-numeric: lining-nums; color: var(--inchiostro-2); }
.lg-steps h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.lg-steps p { font-size: 1rem; }
.lg-note { margin-top: 1.75rem; max-width: 46rem; font-size: .9rem; }
@media (max-width: 420px) {
    .net-node { max-width: 7.4rem; padding: .3rem .35rem; }
    .net-node strong { font-size: 1.02rem; }
    .net-node span { font-size: .72rem; }
    .net-hub { width: 48%; }
    .net-hub span { font-size: .72rem; }
}
/* === CENTRO:FINE === */
    
/* =========================================================
   PAGINA PERCORSI
   (colori dei percorsi e listino sono nello stile della home, condiviso)
   ========================================================= */
.band--notte { --bg: var(--notte); }
.band--crepuscolo { --bg: var(--crepuscolo); }
.band--lino { --bg: var(--lino); }
.band--lino-2 { --bg: var(--lino-2); }
.main-nav a[aria-current="page"] { color: var(--chiaro); border-bottom-color: var(--sale); }
sup { font-size: .68em; line-height: 0; }
.band--notte sup a, .band--crepuscolo sup a { color: var(--sale); }
.btn--block { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- apertura con il listino ---------- */
.p-hero {
    background: var(--notte);
    padding: calc(var(--header-h) + clamp(3rem, 7vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 5rem);
}
.p-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.6rem); font-style: italic; line-height: 1.04;
    margin-bottom: 1.1rem;
}
.p-hero .lede { font-size: 1.15rem; max-width: 42rem; color: var(--chiaro); }

/* ---------- barra dei percorsi, fissa sotto l'header ---------- */
.subnav {
    position: sticky; top: var(--header-h); z-index: 900;
    background: rgba(27, 19, 14, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(244, 237, 228, .06); border-bottom: 1px solid rgba(244, 237, 228, .1);
}
.subnav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
    display: flex; align-items: stretch; gap: 1rem; min-height: 58px;
}
.subnav ul { list-style: none; display: flex; gap: 1.6rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a {
    display: block; white-space: nowrap; padding: 1.05rem 0 .95rem; border-bottom: 2px solid transparent;
    font-size: .95rem; color: var(--chiaro-2); text-decoration: none; transition: color .2s, border-color .2s;
}
.subnav ul a:hover { color: var(--chiaro); }
.subnav ul a.is-active { color: var(--chiaro); border-bottom-color: var(--sale); }

/* ---------- scheda di un percorso: testo a sinistra, foto e prezzo a destra ---------- */
.path { scroll-margin-top: calc(var(--header-h) + 58px); padding: clamp(4rem, 8vw, 6.5rem) 0; }
#calendario, #prenota, #convenzioni, #regole { scroll-margin-top: calc(var(--header-h) + 58px); }
.pv { display: grid; grid-template-columns: 1fr; grid-template-areas: "photo" "main" "card"; gap: 2.25rem; }
.pv-main { grid-area: main; min-width: 0; }
.pv-photo { grid-area: photo; }
.pv-card { grid-area: card; }
.pv-photo .photo { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
    .pv {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr;
        grid-template-areas: "main photo" "main card"; column-gap: clamp(3rem, 6vw, 5rem); row-gap: 1.5rem;
    }
    .pv--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo main" "card main"; }
    .pv-photo .photo { aspect-ratio: 4 / 3; }
    .pv-card { align-self: start; }
}
.pv-main h2 { font-size: clamp(2.5rem, 4.6vw, 3.5rem); margin-bottom: .4rem; }
.path-claim {
    font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.3vw, 1.65rem); line-height: 1.3;
    color: var(--chiaro); margin-bottom: 1rem;
}
.on-light .path-claim { color: var(--inchiostro); }
.path-text { max-width: 38rem; }

.pfacts {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.6rem 0 0; border-top: 1px solid rgba(244, 237, 228, .14); border-bottom: 1px solid rgba(244, 237, 228, .14);
}
.pfacts > div { padding: .75rem 1rem .75rem 0; }
.pfacts > div:nth-child(n + 3) { border-top: 1px solid rgba(244, 237, 228, .1); }
.pfacts > div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid rgba(244, 237, 228, .1); }
.pfacts dt { font-size: .86rem; color: var(--chiaro-2); }
.pfacts dd { font-size: .95rem; line-height: 1.45; color: var(--chiaro); }
.on-light .pfacts { border-color: rgba(42, 33, 27, .14); }
.on-light .pfacts > div:nth-child(n + 3) { border-top-color: rgba(42, 33, 27, .1); }
.on-light .pfacts > div:nth-child(even) { border-left-color: rgba(42, 33, 27, .1); }
.on-light .pfacts dt { color: var(--inchiostro-2); }
.on-light .pfacts dd { color: var(--inchiostro); }

/* cosa comprende / da sapere */
.fit { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 1.9rem; }
.pv-h { font-size: 1.4rem; margin-bottom: .65rem; }
.on-light .pv-h { color: var(--inchiostro); }
.fit-list, .book-inc { list-style: none; display: grid; gap: .45rem; }
.fit-list li, .book-inc li { position: relative; padding-left: 1.25rem; font-size: .96rem; line-height: 1.5; }
.fit-list li::before, .book-inc li::before { content: "–"; position: absolute; left: 0; top: 0; color: var(--chiaro-2); }
.on-light .fit-list li::before, .on-light .book-inc li::before { color: var(--inchiostro-2); }
@media (min-width: 700px) { .fit { grid-template-columns: 1fr 1fr; gap: 2.25rem; } }

/* Longevity: il programma mensile */
.monthly { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(42, 33, 27, .2); }
.monthly-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; color: var(--inchiostro); margin-bottom: .35rem; }
.monthly > p:not(.monthly-title) { font-size: .96rem; margin-bottom: .6rem; }

/* approfondimenti a scomparsa */
.pv-more { margin-top: 1.9rem; }
.pv-evidence { margin-top: 1.6rem; }
details.more { border-top: 1px solid rgba(244, 237, 228, .14); border-bottom: 1px solid rgba(244, 237, 228, .14); }
details.more + details.more { border-top: 0; }
details.more summary { padding: 1rem 0; font-size: 1.25rem; color: var(--chiaro); }
details.more summary::after { color: var(--sale); }
.on-light details.more { border-color: rgba(42, 33, 27, .16); }
.on-light details.more summary { color: var(--inchiostro); }
.on-light details.more summary::after { color: var(--sale-scuro); }
.more-body, details.more > .measures, details.more > .t-note { padding-bottom: 1.4rem; }
details.more > .measures { padding-bottom: 0; }

.t-note { margin-top: .9rem; font-size: .92rem; max-width: 40rem; }

/* Longevity: cosa misuriamo */
.measures { list-style: none; display: grid; grid-template-columns: 1fr; gap: .8rem; }
.measures li { display: flex; flex-direction: column; gap: .3rem; padding-top: 1rem; border-top: 1px solid rgba(42, 33, 27, .2); font-size: .94rem; }
.measures strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; color: var(--inchiostro); }
@media (min-width: 640px) { .measures { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }

/* scheda prezzi e prenotazione */
.book-card { padding-top: 1.3rem; border-top: 1px solid rgba(244, 237, 228, .3); }
.on-light .book-card { border-top-color: rgba(42, 33, 27, .3); }
.book-price { font-family: var(--sans); font-weight: 500; font-size: 2.6rem; line-height: 1; font-variant-numeric: lining-nums; color: var(--chiaro); }
.on-light .book-price { color: var(--inchiostro); }
.book-unit { font-size: .93rem; margin: .45rem 0 1rem; }
.book-card .offer-tag { margin: -.4rem 0 1rem; }
.on-light .book-card .offer-tag { color: var(--sale-scuro); }
.book-prices { margin-bottom: 1.3rem; }
.book-prices > div {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .5rem 0; border-top: 1px solid rgba(244, 237, 228, .12); font-size: .93rem;
}
.on-light .book-prices > div { border-top-color: rgba(42, 33, 27, .14); }
.book-prices dd { font-weight: 500; font-variant-numeric: lining-nums; color: var(--chiaro); white-space: nowrap; }
.on-light .book-prices dd { color: var(--inchiostro); }
.book-ask { display: block; margin-top: .85rem; text-align: center; font-size: .92rem; color: var(--chiaro); text-underline-offset: 3px; }
.on-light .book-ask { color: var(--inchiostro); }

/* Longevity: due formule nella stessa scheda */
.formula + .formula { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(42, 33, 27, .16); }
.formula-name {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem;
    font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: var(--inchiostro);
}
.formula-name span { font-family: var(--sans); font-size: .88rem; color: var(--inchiostro-2); }
.formula .book-unit { margin-bottom: .9rem; }
.on-light .btn--line { color: var(--inchiostro); border-color: rgba(42, 33, 27, .45); }
.on-light .btn--line:hover { border-color: var(--inchiostro); background: rgba(42, 33, 27, .04); }

/* ---------- calendario ---------- */
.cal { display: grid; gap: .55rem; }
.cal-row { display: grid; grid-template-columns: 6.5rem repeat(26, minmax(0, 1fr)); column-gap: 2px; }
.cal-row > * { grid-row: 1; }
.cal-day { grid-column: 1; align-self: center; font-family: var(--serif); font-size: 1.15rem; color: var(--chiaro); }
.cal-head .cal-day { font-family: var(--sans); font-size: .85rem; color: var(--chiaro-2); }
.cal-hour { font-size: .8rem; color: var(--chiaro-2); border-left: 1px solid rgba(244, 237, 228, .2); padding-left: .35rem; }
.slot {
    min-height: 3.4rem; padding: .45rem .6rem; overflow: hidden;
    font-size: .8rem; line-height: 1.3; color: var(--chiaro-2);
    background: rgba(255, 255, 255, .035); border: 0; border-left: 2px solid var(--c); border-radius: 0;
}
.slot b { display: block; font-weight: 500; font-size: .9rem; color: var(--chiaro); }
.cal-note { margin-top: 1.5rem; font-size: .95rem; max-width: 46rem; }
.cal-row.is-today .cal-day { color: var(--sale); }
.cal-row.is-today .slot { background: rgba(255, 255, 255, .07); }
.cal-today { display: block; font-family: var(--sans); font-size: .8rem; color: var(--sale); }
.faq-all { margin-top: 1.4rem; }
.faq-all a { color: var(--sale-scuro); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 860px) {
    .cal-row { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: 1rem; border-top: 1px solid rgba(244, 237, 228, .12); }
    .cal-row.cal-head { display: none; }
    .cal-day { width: 100%; }
    .slot { flex: 1 1 100%; min-height: 0; display: flex; justify-content: space-between; gap: 1rem; }
    .slot b { display: inline; }
}

/* ---------- convenzioni ---------- */
.deals { display: grid; grid-template-columns: 1fr; gap: 2rem 2.5rem; }
.deal { display: flex; flex-direction: column; padding-top: 1.2rem; border-top: 1px solid rgba(42, 33, 27, .3); }
.deal .el { display: none; }
.deal h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.deal p { font-size: .96rem; margin-bottom: 1.1rem; }
.deal-link { margin-top: auto; color: var(--sale-scuro); font-weight: 500; font-size: .95rem; text-underline-offset: 3px; }
@media (min-width: 700px) { .deals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .deals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- regole, domande e note ---------- */
.rules-title { font-size: clamp(1.9rem, 3vw, 2.3rem); margin-bottom: 1.25rem; }
.faq--compact summary { font-size: 1.3rem; }
.notes { margin-top: clamp(3rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(42, 33, 27, .14); font-size: .88rem; }
.notes h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.notes ol { padding-left: 1.3rem; display: grid; gap: .3rem; }
.notes a { color: var(--inchiostro-2); }
.notes li { scroll-margin-top: calc(var(--header-h) + 76px); }
.notes li:target { background: rgba(227, 165, 107, .25); }

/* ---------- prenotazione finale ---------- */
.p-cta-title { font-style: italic; }
.quick-book { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: 3rem; border-top: 1px solid rgba(244, 237, 228, .2); }
.qb {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 1.25rem;
    padding: 1rem 0; border-bottom: 1px solid rgba(244, 237, 228, .12); text-decoration: none;
}
.qb-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: var(--chiaro); }
.qb-price { font-weight: 500; font-variant-numeric: lining-nums; color: var(--chiaro); white-space: nowrap; }
.qb-price small { font-weight: 400; font-size: .85rem; color: var(--chiaro-2); }
.qb-go { font-size: .92rem; color: var(--sale); text-decoration: underline; text-underline-offset: 3px; }
.qb:hover .qb-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (min-width: 900px) { .quick-book { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.howto-book {
    list-style: none; counter-reset: passo; display: grid; grid-template-columns: 1fr; gap: 1.4rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(244, 237, 228, .12);
}
.howto-book li { counter-increment: passo; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; }
.howto-book li::before {
    content: counter(passo); grid-row: span 2;
    min-width: 1.4rem; font-variant-numeric: lining-nums; color: var(--chiaro-2); font-size: .95rem;
}
.howto-book strong { color: var(--chiaro); font-weight: 500; }
.howto-book span { font-size: .93rem; }
@media (min-width: 820px) { .howto-book { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.p-cta-alt { margin-top: 2rem; font-size: .98rem; }
.p-cta-alt + .p-cta-alt { margin-top: .6rem; }
.p-cta-alt a { color: var(--chiaro); }
.p-cta-alt .link-btn { color: var(--sale); font-weight: 500; }

/* ---------- barra di prenotazione su smartphone ---------- */
.mbar { display: none; }
@media (max-width: 900px) {
    .mbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
        background: rgba(27, 19, 14, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
        border-top: 1px solid rgba(244, 237, 228, .12);
        transform: translateY(110%); transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    }
    .mbar.is-visible { transform: none; }
    .mbar-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
    .mbar-text small { font-size: .75rem; color: var(--chiaro-2); }
    .mbar-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--chiaro); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-footer { padding-bottom: calc(2.5rem + 76px); }
}

/* =========================================================
   PAGINE SINGOLE
   ========================================================= */
.p-hero--page { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.p-hero--page .lede { margin-bottom: 0; }
.p-hero--page .lede + .hero-actions { margin-top: clamp(1.75rem, 4vw, 2.25rem); }
.howto-item h3 { text-wrap: balance; }
/* Una presentazione in più paragrafi (Functional Spa) */
.path-text + .path-text { margin-top: .85rem; }
/* Tre colonne (titolo e testo): i testi partono alla stessa altezza anche se un titolo va a capo */
@media (min-width: 820px) {
    .howto { row-gap: 0; }
    .howto-item { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-content: start; }
}
.crumbs { margin: 0 0 1.1rem; font-size: .9rem; color: var(--chiaro-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--chiaro-2); text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--chiaro); }
/* Two paths at the same time (Smart Morning with the morning Functional Spa): a second line in the day of the week. */
@media (min-width: 861px) {
    .cal-row.has-lanes { row-gap: 2px; }
    .cal-row > .slot--lane2 { grid-row: 2; }
    .cal-row.has-lanes > .cal-day { grid-row: 1 / 3; }
}
.page-links { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 2rem; background: rgba(244, 237, 228, .12); border: 1px solid rgba(244, 237, 228, .12); }
/* The last row never shows an empty cell (the lines come from the grid background): two links share it, one takes it all. */
@media (min-width: 700px) {
    .page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-link:nth-child(odd):last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
    .page-links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .page-link, .page-link:nth-child(odd):last-child { grid-column: span 2; }
    .page-link:nth-child(3n+1):nth-last-child(2), .page-link:nth-child(3n+2):last-child { grid-column: span 3; }
    .page-link:nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
.page-link { display: grid; gap: .3rem; padding: 1.4rem 1.5rem; background: var(--notte); text-decoration: none; }
.page-link strong { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.2; color: var(--chiaro); }
.page-link span { font-size: .95rem; color: var(--chiaro-2); }
.page-link:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.band--lino .page-link, .band--lino-2 .page-link { background: var(--lino); }
.band--lino .page-link strong, .band--lino-2 .page-link strong { color: var(--inchiostro); }
.band--lino .page-link span, .band--lino-2 .page-link span { color: var(--inchiostro-2); }
.band--lino .page-links, .band--lino-2 .page-links { background: rgba(42, 33, 27, .12); border-color: rgba(42, 33, 27, .12); }
.faq-teaser .faq-item { border-color: rgba(42, 33, 27, .14); }
.more-link { margin-top: 1.5rem; font-size: 1rem; }
.more-link a { color: var(--sale); text-underline-offset: 3px; }
.band--lino .more-link a, .band--lino-2 .more-link a { color: var(--sale-scuro); }
.gift-more a[data-regalo] { color: var(--sale); }
.book-buy { display: block; margin-top: .8rem; text-align: center; font-size: .95rem; color: var(--sale); text-underline-offset: 3px; }
.book-buy[hidden] { display: none; }
