:root {
    --truffle: #21130e;
    --truffle-soft: #3b2117;
    --cream: #fff8ec;
    --cream-deep: #f4e4c8;
    --gold: #e8a72e;
    --gold-light: #ffd27e;
    --ink: #2b211d;
    --public-header-height: 88px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--public-header-height);
}

body {
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
}

.public-header {
    background: rgba(20, 11, 8, .93);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.public-header .navbar {
    min-height: var(--public-header-height);
}

.public-header .nav-link {
    color: #fff !important;
    font-weight: 600;
}

.public-header .nav-link:hover {
    color: var(--gold-light) !important;
}

.public-logo {
    width: auto;
    height: 62px;
    max-width: 210px;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: calc(var(--public-header-height) + 48px) 0 72px;
    overflow: hidden;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(15, 7, 4, .96) 0%, rgba(25, 11, 6, .82) 45%, rgba(25, 11, 6, .2) 78%), url('/images/evento-2026/fuochi.webp');
    background-position: center 62%;
    background-size: cover;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 50%, rgba(13, 7, 4, .72) 100%);
}

.hero::after {
    position: absolute;
    right: -7rem;
    bottom: -11rem;
    width: 34rem;
    height: 34rem;
    content: "";
    border: 1px solid rgba(255, 210, 126, .22);
    border-radius: 50%;
}

.edition-badge {
    display: inline-flex;
    gap: .5rem;
    align-items: baseline;
    padding: .55rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    background: rgba(0, 0, 0, .36);
    border: 1px solid rgba(255, 210, 126, .45);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.edition-badge span {
    font-family: Georgia, serif;
    font-size: 1.55rem;
    color: var(--gold-light);
}

.eyebrow {
    font-size: .82rem;
    font-weight: 800;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: .22em;
}

.hero h1 {
    max-width: 10ch;
    font-family: Georgia, serif;
    font-size: clamp(4.7rem, 10vw, 8.5rem);
    line-height: .82;
    letter-spacing: -.055em;
}

.hero-subtitle {
    max-width: 28ch;
    font-family: Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.2;
    color: #f8e7c8;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.hero-facts span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .6rem .8rem;
    font-weight: 700;
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .75rem;
    backdrop-filter: blur(8px);
}

.hero-facts i {
    font-size: 1.2rem;
    color: var(--gold-light);
}

.hero-copy {
    max-width: 46rem;
    color: rgba(255, 255, 255, .9);
}

.hero-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 9rem;
    min-height: 5rem;
    padding: .7rem 1.1rem;
    color: var(--truffle);
    text-align: center;
    background: var(--gold-light);
    border-radius: 1rem;
    transform: rotate(-2deg);
}

.hero-price strong {
    font-family: Georgia, serif;
    font-size: 2.15rem;
    line-height: 1;
}

.hero-price span {
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-scroll {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    z-index: 2;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, .72);
    transform: translateX(-50%);
    animation: hero-bounce 1.8s ease-in-out infinite;
}

@keyframes hero-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, .45rem); }
}

.section-pad {
    padding: 104px 0;
}

.section-title {
    font-family: Georgia, serif;
    font-size: clamp(2.45rem, 5vw, 4.35rem);
    line-height: 1.03;
    color: var(--truffle);
    letter-spacing: -.03em;
}

.event-section {
    background: linear-gradient(180deg, var(--cream), #fff);
}

.event-photo,
.truffle-photo {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
    box-shadow: 0 28px 70px rgba(52, 27, 16, .24);
}

.event-photo img,
.truffle-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-photo--crowd {
    max-width: 31rem;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
    transform: rotate(-1.5deg);
}

.event-photo--crowd img {
    object-position: center 64%;
}

.event-photo figcaption,
.truffle-photo figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: .8rem 1rem;
    font-size: .86rem;
    font-weight: 700;
    color: #fff;
    background: rgba(20, 10, 6, .72);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .85rem;
    backdrop-filter: blur(10px);
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #eadcc8;
    border-radius: 1rem;
}

