:root {
    --bruno: #6e3420;
    --bruno-2: #56281a;
    --oro: #d49a3a;
    --oro-tenue: #f8eedd;
    --carta: #f3f3f3;
    --sabbia: #f3e7dc;
    --filo: #d6d6d6;
    --spento: #56586f;
}

*, *::before, *::after {
    box-sizing: border-box;
}
html {
    overflow-x: clip;
}
body {
    margin: 0px;
    background: #fff;
    font: 400 0.9375rem/1.5 Karla, Arial, sans-serif;
    color: #212529;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--bruno);
}
h1, h2, h3, h4 {
    margin: 0px 0 1rem;
    font-family: Fraunces, Arial, sans-serif;
    line-height: 1.2;
    color: var(--bruno);
}
h1 {
    font-size: 1.9375rem;
    font-weight: 400;
}
h2 {
    font-size: 1.5625rem;
    font-weight: 400;
}
h3 {
    font-size: 1.1875rem;
    font-weight: 700;
}
p {
    margin: 0px 0 1rem;
}
.vista-nascosta {
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    clip: rect(0 0px 0px 0);
}
.involucro {
    width: 100%;
    max-width: 1095px;
    margin: 0px auto;
    padding: 0px 0.9375rem;
}
.striscia {
    flex-wrap: wrap;
    margin: 0px -0.9375rem;
    display: flex;
}
.striscia > [class*="col"] {
    padding: 0px 0.9375rem;
    width: 100%;
    min-width: 0px;
}
.testo-x-centrale {
    text-align: center;
}
.blocco {
    padding: 2.5rem 0px;
}
.blocco--neutro {
    background: var(--carta);
}
.blocco--chiaro {
    background: var(--sabbia);
}
.occhiello {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* colori */
.sito-capo {
    height: 80px;
    padding-top: 10px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 30;
}
.barra-alta {
    align-items: center;
    gap: 1rem;
    min-height: 60px;
    padding: 8px 8px 8px 18px;
    background: #fff;
    border-radius: 0px;
    box-shadow: 0px 0 40px rgba(74, 98, 120, 0.2);
    display: flex;
}
.barra-alta__logo img {
    width: 170px;
    height: auto;
}
.barra-alta__voci {
    display: none;
}
.barra-alta__voci a {
    padding: 0.75rem 0px;
    display: inline-block;
    font: 400 1rem/1.1 Fraunces, Arial, sans-serif;
    color: var(--bruno);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: text-decoration-color 0.15s ease-in-out;
}
.barra-alta__voci a:hover {
    text-decoration-color: var(--oro);
}
.voce-con-elenco {
    position: relative;
    display: inline-block;
}
.elenco-tendina {
    min-width: 260px;
    padding: 0.5rem 1rem;
    background: #fff;
    border-radius: 0px;
    filter: drop-shadow(0 0.5rem 1.5rem rgba(74, 98, 120, 0.25));
    position: absolute;
    top: 100%;
    left: -1rem;
    display: none;
}
.elenco-tendina a {
    padding: 0.5rem 0px;
    display: block;
}
.voce-con-elenco:hover .elenco-tendina, .voce-con-elenco:focus-within .elenco-tendina {
    display: block;
}
.piastrina-iscrizione {
    margin-left: auto;
    padding: 10px 14px;
    background: var(--oro-tenue);
    border-radius: 3px;
    color: var(--bruno);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
}
.tre-linee {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0px;
    background: none;
    cursor: pointer;
    display: flex;
}
.tre-linee i {
    height: 2px;
    background: var(--bruno);
    display: block;
}
.elenco-tendina-cellulare {
    flex-direction: column;
    padding: 1.5rem;
    background: #f6f7f9;
    position: fixed;
    inset: 0px;
    top: 80px;
    display: flex;
    animation: scivola 0.4s cubic-bezier(.22,1,.36,1);
}
.elenco-tendina-cellulare[hidden] {
    display: none;
}
@keyframes scivola { from {
    transform: translateX(100%);
} to {
    transform: none;
} }
.elenco-tendina-cellulare a {
    padding: 0.875rem 0px;
    border-bottom: 1px solid var(--filo);
    font: 700 1.25rem Fraunces, Arial, sans-serif;
    color: var(--bruno);
    text-decoration: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid var(--oro);
    outline-offset: 2px;
}

/* tipi di carattere */
.comando {
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px 20px;
    border-radius: 3px;
    border: 0px;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    font: 700 0.9375rem/1 Karla, Arial, sans-serif;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.comando--cupo {
    background: var(--bruno);
    color: #fff;
}
.comando--cupo::after {
    height: 3px;
    background: var(--oro);
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
.comando--cupo:hover {
    background: var(--bruno-2);
}
.comando--filo {
    background: transparent;
    box-shadow: inset 0px 0px 0 2px var(--bruno);
    color: var(--bruno);
}
.comando--filo:hover {
    background: var(--bruno);
    color: #fff;
}
.comando--largo {
    width: 100%;
    margin-top: auto;
}
.comando--ridotto {
    padding: 10px 14px;
    font-size: 0.8125rem;
}
.comando-striscia {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
}
.comando[disabled] {
    opacity: 0.6;
    cursor: wait;
}

/* barra in alto */
.copertina {
    height: 420px;
    overflow: hidden;
    position: relative;
}
.copertina__figura {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}
.badge-sticker {
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--bruno);
    box-shadow: 0px 0px 0px 4px #fff, 0px 0px 0 7px var(--oro);
    position: absolute;
    right: 6%;
    bottom: 24px;
    display: flex;
    text-align: center;
    color: #fff;
    font: 700 1.125rem/1.2 Fraunces, Arial, sans-serif;
    transform: rotate(-8deg);
}

/* tendina */
.vantaggi-strip {
    border-bottom: 2px solid var(--filo);
}
.vantaggi-strip__elenco {
    flex-direction: column;
    gap: 0.5rem;
    margin: 0px;
    padding: 1.25rem 0px;
    display: flex;
    list-style: none;
    font-weight: 700;
}
.vantaggi-strip__elenco li::before {
    margin-right: 0.5rem;
    content: "✓";
    color: #6f7a00;
}

.ingresso__sommario {
    max-width: 1065px;
}

/* comandi */
.coppia {
    row-gap: 1rem;
}
.dato-scheda {
    flex-direction: column;
    padding: 0px 1.5rem 1.5rem;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
}
.dato-scheda__figura {
    margin: 0px -1.5rem 1.25rem;
    width: calc(100% + 3rem);
    max-width: none;
    height: 200px;
    object-fit: cover;
    border-radius: 3px 3px 0 0px;
}
.dato-scheda__nome {
    font-size: 1.375rem;
}
.dato-scheda__striscia {
    gap: 14px;
    padding: 14px 0px;
    border-top: 1px solid var(--filo);
    display: flex;
}
.dato-scheda__striscia svg {
    flex: none;
}
.dato-scheda__striscia b {
    display: block;
}
.dato-scheda__striscia:last-of-type {
    margin-bottom: 1.25rem;
}

/* copertina */
.volti {
    row-gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}
.volti img {
    aspect-ratio: 59 / 86;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 3px;
    object-fit: cover;
}

/* vantaggi */
.stemma-striscia {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
    display: flex;
}
.anello {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--bruno);
    display: flex;
}
.anello b {
    font: 700 1.125rem Fraunces, Arial, sans-serif;
}
.anello small {
    color: var(--spento);
}
.anello--denso {
    background: var(--bruno);
    color: #fff;
}
.anello--denso small {
    color: #dfe2e8;
}

/* ingresso */
.scorrevole-blocco .involucro {
    position: relative;
}
.scorrevole-blocco .involucro::before {
    width: 100vw;
    height: 50%;
    background: var(--oro-tenue);
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2.5rem;
    z-index: -1;
    transform: translateX(-50%);
}
.scorrevole-blocco {
    position: relative;
    z-index: 0;
}
.scorrevole-capo {
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
}
.scorrevole-arrows {
    gap: 8px;
    display: flex;
}
.scorrevole-indicatore {
    width: 48px;
    height: 48px;
    border-radius: 3px;
    border: 0px;
    background: var(--bruno);
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}
.scorrevole-nastro {
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 1rem;
    display: flex;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.scorrevole-nastro::-webkit-scrollbar {
    display: none;
}
.diapositiva-scheda {
    flex: 0 0 85%;
    overflow: hidden;
    padding-bottom: 1rem;
    background: #f6f7f9;
    border-radius: 3px;
    scroll-snap-align: start;
}
.diapositiva-scheda img {
    aspect-ratio: 9 / 5;
    width: 100%;
    margin-bottom: 1rem;
    object-fit: cover;
}
.diapositiva-scheda h3, .diapositiva-scheda p {
    padding: 0px 1rem;
}

/* documenti */
.avvisi {
    row-gap: 1rem;
    margin-top: 1.5rem;
}
.avviso {
    flex-direction: column;
    gap: 4px;
    padding-top: 12px !important;
    border-top: 3px solid var(--bruno);
    display: flex;
}
.avviso b {
    font: 700 1.1875rem Fraunces, Arial, sans-serif;
    color: var(--bruno);
}
.avviso--speciale {
    border-top-color: var(--oro);
}

.h3-marcato {
    font-size: 1.375rem;
    font-weight: 700;
}
.panoramica-figura {
    max-width: 1245px;
    margin: 1.5rem auto 0px;
    padding: 0px 0.9375rem;
}
.panoramica-figura img {
    width: 100%;
    aspect-ratio: 8 / 3;
    object-fit: cover;
    border-radius: 3px;
}

/* volti */
.indicatore-nesso {
    text-decoration: none;
    font-weight: 700;
}
.indicatore-nesso:hover {
    text-decoration: underline;
}
.procedura .striscia {
    row-gap: 1rem;
    margin-top: 1rem;
}
.carta-tappa {
    flex-direction: column;
    gap: 6px;
    padding: 20px 20px 22px;
    height: 100%;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    display: flex;
}

/* documenti dell'anno */
.tabs {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
    display: flex;
}
.tab {
    padding: 10px 16px;
    min-height: 44px;
    border: 0px;
    border-radius: 3px;
    background: #fff;
    box-shadow: inset 0px 0px 0 2px var(--bruno);
    cursor: pointer;
    color: var(--bruno);
    font: 700 0.9375rem Karla, Arial, sans-serif;
}
.tab.is-active {
    background: var(--bruno);
    color: #fff;
}
.tab-panel details {
    border-bottom: 1px solid var(--filo);
}
.tab-panel summary {
    padding: 27px 40px 27px 0px;
    cursor: pointer;
    position: relative;
    list-style: none;
    font: 700 1rem Fraunces, Arial, sans-serif;
}
.tab-panel summary::-webkit-details-marker {
    display: none;
}
.tab-panel summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 22px;
    font: 300 1.5rem Fraunces, Arial, sans-serif;
}
.tab-panel details[open] summary::after {
    content: "−";
}
.tab-panel details p {
    padding-bottom: 1rem;
}

/* date */
.fondo-sito {
    padding: 3rem 0 1.5rem;
    background: var(--bruno);
    border-top: 1px solid var(--spento);
    color: #fff;
}
.fondo-sito .striscia {
    row-gap: 2rem;
}
.fondo-sito__h {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
    font: 700 1rem Fraunces, Arial, sans-serif;
}
.fondo-sito__h::after {
    width: 40%;
    height: 1px;
    background: var(--oro);
    content: "";
    position: absolute;
    left: 0px;
    bottom: 0px;
}
.fondo-sito a, .fondo-sito span {
    margin-bottom: 20px;
    overflow-wrap: anywhere;
    display: block;
    color: #fff;
    text-decoration: none;
}
.fondo-sito a:hover {
    text-decoration: underline;
}
.fondo-sito__copy {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--spento);
    font-size: 0.875rem;
}
.nesso-comando {
    padding: 0px;
    min-height: 24px;
    background: none;
    border: 0px;
    cursor: pointer;
    color: #fff;
    text-decoration: underline;
    font: inherit;
}

