* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f1f4;
    color: #333333;
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-family: Helvetica, Arial, sans-serif;
}

main,
header,
footer {
    width: 100%;
}

section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 18px;
}
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;

    background:
            radial-gradient(circle at 20% 30%, rgba(255, 220, 235, 0.95), transparent 28%),
            radial-gradient(circle at 80% 65%, rgba(255, 235, 150, 0.80), transparent 25%),
            linear-gradient(135deg, #f8e8ef, #fff4d6, #efd9e5, #fff0b8);

    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
            repeating-linear-gradient(
                    120deg,
                    transparent 0,
                    transparent 80px,
                    rgba(255, 255, 255, 0.35) 82px,
                    transparent 90px
            );
    transform: rotate(-5deg);
    opacity: 0.7;
}

header h1,
header p {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

header p:first-of-type {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

header p:last-of-type {
    font-size: 1.2rem;
    max-width: 700px;
}
section {
    position: relative;
}

section::after {
    content: "";
    display: block;
    width: 85%;
    height: 2px;
    margin: 70px auto 0;

    background: linear-gradient(
            90deg,
            transparent,
            #d8a7bd,
            #e7c85a,
            #d8a7bd,
            transparent
    );

    opacity: 0.8;
}

section:last-child::after {
    display: none;
}

section h2 {
    text-align: center;
}

section > p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.calcolatore {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 45px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(216, 167, 189, 0.7);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(80, 50, 65, 0.12);
}

.calcolatore h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 35px;
}

.calcolatore label {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    margin: 20px 0 8px;
}

.calcolatore input,
.calcolatore select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #c9a7b8;
    border-radius: 8px;
    background: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

.calcolatore select[multiple] {
    min-height: 130px;
}

.calcolatore button {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: #d6b94c;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.calcolatore button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.perche-sceglierci {
    text-align: center;
}

.numeri {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 45px auto 0;
}

.numero {
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    border: 1px solid rgba(216, 167, 189, 0.6);
    box-shadow: 0 10px 30px rgba(80, 50, 65, 0.10);
}

.numero strong {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #d6b94c;
    margin-bottom: 10px;
}

.numero h3 {
    color: #7b405c;
}

.numero p {
    text-align: center;
}
.traduzione-legale {
    text-align: center;
}

.procedura {
    max-width: 850px;
    margin: 35px auto;
    padding: 35px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    border: 1px solid rgba(216, 167, 189, 0.6);
}

.procedura ol {
    max-width: 650px;
    margin: 25px auto;
    padding-left: 25px;
    text-align: left;
}

.procedura li {
    margin-bottom: 12px;
}

.caricamento-documento {
    max-width: 700px;
    margin: 35px auto 0;
    padding: 35px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    border: 1px solid rgba(216, 167, 189, 0.7);
}

.caricamento-documento label {
    display: inline-block;
    margin: 15px 0 10px;
    padding: 14px 25px;
    border-radius: 8px;
    background: #d6b94c;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
}

.caricamento-documento input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 15px;
}

.caricamento-documento p:last-child {
    font-size: 0.9rem;
    opacity: 0.75;
}
.contatti {
    text-align: center;
}

.contatti form {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(216, 167, 189, 0.7);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(80, 50, 65, 0.10);
    text-align: left;
}

.contatti label {
    display: block;
    margin: 18px 0 7px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.contatti input,
.contatti select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #c9a7b8;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    background: #ffffff;
}

.contatti button {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: #d6b94c;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.whatsapp {
    margin: 30px auto;
}

.whatsapp a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 60px;
    padding: 15px 25px;
    border-radius: 50px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
}

.whatsapp a:hover {
    opacity: 0.9;
}
.interpretariato {
    text-align: center;
}

.mappa-italia {
    max-width: 800px;
    margin: 45px auto 0;
    padding: 35px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(216, 167, 189, 0.6);
    border-radius: 18px;
}

.mappa-placeholder {
    position: relative;
    min-height: 450px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    border-radius: 12px;
    background: rgba(247, 241, 244, 0.8);
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #7b405c;
}

.mappa-placeholder span {
    font-size: 1.5rem;
    color: #d6b94c;
}
.preventivi-rapidi {
    text-align: center;
}

.preventivi-rapidi h3 {
    color: #7b405c;
    margin-top: 35px;
}

.preventivi-rapidi > p {
    max-width: 850px;
}

.preventivi-rapidi button {
    margin-top: 20px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background: #d6b94c;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.preventivi-rapidi button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
footer {
    padding: 70px 6%;
    background: #3f2634;
    color: #ffffff;
    text-align: center;
}

footer h2,
footer h3 {
    color: #e7c85a;
}

footer p {
    max-width: 700px;
    margin: 0 auto 15px;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}

footer nav a {
    color: #ffffff;
    text-decoration: none;
}

footer nav a:hover {
    color: #e7c85a;
}

.pagamenti,
.newsletter {
    max-width: 700px;
    margin: 50px auto 0;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.carte-prepagate {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(231, 200, 90, 0.5);
    border-radius: 12px;
}

.newsletter form {
    max-width: 500px;
    margin: 25px auto 0;
    text-align: left;
}

.newsletter label {
    display: block;
    margin: 15px 0 7px;
    font-family: Helvetica, Arial, sans-serif;
}

.newsletter input[type="text"],
.newsletter input[type="email"] {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 7px;
}

.newsletter input[type="checkbox"] {
    margin-right: 8px;
}

.newsletter button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 7px;
    background: #d6b94c;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
}
@media (max-width: 768px) {

    section {
        width: 94%;
        padding: 50px 12px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    header {
        min-height: 90vh;
        padding: 30px 15px;
    }

    header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    header p:first-of-type {
        font-size: 1.4rem;
        letter-spacing: 3px;
    }

    header p:last-of-type {
        font-size: 1rem;
    }

    .calcolatore {
        padding: 25px 18px;
    }

    .numeri {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .numero {
        padding: 28px 20px;
    }

    .numero strong {
        font-size: 2.5rem;
    }

    .procedura,
    .caricamento-documento,
    .contatti form,
    .mappa-italia {
        padding: 25px 18px;
    }

    .mappa-placeholder {
        min-height: 300px;
        flex-wrap: wrap;
    }

    .contatti form {
        width: 100%;
    }

    footer {
        padding: 50px 20px;
    }

    footer nav {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter form {
        width: 100%;
    }

}











































/* VANTAGGI */

.vantaggi {
    padding: 70px 6%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
    background-color: #ffffff;
}

.vantaggio {
    width: 300px;
    padding: 25px;
}

.vantaggio img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.vantaggio h3 {
    font-size: 20px;
    line-height: 1.4;
}