/* ============================================
   ERREEDUE INFORMATICA - STYLES.CSS
   CSS Ottimizzato e Modulare
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

/* Reset CSS base per cross-browser consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding e border nella width totale */
}

/* Variabili CSS per facile manutenzione colori e spacing */
:root {
    /* Palette colori brand */
    --primary-orange: #ff9800;
    --primary-yellow: #ffc107;
    --dark-gray: #424242;
    --medium-gray: #616161;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    --gradient-dark: linear-gradient(135deg, #424242 0%, #616161 100%);
    
    /* Spacing system (multipli di 8px per consistency) */
    --spacing-xs: 0.5rem;  /* 8px */
    --spacing-sm: 1rem;    /* 16px */
    --spacing-md: 2rem;    /* 32px */
    --spacing-lg: 4rem;    /* 64px */
    
    /* Typography */
    --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(255, 193, 7, 0.4);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background-color: var(--light-gray);
    
    /* Migliora rendering font */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll con offset per sticky header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Migliora accessibilità focus */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* ============================================
   2. LAYOUT UTILITIES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Accessibilità: nasconde visivamente ma lascia accessibile a screen reader */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   3. HEADER & NAVIGATION
   ============================================ */

header {
    background: var(--white);
    color: var(--dark-gray);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 2px solid var(--primary-yellow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 65px;
    width: auto;
    max-width: 300px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 500;
    position: relative;
}

/* Underline animation on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Header Contact Info */
.header-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--dark-gray);
}

.contact-item a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-orange);
}

.contact-icon {
    width: 18px;
    height: 18px;
    fill: var(--primary-orange);
    flex-shrink: 0;
}

/* ============================================
   4. CONTACT BANNER - CTA Bar
   ============================================ */

.contact-banner {
    background: var(--gradient-dark);
    color: white;
    padding: 1.5rem 0;
}

.contact-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-banner-title {
    color: var(--primary-yellow);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-banner-info {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.contact-banner-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.contact-banner-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-banner-item a:hover {
    color: var(--primary-yellow);
}

/* ============================================
   5. HERO / NETWORK SECTION
   ============================================ */

.network-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Decorative background gradient circles */
.network-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.network-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 400px;
    position: relative;
    z-index: 2;
}

.network-content {
    flex: 1;
    color: var(--dark-gray);
}

.network-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
}

.network-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #212121;
    font-weight: 400;
}

.network-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.25rem;
}

/* Servizi come chip sotto la descrizione hero: keyword visibili, layout ordinato e responsive */
.hero-services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}
.hero-services li {
    background: var(--white);
    border: 1px solid #ffe0b2;
    color: var(--dark-gray);
    padding: 0.4rem 0.95rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.network-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* CTA Button principale */
.network-cta {
    background: var(--gradient-primary);
    color: var(--dark-gray);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.network-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.6);
}

/* ============================================
   6. ABOUT SECTION
   ============================================ */

.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    font-weight: 700;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
    text-align: left;
    background: rgba(255,255,255,0.7);
    padding: 1.5rem;
    border-radius: 10px;
}

.about-text strong {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Highlighted quote box */
.about-highlight {
    background: linear-gradient(135deg, rgba(255, 243, 224, 0.9) 0%, rgba(255, 236, 179, 0.9) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-yellow);
    margin: 2rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.2);
}

/* Decorative quotation marks */
.about-highlight::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-yellow);
    opacity: 0.4;
    font-family: Georgia, serif;
}

.about-highlight::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-yellow);
    opacity: 0.4;
    font-family: Georgia, serif;
}

/* ============================================
   7. HERO SECONDARY (Trust Section)
   ============================================ */

.hero {
    background: var(--gradient-primary);
    color: var(--dark-gray);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--medium-gray);
}

.cta-button {
    background: var(--dark-gray);
    color: var(--primary-yellow);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-fast);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 66, 66, 0.4);
    background: var(--medium-gray);
}

/* ============================================
   8. SERVICES SECTION
   ============================================ */

.services {
    padding: 4rem 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Service Card */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.service-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-orange);
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    display: inline-block;
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-yellow);
}

