﻿:root {
    /* Color oscuro principal de la marca */
    --color-celeste: #66C1D5;
    --color-plomo: #F9F9F9;
}
/* --- ESTILOS EXCLUSIVOS DE LA PÁGINA CONTACTO --- */
.contacto-body {
    font-family: system-ui, sans-serif;
}

.seccion-contacto-principal {
    position: relative;
    border-top: 40px solid #ffffff;
    background-image: url('../uploads/contacto/FONDO_CONTACTO.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 60px 20px 60px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .seccion-contacto-principal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(22, 38, 67, 0.85);
        z-index: 1;
    }

.contacto-dos-columnas {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.col-info {
    flex: 2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .col-info h2 {
        font-size: 38px;
        font-weight: 700;
        margin-bottom: 50px;
        letter-spacing: 1px;
        color: #ffffff;
    }

.info-iconos {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 180px;
}

    .info-item .icono-cuadrado-blanco {
        width: 80px;
        height: 80px;
        background: #fff;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        transition: 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

        .info-item .icono-cuadrado-blanco:hover {
            transform: scale(1.05);
        }

        .info-item .icono-cuadrado-blanco img {
            width: 45px;
            height: 45px;
            object-fit: contain;
        }

    .info-item p {
        font-size: 14px;
        line-height: 1.4;
        color: #e0e0e0;
    }

    .info-item a {
        color: #ffffff;
        text-decoration: none;
    }

.texto-atencion {
    font-size: 18px;
    margin-top: 10px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.col-formulario {
    flex: 1.2;
    background: #d14e68;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-header {
    background: #ffffff;
    padding: 20px;
    text-align: center;
}

    .form-header h3 {
        color: #0C0F3C;
        font-size: 22px;
        font-weight: 700;
        margin: 0;
    }

.form-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .form-body label {
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
    }

    .form-body input, .form-body textarea {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid rgba(255,255,255,0.5);
        border-radius: 4px;
        background: transparent;
        color: #fff;
        font-size: 14px;
        outline: none;
        transition: 0.3s;
    }

        .form-body input:focus, .form-body textarea:focus {
            border-color: #fff;
        }

        .form-body input::placeholder, .form-body textarea::placeholder {
            color: rgba(255,255,255,0.7);
        }

    .form-body textarea {
        min-height: 150px;
        resize: vertical;
    }

.btn-enviar {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 50px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin: 10px auto 0 auto;
    width: fit-content;
}

    .btn-enviar:hover {
        background: #ffffff;
        color: #d14e68;
    }

.mensaje-exito {
    display: none;
    background: #28a745;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .contacto-dos-columnas {
        flex-direction: column;
        gap: 30px;
    }

    .col-info {
        width: 100%;
    }

    .col-formulario {
        width: 100%;
    }

    .info-iconos {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .seccion-contacto-principal {
        padding: 30px 20px 40px 20px;
        border-top: 20px solid #ffffff;
        min-height: 400px;
    }

    .col-info h2 {
        font-size: 28px;
    }

    .info-item {
        flex: 0 0 140px;
    }

        .info-item .icono-cuadrado-blanco {
            width: 60px;
            height: 60px;
        }

            .info-item .icono-cuadrado-blanco img {
                width: 32px;
                height: 32px;
            }

    .form-body textarea {
        min-height: 100px;
    }

    .texto-atencion {
        font-size: 16px;
    }
}
