/* css/style.css */

/* Reset e base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #fafbfc;
    color: #222;
    line-height: 1.5;
    min-height: 100vh;
}

/* Container */
.container {
    width: 90%;
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 38px;
}

/* Bottoni */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    border: none;
    border-radius: 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    padding: 0.75em 1.5em;
    text-decoration: none;
    outline: none;
}
.btn-primary {
    background: #ff3c00;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,60,0,0.08);
}
.btn-primary:hover, .btn-primary:focus {
    background: #e63600;
}
.btn-outline {
    background: #fff;
    color: #ff3c00;
    border: 2px solid #ff3c00;
}
.btn-outline:hover, .btn-outline:focus {
    background: #ff3c00;
    color: #fff;
}
.btn-large {
    font-size: 1.15rem;
    padding: 1em 2em;
}
.pulse-cta {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,60,0,0.3);}
    70% { box-shadow: 0 0 0 10px rgba(255,60,0,0);}
    100% { box-shadow: 0 0 0 0 rgba(255,60,0,0);}
}

/* Hero */
.hero {
    background: linear-gradient(120deg, #fff 60%, #ffe5d6 100%);
    padding: 2.5rem 0 1.5rem 0;
    text-align: center;
}
.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5em;
}
.hero-content .subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5em;
}
.hero-img {
    width: 100%;
    max-width: 320px;
    margin: 1.5em auto 0 auto;
    display: block;
}
.trust-row {
    margin-top: 1.2em;
    display: flex;
    justify-content: center;
    gap: 1em;
}
.badge {
    background: #fff;
    color: #ff3c00;
    border-radius: 20px;
    padding: 0.3em 1em;
    font-size: 0.95em;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Benefit cards */
.benefits {
    background: #fff;
    padding: 2rem 0 1rem 0;
}
.flex-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}
.benefit-card {
    background: #fafbfc;
    border-radius: 18px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
    padding: 1.2em;
    text-align: center;
}
.benefit-card .icon {
    width: 38px;
    margin-bottom: 0.5em;
}
.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3em;
}
.benefit-card p {
    color: #666;
    font-size: 0.98em;
}

/* CTA Form */
.cta-section {
    background: #ffe5d6;
    padding: 2rem 0 1rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1em;
}
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    align-items: stretch;
    margin-bottom: 1em;
}
.cta-form label {
    text-align: left;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.2em;
}
.cta-form input[type="tel"] {
    padding: 0.8em;
    border: 1.5px solid #ff3c00;
    border-radius: 8px;
    font-size: 1.1em;
    outline: none;
    transition: border 0.2s;
}
.cta-form input[type="tel"]:focus {
    border: 2px solid #e63600;
}
.privacy-note {
    color: #888;
    font-size: 0.9em;
    margin-top: 0.5em;
}
.call-action {
    margin-top: 1em;
}

/* Partner section */
.trust-partners {
    background: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
}
.trust-partners h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1em;
}
.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2em;
    flex-wrap: wrap;
    margin-bottom: 0.7em;
}
.partners-row img {
    height: 38px;
    max-width: 90px;
    object-fit: contain;
}
.market-share {
    color: #666;
    font-size: 0.98em;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 2em 0 1em 0;
    font-size: 0.98em;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 1em;
}
.footer-links a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}
.footer-info {
    text-align: center;
    margin-bottom: 1em;
}
.footer-badges {
    margin-top: 0.7em;
    display: flex;
    justify-content: center;
    gap: 0.7em;
}
.footer-contact {
    text-align: center;
    margin-top: 0.5em;
}
.footer-contact a {
    color: #ff3c00;
    font-weight: 600;
    text-decoration: none;
}

/* Sezione Come Funziona */
.how-it-works {
    background: #fff;
    padding: 2.5rem 0 2rem 0;
    text-align: center;
}
.how-it-works h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5em;
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
}
.step {
    background: #fafbfc;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
    padding: 1.2em 1em;
    max-width: 340px;
    width: 100%;
    text-align: center;
}
.step-number {
    width: 38px;
    height: 38px;
    background: #ff3c00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 0.7em auto;
}
.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3em;
}
.step p {
    color: #666;
    font-size: 0.98em;
}

/* Responsive */
@media (min-width: 600px) {
    .container {
        max-width: 700px;
    }
    .flex-cards {
        flex-direction: row;
        gap: 2em;
    }
    .benefit-card {
        flex: 1;
    }
    .partners-row {
        gap: 2em;
    }
    .steps {
        flex-direction: row;
        justify-content: center;
        gap: 2em;
    }
    .step {
        max-width: 260px;
    }
}
@media (max-width: 400px) {
    .btn, .btn-large {
        font-size: 0.98rem;
        padding: 0.7em 1em;
    }
    .hero-content h1 {
        font-size: 1.3rem;
    }
} 

.page-content {
    background: #fff;
    padding: 6rem 0 2rem 0;
    min-height: 60vh;
}

.content-box {
    background: #fafbfc;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2.2em 1.5em;
    max-width: 700px;
    margin: 2em auto 0 auto;
    font-size: 1.08em;
    color: #222;
}

.content-box h2 {
    font-size: 1.25em;
    color: #ff3c00;
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    font-weight: 700;
}

.content-box p, .content-box ul, .content-box ol {
    margin-bottom: 1.1em;
    line-height: 1.7;
}

.content-box ul, .content-box ol {
    padding-left: 1.2em;
}

.content-box li {
    margin-bottom: 0.5em;
}

.page-content h1 {
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 1.2em;
    color: #222;
    text-align: center;
}

@media (max-width: 600px) {
    .content-box {
        padding: 1.2em 0.7em;
        font-size: 1em;
    }
    .page-content h1 {
        font-size: 1.3em;
    }
}

.fixed-call-btn {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 999;
    background: #ff3c00;
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 32px;
    padding: 0.9em 1.7em 0.9em 1.2em;
    box-shadow: 0 4px 16px rgba(255,60,0,0.13);
    display: flex;
    align-items: center;
    gap: 0.7em;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.fixed-call-btn:hover, .fixed-call-btn:focus {
    background: #e63600;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,60,0,0.18);
}
.fixed-call-btn .icon {
    font-size: 1.3em;
    display: flex;
    align-items: center;
}

.footer-links ul, .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 1em;
    list-style: none;
    padding: 0;
}
.footer-links a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1em;
}
.footer-info, .footer-contact {
    text-align: center;
    margin-bottom: 0.7em;
} 
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;

    /* Spaziatura verticale */
    margin-top: 1.5rem;      /* Spinge i bottoni sotto al logo */
    margin-bottom: 2rem;     /* Spinge il contenuto più giù */
}

