/* =============================================================
   PROYECTO: Sistema de Cotizaciones (lrn sys)
   UBICACIÓN: /public_html/css/index.css
   DESCRIPCIÓN: Estilos finales unificados. Bordes sólidos y sombras negras.
   FECHA/HORA: 2026-03-27 09:10 (ART)
   REVISIÓN: 2.0 - Ajustes de foco, responsive y promo destacada
   ============================================================= */

/* --- 1. ESTRUCTURA MAESTRA --- */
.q-grid-dos-columnas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .q-grid-dos-columnas {
        grid-template-columns: 1fr;
    }
}

/* --- 2. CABECERA (EL TÍTULO REY) --- */
.q-hero-header-master {
    text-align: center;
    width: 100%;
    padding: 40px 0 20px 0;
}

.q-hero-title {
    font-weight: 900;
    font-size: 2.2rem;
    color: #000;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    line-height: 1.2;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .q-hero-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
        text-underline-offset: 6px;
    }
}

/* --- 3. COLUMNA DE INFORMACIÓN Y VENTAJAS --- */
.q-info-column {
    display: flex;
    flex-direction: column;
}

.q-card-gris,
.q-card-promo,
.q-form-card {
    background-color: #f9f9f9;
    border: 2px solid #000 !important;
    border-radius: 10px;
    box-shadow: 6px 6px 0px #000 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.q-card-gris:hover,
.q-card-promo:hover,
.q-form-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000 !important;
}

.q-card-gris {
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.q-card-promo {
    background-color: #ffffff;
}

.q-card-promo-destacada {
    background: #fff7ef;
    border-left: 6px solid #ff6a00 !important;
}

.q-icon-emoji {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.q-card-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 5px 0;
    color: #000;
}

.q-card-text {
    font-size: 1rem;
    margin: 0;
    color: #333;
    line-height: 1.4;
}

/* --- 4. COLUMNA DE LOGIN --- */
.q-login-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

.q-form-card {
    padding: 35px;
    background: #f9f9f9;
}

.q-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #000;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #fff;
    font-family: inherit;
    outline: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.q-input:focus {
    box-shadow: 4px 4px 0px #d63384;
    transform: translate(-1px, -1px);
}

.q-btn-ingresar {
    width: 100%;
    padding: 18px;
    background-color: var(--color-primary);
    color: white;
    border: 2px solid #000;
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.q-btn-ingresar:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.q-btn-ingresar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- 5. UTILIDADES --- */
.q-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.q-text-center {
    text-align: center;
}