/* ========================================
   QuadroDigitale - Main Stylesheet
   File CSS unificato per tutte le pagine
   ======================================== */

/* === RESET E BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* === VARIABILI COLORI === */
:root {
    --primary: #71ccff;
    --background-light: #f5f7f8;
    --background-dark: #0f1c23;
    --light-sky: #e4f6ff;
    --sky-blue: #b4e4ff;
    --ocean-blue: #71ccff;
    --off-black: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --border-light: #b4e4ff;
    --text-opacity-70: rgba(26, 26, 26, 0.7);
    --text-opacity-80: rgba(26, 26, 26, 0.8);
    --text-opacity-60: rgba(26, 26, 26, 0.6);
    --white-opacity-80: rgba(255, 255, 255, 0.8);
    --white-opacity-90: rgba(255, 255, 255, 0.9);
    --white-opacity-70: rgba(255, 255, 255, 0.7);
    --white-opacity-60: rgba(255, 255, 255, 0.6);
}

body.light {
    background-color: var(--background-light);
    color: var(--black);
}

body.dark {
    background-color: var(--background-dark);
    color: var(--white);
}

/* === TYPOGRAPHY === */
h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

p {
    line-height: 1.6;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* === HEADER / NAVIGATION === */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(228, 246, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(180, 228, 255, 0.5);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

nav {
    display: none;
}

nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    font-weight: 700;
    color: var(--primary);
}

.btn-cta {
    min-width: 120px;
    padding: 0.625rem 1.25rem;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta:hover {
    transform: scale(1.05);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 2.4rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    color: white;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--ocean-blue);
    color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    color: white;
    background-color: #5ab8e6;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--ocean-blue);
    border: 2px solid var(--ocean-blue);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--light-sky);
    color: var(--black);
    transition: all 0.3s ease;
}

.btn-white {
    background-color: var(--white);
    color: var(--ocean-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: scale(1.05);
    color: var(--black);
}

/* === CTA BUTTON (large width) === */
.btn-cta-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 4rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    background-color: var(--ocean-blue);
    color: var(--white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    margin-top: 3.5rem;
}

.btn-cta-large:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* === HERO SECTION === */
.hero {
    padding: 5rem 0 8rem;
    background: linear-gradient(to bottom, var(--sky-blue), var(--ocean-blue));
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--black);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-opacity-80);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* === STATS IN HERO === */
.stats-in-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.stat-card-hero {
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--black);
    margin: 0.5rem 0;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-opacity-80);
    margin-top: 1rem;
}

/* === FEATURED OFFERS (sotto hero) === */
.featured-offers {
    padding: 4rem 0 5rem;
    background-color: var(--background-light);
}

/* === SECTIONS === */
section {
    padding: 4rem 0 5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-opacity-70);
    max-width: 42rem;
    margin: 0 auto;
}

/* === CARDS === */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    border: 1px solid rgba(180, 228, 255, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(113, 204, 255, 0.2);
}

.card-icon {
    font-size: 5rem;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.card p {
    color: var(--text-opacity-70);
    margin-bottom: 1rem;
}

.card a {
    color: var(--ocean-blue);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #5ab8e6;
    text-decoration: underline;
}

/* === PROCESS SECTION === */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: scale(2);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.process-step.animate {
    opacity: 1;
    transform: scale(1);
}

.process-step:nth-child(1) {
    transition-delay: 0.2s;
}

.process-step:nth-child(2) {
    transition-delay: 0.5s;
}

.process-step:nth-child(3) {
    transition-delay: 0.8s;
}

.process-step:nth-child(4) {
    transition-delay: 1.1s;
}

.step-number {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-sky);
    border: 2px solid var(--sky-blue);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

.process-step .card-icon {
    font-size: 5rem;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.process-step p {
    color: var(--text-opacity-70);
}

/* === TESTIMONIALS === */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    padding: 2rem;
    background-color: var(--white);
    border: 3px solid rgba(180, 228, 255, 0.4);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--ocean-blue);
}