/* scorrevole */
.privacy-bordo {
    padding: 1.25rem;
    background: #fff;
    border-radius: 0px;
    box-shadow: 0px 0 40px rgba(74, 98, 120, 0.3);
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
}
.privacy-bordo[hidden] {
    display: none;
}
.privacy-bordo__flag {
    gap: 8px;
    align-items: center;
    margin-bottom: 0.75rem;
    display: flex;
}
.privacy-bordo__comandi {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
}

@media (min-width: 36rem) {
        .diapositiva-scheda {
            flex-basis: 48%;
        }
        .privacy-bordo {
            max-width: 420px;
            left: auto;
        }
}
@media (min-width: 48rem) {
        .vantaggi-strip__elenco {
            flex-direction: row;
            justify-content: space-around;
            text-align: center;
        }
        .stemma-striscia {
            flex-direction: row;
            justify-content: center;
        }
        .copertina {
            height: 520px;
        }
        .badge-sticker {
            width: 200px;
            height: 200px;
            font-size: 1.375rem;
        }
}
@media (min-width: 62rem) {
        .blocco {
            padding: 3.75rem 0px;
        }
        h1 {
            font-size: 2.5rem;
        }
        h2 {
            font-size: 1.75rem;
        }
        .involucro {
            padding: 0px 1.875rem;
        }
        .barra-alta__voci {
            gap: 1.75rem;
            margin-left: 2rem;
            display: flex;
        }
        .tre-linee {
            display: none;
        }
        .copertina {
            height: 585px;
        }
        .col-xl-6 {
            width: 50% !important;
        }
        .col-xl-4 {
            width: 33.333% !important;
        }
        .col-xl-3 {
            width: 25% !important;
        }
        .avvisi .col {
            width: 20% !important;
        }
        .volti {
            column-gap: 0px;
        }
        .diapositiva-scheda {
            flex-basis: 32%;
        }
        /* avvisi */
        .procedura {
            padding-top: 2.5rem;
        }
}
@media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            transition: none !important;
            animation: none !important;
        }
}

