:root {
    --brand: #9105FA;
    --brand-dark: #6E04C4;
    --brand-soft: #C4B5FD;
    --ink: #16101f;
    --muted: #8b8496;
    --line: #ece8f4;
    --bg: #f6f3fb;
    --white: #ffffff;
    --header-h: 72px;
}
html { scroll-behavior: smooth; background: #000; }
body.public-body {
    background: var(--white);
    color: var(--ink);
    font-family: "Nunito Sans", sans-serif;
    padding-bottom: 88px;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    background: #000;
    box-shadow: none;
    border-bottom: 1px solid #1a1a1a;
}
.site-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}
.brand {
    display: flex;
    align-items: center;
    line-height: 0;
}
.brand img {
    height: 48px;
    width: auto;
    display: block;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.site-nav a { color: #fff; font-weight: 700; font-size: 14px; }
.site-nav a:hover { color: var(--brand-soft); }
.site-nav-home { gap: 12px; }
.site-nav-home .site-nav-link { white-space: nowrap; }
@media (max-width: 860px) {
    .site-nav-home .site-nav-link { display: none; }
}
@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .brand img { height: 38px; }
}
/* Mobile landing: Prenota resta nella sticky bar in basso */
@media (max-width: 767.98px) {
    body.is-landing .header-cta {
        display: none !important;
    }
}
.header-cta {
    background: var(--brand);
    color: #fff !important;
    border: 1px solid var(--brand);
    border-radius: 16px;
    padding: 7.5px 20px;
}
.header-cta:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.promo-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--brand);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
}
.promo-bar-text {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .3px;
    line-height: 1.35;
}
body.theme-events .promo-bar {
    background: #1a2332;
    color: #f4f6f8;
}
.cover { background: #000; }
.cover-visual {
    position: relative;
    background: #000;
}
.cover-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,4,20,.88) 100%);
}
.cover-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 28px;
    color: #fff;
    z-index: 1;
}
.cover-caption p {
    margin: 8px 0 0;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: .4px;
}
.live-pill {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 16px;
    padding: 4px 10px;
}
@media (max-width: 767.98px) {
    .cover.has-poster { display: none; }
}

.sheet {
    background: var(--white);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-top: -16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px -4px #2e374d1a;
}
.sheet-plain { margin-top: 0; border-radius: 0; box-shadow: none; min-height: 70vh; }
.event-wrap { max-width: 720px; padding: 32px 16px 64px; }
.kicker {
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 8px;
}
h1, h2 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    color: var(--ink);
}
.event-wrap h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 4px; }
.event-poster {
    margin: 18px 0 24px;
    text-align: center;
}
.event-poster img {
    width: min(100%, 420px);
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(10, 4, 20, .18);
}
.event-gallery {
    margin: 28px auto 8px;
    max-width: min(100%, 420px);
}
.event-gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.event-gallery-item {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 12px 32px rgba(10, 4, 20, .12);
}
.event-gallery-media {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    background: #0a0a0a;
}
.event-gallery video.event-gallery-media {
    width: 100%;
    height: auto;
}