.stars {
    display: flex;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-opacity-80);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--black);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-opacity-60);
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(113, 204, 255, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* === FOOTER / WAVE SECTION === */
.wave-section {
    position: relative;
    background-color: var(--black);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.wave {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%2371ccff" d="M0,160L48,181.3C96,203,192,245,288,245.3C384,245,480,203,576,186.7C672,171,768,181,864,197.3C960,213,1056,235,1152,218.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 320px;
}

.wave:nth-of-type(2) {
    bottom: -25px;
    opacity: 0.7;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23b4e4ff" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
}


.footer-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1rem;
}

.cta-footer {
    text-align: center;
    padding: 2.5rem 1rem 5rem;
}

.cta-footer h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

footer {
    position: relative;
    z-index: 10;
    padding: 2.5rem 1.25rem 5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
    justify-content: center;
    gap: 2rem 2rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: var(--white-opacity-80);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    font-weight: bold;
    transition: 0.3s ease;
}

.copyright {
    color: var(--white-opacity-60);
    font-size: 0.875rem;
    padding-bottom: 60px;
}

/* === MATERIAL ICONS === */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: inherit;
}


.accordion {
    margin-top: 3rem;
}

.accordion-item {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.accordion-item:hover {
    background-color: var(--white);
}

.accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--off-black);
    list-style: none;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-opacity-80);
    line-height: 1.6;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    nav {
        display: flex;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-in-hero {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 5rem;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    .hero {
        padding: 6rem 0 9rem;
    }

    .hero h1 {
        font-size: 3.75rem;
    }

    .stat-number {
        font-size: 6rem;
    }

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-footer h1 {
        font-size: 3.75rem;
    }
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* === DARK MODE SUPPORT === */
body.dark header {
    background: rgba(15, 28, 35, 0.8);
}

body.dark .stat-card-hero {
    background-color: rgba(255, 255, 255, 0.95);
}

body.dark .card {
    background-color: var(--background-dark);
    color: var(--white);
}

body.dark .card p {
    color: var(--white-opacity-70);
}

body.dark .testimonial {
    background-color: var(--off-black);
    color: var(--white);
    border-color: rgba(180, 228, 255, 0.3);
}

body.dark .testimonial:hover {
    border-color: var(--ocean-blue);
}

body.dark .testimonial-text {
    color: var(--white-opacity-80);
}

body.dark .testimonial-author {
    color: var(--white);
}

body.dark .testimonial-role {
    color: var(--white-opacity-60);
}































/* === BREADCRUMB === */
.breadcrumb {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(180, 228, 255, 0.2);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: var(--off-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--ocean-blue);
}

.breadcrumb-separator {
    color: var(--text-opacity-70);
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: var(--ocean-blue);
    font-weight: 700;
}

/* === SERVICE DETAIL === */
.service-detail h2 {
    font-size: 1.75rem;
}

.service-detail h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
}

.service-detail h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-detail ul {
    list-style-position: inside;
}

.service-detail li {
    margin-bottom: 0.5rem;
}

.cta-box {
    background-color: var(--light-sky);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 3rem;
}

.cta-box h3 {
    margin-top: 0;
}






.logo-container a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container a:hover {
    transform: scale(1.05);
    color: #5ab8e6;
    text-shadow: 0 4px 12px rgba(113, 204, 255, 0.3);
}

.logo-container a:hover .logo-text {
    color: #5ab8e6;
}





h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

h4 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}








