/* =========================================================
   CONTACTO - Hoja de estilos del módulo de Contacto
   ========================================================= */

/* Clases heredadas del diseño anterior */
.full-height-card { height: 100%; }

.card-contact { height: 100%; }

.card-contact .img-full {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* =========================================================
   ESTILOS MODERNOS (extraídos de contactanos.html)
   ========================================================= */

/* Wrapper principal de la pagina */
.contact-page-wrapper {
    background: #ffffff;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Encabezado central de la seccion */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Tarjeta principal que contiene formulario e imagen */
.contact-card-modern {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* Columna lateral de imagen */
.contact-image-side {
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Panel del formulario */
.form-panel {
    padding: 40px;
    background: white;
}

/* Seccion de informacion al pie */
.info-footer-section {
    background: #f8fafc;
    padding: 30px;
    border-top: 1px solid #edf2f7;
}

/* Tarjeta mini de informacion de contacto */
.info-card-mini {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    height: 100%;
    transition: transform 0.3s;
    border: 1px solid #f1f5f9;
}

.info-card-mini:hover {
    transform: translateY(-5px);
}

/* Circulo de icono en la tarjeta de informacion */
.info-icon-circle {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    color: #1a5276;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Controles de formulario personalizados */
.form-control-custom {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control-custom:focus {
    background-color: #fff;
    border-color: #1a5276;
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
    outline: none;
}

/* =========================
   Validación en vivo contacto
   ========================= */
.form-control-custom.input-valid {
    border: 2px solid #2e7d32 !important;
    box-shadow: 0 0 0 1px rgba(46, 125, 50, 0.15) !important;
}

.form-control-custom.input-invalid {
    border: 2px solid #c62828 !important;
    box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.12) !important;
}

.contacto-feedback {
    display: block;
    min-height: 1.2em;
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.35;
}

.contacto-feedback.feedback-ok {
    color: #2e7d32;
    font-weight: 500;
}

.contacto-feedback.feedback-err {
    color: #c62828;
    font-weight: 500;
}

.contacto-feedback.feedback-neutral {
    color: transparent;
}

/* Boton de envio de mensaje */
.btn-send-modern {
    background: #1a5276;
    color: white !important;
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-send-modern:hover {
    background: #2471a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 82, 118, 0.2);
}

/* Utilidades Finales - Contacto */
.contact-header-lead { max-width: 500px; }
.contact-header-divider { width: 50px; height: 3px; }
.contact-side-image { object-fit: cover; }
