/* ============================================
   UF PENNESTRI - STILE COMPLETO (RESPONSIVE)
   ============================================ */

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

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    color: #1a2c3e;
    line-height: 1.5;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #eef2f5;
}
::-webkit-scrollbar-thumb {
    background: #2c8cbb;
    border-radius: 10px;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- NAVBAR (RESPONSIVE) ---------- */
.navbar {
    position: fixed !important;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(44, 140, 187, 0.12);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.9rem 0;
}

.logo-area > div {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.logo-area img {
    height: 55px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

.logo-area h1 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a5f7a, #2c8cbb, #4aa3cc);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
    white-space: nowrap;
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c4458;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Navigazione desktop */
.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #2c4458;
    transition: 0.25s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #2c8cbb;
}

.nav-links a.active {
    color: #2c8cbb;
    border-bottom: 2px solid #2c8cbb;
    padding-bottom: 4px;
}

.btn-dona {
    background: linear-gradient(135deg, #e76f51, #e05a3a);
    color: white !important;
    padding: 10px 26px;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(231, 111, 81, 0.25);
    transition: all 0.3s;
}

.btn-dona:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 111, 81, 0.35);
    background: linear-gradient(135deg, #e05a3a, #c94728);
}

/* ---------- BOTTONI ---------- */
.btn-primary {
    background: linear-gradient(135deg, #2c8cbb, #226f96);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-block;
    box-shadow: 0 6px 14px rgba(44, 140, 187, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(44, 140, 187, 0.35);
}

.btn-outline {
    border: 2px solid #2c8cbb;
    color: #2c8cbb;
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(44, 140, 187, 0.08);
    transform: translateY(-2px);
}

/* ---------- TITOLI ---------- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.section-sub {
    text-align: center;
    color: #5f7f92;
    max-width: 680px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* ========== HERO ========== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 5rem 0 4rem 0;
}

.hero-content {
    flex: 1.2;
    min-width: 250px;
}

.hero-badge {
    background: rgba(44, 140, 187, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f6e8c;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #0f2b38;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(120deg, #2c8cbb, #6bb5d4);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #496f82;
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    min-height: 400px;
    border-radius: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.5);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-image .img-placeholder-modern {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 1rem 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.hero-image .img-placeholder-modern i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.hero-image .img-placeholder-modern p {
    color: white;
    font-weight: 600;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* ---------- HERO INTERNO ---------- */
.hero-inner {
    background: linear-gradient(135deg, #e8f4f8, #dceef5);
    padding: 4rem 0;
    border-radius: 0 0 48px 48px;
    margin-bottom: 3rem;
}

.hero-inner h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f2b38;
    margin-bottom: 1rem;
}

.hero-inner .breadcrumb {
    color: #5c7f8f;
    font-size: 0.9rem;
}

.hero-inner .breadcrumb a {
    color: #2c8cbb;
    text-decoration: none;
}

/* ---------- STATS ---------- */
.stats {
    background: linear-gradient(135deg, #0b262f, #1a4a5a);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 48px;
}

/* ---------- CARD ---------- */
.cards-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card-premium {
    background: white;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    transition: all 0.35s ease;
    border: 1px solid rgba(44, 140, 187, 0.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    flex: 1;
    min-width: 250px;
}

.card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(44, 140, 187, 0.3);
    box-shadow: 0 20px 35px -12px rgba(44, 140, 187, 0.2);
}

/* ---------- FEATURED PROJECT ---------- */
.featured-project {
    background: linear-gradient(135deg, #f0f7fa, #e8f2f7);
    border-radius: 48px;
    padding: 3rem;
    margin-bottom: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.featured-content {
    flex: 1;
}

.featured-badge {
    background: rgba(44, 140, 187, 0.15);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c8cbb;
    margin-bottom: 1rem;
}

.featured-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f2b38;
}

.featured-content p {
    color: #496f82;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.featured-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.featured-stat {
    text-align: center;
}

.featured-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #2c8cbb;
}

.featured-image {
    flex: 0.8;
    background: linear-gradient(145deg, #eaf4fa, #deeef6);
    border-radius: 32px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- PROJECTS TABS ---------- */
.projects-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: 2px solid #2c8cbb;
    color: #2c8cbb;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
}

.tab-btn:hover, .tab-btn.active {
    background: #2c8cbb;
    color: white;
}

/* ---------- PROJECTS GRID ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* ---------- PROJECT CARD ---------- */
.project-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(44, 140, 187, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(44, 140, 187, 0.3);
    box-shadow: 0 20px 35px -12px rgba(44, 140, 187, 0.2);
}

.project-image {
    background: linear-gradient(145deg, #eaf4fa, #deeef6);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image i {
    font-size: 3.5rem;
    color: #2c8cbb;
}

.partner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(44, 140, 187, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.project-content {
    padding: 1.8rem;
}

.project-category {
    display: inline-block;
    background: rgba(44, 140, 187, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1f6e8c;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f2b38;
}

.project-content p {
    color: #496f82;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.partner-tag {
    background: #eef2f5;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #2c8cbb;
}

.project-link {
    color: #2c8cbb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    margin-top: 0.5rem;
}

.project-link:hover {
    gap: 12px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    background: #fafeff;
    padding: 4rem 0;
    border-radius: 48px;
    margin: 3rem 0;
}

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

.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(44, 140, 187, 0.1);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -12px rgba(44, 140, 187, 0.1);
}

.testimonial-quote {
    font-size: 2rem;
    color: #2c8cbb;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #496f82;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c8cbb, #6bb5d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.8rem;
    color: #5c7f8f;
}

/* ---------- TIMELINE ---------- */
.experience-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 3rem 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #2c8cbb, #6bb5d4);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: #2c8cbb;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(44, 140, 187, 0.2);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2c8cbb;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ---------- CTA GLASS ---------- */
.cta-glass {
    background: linear-gradient(135deg, #eef5fa, #e2edf4);
    border-radius: 56px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 5rem 0;
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ---------- IMAGE PLACEHOLDER ---------- */
.img-placeholder-modern {
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.img-placeholder-modern i {
    font-size: 4rem;
    color: #2c8cbb;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.img-placeholder-modern p {
    font-weight: 600;
    background: rgba(255,255,245,0.9);
    padding: 10px 20px;
    border-radius: 80px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

/* ---------- MISSION ---------- */
.mission {
    background: #fafeff;
    padding: 5rem 0;
    margin: 2rem 0;
    border-radius: 48px;
    position: relative;
}

/* ---------- GALLERY ---------- */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-card {
    background: #f7fbfd;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    border: 1px solid #e2edf2;
    cursor: pointer;
}

.gallery-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

/* ---------- SERVICE ROWS ---------- */
.service-row-premium {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
    background: #ffffff;
    border-radius: 40px;
    padding: 1rem;
}

.service-img-premium {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(125deg, #eef4f9, #e2ecf2);
    border-radius: 36px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.service-text {
    flex: 1;
    min-width: 250px;
}

/* ---------- ABOUT GRID ---------- */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.about-grid > div:first-child {
    flex: 1.2;
    min-width: 250px;
}

.about-grid > div:last-child {
    flex: 0.8;
    min-width: 250px;
    background: linear-gradient(145deg, #eaf4fa, #deeef6);
    border-radius: 32px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- CONTATTI ---------- */
.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contacts-info {
    flex: 1;
}

.contact-card {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(44, 140, 187, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(44, 140, 187, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c8cbb, #6bb5d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contacts-form {
    flex: 1.2;
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid rgba(44, 140, 187, 0.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #eef2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c8cbb;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #2c8cbb;
    color: white;
    transform: translateY(-3px);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c4458;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dce5ea;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fafeff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c8cbb;
    box-shadow: 0 0 0 3px rgba(44, 140, 187, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #2c8cbb, #226f96);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-family: inherit;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 140, 187, 0.3);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

/* ---------- FOOTER ---------- */
footer {
    background: #0b262f;
    color: #cce3ec;
    padding: 3.5rem 0 2rem;
    border-radius: 48px 48px 0 0;
    margin-top: 3rem;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #6bb5d4 !important;
    text-decoration: underline !important;
}

/* ---------- BANNER A TUTTA LARGHEZZA ---------- */
.full-width-banner {
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 32px;
}

.banner-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 32px;
    transition: transform 0.3s ease;
}

.banner-image:hover {
    transform: scale(1.01);
}

/* ---------- FOOTER BANNER RESPONSIVE ---------- */
.footer-banner {
    margin-top: 1rem;
}

.footer-banner img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-banner img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #0b262f;
    color: white;
    padding: 15px 20px;
    border-radius: 16px;
    z-index: 9999;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

#acceptCookiesBtn {
    background: #2c8cbb;
    color: white;
}

#declineCookiesBtn {
    background: transparent;
    border: 1px solid #5c7f8f;
    color: #bbd4e2;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet e dispositivi medi (max 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Tablet (max 900px) */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }
    
    .menu-toggle {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: rgba(255,255,255,0.98);
        border-top: 1px solid rgba(44,140,187,0.2);
        margin-top: 10px;
        padding: 1rem 0;
        position: absolute;
        top: 100%;
        left: 0;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 0.75rem 0;
        white-space: normal;
        font-size: 1rem;
        text-align: center;
    }
    
    .btn-dona {
        display: inline-block;
        text-align: center;
        width: auto;
        margin: 0.5rem auto;
    }
    
    .logo-area img {
        height: 45px;
    }
    
    .logo-area h1 {
        font-size: 1.4rem;
        white-space: normal;
    }
    
    .hero {
        flex-direction: column;
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        min-height: 320px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .cards-premium {
        flex-direction: column;
    }
    
    .service-row-premium {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .about-grid > div:last-child {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-project {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .featured-stats {
        justify-content: center;
    }
    
    .projects-tabs {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .contacts-grid {
        flex-direction: column;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    footer {
        border-radius: 32px 32px 0 0;
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-banner img {
        max-width: 200px;
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-area img {
        height: 38px;
    }
    
    .logo-area h1 {
        font-size: 1rem;
    }
    
    .logo-area > div {
        gap: 8px;
    }
    
    .hero {
        padding: 1rem 0 2rem 0;
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    
    .hero-image {
        min-height: 260px;
        border-radius: 28px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-sub {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .stats {
        padding: 2rem 0;
        border-radius: 32px;
    }
    
    .stats h3 {
        font-size: 1.8rem !important;
    }
    
    .stats p {
        font-size: 0.85rem;
    }
    
    .card-premium {
        padding: 1.5rem;
    }
    
    .service-row-premium {
        margin-bottom: 2.5rem;
        gap: 1.5rem;
    }
    
    .service-img-premium {
        min-height: 200px;
    }
    
    .about-grid {
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .about-grid h2 {
        font-size: 1.6rem !important;
    }
    
    .about-grid p {
        font-size: 0.85rem;
    }
    
    .about-grid > div:last-child {
        min-height: 200px;
    }
    
    .projects-grid {
        gap: 1.5rem;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
    }
    
    .cta-glass {
        padding: 2rem 1rem;
        margin: 2rem 0;
        border-radius: 32px;
    }
    
    .cta-glass h2 {
        font-size: 1.3rem !important;
    }
    
    .cta-glass p {
        font-size: 0.85rem !important;
    }
    
    .btn-primary, .btn-outline {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .mission {
        padding: 2.5rem 0;
        border-radius: 32px;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .gallery-grid-premium {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contacts-form {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .banner-image {
        height: 250px;
        border-radius: 24px;
    }
    
    .full-width-banner {
        margin: 1.5rem 0;
        border-radius: 24px;
    }
    
    footer {
        border-radius: 24px 24px 0 0;
        padding: 2rem 0 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-banner {
        margin-top: 1rem;
        text-align: center;
    }
    
    .footer-banner img {
        max-width: 180px;
        margin: 0 auto;
    }
}

/* Mobile (max 480px) */
@media (max-width: 480px) {
    .banner-image {
        height: 180px;
        border-radius: 16px;
    }
    
    .full-width-banner {
        margin: 1rem 0;
        border-radius: 16px;
    }
}

/* Mobile piccoli (max 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    
    .logo-area img {
        height: 32px;
    }
    
    .logo-area h1 {
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .hero-image {
        min-height: 220px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .stats h3 {
        font-size: 1.5rem !important;
    }
    
    .btn-primary, .btn-outline {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .footer-banner img {
        max-width: 150px;
    }
}