/* === HERO BADGE === */
.hero-badge {
    display: block;
    text-align: center;
    padding: 0.25rem 2rem;
    background-color: var(--light-sky);
    border: 1px solid var(--sky-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin: 0 auto 1.5rem;
    z-index: 10;
    width: fit-content;
}


.hero h1 {
        text-shadow: 
        0px 1px 0px #f5f5f5,
        0px 1.5px 0px #e7e7e7,
        0px 2px 0px #e0e0e0,
        0px 2px 1px rgba(0,0,0,.1),
        0px 1.5px 2px rgba(0,0,0,.3),
        0px 1px 3px rgba(0,0,0,.2)
}








/* === HERO WITH WAVES === */
.hero-with-waves {
    position: relative;
    background: linear-gradient(to bottom, var(--sky-blue), var(--white));
    padding-bottom: 200px;
}

.hero-with-waves::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%2371ccff" d="M0,160L48,181.3C96,203,192,245,288,245.3C384,245,480,203,576,186.7C672,171,768,181,864,197.3C960,213,1056,235,1152,218.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    z-index: 1;
}

.hero-with-waves::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 250px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23b4e4ff" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    opacity: 0.7;
    z-index: 2;
}

.hero-with-waves .container {
    position: relative;
    z-index: 0;
}



.hero-title{
    font-size: 3rem;
    text-shadow: 
        0px 1px 0px #f5f5f5,
        0px 1.5px 0px #e7e7e7,
        0px 2px 0px #e0e0e0,
        0px 2px 1px rgba(0,0,0,.1),
        0px 1.5px 2px rgba(0,0,0,.3),
        0px 1px 3px rgba(0,0,0,.2);
}










.logo-container a {
    display: flex;
    justify-content: center;
    width: 100%;
}




body {
    width: 100%;
    -webkit-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: text;
    user-select: text;
}










/* Fade in/out animations */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.3s ease-in forwards;
}

#contactForm, #successMessage {
    transition: opacity 0.3s ease;
}













/* === HEADER RESPONSIVE === */

@media (max-width: 768px) {


    .header-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
        min-height: auto;
    }
    .logo-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.25rem;
    }

    .logo-container a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .logo-text {
        text-align: center !important;
        margin: 0 !important;
        font-weight: 700 !important;
    }

    .desktop-nav {
        flex-direction: row !important;
        width: auto !important;
        gap: 1.5rem !important;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.25rem;
        flex: none;
    }

    .desktop-nav a {
        display: inline-block;
        padding: 0.5rem 0 !important;
        position: relative;
        vertical-align: middle;
        font-weight: 400 !important;
    }

    .desktop-nav a:not(:last-child)::after {
        content: '|';
        position: absolute;
        right: -0.8rem;
        color: #999 !important;
        opacity: 1 !important;
        font-weight: 400 !important;
        font-size: 1rem;
        line-height: 1;
    }

    .btn-cta {
        display: none !important;
    }

    .hero-title {
        text-align: center !important;
    }

    /* === PROCESS SECTION NO ANIMATION === */
    .process-step {
        animation: none;
        opacity: 1 ;
        transform: none;
    }

    .process-step.animate {
        animation: none;
        opacity: 1 ;
        transform: none;
    }

    .process-grid {
        gap: 3rem ;
    }

    .process-step span.material-symbols-outlined {
        margin-bottom: 0.5rem;
    }

    .process-step h3 {
        margin-top: 0.25rem ;
        margin-bottom: 0.3rem;  /* RIDOTTO da 0.75rem a 0.3rem */
    }

    .process-step p {
        margin-top: 0.3rem ;  /* RIDOTTO da 0.75rem a 0.3rem */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 0 ;
        margin-top: 0 ;
    }

    main {
        margin-top: 0px;
        padding-top: 0 ;
    }

    .header-container {
        padding: 0.75rem;
        gap: 0.35rem ;
    }

    .desktop-nav {
        gap: 1.2rem ;
    }

    .desktop-nav a {
        padding: 0.4rem 0 ;
        font-size: 0.9rem;
    }

    .process-step {
        animation: none ;
        opacity: 1 ;
        transform: none ;
    }

    .process-step.animate {
        animation: none ;
        opacity: 1 ;
        transform: none;
    }
}


