/* STILI BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== HEADER & MENU ===== */
.header {
    background: linear-gradient(135deg, #0b2b4f 0%, #143b66 100%);
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,20,40,0.2);
    width: 100%;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.logo {
    flex: 1;
    min-width: 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo span {
    color: #94a3b8;
    font-size: 0.9rem;
    display: block;
    line-height: 1.2;
}

/* Desktop menu */
.nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: #fbbf24;
    border-bottom-color: #fbbf24;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fbbf24;
    transition: 0.3s;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0 10px;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0b2b4f;
    padding: 80px 30px 30px;
    transition: right 0.3s ease-out;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 25px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 10px 15px;
    border-radius: 12px;
    transition: 0.3s;
}

.mobile-menu a:hover {
    background: #fbbf24;
    color: #0b2b4f;
    padding-left: 25px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: #fbbf24;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1000;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(3px);
}

.overlay.active {
    display: block;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(145deg, #0f2f4f 0%, #1a4a7a 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: #fbbf24;
    opacity: 0.03;
    border-radius: 50%;
    right: -100px;
    bottom: -100px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #fbbf24;
    opacity: 0.03;
    border-radius: 50%;
    left: -50px;
    top: -50px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-highlight {
    color: #fbbf24;
    border-bottom: 3px solid #fbbf24;
    display: inline-block;
    padding-bottom: 5px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid transparent;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: #fbbf24;
    color: #0b2b4f;
    box-shadow: 0 8px 20px rgba(251,191,36,0.3);
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(251,191,36,0.4);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: #0b2b4f;
    transform: translateY(-3px);
}

.hero-image i {
    font-size: 16rem;
    color: #fbbf24;
    opacity: 0.8;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
    max-width: 100%;
    height: auto;
}

/* ===== SEZIONI ===== */
.section {
    padding: 90px 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #0b2b4f;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #fbbf24;
    margin: 18px auto 0;
    border-radius: 4px;
}

.section-sub {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #475569;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* ===== DESCRIZIONI ESTESE ===== */
.description-text {
    background: #f1f5f9;
    border-left: 6px solid #fbbf24;
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

/* ===== SEZIONE OPERATORI TELEFONICI ===== */
.operatori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.operatore-card {
    background: white;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eef2f6;
}

.operatore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.operatore-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0b2b4f;
    font-weight: 700;
}

.operatore-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #0b2b4f;
}

.operatore-card p {
    font-size: 0.9rem;
    color: #64748b;
}

.connettivita-descrizione {
    background: #eef2f6;
    border-radius: 30px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
}

.connettivita-descrizione h3 {
    font-size: 2rem;
    color: #0b2b4f;
    margin-bottom: 20px;
}

.connettivita-descrizione p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    color: #334155;
}

.btn-commerciale {
    display: inline-block;
    background: #fbbf24;
    color: #0b2b4f;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.btn-commerciale:hover {
    background: #f59e0b;
    transform: scale(1.05);
}

/* ===== STILI PER LA NUOVA GRAFICA CENTRALINI ===== */
.brand-showcase {
    margin-top: 30px;
}

.brand-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,20,40,0.08);
    transition: 0.3s;
    border: 1px solid #eef2f6;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: start;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0,30,60,0.15);
    border-color: #fbbf24;
}

.brand-logo-col {
    text-align: center;
    background: #f8fafc;
    border-radius: 20px;
    padding: 25px 15px;
    border: 2px dashed #d1d9e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.brand-logo-col img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    width: auto;
    margin: 0 auto 15px;
}

.badge-assistenza {
    background: #fbbf24;
    color: #0b2b4f;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-content-col {
    flex: 1;
}

.brand-content-col h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b2b4f;
    margin: 0 0 10px 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.brand-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 15px;
}

.brand-tag {
    background: #eef2f6;
    color: #1e293b;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 500;
}

.brand-description {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    border-left: 3px solid #fbbf24;
    padding-left: 20px;
}

.models-accordion {
    margin-top: 20px;
}

.model-group {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}

.model-group summary {
    background: #f8fafc;
    padding: 16px 22px;
    font-weight: 600;
    color: #0b2b4f;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: 0.2s;
    font-size: 1.1rem;
    border-left: 6px solid #fbbf24;
}

.model-group summary::-webkit-details-marker {
    display: none;
}

.model-group summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: #fbbf24;
    transition: transform 0.3s;
}

.model-group[open] summary::after {
    transform: rotate(180deg);
}

.model-group summary:hover {
    background: #f1f5f9;
}

.model-list-compact {
    padding: 20px 25px;
    background: white;
}

.model-list-compact li {
    padding: 10px 0;
    border-bottom: 1px dashed #dee7ef;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.model-list-compact i {
    color: #fbbf24;
    margin-top: 4px;
    font-size: 1.1rem;
}

.btn-card-assistenza {
    display: inline-block;
    background: #0b2b4f;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    margin-top: 20px;
    border: 2px solid transparent;
}

.btn-card-assistenza:hover {
    background: #fbbf24;
    color: #0b2b4f;
    border-color: #0b2b4f;
}

.btn-card-assistenza i {
    margin-right: 8px;
}

/* ===== TESTIMONIANZE ===== */
.testimonials {
    background: linear-gradient(135deg, #f0f4fa 0%, #e6edf5 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.03);
    position: relative;
}

.testimonial-card i {
    color: #fbbf24;
    font-size: 2.8rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
}

.testimonial-author {
    margin-top: 25px;
    font-weight: 600;
    color: #0b2b4f;
}

/* ===== TEAM ===== */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 40px;
    padding: 40px 25px;
    text-align: center;
    width: 260px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.05);
}

.team-member i {
    font-size: 4rem;
    color: #fbbf24;
    background: #fef3c7;
    padding: 25px;
    border-radius: 60px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.team-member p {
    color: #64748b;
}

/* ===== MODULO CONTATTO ===== */
.contact-section {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #f8fafc;
    border-radius: 50px;
    padding: 60px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.contact-info-side h3 {
    font-size: 2.2rem;
    color: #0b2b4f;
    margin-bottom: 30px;
}

.contact-info-side p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #475569;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: #fbbf24;
    background: #fef3c7;
    padding: 18px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    font-size: 1rem;
    transition: 0.3s;
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    border-color: #fbbf24;
    outline: none;
    box-shadow: 0 0 0 5px rgba(251,191,36,0.15);
}

.submit-btn {
    background: #0b2b4f;
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #fbbf24;
    color: #0b2b4f;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a1e33;
    color: #b0c4de;
    padding: 50px 0 30px;
    text-align: center;
}

.footer p {
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav ul {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 35px;
    }
    
    .hero h2 {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-image i {
        font-size: 10rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo span {
        font-size: 0.7rem;
    }
    
    .operatori-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .brand-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .brand-logo-col {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }
    .brand-logo-col img {
        margin: 0 20px 0 0;
        max-height: 60px;
    }
    .badge-assistenza {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-image i {
        font-size: 7rem;
    }
    
    .btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo span {
        font-size: 0.6rem;
    }
    
    .operatori-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-col {
        flex-direction: column;
        text-align: center;
    }
    .brand-logo-col img {
        margin: 0 0 15px 0;
    }
    .brand-content-col h3 {
        font-size: 1.8rem;
    }
}