.event-highlights div {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-align: center;
}

.event-highlights div + div {
    border-left: 1px solid #eadcc8;
}

.event-highlights strong {
    font-family: Georgia, serif;
    font-size: 1.8rem;
    color: #8a4b26;
}

.event-highlights span {
    font-size: .78rem;
    color: #7c6b61;
}

.menu-section {
    color: #fff;
    background: radial-gradient(circle at 15% 15%, #4a2b1e 0, var(--truffle) 40%, #120a07 100%);
}

.menu-section .section-title {
    color: #fff;
}

.menu-intro {
    color: rgba(255, 255, 255, .62);
}

.truffle-photo {
    height: 100%;
    min-height: 39rem;
}

.truffle-photo img {
    object-position: center 58%;
}

.menu-panel {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 2rem;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.8rem;
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

.menu-list {
    flex: 1;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-list li {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.menu-index {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    color: var(--gold);
}

.menu-list div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.menu-list small {
    font-size: .72rem;
    font-weight: 800;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: .13em;
}

.menu-list strong {
    font-family: Georgia, serif;
    font-size: 1.18rem;
    font-weight: 500;
}

.menu-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.35rem;
    margin-top: 1rem;
}

.menu-price-row > div {
    display: flex;
    flex-direction: column;
}

.menu-price-row span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.menu-price-row small {
    color: rgba(255, 255, 255, .55);
}

.menu-price-row > strong {
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--gold-light);
}

.program-section {
    background: #fff;
}

.event-timeline {
    position: relative;
}

.event-timeline::before {
    position: absolute;
    top: 1.7rem;
    bottom: 1.7rem;
    left: 4.15rem;
    width: 1px;
    content: "";
    background: #dbc7aa;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 3.4rem 1fr;
    gap: 1.5rem;
    align-items: center;
    min-height: 4.6rem;
}

.timeline-item time {
    font-family: Georgia, serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #8a4b26;
}

.timeline-item > div {
    position: relative;
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    padding: .65rem 0;
}

.timeline-item i {
    grid-row: 1 / span 2;
    width: 2.2rem;
    height: 2.2rem;
    padding-top: .48rem;
    color: var(--truffle);
    text-align: center;
    background: var(--gold-light);
    border-radius: 50%;
}

.timeline-item strong,
.timeline-item span {
    padding-left: .75rem;
}

.timeline-item strong {
    font-size: 1.05rem;
}

.timeline-item span {
    color: #806f65;
}

.event-photo--staff {
    aspect-ratio: 4 / 3;
    transform: rotate(1.2deg);
}

.booking-section {
    background: linear-gradient(140deg, #edce98, #f9ead0 62%, #fff4df);
}

.booking-card {
    overflow: hidden;
    border: 0;
    border-radius: 2rem;
    box-shadow: 0 25px 80px rgba(65, 30, 10, .2);
}

.booking-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1rem;
    margin-top: 1.5rem;
    color: #6b3a1f;
    background: #fff3d9;
    border: 1px solid #f0d09b;
    border-radius: 1rem;
}

.booking-price span {
    font-weight: 700;
}

.booking-price strong {
    font-family: Georgia, serif;
    font-size: 2rem;
}

.booking-summary {
    padding: 1.5rem;
    color: #fff;
    background: var(--truffle);
    border-radius: 1.4rem;
}

.booking-card .form-control,
.booking-card .form-select {
    border-color: #dfd4c6;
}

.poster-section {
    background: linear-gradient(180deg, #fff, var(--cream));
}

.poster-link {
    display: inline-block;
    max-width: 24rem;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 28px 70px rgba(45, 20, 10, .28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.poster-link:hover {
    box-shadow: 0 32px 78px rgba(45, 20, 10, .36);
    transform: translateY(-6px);
}

.poster-link img {
    display: block;
    width: 100%;
    height: auto;
}

.contact-section {
    background: #fff;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.public-footer {
    color: #cbbdb5;
    background: #150c08;
}

.public-footer a {
    color: #fff;
}

.confirmation-page {
    min-height: calc(100vh - 80px);
    padding: 150px 0 80px;
    background: linear-gradient(140deg, #f1d5a4, #fff8ec);
}

[data-bs-theme="dark"] body {
    color: #e7ddd6;
    background: #15110f;
}

[data-bs-theme="dark"] .event-section,
[data-bs-theme="dark"] .program-section,
[data-bs-theme="dark"] .poster-section,
[data-bs-theme="dark"] .contact-section {
    background: #15110f;
}

[data-bs-theme="dark"] .section-title {
    color: #fff;
}

[data-bs-theme="dark"] .event-highlights {
    border-color: #4b3a31;
}

[data-bs-theme="dark"] .event-highlights div + div {
    border-color: #4b3a31;
}

[data-bs-theme="dark"] .event-highlights span,
[data-bs-theme="dark"] .timeline-item span {
    color: #c8b8ae;
}

[data-bs-theme="dark"] .booking-section {
    background: #211712;
}

[data-bs-theme="dark"] .booking-card {
    color: #fff;
    background: #261d19;
}

[data-bs-theme="dark"] .booking-price {
    color: #f6d9ae;
    background: #36251c;
    border-color: #60432e;
}

@media (max-width: 991.98px) {
    :root {
        --public-header-height: 72px;
    }

    .public-header {
        position: fixed !important;
    }

    .public-header .navbar {
        min-height: 72px;
        padding-block: 7px;
    }

    .public-header .navbar-collapse {
        padding: 14px;
        margin-top: 8px;
        background: #1b100c;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
    }

    .public-header .navbar-nav {
        gap: 3px;
    }

    .public-header .nav-link {
        padding: 10px 12px;
    }

    .public-header .navbar-nav .btn {
        width: 100%;
        margin-top: 5px;
    }

    .public-logo {
        height: 52px;
    }

    .hero {
        min-height: 840px;
        padding-top: 120px;
        padding-bottom: 80px;
        background-image: linear-gradient(180deg, rgba(12, 6, 3, .5) 0%, rgba(18, 8, 4, .92) 62%, rgba(18, 8, 4, .98) 100%), url('/images/evento-2026/fuochi.webp');
        background-position: center 35%;
    }

    .hero h1 {
        font-size: clamp(4rem, 14vw, 6.5rem);
    }

    .hero-copy {
        max-width: 38rem;
    }

    .section-pad {
        padding: 72px 0;
    }

    .event-photo--crowd {
        max-width: 38rem;
        aspect-ratio: 5 / 4;
        transform: none;
    }

    .event-photo--crowd img {
        object-position: center 70%;
    }

    .truffle-photo {
        min-height: 30rem;
    }

    .event-photo--staff {
        transform: none;
    }

    .booking-card .card-body {
        padding: 28px !important;
    }

    .booking-card .row {
        --bs-gutter-y: 2rem;
    }

    .form-control,
    .form-select {
        min-height: 52px;
        font-size: 16px;
    }

    .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }

}

@media (max-width: 575.98px) {
    :root {
        --public-header-height: 66px;
    }

    .public-header .navbar {
        min-height: 66px;
    }

    .public-logo {
        height: 44px;
        max-width: 165px;
    }

    .navbar-toggler {
        padding: 7px 9px;
    }

    .hero {
        min-height: 790px;
        padding-top: 102px;
        padding-bottom: 74px;
        background-position: center top;
    }

    .hero .eyebrow {
        margin-bottom: 12px !important;
        font-size: .72rem;
        letter-spacing: .14em;
    }

    .edition-badge {
        margin-bottom: 1rem !important;
    }

    .hero h1 {
        margin-bottom: 14px !important;
        font-size: clamp(3.7rem, 19vw, 5.1rem);
        line-height: .88;
    }

    .hero-subtitle {
        margin-bottom: 18px !important;
        font-size: 1.22rem;
    }

    .hero-facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .hero-facts span {
        padding: .5rem .65rem;
        font-size: .88rem;
    }

    .hero-copy {
        margin-bottom: 22px !important;
        font-size: .98rem;
        line-height: 1.5;
    }

    .hero-price {
        min-width: 7.7rem;
        min-height: 4.5rem;
    }

    .hero-price strong {
        font-size: 1.85rem;
    }

    .hero-actions {
        display: grid !important;
        flex: 1 1 100%;
        grid-template-columns: 1fr;
        gap: 9px !important;
    }

    .hero-actions .btn {
        width: 100%;
        padding-block: 12px;
    }

    .hero-scroll {
        display: none;
    }

    .section-pad {
        padding: 56px 0;
    }

    .section-title {
        font-size: 2.35rem;
    }

    .event-photo,
    .truffle-photo {
        border-radius: 1.2rem;
    }

    .event-photo--crowd {
        aspect-ratio: 4 / 5;
    }

    .event-highlights {
        grid-template-columns: 1fr;
    }

    .event-highlights div + div {
        border-top: 1px solid #eadcc8;
        border-left: 0;
    }

    .truffle-photo {
        min-height: 23rem;
    }

    .menu-panel {
        padding: 1rem 1.15rem;
        border-radius: 1.2rem;
    }

    .menu-list li {
        grid-template-columns: 2.4rem 1fr;
        gap: .7rem;
        padding: .85rem 0;
    }

    .menu-index {
        font-size: 1.15rem;
    }

    .menu-list strong {
        font-size: 1.03rem;
    }

    .menu-price-row > strong {
        font-size: 2.35rem;
    }

    .event-timeline::before {
        left: 3.7rem;
    }

    .timeline-item {
        grid-template-columns: 3rem 1fr;
        gap: 1rem;
    }

    .timeline-item time {
        font-size: 1rem;
    }

    .booking-card {
        border-radius: 1.25rem;
    }

    .booking-card .card-body {
        padding: 18px !important;
    }

    .booking-summary {
        padding: 1.2rem;
    }

    .poster-link {
        max-width: 19rem;
    }

    .poster-section .btn,
    .contact-actions .btn {
        width: 100%;
    }

    .contact-section .ratio {
        --bs-aspect-ratio: 125%;
    }

    .confirmation-page {
        padding: 100px 12px 80px;
    }
}

/* Credito SHS nel footer pubblico */
.public-footer-inner,
.public-footer-links,
.shs-credit {
    display: flex;
    align-items: center;
}
.public-footer-inner { justify-content: space-between; gap: 1.5rem; }
.public-footer-links { flex-wrap: wrap; gap: .75rem 1.5rem; }
.shs-credit { flex: 0 0 auto; gap: .7rem; text-decoration: none; }
.shs-credit span { color: #cbbdb5; font-size: .78rem; white-space: nowrap; }
.shs-credit img { transition: transform .18s ease; }
.shs-credit:hover img { transform: translateY(-1px); }
.shs-credit--public img {
    width: 118px;
    height: auto;
    padding: .35rem .55rem;
    border-radius: .55rem;
    background: #fff;
}
@media (max-width: 767.98px) {
    .public-footer-inner { align-items: flex-start; flex-direction: column; }
    .shs-credit--public {
        width: 100%;
        justify-content: space-between;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }
}
/* Pagine informative sotto l'header pubblico fisso */
.privacy-page {
    min-height: calc(100vh - 180px);
    padding: calc(var(--public-header-height) + 48px) 0 64px;
    background: var(--bs-body-bg);
}
@media (max-width: 575.98px) {
    .privacy-page { padding: calc(var(--public-header-height) + 32px) 12px 48px; }
}