/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: #4a7c56;
    box-shadow: 0 2px 5px rgba(74, 124, 86, 0.3);
}

.language-switcher {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(44, 85, 48, 0.3);
}

.lang-link {
    color: #2c5530;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(44, 85, 48, 0.1);
    border: 1px solid rgba(44, 85, 48, 0.2);
}

.lang-link:hover {
    background: #4a7c56;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hamburger:focus {
    outline: none;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    color: #4a7c56;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-location {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #4a7c56;
}

.hero-location p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a7c56 0%, #66bb6a 100%);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 86, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 86, 0.4);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8fbf8;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #2c5530;
    text-align: center;
    margin-bottom: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    color: #2c5530;
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #4a7c56;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: scale(1.05);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-icon:hover img {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c56 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c56 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: #fff;
    color: #2c5530;
}

.cta-section .cta-button:hover {
    background: #f5f5f5;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fbf8;
}

/* Headquarters Highlight */
.headquarters-highlight {
    margin-bottom: 60px;
    text-align: center;
}

.headquarters-card {
    background: linear-gradient(135deg, #2c3e50 0%, #27ae60 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.headquarters-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.headquarters-card i {
    font-size: 3rem;
    color: #fff;
    opacity: 0.9;
}

.headquarters-info {
    text-align: left;
}

.headquarters-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.headquarters-info .address {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .headquarters-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .headquarters-info {
        text-align: center;
    }
    
    .headquarters-info h3 {
        font-size: 1.5rem;
    }
    
    .headquarters-info .address {
        font-size: 1.1rem;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #2c3e50;
}

/* Contact Items Grid - NUOVO LAYOUT */
.contact-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-card.phone {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.contact-card.email {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.contact-card.company {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.contact-card.hours {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.contact-card i {
    font-size: 2rem;
    color: #fff;
    opacity: 0.9;
    min-width: 40px;
}

.contact-card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.contact-card-content p {
    margin: 3px 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    font-size: 0.9rem;
}

.contact-card-content a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-card-content a:hover {
    text-decoration: underline;
}

.contact-card-content small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-card i {
        font-size: 1.8rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #4a7c56;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    min-width: 50px;
    min-height: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item i:hover {
    transform: translateY(-2px);
    color: #66bb6a;
}

.contact-item i::before {
    transition: transform 0.3s ease;
}

.contact-item:hover i::before {
    transform: scale(1.1);
}

.contact-item h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #4a7c56;
    text-decoration: none;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c56;
}

.submit-btn {
    background: linear-gradient(135deg, #4a7c56 0%, #66bb6a 100%);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 86, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #81c784;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #81c784;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c56;
    color: #ccc;
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #81c784;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links span {
    color: #4a7c56;
}

.developer-signature {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.developer-signature a {
    color: #66bb6a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-signature a:hover {
    color: #4caf50;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(0,0,0,0.2) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }
    
    .hamburger .bar {
        background-color: #333 !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0,0,0,0.15);
        padding: 1rem 0;
        border-top: 1px solid rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        color: #2c5530;
        display: block;
        padding: 0.4rem 1.5rem;
        margin: 0.1rem 1rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #fff;
        background: #4a7c56;
    }
    
    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 0.5rem;
    }
    
    .nav-menu .lang-link {
        color: #2c5530;
        background: rgba(44, 85, 48, 0.1);
        border: 1px solid rgba(44, 85, 48, 0.2);
        padding: 0.4rem 1.2rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .nav-menu .lang-link:hover {
        color: #fff;
        background: #4a7c56;
    }
    
    /* Hamburger animation */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content,
    .mission-content,
    .sustainability-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .services-grid,
    .features-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .service-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem;
    }
    
    .service-detail.alternate .service-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .service-text {
        order: 2;
    }
    
    .service-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .eco-benefits {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .benefit-item {
        text-align: center;
        padding: 1rem;
    }
    
    .service-list {
        text-align: left;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .page-header {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    /* Immagini responsive */
    .service-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Padding e margini responsive */
    .service-detail {
        padding: 40px 0;
    }
    
    /* Testi responsive */
    .service-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .service-intro {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Timeline responsive per chi-siamo */
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    /* Mission e About sections */
    .mission-content,
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .water-stats,
    .eco-achievements {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .eco-graphic {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        margin: 1rem 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .eco-graphic > div {
        font-size: 2rem !important;
        padding: 0.5rem !important;
        margin: 0 !important;
        background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%) !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .achievement .number {
        font-size: 1.8rem;
    }
    
    .achievement .label {
        font-size: 0.8rem;
    }
    
    .sustainability-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .sustainability-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Altre classi che potrebbero non essere responsive */
    .certification-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
    
    .mission-text,
    .sustainability-text {
        padding: 0 1rem;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    /* Chi Siamo page responsive fixes */
    .mission-section,
    .team-section,
    .sustainability-section,
    .certifications-section {
        padding: 50px 0;
    }
    
    .mission-content,
    .sustainability-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem;
    }
    
    .mission-image,
    .sustainability-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .mission-text,
    .sustainability-text {
        order: 2;
        padding: 0 1rem;
    }
    
    .mission-image img,
    .sustainability-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        border-radius: 8px;
    }
    
    /* Force responsive behavior on Chi Siamo images */
    .mission-image,
    .sustainability-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .team-intro {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .stat-box {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-box p {
        font-size: 0.9rem;
    }
    
    .cert-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .cert-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .cert-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cert-icon {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .value-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .value-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .value-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .value-item i {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Prevent overflow on mobile */
    .mission-content,
    .sustainability-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 2rem 1rem !important;
    }
    
    /* Ensure all Chi Siamo content respects mobile boundaries */
    .chi-siamo * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Generic mobile overflow prevention */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Sustainability section specific overflow prevention */
    .sustainability-section {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .sustainability-section * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mission-values {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .eco-achievements {
        flex-direction: column !important;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .achievement {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    /* Ensure text doesn't overflow */
    .mission-text h2,
    .sustainability-text h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .mission-text p,
    .sustainability-text p {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .contact-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet responsive */
    .service-content {
        gap: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .service-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .services-section,
    .why-choose-section,
    .contact-section,
    .about-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .eco-graphic {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .eco-graphic > div {
        font-size: 2rem !important;
        padding: 1rem !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    /* Ensure sustainability section doesn't overflow */
    .sustainability-content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .sustainability-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .sustainability-image {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .achievement {
        min-width: 100px;
        margin-bottom: 1rem;
    }
    
    .achievement .number {
        font-size: 1.5rem;
    }
    
    .sustainability-section {
        padding: 40px 0;
    }
}

/* Extra small devices (very old phones, watches) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px !important;
        max-width: 100% !important;
    }
    
    .sustainability-content {
        padding: 1rem 0.5rem !important;
    }
    
    .eco-graphic {
        max-width: 100% !important;
        padding: 0 !important;
        gap: 0.5rem !important;
    }
    
    .eco-graphic > div {
        font-size: 1.8rem !important;
        padding: 0.8rem !important;
        border-radius: 8px !important;
    }
    
    .sustainability-text h2 {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }
    
    .sustainability-text p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .eco-achievements {
        gap: 0.5rem !important;
        margin: 1rem 0 !important;
    }
    
    .achievement {
        min-width: 80px !important;
        padding: 0.5rem !important;
    }
    
    .achievement .number {
        font-size: 1.3rem !important;
    }
    
    .achievement .label {
        font-size: 0.7rem !important;
    }
    
    /* Chi Siamo mobile very small fixes */
    .mission-section,
    .team-section,
    .certifications-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-box {
        padding: 1rem 0.5rem;
    }
    
    .stat-box h3 {
        font-size: 1.8rem;
    }
    
    .cert-card {
        padding: 1rem 0.5rem;
    }
    
    .value-item {
        padding: 0.8rem 0.5rem;
    }
    
    .team-intro {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.nav-link:focus,
.cta-button:focus,
.submit-btn:focus {
    outline: 2px solid #81c784;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cta-section,
    .contact-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.breadcrumb {
    color: #4a7c56;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #4a7c56;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Service Detail Pages */
.service-detail {
    padding: 80px 0;
}

.service-detail.alternate {
    background: #f8fbf8;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail.alternate .service-content {
    grid-template-columns: 300px 1fr;
}

.service-text h2 {
    font-size: 2.2rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a7c56;
    font-weight: bold;
}

.service-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.eco-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 124, 86, 0.1);
    border-radius: 8px;
}

.benefit-item i {
    color: #4a7c56;
    font-size: 1.2rem;
}

.certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: #4a7c56;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.water-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2rem;
    color: #4a7c56;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Incentives */
.incentives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.incentive-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 3px solid #4a7c56;
}

.incentive-card h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.incentive-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: #f8fbf8;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #4a7c56 0%, #66bb6a 100%);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: #fff;
}

.service-link {
    display: inline-block;
    color: #4a7c56;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #2c5530;
    text-decoration: underline;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button-outline {
    display: inline-block;
    background: transparent;
    color: #4a7c56;
    padding: 15px 30px;
    text-decoration: none;
    border: 2px solid #4a7c56;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-outline:hover {
    background: #4a7c56;
    color: #fff;
    transform: translateY(-2px);
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: #fff;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: #4a7c56;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Timeline */
.story-section {
    padding: 80px 0;
    background: #f8fbf8;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #4a7c56;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #4a7c56;
    border-radius: 50%;
    top: 15px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-year {
    background: #4a7c56;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.team-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #666;
    font-weight: 500;
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: #f8fbf8;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-icon {
    background: linear-gradient(135deg, #4a7c56 0%, #66bb6a 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cert-icon i {
    font-size: 2rem;
    color: #fff;
}

.cert-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.cert-card p {
    color: #666;
    line-height: 1.6;
}

/* Sustainability Section */
.sustainability-section {
    padding: 80px 0;
    background: #fff;
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eco-achievements {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.achievement {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.achievement .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #4a7c56;
}

.achievement .label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.eco-graphic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.eco-graphic > div {
    font-size: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-radius: 20px;
}

/* Contact Pages */
.contact-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h2 {
    font-size: 2.2rem;
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.contact-hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.8);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: #2c5530;
}

.benefit i {
    color: #4a7c56;
}

/* Service Image Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    display: none;
}

.gallery-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.gallery-caption {
    padding: 1rem;
    background: #fff;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-caption h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.gallery-caption p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Service Detail Updates */
.service-detail .service-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.service-main-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    height: 350px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-main-image img {
    display: none;
}

/* Form Enhancements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c5530;
    font-weight: 500;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
    transform: scale(1.2);
    accent-color: #4a7c56;
}

/* Remove any potential horizontal lines */
.checkbox-group::before,
.checkbox-group::after,
.checkbox-label::before,
.checkbox-label::after {
    display: none !important;
}

/* Privacy Policy link styling */
.checkbox-label a {
    color: #4a7c56;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #66bb6a;
    text-decoration: underline;
}

/* Emergency Section */
.emergency-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.emergency-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.emergency-icon {
    background: #ff6b6b;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.emergency-content h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.emergency-content p {
    color: #666;
    margin-bottom: 1rem;
}

.emergency-btn {
    background: #ff6b6b;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.emergency-btn:hover {
    background: #ee5a52;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fbf8;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #fff;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* GDPR Map Placeholder */
.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-consent {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.map-consent i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.map-consent h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-consent p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.map-consent .btn-primary {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.map-consent .btn-primary:hover {
    background: linear-gradient(45deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.consent-note {
    font-size: 0.85rem;
    color: #868e96;
    margin-top: 1rem;
}

.consent-note a {
    color: #27ae60;
    text-decoration: none;
}

.consent-note a:hover {
    text-decoration: underline;
}

.map-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-height: 400px;
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
}

.map-placeholder {
    background: #f0f0f0;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.map-placeholder i {
    font-size: 3rem;
    color: #4a7c56;
    margin-bottom: 1rem;
}

.map-info h3 {
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.map-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.map-info ul li {
    margin-bottom: 0.8rem;
    color: #666;
}

.contact-cta {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.contact-cta h4 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4a7c56;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    background: #2c5530;
    transform: translateY(-2px);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
}

/* Language selection page styles */
.redirect-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    padding: 2rem;
}

.redirect-container .logo {
    margin-bottom: 2rem;
}

.redirect-container .logo img {
    height: 80px;
    width: auto;
}

.redirect-container h1 {
    color: #2c5530;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.redirect-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.redirect-container p {
    color: #4a7c56;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.language-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.lang-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #2c5530;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 160px;
}

.lang-btn:hover {
    background: #2c5530;
    color: #fff;
    box-shadow: 0 6px 20px rgba(44, 85, 48, 0.2);
    transform: translateY(-3px) scale(1.05);
}

.lang-btn.italian {
    border-color: #4a7c56;
}

.redirect-message {
    margin-top: 2rem;
    color: #4a7c56;
    font-size: 0.95rem;
}

.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #4a7c56;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Privacy Policy Styles */
.privacy-content {
    padding: 4rem 0;
    background: #fff;
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid #4a7c56;
}

.privacy-intro p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.privacy-section h3 {
    color: #2c5530;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a7c56;
}

.privacy-section p {
    margin-bottom: 1rem;
    color: #555;
    text-align: justify;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.7;
}

.privacy-section strong {
    color: #2c5530;
    font-weight: 600;
}

/* Mobile responsive updates for privacy policy and language selection */
@media (max-width: 768px) {
    .redirect-container h1 {
        font-size: 2rem;
    }
    
    .redirect-container h2 {
        font-size: 1.5rem;
    }
    
    .language-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .lang-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .privacy-content {
        padding: 2rem 0;
    }
    
    .privacy-intro,
    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-text {
        padding: 0 1rem;
    }
    
    /* Map responsive */
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-embed iframe {
        height: 300px;
    }
    
    /* Service gallery responsive */
    .service-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-detail .service-content {
        flex-direction: column;
    }
    
    .service-main-image {
        height: 280px;
        width: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .service-main-image img {
        display: none;
    }
    
    .gallery-item img {
        display: none;
    }
    
    .gallery-image {
        height: 180px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        flex-shrink: 0;
    }
    
    .gallery-item {
        min-height: 250px;
    }
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
}

.notification {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 5px solid;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Roboto', sans-serif;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(450px);
    opacity: 0;
}

.notification.success {
    border-left-color: #27ae60;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification.info {
    border-left-color: #3498db;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    margin-top: 2px;
}

.notification.success .notification-icon {
    background: #27ae60;
}

.notification.error .notification-icon {
    background: #e74c3c;
}

.notification.info .notification-icon {
    background: #3498db;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
}

.notification-message {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #bdc3c7;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #7f8c8d;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    width: 100%;
}

.notification-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    width: 100%;
    transform: translateX(-100%);
    animation: notificationProgress 5s linear forwards;
}

.notification.error .notification-progress-bar {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.notification.info .notification-progress-bar {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

@keyframes notificationProgress {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Responsive per notifiche */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        transform: translateY(-100px);
        margin-bottom: 10px;
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification.hide {
        transform: translateY(-100px);
    }
}

/* Policy Pages Styles */
.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid #ecf0f1;
}

.policy-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.policy-header i {
    color: #27ae60;
}

.policy-intro {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #95a5a6;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.policy-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.policy-section h2 i {
    color: #27ae60;
}

.policy-section h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h3 i {
    color: #3498db;
}

.policy-section h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-section p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    color: #7f8c8d;
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.cookie-type {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    background: #f8f9fa;
}

.cookie-details {
    margin-top: 1rem;
    overflow-x: auto;
}

.cookie-details table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cookie-details th,
.cookie-details td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.cookie-details th {
    background: #e9ecef;
    font-weight: 600;
    color: #495057;
}

.cookie-details td {
    color: #6c757d;
}

.preference-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.preference-card {
    padding: 1.5rem;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    background: white;
    text-align: center;
}

.preference-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    justify-content: center;
}

.preference-card p {
    margin-bottom: 1.5rem;
}

.browser-links {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.browser-links li {
    margin-bottom: 0.5rem;
}

.browser-links a {
    color: #3498db;
    text-decoration: none;
}

.browser-links a:hover {
    text-decoration: underline;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item i {
    color: #27ae60;
    font-size: 1.5rem;
    width: 30px;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.policy-actions {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.policy-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.policy-nav .btn-secondary,
.policy-nav .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-nav .btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
}

.policy-nav .btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.policy-nav .btn-primary {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    cursor: pointer;
}

.policy-nav .btn-primary:hover {
    background: linear-gradient(45deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .policy-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .preference-options {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .policy-nav {
        flex-direction: column;
        align-items: center;
    }

    .policy-nav .btn-secondary,
    .policy-nav .btn-primary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-float a:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float a i {
    line-height: 60px;
}

/* Manina che saluta */
.whatsapp-float::after {
    content: '👋';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px;
    animation: wave 1.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-8deg); }
    60% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .whatsapp-float a i {
        line-height: 50px;
    }
    
    .whatsapp-float::after {
        font-size: 22px;
        top: -8px;
        right: -8px;
    }
}