/* Variables de Diseño */
:root {
    --primary-color: #1C4C3E; /* Verde Institucional IMSS */
    --primary-hover: #13322B;
    --accent-color: #B38E5D;  /* Dorado Institucional */
    --bg-color: #F4F6F6;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --border-color: #D5DBDB;
    --border-focus: #1C4C3E;
    --font-main: 'Montserrat', sans-serif;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Contenedor Principal (Tarjetas) */
.form_wrap {
    background: var(--text-light);
    width: 100%;
    max-width: 1000px;
    min-height: 550px;
    display: flex;
    flex-direction: column; /* Por defecto en móvil: vertical */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Sección Lateral de Información */
.contact_info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--text-light);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.contact_info .main-icon {
    font-size: 70px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.contact_info h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
}

.contact_info h2 .version {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
}

.info_items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info_link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.info_link:hover {
    opacity: 0.8;
}

.info_link i {
    color: var(--accent-color);
    font-size: 18px;
}

/* Formulario */
.form_contact {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form_contact h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.form_contact h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin-top: 8px;
    border-radius: 2px;
}

.user_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input_group label {
    font-size: 14px;
    font-weight: 600;
    color: #566573;
}

.input_group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #FCFDFD;
}

.input_group input:focus {
    outline: none;
    border-color: var(--border-focus);
    background-color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(28, 76, 62, 0.1);
}

/* Botón Moderno */
.btn_submit {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.btn_submit:hover {
    background-color: var(--primary-hover);
}

.btn_submit:active {
    transform: scale(0.98);
}

/* Responsive: De móvil a Pantallas de Escritorio */
@media (min-width: 768px) {
    .form_wrap {
        flex-direction: row; /* Cambia a diseño horizontal */
    }
    
    .contact_info {
        width: 35%;
        padding: 50px 30px;
    }
    
    .form_contact {
        padding: 50px;
    }
}

.main-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 40px;
    
    /* El truco del fondo */
    background-color: #B38E5D; /* Color de fondo */
    padding: 10px;             /* Espacio entre el logo y el borde del círculo */
    border-radius: 50%;        /* Hace el fondo perfectamente redondo */
    
    /* Opcional: El color del logo interior */
    color: var(--primary-color); /* El logo se pintará del verde del IMSS */
    
    /* Opcional: Una ligera sombra para darle profundidad */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
}