/* ============================================
   9. VOIP BENEFITS SECTION
   ============================================ */

.voip-benefits {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    border-left: 5px solid var(--primary-yellow);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.15);
}

.voip-benefits-title {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.voip-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.voip-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: transform var(--transition-fast), background var(--transition-fast);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.voip-benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.voip-benefit-icon {
    font-size: 1.5rem;
    min-width: 35px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.voip-benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-orange);
}

.voip-benefit-item span {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================
   10. STATISTICS SECTION
   ============================================ */

.stats {
    background: var(--gradient-primary);
    color: var(--dark-gray);
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
}

/* ============================================
   11. PROCESS SECTION
   ============================================ */

.process {
    padding: 4rem 0;
    background: var(--light-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.process-step:hover {
    transform: translateY(-3px);
}

.step-number {
    background: var(--gradient-primary);
    color: var(--dark-gray);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ============================================
   12. SERVICES DETAIL SECTION
   ============================================ */

.services-detail {
    padding: 4rem 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.services-detail-container {
    position: relative;
    z-index: 2;
}

.services-detail-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.services-detail-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-yellow);
    font-weight: 700;
}

.services-detail-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

/* Top colored border */
.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.2);
}

.service-detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.service-detail-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-yellow);
}

.service-detail-card h3 {
    color: var(--primary-yellow);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-detail-card p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Location Highlight Box */
.location-highlight {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.location-highlight h3,
.location-highlight h4 {
    color: var(--primary-yellow);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-highlight p {
    color: #f5f5f5;
    font-size: 1.1rem;
    font-weight: 500;
}

.location-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.location-tag {
    background: var(--gradient-primary);
    color: var(--dark-gray);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   13. BRAND PARTNERS SECTION
   ============================================ */

.brand-partners {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    position: relative;
}

/* Decorative SVG background */
.brand-partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400'%3E%3Cpolygon points='0,50 200,80 0,120' fill='%23ffc107' opacity='0.05'/%3E%3Cpolygon points='800,20 1000,60 800,100' fill='%23ff9800' opacity='0.04'/%3E%3Cpolygon points='300,200 500,240 300,280' fill='%23ffc107' opacity='0.06'/%3E%3Cpolygon points='600,150 900,200 600,250' fill='%23ffb74d' opacity='0.05'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.brand-partners-intro {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.brand-partners-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.brand-partners-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.brand-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.brand-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.brand-logo-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15);
}

.brand-logo {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all var(--transition-fast);
}

/* Loghi reali a colori: grigi a riposo, colore al passaggio del mouse */
.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter var(--transition-fast), opacity var(--transition-fast);
}

.brand-logo-item:hover .brand-logo img {
    filter: none;
    opacity: 1;
}

.brand-name {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
    text-align: center;
    transition: color var(--transition-fast);
}

.brand-logo-item:hover .brand-name {
    color: var(--dark-gray);
    font-weight: 600;
}

/* ============================================
   14. CONTACT FORM / NEWSLETTER SECTION
   ============================================ */

.newsletter {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.newsletter h2 {
    color: var(--primary-yellow);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
}

.contact-input,
.contact-textarea {
    flex: 1;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: var(--primary-yellow);
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Privacy checkbox styling */
.privacy-checkbox {
    text-align: left;
    margin-top: 1rem;
}

.privacy-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.privacy-checkbox a {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.newsletter-button {
    background: var(--gradient-primary);
    color: var(--dark-gray);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.newsletter-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Avviso "attiva JavaScript" mostrato solo via <noscript> */
.noscript-notice {
    background: #fff3e0;
    border: 1px solid var(--primary-orange);
    color: var(--dark-gray);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.6;
}
.noscript-notice a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}

/* Form validation messages */
.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #4caf50;
    color: white;
}

.form-message.error {
    background: #f44336;
    color: white;
}

/* ============================================
   15. FOOTER
   ============================================ */

footer {
    background: #212121;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #bdbdbd;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-yellow);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary-yellow);
}

/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .header-contact {
        display: none;
    }
    
    .contact-banner-content {
        justify-content: center;
        text-align: center;
    }
    
    .contact-banner-info {
        gap: 2rem;
    }
}

/* Tablet/Mobile (968px and below) */
@media (max-width: 968px) {
    .network-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .network-title {
        font-size: 2.5rem;
    }
    
    .network-subtitle {
        font-size: 1.2rem;
    }
    
    .network-visual {
        min-height: 300px;
    }
    
    .logo img {
        max-width: 200px;
        height: 40px;
    }
    
    .contact-banner-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 0.95rem;
    }
    
    .about-highlight {
        font-size: 1rem;
        padding: 1.2rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .contact-row {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .network-section {
        padding: 2rem 0;
    }
    
    .network-container {
        gap: 2rem;
    }
    
    .network-visual {
        min-height: 250px;
    }
    
    .network-title {
        font-size: 2rem;
    }
    
    .network-subtitle {
        font-size: 1.1rem;
    }
    
    .network-description {
        font-size: 1rem;
    }
    
    .logo img {
        max-width: 200px;
        height: 40px;
    }
    
    .contact-banner {
        padding: 1rem 0;
    }
    
    .contact-banner-info {
        flex-direction: column;
        gap: 1rem;
    }

    .brand-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .brand-partners-title {
        font-size: 2rem;
    }

    .brand-logo-item {
        padding: 1.5rem 1rem;
    }

    .brand-logo {
        width: 100%;
        height: 40px;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .network-title {
        font-size: 1.8rem;
    }
    
    .logo img {
        max-width: 120px;
        height: 30px;
    }
    
    .contact-banner-info {
        gap: 0.5rem;
    }

    .brand-logos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .brand-partners-title {
        font-size: 1.8rem;
    }

    .brand-logo {
        width: 100%;
        height: 34px;
    }

    .brand-name {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */

/* Display utilities */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Spacing utilities */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ============================================
   18. PRINT STYLES
   ============================================ */

@media print {
    /* Nascondi elementi non necessari in stampa */
    header,
    .contact-banner,
    .network-cta,
    .cta-button,
    .newsletter,
    footer {
        display: none;
    }
    
    /* Ottimizza per stampa */
    body {
        background: white;
        color: black;
    }
    
    .service-card,
    .process-step {
        break-inside: avoid;
    }
}

/* ============================================
   PAGINE SERVIZIO (landing SEO dedicate)
   ============================================ */

.breadcrumb {
    padding: 1.25rem 0 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}
.breadcrumb a {
    color: var(--primary-orange);
    text-decoration: none;
}
.breadcrumb span[aria-hidden] {
    margin: 0 0.4rem;
    color: #bbb;
}

.service-hero {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
}
.service-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}
.service-hero-sub {
    max-width: 720px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.15rem;
    color: var(--medium-gray);
}
.service-hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}
.cta-secondary {
    background: transparent;
    /* eredita il colore del contenitore: scuro su hero chiaro, bianco su CTA scura */
    color: inherit;
    border: 2px solid var(--primary-orange);
}

/* Il bottone primario, dentro una sezione scura, avrebbe lo stesso colore dello
   sfondo (grigio scuro) e sparirebbe: qui usa il gradient arancione per staccare.
   :not(.cta-secondary) evita di sovrascrivere il bottone outline. */
.newsletter .cta-button:not(.cta-secondary),
.newsletter .cta-button:not(.cta-secondary):hover {
    background: var(--gradient-primary);
    color: var(--dark-gray);
}

.service-block {
    padding: var(--spacing-lg) 0;
}
.service-block-alt {
    background: var(--white);
}
.service-block h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    text-align: center;
}
.service-block p {
    max-width: 760px;
    margin: 0 auto var(--spacing-sm);
    color: #444;
    text-align: center;
}

.service-checklist {
    max-width: 760px;
    margin: 0 auto;
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}
.service-checklist li {
    position: relative;
    padding-left: 2rem;
    color: #444;
}
.service-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-gray);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--primary-orange);
    font-size: 1.3rem;
    line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
    text-align: left;
    max-width: none;
    margin: 0.75rem 0 0;
    color: var(--medium-gray);
}

.service-links-inline {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}
.service-links-inline a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}
