html {
    font-size: 62.5%;
    overflow-x: clip;
    scroll-behavior: smooth;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #f4f4f5;
    color: #202124;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
    transition: all .3s;
}
h1, h2, h3 {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
}
p {
    margin: 0 0 1.6rem;
}
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
[hidden] {
    display: none !important;
}
:focus-visible {
    outline: 2px solid #202124;
    outline-offset: 2px;
}
.hidden-accessible {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.box {
    width: 100%;
    max-width: 114rem;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* bottoni: tre misure, sempre raggio 8 */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: .8rem;
    font-family: Inter, Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}
.button_size_l {
    min-height: 5.6rem;
    padding: 1.4rem 2.4rem;
    font-size: 1.8rem;
    line-height: 1.5555555556;
}
.button_size_m {
    min-height: 4.4rem;
    padding: .9rem 1.8rem;
    font-size: 1.6rem;
}
.button_size_s {
    min-height: 3.2rem;
    padding: 6px 14px;
    font-size: 1.4rem;
}
.button_lime {
    background: #cfe741;
    border-color: #cfe741;
    color: #202124;
}
.button_dark {
    background: #3d3e40;
    border-color: #3d3e40;
    color: #fff;
}
.button_outline-dark {
    border-color: #d3d4db;
    color: #fff;
}
.button_outline {
    background: #fff;
    border-color: #b5b7c0;
    color: #3d3e40;
}
.button_wide {
    width: 100%;
}

/* testata: due barre, non resta fissa */
.kopfzone__top {
    background: #202124;
}
.kopfzone__row {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    min-height: 6.4rem;
}
.kopfzone__logo img {
    width: 17rem;
}
.kopfzone__links {
    display: flex;
    gap: 2.4rem;
    margin-left: auto;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}
.kopfzone__burger {
    display: none;
    position: relative;
    width: 4.4rem;
    height: 4.4rem;
    border: 0;
    background: none;
    cursor: pointer;
}
.kopfzone__burger i {
    position: absolute;
    left: 1.1rem;
    width: 2.2rem;
    height: 2px;
    background: #fff;
}
.kopfzone__burger i:nth-of-type(1) { top: 1.5rem; }
.kopfzone__burger i:nth-of-type(2) { top: 2.1rem; }
.kopfzone__burger i:nth-of-type(3) { top: 2.7rem; }
.kopfzone__second {
    background: #fff;
}
.kopfzone__second-row {
    display: flex;
    gap: .8rem;
    min-height: 8rem;
    align-items: center;
}
.kopfzone__second-row a {
    padding: .8rem 1.2rem;
    border-radius: .8rem;
    font-size: 1.4rem;
    font-weight: 600;
}
.menu-mobile {
    background: #202124;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
}
.menu-mobile a {
    color: #fff;
    padding: 1.4rem 0;
    border-bottom: 1px solid #3d3e40;
}
.menu-mobile .button {
    margin-top: 1.6rem;
    border-bottom: 0;
    color: #202124;
}

/* apertura scura con il fondo arrotondato */
.home-hero {
    position: relative;
    overflow: hidden;
    background: #202124;
    border-radius: 0 0 48px 48px;
    padding: 8rem 0 14rem;
    color: #fff;
}
.home-hero__shape {
    position: absolute;
    right: -4rem;
    top: 2rem;
    width: 52rem;
    height: auto;
    opacity: .9;
}
.home-hero__inner {
    position: relative;
}
.home-hero__title {
    max-width: 76rem;
    font-size: clamp(3.6rem, 2.4rem + 2vw, 4.8rem);
    line-height: 1.25;
    text-wrap: balance;
}
.home-hero__sub {
    margin: 2rem 0 3.2rem;
    max-width: 64rem;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
}
.home-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
}

/* la card che si appoggia sul bordo dell'apertura */
.quick-card {
    position: relative;
    margin-top: -7.2rem;
    background: #fff;
    border-radius: 1.6rem;
    padding: 3.6rem;
    box-shadow: 0 1px 5px rgba(16, 24, 40, .1);
}
.quick-card__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    font-weight: 600;
}
.quick-card__list li {
    position: relative;
    padding-left: 4rem;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}
.quick-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: #cfe741 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8l3 3 5-6' fill='none' stroke='%23202124' stroke-width='2'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
}
.tag-lime {
    position: absolute;
    top: -1.8rem;
    right: -1.2rem;
    background: #cfe741;
    border-radius: .8rem;
    padding: .6rem 1.6rem;
    font-weight: 600;
    box-shadow: 0 1px 5px rgba(16, 24, 40, .1);
}