/* tappe */
.pagina-alto {
    padding: 120px 0 2.5rem;
}
.pagina-alto h1 {
    margin-bottom: 0.75rem;
}
.allineata-striscia {
    align-items: center;
    row-gap: 1.5rem;
}
.immagine-tondeggiante {
    width: 100%;
    aspect-ratio: 9 / 7;
    object-fit: cover;
    border-radius: 3px;
}
.immagine-estesa {
    margin: 2rem 0px;
}
.immagine-estesa img {
    width: 100%;
    aspect-ratio: 7 / 3;
    object-fit: cover;
    border-radius: 3px;
}
.immagine-estesa figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--spento);
}
.norme-contenuto {
    max-width: 900px;
}
.norme-contenuto h3 {
    margin: 2rem 0 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--filo);
}
.norme-contenuto h3:first-child {
    margin-top: 0px;
}
.form-box {
    padding: 2rem 1.5rem;
    max-width: 720px;
    margin-bottom: 3rem;
    background: var(--carta);
    border-radius: 3px;
}
.tappe-tacche {
    gap: 0.5rem;
    padding: 0px;
    margin: 0px 0 1.5rem;
    display: flex;
    list-style: none;
    counter-reset: p;
}
.tappe-tacche li {
    flex: 1;
    padding-top: 0.5rem;
    border-top: 3px solid var(--filo);
    font-weight: 700;
    font-size: 0.875rem;
    counter-increment: p;
}
.tappe-tacche li::before {
    content: counter(p) ". ";
}
.tappe-tacche li.aperto {
    border-top-color: var(--oro);
}
.tappa {
    padding: 0px;
    margin: 0px;
    border: 0px;
}
.tappa legend {
    margin-bottom: 1rem;
    padding: 0px;
    font: 400 1.375rem Fraunces, Arial, sans-serif;
    color: var(--bruno);
}
.campo-nome-campo {
    margin: 0.75rem 0 0.375rem;
    display: block;
    font-weight: 700;
}
.tappa input[type="text"], .tappa input[type="email"], .tappa select {
    width: 100%;
    height: 48px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    background: #fff;
    font: 400 1rem Karla, Arial, sans-serif;
}
.tappa input:invalid:not(:placeholder-shown) {
    border-color: #b3261e;
}
.opzioni {
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    display: flex;
}
.opzioni label {
    gap: 0.5rem;
    align-items: center;
    min-height: 36px;
    display: inline-flex;
}
.adesione-nome-campo {
    gap: 0.5rem;
    align-items: flex-start;
    margin: 1rem 0px;
    display: flex;
}
.adesione-nome-campo input {
    margin-top: 3px;
}
.esca {
    position: absolute;
    left: -9999px;
}
.tappa .comando-striscia {
    margin-top: 1.25rem;
}
.tre-tappe__esito {
    margin: 1rem 0 0px;
    min-height: 1.5em;
    font-weight: 700;
}
.seguito-form {
    margin-top: 1rem;
}
.ingresso h1 {
    font-size: clamp(1.9375rem, 1.2rem + 2vw, 2.5rem);
    text-wrap: balance;
}
.ingresso__sommario, .dato-scheda p {
    text-wrap: pretty;
}
.tappe-numerate {
    gap: 1rem;
    padding: 0px;
    margin: 1.5rem 0 0px;
    display: grid;
    list-style: none;
    counter-reset: n;
}
.tappe-numerate li {
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px 18px 64px;
    border: 1px solid #dde1ea;
    border-radius: 3px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    counter-increment: n;
}
.tappe-numerate li::before {
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6e3420;
    content: counter(n);
    position: absolute;
    left: 18px;
    top: 16px;
    display: grid;
    color: #fff;
    font: 700 1rem Fraunces, Arial, sans-serif;
}
.fondo-sito a, .fondo-sito span {
    min-height: 24px;
}
.menu-a-discesa a, .elenco-tendina a {
    min-height: 32px;
}
@media (min-width: 62rem) { .tappe-numerate {
    grid-template-columns: repeat(3, 1fr);
} }

/* faq */
.documenti-annuali {
    padding: 3.5rem 0px 3rem;
}
.documenti-annuali-ingresso {
    max-width: 38rem;
    color: var(--spento);
}
.documenti-annuali-fila {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    display: grid;
}
.documenti-annuali-elemento {
    padding: 1.25rem 1.25rem 0.75rem;
    border-left: 4px solid var(--oro);
    background: var(--carta);
}
.documenti-annuali-periodo {
    margin: 0.75rem 0px 0.25rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--spento);
}
.documenti-annuali-elemento h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}
@media (min-width: 48rem) {
        .documenti-annuali-fila {
            grid-template-columns: repeat(4, minmax(0px, 1fr));
        }
}

.targa-copertina {
    margin: 0;
    padding: 8px 14px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    left: 4%;
    bottom: 20px;
    color: var(--bruno);
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.faq-elenco {
    max-width: 46rem;
}
.anello {
    border-radius: 24px;
}
