.contact {
    padding: 80px 0;
    background-image: url('../fondonegro.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 400px;
    color: var(--light);
    text-align: left;
}

.contact-map {
    flex: 1 1 400px;
}

.contact-map h4 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.contact .section-title {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--primary);
    font-size: 1.3rem;
    width: 30px;
}

.contact-details a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-brand {
    margin-bottom: 2rem;
    text-align: left;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #aaa;
    line-height: 1.6;
    max-width: 350px;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details li {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-details i {
        margin-bottom: 0.3rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .contact-map h4 {
        text-align: center;
    }

    .map-container {
        height: 250px;
    }
}