.home-section {
    margin-top: 12.8rem;
}
.title-h2 {
    font-size: 3.6rem;
    line-height: 1.2222222222;
    margin-bottom: 2.4rem;
    text-wrap: balance;
}
.title-h2_white {
    color: #fff;
}
.title-h2_small {
    font-size: 2.8rem;
    line-height: 1.2857142857;
}
.label-small {
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 600;
    color: #5f6066;
    margin-bottom: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.label-small_light {
    color: #b5b7c0;
}
.section-lead {
    font-size: 1.8rem;
    line-height: 1.5555555556;
    color: #5f6066;
    max-width: 68rem;
}

.home-about {
    display: flex;
    gap: 3.2rem;
}
.home-about__card {
    flex: 0 0 34%;
    background: #fff;
    border-radius: 16px;
    padding: 3.6rem;
}
.home-about__bold {
    font-weight: 600;
}
.home-about__small {
    color: #5f6066;
    font-size: 1.4rem;
}
.home-about__photo {
    flex: 1;
    min-width: 0;
    border-radius: 1.6rem;
    object-fit: cover;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
}
.doc-card {
    background: #fff;
    border-radius: 1.6rem;
    padding: 3.6rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.doc-card img {
    border-radius: 1.2rem;
    margin-bottom: 2.4rem;
    aspect-ratio: 9 / 4;
    object-fit: cover;
}
.doc-card__title {
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: .8rem;
}
.doc-card__text {
    color: #5f6066;
}
.doc-card .button {
    margin-top: auto;
}

/* righe tipo listino */
.price-rows {
    margin-bottom: 3.2rem;
}
.price-rows li {
    display: grid;
    grid-template-columns: 18rem 1fr auto;
    gap: 2.4rem;
    align-items: center;
    padding: 2.8rem 0;
    border-bottom: 1px solid #b5b7c0;
}
.price-rows li:first-child {
    border-top: 1px solid #b5b7c0;
}
.price-rows b {
    font-weight: 600;
}
.price-rows span {
    color: #5f6066;
}
.price-rows_compact li {
    grid-template-columns: 16rem 1fr;
    padding: 1.2rem 0;
    font-size: 1.4rem;
}
.price-label {
    font-style: normal;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
    font-size: 2.4rem;
    text-align: right;
    display: flex;
    flex-direction: column;
}
.price-label small {
    font-family: Inter, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #5f6066;
}

.people-card {
    background: #fff;
    border-radius: 2.4rem;
    padding: 4.8rem 3.6rem;
}
.people-card__lead {
    color: #5f6066;
    margin-bottom: 3.2rem;
}
.people-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem;
}
.people-card__grid img {
    border-radius: 1.2rem;
    aspect-ratio: 59 / 70;
    object-fit: cover;
    margin-bottom: 1.6rem;
}
.people-card__grid h3 {
    font-size: 2rem;
    margin-bottom: .8rem;
}
.people-card__grid p {
    color: #5f6066;
}

/* banda scura con la griglia sottile */
.home-section_inverted {
    background-color: #202124;
    background-image: linear-gradient(#2c2d2e 1px, transparent 1px), linear-gradient(90deg, #2c2d2e 1px, transparent 1px);
    background-size: 9.6rem 9.6rem;
    padding: 12rem 0;
    color: #fff;
}
.inverted-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9.6rem;
}
.inverted-grid__text {
    color: #b5b7c0;
}
.link-tiles {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.link-tile {
    background: #2c2d2e;
    border-radius: .8rem;
    padding: 2rem 3.2rem;
    min-height: 8rem;
    display: flex;
    flex-direction: column;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
.link-tile:hover {
    background: #3d3e40;
    color: #cfe741;
}
.link-tile b {
    font-weight: 600;
    font-size: 1.8rem;
}
.link-tile span {
    color: #b5b7c0;
    font-size: 1.4rem;
}
.link-tile .link-tile__when {
    color: #cfe741;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* le mattine: quattro carte fisse, numero grande in alto */
.step-grid {
    counter-reset: passo;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
}
.step-card {
    counter-increment: passo;
    position: relative;
    background: #fff;
    border-radius: 1.6rem;
    padding: 3.6rem 3.6rem 3.2rem;
    min-width: 0;
}
.step-card::after {
    content: counter(passo);
    position: absolute;
    top: 2rem;
    right: 2.8rem;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
    font-size: 4.6rem;
    line-height: .9565217391;
    color: #cacbcd;
}
.step-card img {
    width: 80%;
    border-radius: .8rem;
    margin-bottom: 2rem;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
.step-card h3 {
    font-size: 2rem;
    margin-bottom: .8rem;
}
.step-card p {
    color: #5f6066;
    margin: 0;
}

.reasons__list li {
    padding: 2rem 0;
    border-bottom: 1px solid #b5b7c0;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #6b6c71;
}
.reasons__list b {
    color: #3d3e40;
}
.reasons__list .reasons__list-active {
    color: #202124;
    border-bottom: 2px solid #202124;
}

/* banner scuro con l'arco che morde la foto */
.arc-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #202124;
    border-radius: 2.4rem;
    overflow: hidden;
    color: #fff;
}
.arc-banner__text {
    padding: 5.6rem 3.6rem 5.6rem 3.6rem;
    position: relative;
    z-index: 1;
}
.arc-banner__text p {
    color: #d3d4db;
}
.arc-banner__photo {
    position: relative;
    min-width: 0;
}
.arc-banner__photo::before {
    content: "";
    position: absolute;
    left: -30%;
    top: -20%;
    width: 46%;
    height: 140%;
    background: #202124;
    border-radius: 50%;
}
.arc-banner__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-request {
    background: #f4f4f5;
}
.request-card {
    background: #fff;
    border-radius: 1.6rem;
    padding: 3.6rem;
}
.request-card__panel {
    background: #f4f4f5;
    border-radius: 1.2rem;
    padding: 2.4rem;
    margin-bottom: 2.4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    counter-reset: passo;
}
.request-card__panel li {
    counter-increment: passo;
    display: flex;
    flex-direction: column;
}
.request-card__panel li::before {
    content: counter(passo);
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: #cacbcd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.request-card__panel span {
    color: #5f6066;
    font-size: 1.4rem;
}

.faq-split {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.2rem;
    margin-bottom: 12.8rem;
}
.faq-split__topic {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5f6066;
    margin: 3.2rem 0 .8rem;
}
.faq-split__topic:first-child {
    margin-top: 0;
}
.faq-item {
    border-bottom: 1px solid #b5b7c0;
    padding: 1.8rem 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
}
.faq-item summary::after {
    content: "+";
    font-family: Montserrat, Arial, sans-serif;
}
.faq-item[open] summary::after {
    content: "−";
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item p {
    margin: 1.2rem 0 0;
    color: #5f6066;
}

/* piede */
.baseline-block {
    background: #202124;
    color: #fff;
    padding: 6.4rem 0;
}
.baseline-block__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3.2rem;
}
.baseline-block__cols a {
    display: block;
    color: #b5b7c0;
    line-height: 3.6rem;
}
.baseline-block__cols a:hover {
    color: #fff;
}
.baseline-block__h {
    font-weight: 600;
    margin-bottom: .8rem;
}
.baseline-block__contact img {
    width: 17rem;
    margin-bottom: 2.4rem;
}
.baseline-block__contact a,
.baseline-block__contact span {
    line-height: 1.5;
    display: block;
    color: #fff;
}
.baseline-block__contact small {
    display: block;
    color: #b5b7c0;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}
.baseline-block__bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #3d3e40;
    margin-top: 4rem;
    padding-top: 2.4rem;
    color: #b5b7c0;
    font-size: 1.4rem;
}
.baseline-block__ck {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

/* cookie in basso a destra, come i pulsanti fissi del modello */
.cookie-float {
    position: fixed;
    right: 2.4rem;
    bottom: 2.4rem;
    z-index: 15;
    width: 38rem;
    max-width: calc(100% - 4.8rem);
    background: #fff;
    border-radius: 1.6rem;
    padding: 2.4rem;
    box-shadow: 0 1px 5px rgba(16, 24, 40, .1);
    font-size: 1.4rem;
}
.cookie-float a {
    text-decoration: underline dotted;
}
.cookie-float__check {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-bottom: 1.6rem;
}
.cookie-float__btns {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

/* pagine interne */
.page-band {
    background: #202124;
    border-radius: 0 0 48px 48px;
    padding: 6.4rem 0 7.2rem;
    color: #fff;
}
.page-band h1 {
    font-size: clamp(3.6rem, 2.4rem + 2vw, 4.8rem);
    line-height: 1.25;
}
.page-band .crumb {
    color: #b5b7c0;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.page-band .lead {
    color: #d3d4db;
    font-size: 1.8rem;
    max-width: 72rem;
    margin: 1.6rem 0 0;
}
.white-sec {
    margin: 5.6rem auto 0;
}
.white-sec > .box {
    background: #fff;
    border-radius: 1.6rem;
    padding: 4.8rem;
    max-width: 114rem;
}
.white-sec h2 {
    font-size: 2.8rem;
    line-height: 1.2857142857;
    margin-bottom: 1.6rem;
}
.white-sec p {
    max-width: 76rem;
}
.white-sec_grey > .box {
    background: #e9e9ec;
}
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
}
.two_mid {
    align-items: center;
}
.two__col {
    min-width: 0;
}
.pic-r12 {
    border-radius: 1.2rem;
    width: 100%;
    aspect-ratio: 9 / 7;
    object-fit: cover;
}
.pic-wide {
    margin: 3.2rem 0;
}
.pic-wide img {
    border-radius: 1.2rem;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}
.pic-wide figcaption {
    font-size: 1.4rem;
    color: #5f6066;
    margin-top: .8rem;
}
.clauses h3 {
    font-size: 2rem;
    margin: 3.2rem 0 1.2rem;
}
.clauses p {
    max-width: none;
}

/* modulo a passi */
.form-shell {
    max-width: 72rem;
}
.form-marks {
    display: flex;
    gap: 0;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid #b5b7c0;
}
.form-marks li {
    flex: 1;
    text-align: center;
    padding: 1.2rem 0;
    color: #6b6c71;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.form-marks li.current {
    color: #202124;
    border-bottom-color: #202124;
}
.form-steps fieldset {
    border: 0;
    margin: 0;
    padding: 2.4rem;
    background: #f4f4f5;
    border-radius: 1.2rem;
}
.form-steps legend {
    float: left;
    width: 100%;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1.6rem;
    padding: 0;
}
.form-label {
    display: block;
    clear: both;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: #3d3e40;
    margin: 1.6rem 0 .6rem;
}
.form-steps input[type="text"],
.form-steps input[type="email"],
.form-steps select {
    width: 100%;
    height: 4.4rem;
    background: #fff;
    border: 1px solid #b5b7c0;
    border-radius: .8rem;
    padding: 0 1.2rem;
    font: inherit;
    font-size: 1.4rem;
}
.form-steps input:focus,
.form-steps select:focus {
    border-color: #2c2d2e;
    box-shadow: inset 0 0 0 1px #2c2d2e;
    outline: 0;
}
.form-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.4rem;
}
.form-options label {
    display: flex;
    gap: .8rem;
    align-items: center;
}
.form-check {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.6rem;
    font-size: 1.4rem;
}
.form-check a {
    text-decoration: underline dotted;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2.4rem;
}
.form-trap {
    position: absolute;
    left: -999em;
}
.form-steps__note {
    min-height: 4.8rem;
    margin: 1.6rem 0 0;
}
.form-after {
    margin-top: 4.8rem;
}

@media (hover: hover) {
    .kopfzone__links a:hover { color: #cfe741; }
    .kopfzone__second-row a:hover { background: #f4f4f5; }
    .button_lime:hover { background: #bcd52f; border-color: #bcd52f; }
    .button_dark:hover { background: #202124; }
}
@media (max-width: 1023.98px) {
    .kopfzone__links,
    .kopfzone__second,
    .kopfzone__row > .button { display: none; }
    .kopfzone__burger { display: block; margin-left: auto; }
    .home-hero__shape { opacity: .4; }
    .home-about,
    .faq-split { display: block; }
    .home-about__photo { margin-top: 3.2rem; }
    .inverted-grid,
    .arc-banner,
    .two { grid-template-columns: 1fr; }
    .inverted-grid { gap: 4rem; }
    .arc-banner__photo::before { left: -10%; top: -70%; width: 120%; height: 90%; }
    .arc-banner__photo { height: 32rem; }
}
@media (max-width: 767.98px) {
    .home-hero { padding: 5.6rem 0 12rem; }
    .home-hero__title { font-size: 3.6rem; line-height: 1.2222222222; }
    .home-hero__buttons .button { width: 100%; }
    .quick-card__list,
    .doc-grid,
    .people-card__grid,
    .step-grid,
    .request-card__panel,
    .baseline-block__cols { grid-template-columns: 1fr; }
    .quick-card,
    .doc-card,
    .people-card,
    .request-card,
    .white-sec > .box { padding: 2.4rem 1.6rem; }
    .home-section { margin-top: 8rem; }
    .title-h2 { font-size: 2.8rem; line-height: 1.2857142857; }
    .price-rows li { grid-template-columns: 1fr; gap: .4rem; }
    .price-label { text-align: left; }
    .price-rows_compact li { grid-template-columns: 1fr; }
    .home-section_inverted { padding: 8rem 0; }
    .baseline-block__bottom { flex-direction: column; gap: 1.2rem; }
    .form-steps input[type="text"],
    .form-steps input[type="email"],
    .form-steps select { font-size: 1.6rem; }
}
@media (max-width: 575.98px) {
    .tag-lime { right: .8rem; }
    .cookie-float { right: 1.6rem; bottom: 1.6rem; max-width: calc(100% - 3.2rem); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
