/* Dodici Versamenti · nero pieno, rosso mattone, linee topografiche sullo sfondo */
:root {
    --mattone: #B91C1C;
    --red-hi: #F87171;
    --grey: #9CA3AF;
    --panel: #111111;
    --head: 'Sora', 'Segoe UI', sans-serif;
    --body: 'Figtree', 'Segoe UI', sans-serif;
}

*, ::before, ::after { box-sizing: border-box; border: 0px solid; }
[hidden] { display: none !important; }

html { overflow-x: clip; }
.liscio { scroll-behavior: smooth; }
body {
    margin: 0px;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.7;
}
.pagina-scura { background: #000000; color: #FFFFFF; -webkit-font-smoothing: antialiased; }
.centrato { text-align: center; }
.max-w-\[880px\] { max-width: 880px !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0px; font-family: var(--head); font-weight: 600; text-wrap: balance; }
p { margin: 0px 0px 1rem; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0px auto; padding: 0px 1.25rem; }
.skip { position: absolute; left: -9999px; top: 0.5rem; z-index: 90; padding: 0.6rem 1rem; background: #FFFFFF; color: #000000; }
.skip:focus { left: 0.5rem; }

/* barra in alto con menu */
.topbar { position: relative; z-index: 20; background: rgba(0, 0, 0, 0.8); }
.topbar-over { position: absolute; top: 0px; left: 0px; right: 0px; background: transparent; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand img { width: 200px; }
.topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-btn { text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.9); display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0px 0.9rem; background: transparent; color: #FFFFFF; font: 600 0.95rem var(--body); cursor: pointer; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 2px; background: currentColor; }
.menu-btn span { position: relative; }
.menu-btn span::before { content: ''; position: absolute; top: 6px; }
.menu-panel { position: absolute; left: 0px; right: 0px; top: 100%; background: rgba(0, 0, 0, 0.94); border-top: 1px solid #262626; }
.menu-panel ul { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; margin: 0px auto; padding-top: 1rem; padding-bottom: 1.25rem; list-style: none; }
.menu-panel a { display: block; padding: 0.5rem 0px; text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current] { color: var(--red-hi); }

.btn-outline, .btn-red {
    display: inline-block;
    padding: 0.85rem 2.6rem;
    border: 2px solid var(--mattone);
    border-radius: 6px;
    background: transparent;
    color: #FFFFFF;
    font: 400 1rem/1.4 var(--body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-outline:hover, .btn-red { background: var(--mattone); }
.btn-red:hover { background: #991B1B; border-color: #991B1B; }
.btn-mini { padding: 0.55rem 1rem; font-size: 0.9rem; }
.link-plain { padding: 0px; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.link-underline { display: inline-block; padding-bottom: 0.3rem; border-bottom: 2px solid var(--mattone); font-family: var(--head); font-size: 1.25rem; text-decoration: none; }

/* foto di Parma e titolo */
.hero-cover { position: relative; display: flex; align-items: center; min-height: 630px; height: 78dvh; max-height: 820px; overflow: hidden; }
.cover-img { position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0px; background: rgba(0, 0, 0, 0.7); }
.hero-copy { position: relative; text-shadow: 0px 2px 12px rgba(0, 0, 0, 0.8); max-width: 820px; padding-top: 6rem; text-align: center; }
.cover-title { margin-bottom: 1.5rem; font: 600 clamp(2rem, 4.6vw, 3rem)/1.15 var(--head); letter-spacing: 0.02em; text-wrap: balance; }
.cover-text { max-width: 640px; margin: 0px auto 2rem; font-size: 1.15rem; }

.usp-strip { border-bottom: 1px solid #1f1f1f; }
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 0px auto; padding-top: 2.5rem; padding-bottom: 2.5rem; list-style: none; }
.usp-row li { display: flex; align-items: center; gap: 0.9rem; color: #d4d4d4; font-size: 0.95rem; line-height: 1.4; }
.usp-row svg { flex: 0 0 34px; width: 34px; height: 34px; padding: 5px; border: 1px solid var(--mattone); border-radius: 30px; color: var(--red-hi); }

.statement { padding: 6rem 0px 5rem; }
.statement-title { margin-bottom: 1.5rem; font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1.25; font-weight: 400; }
.red-dash { display: block; width: 36px; height: 2px; margin: 1.5rem auto; background: var(--mattone); }
.statement p { color: #e5e5e5; }
.statement .btn-outline { margin-top: 1rem; }

/* zona con linee */
.cards-zone, .city-zone, .page-head { position: relative; overflow: hidden; }
.topo { position: absolute; inset: 0px; width: 100%; height: 100%; pointer-events: none; }
.cards-zone { padding: 4rem 0px 6rem; }
.cards-zone .wrap, .city-zone .wrap, .page-head .wrap { position: relative; }
.zone-title { margin-bottom: 2.5rem; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; font-weight: 400; }
.zone-intro { max-width: 640px; margin: -1.5rem auto 2.5rem; color: var(--grey); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 940px; margin: 0px auto; }
.card-tall { display: flex; flex-direction: column; align-items: center; min-width: 0px; text-align: center; }
.card-tall h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.card-img { width: 100%; height: auto; border-radius: 6px; object-fit: cover; }
.card-tall .card-img { aspect-ratio: 3 / 4; }
.card-tall p { flex: 1; margin: 1.25rem 0px 1.5rem; color: #d4d4d4; font-size: 0.98rem; }

/* casi */
.cases { padding: 5rem 0px; }
.cases-title { margin-bottom: 1.5rem; font-size: 1.6rem; }
.cases-stage { min-height: 13rem; }
.case-slide { margin: 0px; }
.case-slide blockquote { margin: 0px; font-size: 1.15rem; line-height: 1.75; }
.case-slide figcaption { color: var(--grey); }
.dots { display: flex; justify-content: center; gap: 0.25rem; margin: 1.5rem 0px; }
.dots button { position: relative; width: 28px; height: 28px; padding: 0px; background: transparent; cursor: pointer; }
.dots button::after { content: ''; position: absolute; top: 9px; left: 9px; width: 10px; height: 10px; border-radius: 50%; background: #D6D6D6; }
.dots button[aria-current='true']::after { background: #FF0000; }
.dots-left { justify-content: flex-start; }
.cases-note { color: var(--grey); font-size: 0.95rem; }

/* iscrizione in tre mosse */
.steps-zone { padding: 4rem 0px 5rem; border-top: 1px solid #1f1f1f; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0px; padding: 0px; list-style: none; }
.steps-row li { min-width: 0px; padding: 1.75rem; background: var(--panel); border-radius: 6px; }
.step-n { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border: 2px solid var(--mattone); border-radius: 30px; font-family: var(--head); }
.steps-row h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.steps-row p { margin: 0px; color: #d4d4d4; }

/* banner largo */
.wide-banner { padding: 2rem 0px 4rem; }
.banner-box { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; min-height: 450px; padding: 3rem 3.5rem; overflow: hidden; }
.banner-img { position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; }
.banner-shade { position: absolute; inset: 0px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.85) 75%, #000000 100%); }
.banner-copy, .banner-cta { position: relative; }
.banner-title { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1; }
.banner-list { margin: 0px; padding: 0px; list-style: none; font-size: 1.05rem; }
.banner-list li { padding: 0.3rem 0px; }
.banner-list b { display: inline-block; min-width: 5.5rem; color: var(--red-hi); }
.banner-cta { flex-shrink: 0; padding: 1.4rem 4.5rem; border-radius: 4px; background: var(--mattone); text-decoration: none; }
.banner-cta:hover { background: #991B1B; }

/* carte dell'anno */
.docs-zone { padding: 4rem 0px 5rem; }
.docs-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.doc-card { min-width: 0px; }
.doc-card .card-img { aspect-ratio: 3 / 2; }
.doc-when { margin: 1rem 0px 0.2rem; color: var(--red-hi); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.doc-card h3 { margin-bottom: 0.3rem; font-size: 1.1rem; }
.doc-card p:last-child { color: var(--grey); font-size: 0.95rem; }

/* mattine */
.mornings { padding: 4rem 0px 5rem; border-top: 1px solid #1f1f1f; }
.morning-slide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.morning-slide > * { min-width: 0px; }
.morning-media .card-img { aspect-ratio: 25 / 16; }
.kicker { margin-bottom: 0.4rem; color: var(--red-hi); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.morning-box h3 { margin-bottom: 0.8rem; font-size: 1.6rem; }

/* fuori programma */
.outside { padding: 4rem 0px; background: var(--panel); }
.outside-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.dash-list { margin: 0px; padding: 0px; list-style: none; }
.dash-list li { position: relative; padding: 0.7rem 0px 0.7rem 2rem; border-bottom: 1px solid #262626; }
.dash-list li::before { content: ''; position: absolute; left: 0px; top: 1.45rem; width: 1rem; height: 2px; background: var(--mattone); }
.limit-box { padding: 2rem; border: 2px solid var(--mattone); border-radius: 6px; }
.limit-box h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.limit-box p { margin: 0px; }

/* città */
.city-zone { padding: 5rem 0px; }
.city-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.city-grid > * { min-width: 0px; }
.city-media .card-img { aspect-ratio: 35 / 41; max-height: 560px; }

/* faq a fisarmonica */
.faq-zone { padding: 4rem 0px 6rem; }
.faq-item { border-bottom: 1px solid #262626; }
.faq-item summary { position: relative; padding: 1.2rem 2.5rem 1.2rem 0px; font: 600 1.1rem/1.4 var(--head); list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; right: 0.4rem; top: 1.4rem; width: 10px; height: 10px; border-right: 2px solid var(--red-hi); border-bottom: 2px solid var(--red-hi); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq-item p { padding-right: 2.5rem; color: #d4d4d4; }

/* sottopagine e note legali */
.page-head { padding: 9rem 0px 3.5rem; border-bottom: 1px solid #1f1f1f; }
.pg-inner .topbar, .pg-legal .topbar { background: #000000; }
.head-title { margin-bottom: 1rem; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; font-weight: 700; overflow-wrap: break-word; }
.head-lead { max-width: 640px; color: #d4d4d4; font-size: 1.15rem; }
.page-body { padding: 3.5rem 0px 5rem; }
.prose-dark h2 { margin: 2.5rem 0px 0.9rem; font-size: 1.45rem; }
.prose-dark h2:first-child { margin-top: 0px; }
.page-body-legal h2 { font-size: 1.15rem; }
.prose-dark p, .prose-dark li { color: #e5e5e5; }
.prose-dark a:not([class]) { color: var(--red-hi); }
.fig { margin: 2.5rem 0px; }
.fig .card-img { aspect-ratio: 2 / 1; }
.fig figcaption { margin-top: 0.6rem; color: var(--grey); font-size: 0.9rem; }
.note { padding: 1.2rem 1.5rem; border-left: 3px solid var(--mattone); background: var(--panel); }
.cta-row { margin-top: 2.5rem; }

/* richiesta */
.wizard { margin-bottom: 3rem; padding: 2rem; background: var(--panel); border-radius: 6px; }
.wizard-bar { display: flex; gap: 0.5rem; margin: 0px 0px 1.75rem; padding: 0px; list-style: none; counter-reset: passo; }
.wizard-bar li { flex: 1; padding-top: 0.6rem; border-top: 3px solid #333333; color: var(--grey); font-size: 0.9rem; counter-increment: passo; }
.wizard-bar li::before { content: counter(passo) '. '; }
.wizard-bar li.is-on { border-color: var(--mattone); color: #FFFFFF; }
.wizard-step { margin: 0px; padding: 0px; }
.wizard-step legend { margin-bottom: 1rem; font: 600 1.3rem/1.3 var(--head); }
.js-wizard .wizard-step:not(.is-current) { display: none; }
.choice { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.6rem; padding: 0.9rem 1rem; border: 1px solid #333333; border-radius: 6px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--mattone); }
.choice input { margin-top: 0.35rem; accent-color: #B91C1C; }
.choice small { display: block; color: var(--grey); }
.choice-check { border: 0px; padding: 0.4rem 0px; }
.field-label { display: block; margin: 1rem 0px 0.35rem; font-weight: 700; }
.wizard input[type='text'], .wizard input[type='email'], .wizard select { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid #525252; border-radius: 6px; background: #000000; color: #FFFFFF; font: inherit; }
.wizard [aria-invalid='true'] { border-color: var(--red-hi); }
.field-msg { min-height: 1.5rem; margin: 0.3rem 0px 0px; color: var(--red-hi); font-size: 0.92rem; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.wizard-done { padding: 1.5rem; border: 2px solid var(--mattone); border-radius: 6px; }
.wizard-done-h { font: 600 1.3rem var(--head); }

/* fondo: logo e colonne */
.site-foot { padding: 4rem 0px 2rem; border-top: 1px solid #1f1f1f; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-grid > * { min-width: 0px; }
.foot-about img { width: 260px; margin-bottom: 1.5rem; }
.foot-about p { font-size: 1.05rem; }
.foot-title { margin-bottom: 1rem; color: var(--red-hi); text-transform: uppercase; letter-spacing: 0.04em; }
.site-foot ul { margin: 0px; padding: 0px; list-style: none; }
.site-foot li { margin-bottom: 0.9rem; overflow-wrap: anywhere; }
.site-foot li a { text-decoration: none; }
.site-foot li a:hover { color: var(--red-hi); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #1f1f1f; color: var(--grey); font-size: 0.85rem; }

/* riquadro cookie */
.avviso-cookie { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; width: min(400px, calc(100% - 2.5rem)); padding: 1.4rem; border: 1px solid var(--mattone); border-radius: 6px; background: #0A0A0A; box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.6); font-size: 0.95rem; }
.cookie-h { margin-bottom: 0.5rem; font: 600 1.1rem var(--head); }
.avviso-cookie a { color: var(--red-hi); }
.cookie-opts { margin-bottom: 0.9rem; }
.switch { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0px; }
.switch input { accent-color: #B91C1C; width: 18px; height: 18px; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }

@media (max-width: 1023px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .docs-4 { grid-template-columns: repeat(2, 1fr); }
    .banner-box { flex-direction: column; align-items: flex-start; padding: 2rem; }
}

@media (max-width: 767px) {
    body { font-size: 1rem; }
    .brand img { width: 150px; }
    .topbar-actions .btn-outline { display: none; }
    .hero-cover { min-height: 560px; height: auto; }
    .usp-row { grid-template-columns: 1fr 1fr; }
    .statement { padding: 4rem 0px 3rem; }
    .cards-3, .steps-row, .morning-slide, .outside-grid, .city-grid { grid-template-columns: 1fr; }
    .card-tall .card-img { aspect-ratio: 4 / 3; }
    .banner-box { min-height: 380px; padding: 1.5rem; }
    .banner-cta { padding: 1rem 2rem; }
    .docs-4 { gap: 1rem; }
    .foot-grid { grid-template-columns: 1fr; }
    .page-head { padding-top: 7rem; }
    .wizard { padding: 1.25rem; }
    .avviso-cookie { right: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .liscio { scroll-behavior: auto; }
    *, ::before, ::after { transition: none !important; }
}
.hero-copy .btn-outline { background: #000000; }
.topbar-over .btn-outline { background: #000000; }
