﻿.contactanos-page {
    background: #000;
    color: #fff;
}

/* HERO */

.contacto-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    background-image: url('/assets/images/Contactanos/ChatGPT-Image-26-may-2026-04_40_59.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .contacto-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 1;
    }

.contacto-hero-content {
    position: relative;
    z-index: 2;
    width: 60%;
    margin-left: 5rem;
    text-align: left;
}

    .contacto-hero-content h1 {
        font-size: clamp(2.5rem, 4vw, 5rem);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: 2px;
        margin-bottom: 1.7rem;
    }

    .contacto-hero-content p {
        font-size: clamp(1rem, 1.3vw, 1.4rem);
        font-weight: 300;
        line-height: 1.5;
        max-width: 650px;
    }

/* CORREO */

.contacto-email-section {
    position: relative;
    min-height: 100vh;
    background-image: url('/assets/images/Contactanos/correoelectronico.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 8%;
}

.contacto-email-img img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

.contacto-email-info {
    position: relative;
    z-index: 2;
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-right: 2%;
}

    .contacto-email-info h2 {
        font-size: clamp(2.3rem, 4vw, 4.8rem);
        font-weight: 800;
        margin-bottom: 1.7rem;
    }

    .contacto-email-info a {
        display: inline-flex;
        background: #efe1a3;
        color: #000;
        text-decoration: none;
        border-radius: 999px;
        padding: 1rem 3rem;
        font-size: clamp(1.1rem, 1.6vw, 1.8rem);
        font-weight: 800;
    }

/* FORMULARIO */

.contacto-form-section {
    position: relative;
    background-image: url('/assets/images/Contactanos/Rectángulo27.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 0 6rem;
}

    .contacto-form-section .container {
        max-width: 1450px;
    }

.contacto-form {
    background: rgba(80, 59, 24, .78);
    border-radius: 45px;
    padding: 3.2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-input {
    position: relative;
    margin-bottom: 2rem;
}

    .contacto-input input,
    .contacto-input select,
    .contacto-form textarea {
        width: 100%;
        border: none;
        outline: none;
        background: linear-gradient(to right, #816f3c, #6d5d35);
        color: #efe1a3;
        border-radius: 999px;
        padding: 1.1rem 5rem 1.1rem 2.5rem;
        font-size: clamp(1.1rem, 1.5vw, 1.8rem);
        font-weight: 800;
    }

        .contacto-input input::placeholder,
        .contacto-form textarea::placeholder {
            color: #efe1a3;
            opacity: 1;
        }

    .contacto-input img {
        position: absolute;
        right: 2.5rem;
        top: 50%;
        width: 40px;
        transform: translateY(-50%);
    }

    .contacto-input select {
        appearance: none;
        cursor: pointer;
    }

.contacto-select::after {
    content: "";
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-35%);
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 16px solid #efe1a3;
    pointer-events: none;
}

.contacto-input select option {
    background: #dfc76b;
    color: #7d5f25;
    font-weight: 800;
}

.contacto-form textarea {
    min-height: 170px;
    resize: none;
    border-radius: 35px;
    margin-bottom: 2.5rem;
}

.contacto-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
    border: none;
    background: #000;
    color: #fff;
    border-radius: 999px;
    padding: 1rem 3rem;
    font-size: clamp(1.1rem, 1.6vw, 1.8rem);
    font-weight: 800;
    cursor: pointer;
    transition: all .3s ease;
}

    .contacto-btn:hover {
        background: #d5811a;
        transform: translateY(-3px);
    }

/* MODAL */

.contacto-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

    .contacto-modal-overlay.show {
        display: flex;
    }

.contacto-modal {
    width: 90%;
    max-width: 500px;
    background: #111;
    border-radius: 24px;
    padding: 36px;
    text-align: center;
    color: #fff;
    animation: modalFade .35s ease;
}

.contacto-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #2ecc71;
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-modal h3 {
    margin-bottom: 15px;
    font-size: 1.7rem;
}

.contacto-modal p {
    margin: 0;
    opacity: .85;
    line-height: 1.6;
    font-size: 1rem;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .contacto-hero-content {
        width: 100%;
        margin: 0;
        padding: 2rem;
        text-align: center;
    }

    .contacto-email-section {
        grid-template-columns: 1fr;
    }

    .contacto-email-img img {
        height: auto;
    }

    .contacto-form {
        padding: 3rem 2rem;
    }
}

@media (max-width: 575px) {
    .contacto-hero-content h1 {
        font-size: 2.6rem;
    }

    .contacto-hero-content p {
        font-size: 1rem;
    }

    .contacto-email-info {
        width: 90%;
        margin: 0 auto;
    }

        .contacto-email-info h2 {
            font-size: 2.3rem;
        }

        .contacto-email-info a {
            padding: 1rem 1.5rem;
            font-size: 1rem;
        }

    .contacto-input input,
    .contacto-input select,
    .contacto-form textarea {
        font-size: 1rem;
        padding-left: 1.5rem;
        padding-right: 4rem;
    }

    .contacto-input img {
        width: 32px;
        right: 1.5rem;
    }

    .contacto-btn {
        width: 100%;
        font-size: 1rem;
    }

    .contacto-modal {
        padding: 30px 22px;
    }

        .contacto-modal h3 {
            font-size: 1.4rem;
        }
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
