/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: var(--border-color);
}

:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #1e293b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #9abae4;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(7, 3, 3, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    border-radius: var(--border-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Fixed Call Button */
.call-mobile-fixed {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.call-mobile-fixed:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Top Banner - Work with Us */
.top-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
    color: var(--white);
    padding: 0.3rem 0;
    text-align: center;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.top-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-banner a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(245, 158, 11, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
}

.top-banner a:hover {
    color: var(--white);
    background-color: var(--primary-color);
    transform: scale(1.05);
}

/* Mobile version */
@media (max-width: 768px) {
    .top-banner {
        font-size: 0.75rem;
        padding: 0.6rem 0;
    }
    
    .top-banner-inner {
        padding: 0 15px;
        gap: 0.25rem;
    }
    
    .top-banner p {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }
    
    .top-banner a {
        font-size: 0.75rem;
        padding: 0.4rem 1.1rem;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
        animation: pulse-glow 2s ease-in-out infinite;
    }
}

@media (max-width: 480px) {
    .top-banner p {
        font-size: 0.75rem;
    }
    
    .top-banner a {
        font-size: 0.8rem;
        padding: 0rem 0.9rem;
        width: auto;
        white-space: nowrap;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 2px 15px rgba(245, 158, 11, 0.6);
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .top-banner {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
    
    .top-banner-inner {
        gap: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .call-mobile-fixed {
        order: 3;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        box-shadow: var(--shadow-xl);
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
        padding: 80px 0 20px 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1.25rem 2rem;
        color: var(--white);
        font-size: 1.125rem;
        transition: all 0.3s ease;
    }
    
    .main-nav a:hover {
        background-color: rgba(245, 158, 11, 0.1);
        padding-left: 2.5rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    /* Mobile menu overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 4rem 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-cta a {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta a:first-child {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-cta a:first-child:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-cta a:last-child {
    background-color: var(--secondary-color);
    color: var(--white);
}

.hero-cta a:last-child:hover {
    background-color: #334155;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-box {
    grid-column: 1 / -1;
    background-color: var(--danger-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.hero-box h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hero-box ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.hero-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.hero-box li::before {
    content: '⚡';
    position: absolute;
    left: 0;
}

.hero-box a {
    background-color: var(--white);
    color: var(--danger-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-box a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 80px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta a {
        text-align: center;
    }
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 0 rem 0; /* uguale circa ad article (3rem) */
}

.section-inner {
    max-width: 900px;   /* come article */
    margin: 0 auto;
    padding: 0 20px;    /* come article: 20px ai lati */
}


.section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.section-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.section-image img {
    width: 100%;
    height: auto;
}

/* Why Choose Us */
.why {
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.why-item p {
    color: var(--text-light);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-card a:hover::after {
    transform: translateX(5px);
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.testimonial-card p:first-child {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-card p:last-child {
    color: var(--secondary-color);
}

/* Coverage CTA */
.coverage-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.coverage-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.coverage-text h2 {
    color: var(--white);
    text-align: left;
}

.coverage-text p {
    color: rgba(255, 255, 255, 0.9);
}

.coverage-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.coverage-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coverage-actions a {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.coverage-actions a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .coverage-inner {
        grid-template-columns: 1fr;
    }
    
    .coverage-text h2 {
        text-align: center;
    }
}

/* ===========================
   FORMS
   =========================== */
form {
    max-width: 600px;
    margin: 1.5rem auto;
    background-color: var(--white);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(15, 23, 42, 0.06);
    border-top: 4px solid var(--primary-color);
}

fieldset {
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    transition: all 0.3s ease;
}


fieldset:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

legend {
    font-weight: 700;
    color: var(--secondary-color);
    padding: 0 1rem;
    font-size: 1.25rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.35rem; /* meno spazio sotto l’etichetta */
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;      /* più “da form” */
    letter-spacing: 0.06em;         /* un po’ di tracking */
}


input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;   /* campo più basso */
    margin-bottom: 0.9rem;     /* meno spazio tra i campi */
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: var(--white);
}


input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.9rem 1.5rem;     /* meno alto */
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

button[type="submit"]:active {
    transform: translateY(-1px);
}

button[type="submit"]:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Form success/error messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
    display: block;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form in contact page */
section form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

section form label {
    color: var(--secondary-color);
}

/* Contact page specific sections */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-info-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-info-card h2::before {
    font-size: 1.75rem;
}

.contact-info-card:nth-child(1) h2::before {
    content: '📞';
}

.contact-info-card:nth-child(2) h2::before {
    content: '✉️';
}

.contact-info-card:nth-child(3) h2::before {
    content: '📍';
}

.contact-info-card:nth-child(4) h2::before {
    content: '🗺️';
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.section-heading {
    margin-bottom: 1.75rem;
}

.section-heading--center {
    text-align: center;
}

.section-heading--center h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-heading--center p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.contact-benefits {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.contact-benefits h2 {
    color: var(--secondary-color);
    margin-bottom: 1.75rem;
}

.contact-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
}

.contact-benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.contact-benefit h3 {
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.contact-benefit p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-benefits {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.contact-benefits h2 {
    color: var(--secondary-color);
    margin-bottom: 1.75rem;
}

.contact-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
}

.contact-benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.contact-benefit h3 {
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.contact-benefit p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}
.areas-served-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-pill {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pill--light {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-pill--outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-pill--light:hover,
.btn-pill--outline-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ===========================
   ARTICLES & CONTENT PAGES
   =========================== */
article {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 20px;
}

article header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #334155 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

article header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

article h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

article header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

article section {
    margin-bottom: 3rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

article section:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

article h2 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

article h2::before {
    content: '⚡';
    font-size: 1.5rem;
}

article h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

article h4 {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

article ul,
article ol {
    margin-left: 0;
    margin-bottom: 1.5rem;
    list-style: none;
}

article li {
    margin-bottom: 1rem;
    color: var(--text-light);
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

article ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.25rem;
}

article ol {
    counter-reset: item;
}

article ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    background-color: var(--primary-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

article p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

article a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

article a:hover {
    color: var(--primary-dark);
    text-decoration-thickness: 3px;
}

article strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Sezioni principali (Contact, Services) con layout uguale ad About */
main > section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 20px;
}



/* Section Headers (for services.html, contact.html, etc.) */
section > header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #334155 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    
}

section > header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

section > header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

section > header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Enhanced sections for services page */
section section {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

section section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

section section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

section section h3 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

section section ul {
    list-style: none;
    margin-left: 0;
}

section section li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-light);
}

section section ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

section section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

section section a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

section section a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);  /* prima era -px (errore) */
    box-shadow: var(--shadow-md);
    color: #ffffff;
}


/* Work opportunities cards */
section article {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

section article:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

section article h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

section article h3::before {
    content: '💼';
    font-size: 1.5rem;
}

section article h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

section article ul {
    list-style: none;
    margin-left: 0;
}

section article li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

section article li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ===========================
   ABOUT PAGE ENHANCEMENTS
   =========================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.value-card strong {
    color: var(--primary-color);
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Areas served section */
.areas-served {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.areas-served h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.areas-served p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Ready to book CTA */
.cta-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #334155 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-box a {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.cta-box a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   BOOKING PAGE ENHANCEMENTS
   =========================== */
.booking-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.booking-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.booking-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Urgency indicator styling */
select[name="urgency"] option[value="immediately"] {
    color: var(--danger-color);
    font-weight: 700;
}

/* Progress indicator for form */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 50px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
}

.progress-step.active {
    color: var(--primary-color);
}

.progress-step::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
}

.progress-step.active::after {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* ===========================
   SERVICES PAGE ENHANCEMENTS
   =========================== */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-overview-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.service-overview-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-overview-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-overview-card h3::before {
    content: '⚡';
    font-size: 1.75rem;
    color: var(--primary-color);
}

.service-overview-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-overview-card a {
    color: var(--white);
    background-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-overview-card a:hover {
    background-color: var(--primary-dark);
    transform: translateX(5px);
}

/* ===========================
   WORK PAGE ENHANCEMENTS
   =========================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.job-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.job-card h3 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.job-card h3::before {
    content: '💼';
    font-size: 2rem;
}

.job-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.requirements-list {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.requirements-list li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.25rem;
}
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
}

.footer-inner {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===========================
   ANIMATIONS & TRANSITIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Floating animation for call button */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.call-mobile-fixed {
    animation: float 3s ease-in-out infinite;
}

.call-mobile-fixed:hover {
    animation: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Badge for urgent services */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-urgent {
    background-color: var(--danger-color);
    color: var(--white);
}

.badge-success {
    background-color: var(--success-color);
    color: var(--white);
}

.badge-info {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Info boxes */
.info-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-box.warning {
    border-left-color: var(--danger-color);
    background-color: #fef2f2;
}

.info-box.success {
    border-left-color: var(--success-color);
    background-color: #f0fdf4;
}

.info-box p {
    margin: 0;
    color: var(--text-dark);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .section h2 {
        font-size: 1.75rem;
    }
    
    article h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    article {
        padding: 2rem 15px;
    }
    
    article h1 {
        font-size: 2rem;
    }
    
    article h2 {
        font-size: 1.5rem;
    }
    
    article header {
        padding: 2rem 1.5rem;
    }
    
    article section {
        padding: 1.5rem;
    }
    
    section > header {
        padding: 2rem 1.5rem;
    }
    
    section > header h1 {
        font-size: 2rem;
    }
    
    .why-grid,
    .services-grid,
    .steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact page specific sections */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    padding: 1.25rem 1.5rem;           /* PIÙ COMPATTE */
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
}

.contact-info-card--compact {
    padding: 1.1rem 1.3rem;            /* ancora più piccole per Call/Email/Area */
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-info-card h2 {
    color: var(--primary-color);
    font-size: 1.1rem;                 /* più piccolo */
    margin-bottom: 0.5rem;
}

.contact-info-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-info-main {
    margin: 0.4rem 0 0.3rem;
}

.contact-main-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
}

.contact-info-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-area-list {
    list-style: none;
    margin: 0.5rem 0 0.75rem;
    padding: 0;
    text-align: left;
    font-size: 0.9rem;
}

.contact-area-list li {
    padding: 0.2rem 0;
}

    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    form {
        padding: 1.5rem;
    }
    
    fieldset {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    /* Make sections stack on mobile */
    section section {
        padding: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
}
/* ===========================
   COOKIE BANNER
   =========================== */

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: calc(100% - 2rem);
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    z-index: 9999;
    font-size: 0.9rem;
}

.cookie-banner p {
    margin: 0;
    line-height: 1.5;
}

/* Contenitore bottoni */
.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* Stile base pulsanti */
.cookie-banner button {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.12s ease,
                box-shadow 0.12s ease,
                background-color 0.12s ease,
                color 0.12s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Pulsante "Accept analytics" – primario */
.cookie-banner button[data-cookie-action="accept-all"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

.cookie-banner button[data-cookie-action="accept-all"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

/* Pulsante "Only necessary" – secondario */
.cookie-banner button[data-cookie-action="only-necessary"] {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.9);
}

.cookie-banner button[data-cookie-action="only-necessary"]:hover {
    background: rgba(15, 23, 42, 0.9);
}

/* Mobile: bottoni in colonna */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0.75rem;
        border-radius: 14px;
        padding: 0.9rem 1rem;
        font-size: 0.85rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner button {
        width: 100%;
        justify-content: center;
    }
}

/* Non mostrare il banner in stampa */
@media print {
    .cookie-banner {
        display: none !important;
    }
}

/* Link "Change cookie settings" nel footer */
#manage-cookies-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;

    margin-top: 0.9rem;
    padding: 0.35rem 0.85rem;

    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.75);

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    color: rgba(248, 250, 252, 0.9);
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.45);
    transition: transform 0.15s ease,
                box-shadow 0.15s ease,
                background-color 0.15s ease,
                border-color 0.15s ease,
                color 0.15s ease;
}

#manage-cookies-link::before {
    content: "🍪";
    font-size: 0.9rem;
}

#manage-cookies-link:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.6);
}

#manage-cookies-link:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.5);
}


@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    article h1 {
        font-size: 1.75rem;
    }
    
    section > header h1 {
        font-size: 1.75rem;
    }
    
    .call-mobile-fixed {
        font-size: 0.85rem;
        padding: 0.875rem 1.25rem;
        bottom: 15px;
        right: 15px;
    }
    
    .hero-cta a {
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }
    
    article header {
        padding: 1.5rem 1rem;
    }
    
    article section {
        padding: 1.25rem;
    }
    
    section > header {
        padding: 1.5rem 1rem;
    }
    
    .service-card,
    .service-overview-card {
        padding: 1.5rem;
    }
    
    button[type="submit"] {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    legend {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .call-mobile-fixed,
    .hero-cta,
    form,
    button {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
    
    article,
    section {
        page-break-inside: avoid;
    }
}