/* Reportage foto evento (dal giorno evento in poi) */
.event-photos {
    margin: 40px 0 16px;
    padding: 28px 0 8px;
    border-top: 1px solid var(--line);
}
.event-photos-head {
    text-align: center;
    margin-bottom: 22px;
}
.event-photos-kicker {
    margin: 0 0 6px;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
.event-photos-title {
    margin: 0 0 8px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
}
.event-photos-lead {
    margin: 0 auto;
    max-width: 36rem;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.45;
}
.event-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 576px) {
    .event-photos-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (min-width: 992px) {
    .event-photos-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
.event-photos-cell {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    border: 0;
    padding: 0;
    cursor: zoom-in;
    width: 100%;
}
.event-photos-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
    pointer-events: none;
}
.event-photos-cell:hover img,
.event-photos-cell:focus-visible img {
    transform: scale(1.04);
}

.photo-viewer[hidden] { display: none !important; }
.photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .92);
}
.photo-viewer-stage {
    position: relative;
    z-index: 1;
    width: min(100vw, 1100px);
    height: min(100vh, 100dvh);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 48px 64px;
    box-sizing: border-box;
    touch-action: pan-y;
}
.photo-viewer-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}
.photo-viewer-track img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
    transition: transform .2s ease, opacity .2s ease;
    will-change: transform;
}
.photo-viewer-track.is-dragging img {
    transition: none;
}
.photo-viewer-close,
.photo-viewer-nav {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.photo-viewer-close:hover,
.photo-viewer-nav:hover {
    background: rgba(255, 255, 255, .22);
}
.photo-viewer-close {
    top: 12px;
    right: 12px;
    font-size: 1.8rem;
}
.photo-viewer-prev { left: 8px; }
.photo-viewer-next { right: 8px; }
.photo-viewer-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    pointer-events: none;
}
.photo-viewer-meta span {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.photo-viewer-hint {
    font-size: .8rem;
    font-weight: 600 !important;
    opacity: .7;
}
body.photo-viewer-open {
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .photo-viewer-stage { padding: 52px 12px 72px; }
    .photo-viewer-nav { display: none; }
    .photo-viewer-hint { display: inline; }
}
@media (min-width: 768px) {
    .photo-viewer-hint { display: none; }
}
.event-photos-social {
    margin: 18px 0 0;
    text-align: center;
    font-size: .92rem;
    color: var(--muted);
}
.event-photos-social a {
    font-weight: 700;
}
.event-photos-empty,
.event-photos-teaser {
    padding-bottom: 12px;
}
body.theme-events .event-photos {
    border-top-color: var(--line);
}

.event-photos-page .card-soft {
    background: var(--bg);
    border-radius: 16px;
    padding: 22px 18px;
    margin: 18px 0 28px;
}
.event-photos-social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.event-photos-gate .form-check-label {
    font-size: .92rem;
}
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.organizer-page {
    padding-bottom: 48px;
}
.organizer-profile {
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    padding: 12px 0 24px;
}
.organizer-profile-logo {
    margin: 0 auto 18px;
    width: 128px;
    height: 128px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 12px 32px rgba(10, 4, 20, .12);
}
.organizer-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.organizer-profile-name {
    margin: 0 0 10px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
}
.organizer-profile-lead {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.45;
}
.organizer-updates {
    text-align: left;
    margin: 0 0 28px;
    padding: 20px 18px;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
}
.organizer-updates-kicker {
    margin: 0 0 4px;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
.organizer-updates-title {
    margin: 0 0 8px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
}
.organizer-updates-lead {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.45;
    font-size: .95rem;
}
.organizer-updates-fields {
    display: grid;
    gap: 12px;
}
.organizer-updates-privacy {
    margin: 0;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.4;
}
.organizer-updates .booking-success {
    text-align: center;
    padding: 8px 0 0;
}
.organizer-updates .booking-success h2 {
    font-size: 1.45rem;
}
body.theme-events .organizer-updates {
    background: #fff;
}
.organizer-follow-list {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}
.organizer-follow-btn {
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.organizer-follow-btn:hover {
    color: var(--ink);
    border-color: var(--brand);
    transform: translateY(-1px);
}
.organizer-follow-btn i {
    grid-row: 1 / span 2;
    font-size: 1.35rem;
    color: var(--brand);
}
.organizer-follow-btn span {
    font-weight: 800;
    font-size: 1rem;
}
.organizer-follow-btn small {
    color: var(--muted);
    font-size: .82rem;
}
.organizer-follow-wa i { color: #25D366; }
.organizer-event-cta {
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.organizer-event-label {
    margin: 0 0 4px;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
body.theme-events .organizer-follow-btn {
    background: #fff;
}
.event-sub {
    font-family: "Roboto Condensed", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 18px;
}
.event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    color: #4e4e4e;
}
.event-meta li { margin: 8px 0; display: flex; gap: 8px; align-items: flex-start; }
.event-meta i { color: var(--brand); margin-top: 3px; }

.btn-buy {
    background: var(--brand);
    color: #fff !important;
    border: 1px solid var(--brand);
    border-radius: 16px;
    padding: 12px 32px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .3px;
}
.btn-buy:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-buy-sm { padding: 8px 22px; font-size: 16px; }
.pay-later-note {
    color: #4e4e4e;
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 12px 0 0;
    max-width: 28rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 32px 0;
}
@media (min-width: 768px) {
    .info-grid { grid-template-columns: repeat(3, 1fr); }
    .site-header-inner { padding: 0 64px; max-width: none; }
    body.public-body { padding-bottom: 0; }
}
.info-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}
.info-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.info-card strong { font-family: "Roboto Condensed", sans-serif; font-size: 20px; }
.info-card.admission { grid-column: 1 / -1; }
.info-card.admission strong { font-family: "Nunito Sans", sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; }

.organizer-block {
    margin: 32px 0 12px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.organizer-logo-wrap {
    margin: 0;
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
}
.organizer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}
.organizer-meta {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}
@media (min-width: 768px) {
    .organizer-logo-wrap {
        flex-basis: 160px;
        width: 160px;
        height: 160px;
    }
}
.organizer-kicker {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}
.organizer-name {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
}
.organizer-contact {
    display: inline-block;
    margin: 0 0 10px;
    color: #5b8def;
    font-size: 0.95rem;
    font-weight: 700;
}
.organizer-contact:hover { color: var(--brand-dark); text-decoration: underline; }
.organizer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.organizer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--brand);
    font-size: 1.2rem;
    line-height: 1;
}
.organizer-social:hover {
    background: var(--brand);
    color: #fff;
}

.checkout {
    background: var(--bg);
    border-radius: 16px;
    padding: 24px 20px;
    margin-top: 8px;
}
.checkout h2 { font-size: 28px; margin-bottom: 8px; }
.checkout-lead { color: #4e4e4e; margin-bottom: 20px; }
.form-label { font-weight: 700; font-size: 13px; color: var(--ink); }
.form-control, .form-select {
    background: #fff;
    color: var(--ink);
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    min-height: 48px;
    padding: 10px 14px;
}
.form-control:focus, .form-select:focus {
    background: #fff;
    color: var(--ink);
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(145, 5, 250, .18);
}
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-label, .legal { color: #4e4e4e; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.alert-success { border-radius: 16px; }
.alert-danger { border-radius: 16px; }

.booking-success {
    text-align: center;
    padding: 48px 20px 40px;
    background: #ecfdf3;
    border: 2px solid #16a34a;
    border-radius: 20px;
}
.booking-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 44px;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(22, 163, 74, .35);
}
.booking-success h2 {
    font-size: clamp(2rem, 6vw, 2.75rem);
    color: #14532d;
    margin: 0 0 12px;
}
.booking-success p {
    margin: 0;
    font-size: 1.2rem;
    color: #166534;
    font-weight: 600;
    max-width: 28rem;
    margin-inline: auto;
}
body.booking-done .sticky-buy { display: none; }

.sticky-buy {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    background: #fff;
    box-shadow: 0 -4px 12px -4px #2e374d1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}
.sticky-buy small { display: block; color: var(--muted); font-size: 11px; }
.sticky-buy strong { font-family: "Roboto Condensed", sans-serif; }
@media (min-width: 768px) { .sticky-buy { display: none; } }
body.cookie-banner-open .sticky-buy { display: none; }

.footer-legal { margin: 8px 0 0; font-size: 0.85rem; color: #9a958f; }
.footer-legal a { color: #C4B5FD; font-weight: 700; }
.footer-legal a:hover { color: #fff; }
.booking-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 32px -16px #9105FA;
    border: 1px solid var(--line);
}
.ticket-head {
    background: var(--ink);
    color: #fff;
    padding: 28px 20px 24px;
}
.ticket-head h1 { color: #fff; font-size: 2rem; margin: 10px 0 6px; }
.ticket-head p { margin: 0; color: #c9c5c0; }
.ticket-body { padding: 28px 20px 32px; }
.code-box span, .code-box em { display: block; color: var(--muted); font-style: normal; }
.code-box strong {
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 2rem;
    letter-spacing: .12em;
    margin: 4px 0 6px;
}
.qr-wrap {
    display: inline-block;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 1rem;
}
.qr-wrap svg,
.qr-wrap img {
    display: block;
    width: 260px;
    height: 260px;
}
.hint { color: var(--muted); }
.placeholder-note { background: #f3e8ff; color: var(--brand-dark); border-radius: 16px; padding: 12px 14px; }
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 12px; }
.legal h2 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.75rem 0 0.6rem;
}
.legal-lead { font-size: 1.02rem; line-height: 1.65; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal code {
    font-size: 0.88em;
    background: #f4f4f4;
    padding: 1px 6px;
    border-radius: 6px;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1rem;
    font-size: 0.95rem;
}
.legal-table th, .legal-table td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.legal-table th { background: #f7f7f7; color: var(--ink); font-weight: 700; }
@media (max-width: 640px) {
    .legal-table { display: block; overflow-x: auto; }
}

.site-footer {
    background: #000;
    color: #c9c5c0;
    padding: 40px 16px 32px;
}
.brand-light img { height: 56px; }
.footer-copy { margin: 0; }
.footer-links { display: flex; gap: 18px; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
.footer-links a { color: #fff; font-weight: 700; }
@media (min-width: 768px) {
    .footer-links { justify-content: flex-end; }
    .site-footer { padding: 48px 64px; }
}

.home-hero {
    position: relative;
    background: #000;
    color: #fff;
    padding: 56px 16px 96px;
    overflow: hidden;
}
.home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}
.home-hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(246,243,251,.35) 55%, #fff 100%);
    pointer-events: none;
    z-index: 0;
}
.home-kicker { color: var(--brand-soft); margin-bottom: 10px; }
.home-brand {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 8vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.home-value-title {
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.55rem, 4.2vw, 2.35rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 16px;
    max-width: 22ch;
}
.home-hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.home-lead {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #ddd8d2;
    max-width: 40rem;
    margin-bottom: 28px;
}
.home-not {
    color: var(--brand-soft);
    font-weight: 700;
    margin-bottom: 28px;
}
.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-ghost {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px;
    padding: 12px 28px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 18px;
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.home-sheet { margin-top: -36px; }
.home-wrap { max-width: 960px; padding: 48px 16px 72px; }
.home-points p,
.home-roles p {
    margin: 8px 0 0;
    color: #4e4e4e;
    line-height: 1.5;
}
.home-section { margin-top: 88px; scroll-margin-top: calc(var(--header-h) + 20px); }
.home-section:first-child { margin-top: 8px; }
.home-section h2 { font-size: clamp(1.55rem, 3vw, 1.9rem); margin-bottom: 14px; }
.home-section-lead {
    color: #4e4e4e;
    max-width: 42rem;
    line-height: 1.55;
    margin: 0 0 28px;
}
.home-section > p { color: #4e4e4e; max-width: 42rem; line-height: 1.55; margin: 0; }
#servizi .home-section-lead { margin-bottom: 40px; }
.home-services {
    display: grid;
    gap: 36px;
}
.home-service {
    border-top: 1px solid var(--line);
    padding: 36px 0 8px;
}
.home-service:first-child {
    border-top: 0;
    padding-top: 8px;
}
.home-service-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.home-service-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 1.2rem;
}
.home-service--marketing .home-service-icon {
    background: var(--brand);
}
.home-service--access .home-service-icon {
    background: #16101f;
}
.home-service--ops .home-service-icon {
    background: #2a2140;
}
.home-service-label {
    margin: 0 0 6px;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5c5668;
    font-weight: 800;
}
.home-service h3 {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    line-height: 1.2;
}
.home-service-pitch {
    margin: 0 0 20px;
    color: #4e4e4e;
    line-height: 1.6;
    max-width: 38rem;
}
.home-service-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 18px;
}
.home-service-highlights li {
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
}
.home-service-more {
    margin: 4px 0 0;
}
.home-service-more summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: var(--brand);
    padding: 8px 0;
}
.home-service-more summary::-webkit-details-marker { display: none; }
.home-service-more summary::after {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
}
.home-service-more[open] summary::after { content: "–"; }
.home-service-more .home-list {
    margin: 12px 0 0;
    padding-left: 1.1rem;
}
.home-service-note {
    margin: 12px 0 0;
    color: #2C2C2C;
    font-size: .9rem;
    line-height: 1.45;
}
.home-modes {
    display: grid;
    gap: 16px;
}
.home-mode-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 18px;
    background: #fff;
}
.home-mode-card strong {
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.home-mode-card p {
    margin: 0;
    color: #4e4e4e;
    line-height: 1.5;
}
.home-platform-flow { margin-top: 48px; }
.home-platform-mockups {
    display: grid;
    gap: 40px;
}
.home-phone {
    margin: 0;
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}
.home-phone-shot {
    width: min(100%, 240px);
}
.home-phone-shot--wide {
    width: min(100%, 280px);
}
.home-phone-shot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    filter: drop-shadow(0 18px 28px rgba(22, 16, 31, .2));
}
.home-phone figcaption {
    max-width: 22rem;
}
.home-phone figcaption span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.home-phone figcaption strong {
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.home-phone figcaption p {
    margin: 0;
    color: #4e4e4e;
    line-height: 1.5;
}
@media (min-width: 992px) {
    .home-platform-mockups {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
        gap: 20px;
    }
}
.home-cases {
    display: grid;
    gap: 14px;
}
.home-case-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 20px;
    background: #fff;
    box-shadow: inset 4px 0 0 var(--brand);
}
.home-case-link-card {
    display: block;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.home-case-link-card:hover {
    color: var(--ink);
    border-color: var(--brand);
    transform: translateY(-1px);
}
.home-case-label {
    display: block;
    margin: 0 0 4px;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
}
.home-case-link-card strong {
    display: block;
    margin: 0 0 6px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
}
.home-case-url {
    color: var(--brand);
    font-weight: 700;
}
.home-interest-grid {
    display: grid;
    gap: 8px;
}
.home-interest {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.35;
}
.home-interest input {
    margin-top: 3px;
    flex: 0 0 auto;
}
.home-interest:has(input:checked) {
    border-color: var(--brand);
    background: rgba(145, 5, 250, .04);
}
.home-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}
.home-steps li {
    counter-increment: step;
    position: relative;
    padding: 20px 18px 20px 68px;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 14px;
    line-height: 1.55;
}
.home-steps li:last-child { margin-bottom: 0; }
.home-steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-split {
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .home-split { grid-template-columns: 1fr 1fr; }
    .home-hero { padding: 80px 64px 96px; }
    .home-roles { grid-template-columns: 1fr 1fr; }
    .home-modes { grid-template-columns: repeat(3, 1fr); }
    .home-interest-grid { grid-template-columns: 1fr 1fr; }
    .home-value-title { max-width: 28ch; }
    #servizi .home-section-lead { margin-bottom: 48px; }
    .home-services { gap: 48px; }
    .home-service {
        padding: 44px 0 12px;
    }
    .home-service:first-child { padding-top: 12px; }
    .home-service-top { margin-bottom: 18px; }
    .home-service-pitch { margin-bottom: 22px; }
    .home-service-highlights { margin-bottom: 20px; gap: 12px; }
}
.home-list { padding-left: 1.1rem; margin: 0; }
.home-list li { margin: 8px 0; line-height: 1.5; }
.home-list.yes li::marker { color: var(--brand); }
.home-list.no li::marker { color: var(--brand-soft); }
.home-event-list { display: grid; gap: 12px; }
.home-event-card {
    display: block;
    background: #111;
    color: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #2a0a45;
    box-shadow: inset 4px 0 0 #9105FA;
}
.home-event-card:hover { color: #fff; }
.home-event-card strong {
    display: block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.5rem;
    margin: 10px 0 4px;
    color: #fff;
}
.home-event-card em {
    color: #c9c5c0;
    font-style: normal;
}
.home-note {
    background: var(--bg);
    border-radius: 16px;
    padding: 24px 20px;
}
.home-note p:last-child { margin-bottom: 0; }

.home-cta-band {
    background: linear-gradient(180deg, #fff 0%, #f6f3fb 28%, #f6f3fb 100%);
    padding: 72px 0 88px;
    border-top: 1px solid var(--line);
}
.home-cta-inner {
    max-width: 760px;
    padding: 0 16px;
}
.home-faq {
    margin-bottom: 56px;
    scroll-margin-top: calc(var(--header-h) + 20px);
}
.home-faq h2 {
    margin-bottom: 8px;
}
.home-faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
}
.home-faq-accordion .accordion-item:last-child { margin-bottom: 0; }
.home-faq-accordion .accordion-button {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
    padding: 18px 20px;
    line-height: 1.35;
}
.home-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-dark);
    background: #fff;
    box-shadow: none;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.home-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(145, 5, 250, .18);
}
.home-faq-accordion .accordion-button::after {
    background-size: 1rem;
    margin-left: 12px;
}
.home-faq-accordion .accordion-body {
    color: #2C2C2C;
    line-height: 1.6;
    padding: 18px 20px 22px;
}
.home-contact {
    margin-top: 0;
    scroll-margin-top: calc(var(--header-h) + 16px);
}
.home-contact-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 22px 32px;
    box-shadow: 0 10px 30px rgba(22, 16, 31, .06);
}
.home-contact-panel h2 {
    font-size: clamp(1.55rem, 3vw, 1.9rem);
    margin-bottom: 8px;
}
.home-contact-panel .checkout-lead {
    margin-bottom: 22px;
}
.home-contact textarea.form-control {
    min-height: 120px;
    border-radius: 16px;
}
.home-contact .form-control::placeholder {
    color: #6b6575;
    opacity: 1;
}
@media (min-width: 768px) {
    .home-wrap { padding: 64px 16px 96px; }
    .home-section { margin-top: 104px; }
    .home-section:first-child { margin-top: 12px; }
    .home-platform-mockups { gap: 28px; }
    .home-platform-flow { margin-top: 56px; }
    .home-contact-panel { padding: 36px 36px 40px; }
    .home-cta-band { padding: 88px 0 104px; }
    .home-faq { margin-bottom: 64px; }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    animation: wa-pulse 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    background: #20BA5A;
    color: #fff !important;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.65); }
}
@media (max-width: 767.98px) {
    .is-landing .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 28px;
        right: 16px;
        bottom: 88px;
    }
    body.booking-done .whatsapp-float,
    body.cookie-banner-open .whatsapp-float {
        bottom: 20px;
    }
}

/* Tema sobrio get-in.events */
html:has(body.theme-events) { background: #eef1f5; }
body.theme-events {
    --brand: #1f4b99;
    --brand-dark: #16366f;
    --brand-soft: #8fb0e0;
    --ink: #1a2332;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f4f6f8;
    --white: #ffffff;
    background: var(--white);
    color: var(--ink);
}
body.theme-events .site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(26, 35, 50, 0.04);
}
body.theme-events .site-nav a { color: var(--ink); }
body.theme-events .site-nav a:hover { color: var(--brand); }
body.theme-events .header-cta {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
body.theme-events .header-cta:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}
body.theme-events .cover { background: #243447; }
body.theme-events .sheet {
    background: var(--white);
    box-shadow: 0 -8px 32px rgba(26, 35, 50, 0.06);
}
body.theme-events .btn-buy {
    background: var(--brand);
    border-color: var(--brand);
}
body.theme-events .btn-buy:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}
body.theme-events .checkout { background: var(--bg); }
body.theme-events .site-footer {
    background: #243447;
    color: #c9d2de;
}
body.theme-events .sticky-buy {
    background: #fff;
    border-top: 1px solid var(--line);
}
body.theme-events .home-event-card {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: inset 4px 0 0 var(--brand);
}
body.theme-events .home-event-card:hover,
body.theme-events .home-event-card strong { color: var(--ink); }
body.theme-events .home-event-card em { color: var(--muted); }
body.theme-events .organizer-social {
    background: var(--bg);
    color: var(--brand);
}
body.theme-events .organizer-social:hover {
    background: var(--brand);
    color: #fff;
}
body.theme-events .live-pill { background: var(--brand); }
body.theme-events .home-hero {
    background: linear-gradient(165deg, #243447 0%, #1a2332 55%, #16366f 100%);
    color: #fff;
}
body.theme-events .home-kicker { color: var(--brand-soft); }
body.theme-events .home-lead { color: rgba(255, 255, 255, 0.82); }
body.theme-events .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
body.theme-events .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}

/* Tema sobrio anche su romediplomacy.events (prima del white-label completo) */
body.theme-rome .promo-bar {
    background: var(--brand-secondary, #1A2748);
    color: #f4f6f8;
}

/* White-label organizzatore (hide get-in.club) */
body.is-org-brand {
    color: var(--ink);
}
body.is-org-brand .site-header {
    background: var(--org-header-bg, #fff);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body.is-org-brand .site-nav a {
    color: var(--org-header-fg, #1A2748);
}
body.is-org-brand .site-nav a:hover {
    color: var(--brand);
}
body.is-org-brand .brand img {
    height: 52px;
    max-width: min(220px, 55vw);
    object-fit: contain;
}
body.is-org-brand .site-footer {
    background: var(--brand-secondary, #1A2748);
    color: #f4f7fb;
}
body.is-org-brand .site-footer a {
    color: #fff;
}
body.is-org-brand .brand-light img {
    filter: none;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
}
body.is-org-brand .organizer-logo-wrap,
body.is-org-brand .organizer-logo,
body.is-org-brand .organizer-profile-logo {
    background: #fff;
}
body.is-org-brand .organizer-profile-logo img {
    object-fit: contain;
    background: #fff;
}
body.is-org-brand .header-cta,
body.is-org-brand .btn-buy {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff !important;
}
body.is-org-brand .header-cta:hover,
body.is-org-brand .btn-buy:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff !important;
}
body.is-org-brand .promo-bar,
body.is-org-brand .live-pill,
body.is-org-brand .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}
