/* ==========================================================================
   CSS EXCLUSIVO: LANDING PRESUPUESTO INDUSTRIAL B2B (formulario-b2b.css)
   ========================================================================== */

/* 1. AISLAMIENTO DEL FONDO */
body.landing-presupuesto {
    background-color: #f4f6f8; /* Gris muy suave para resaltar la caja blanca del formulario */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* 2. CABECERA Y PIE MINIMALISTAS (Sin distracciones) */
.header-minimalista {
    background-color: #dcdfe3; /* Azul oscuro corporativo */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(91, 95, 212, 0.1);
}

.logo-formulario {
    max-width: 220px;
    height: auto;
}

.footer-minimalista {
    background-color: #0d1b2a;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto; /* Empuja el footer siempre al fondo de la pantalla */
}

.enlace-retorno {
    color: #D3AA52; /* Dorado corporativo */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.enlace-retorno:hover {
    color: #ffffff;
}

.enlace-retorno i {
    margin-right: 5px;
}

.legal-text {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

/* 3. CONTENEDOR PRINCIPAL DEL FORMULARIO */
.main-formulario {
    padding: 50px 20px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-limpieza-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 850px;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #0d1b2a;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 4. ESTRUCTURA INTERNA: SECCIONES Y GRID */
.form-b2b fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 30px;
    background-color: #fafafa;
}

.form-b2b legend {
    background-color: #0d1b2a;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-b2b legend i {
    margin-right: 8px;
    color: #D3AA52;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas perfectas en escritorio */
    gap: 25px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* 5. INPUTS Y DESPLEGABLES */
.form-b2b input[type="text"],
.form-b2b input[type="number"],
.form-b2b select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Asegura que el padding no rompa el grid */
}

.form-b2b input:focus,
.form-b2b select:focus {
    border-color: #D3AA52;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 170, 82, 0.2);
}

/* 6. LOGÍSTICA Y SUBIDA DE ARCHIVOS */
.checkbox-group {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
}

.checkbox-group label {
    font-weight: 600;
    color: #444444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0d1b2a; /* Color de la casilla al marcarse */
}

.file-upload-box {
    border: 2px dashed #b0b0b0;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.file-upload-box:hover {
    border-color: #D3AA52;
    background-color: #fdfaf2;
}

.file-upload-box label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0d1b2a;
}

.file-upload-box input[type="file"] {
    font-family: 'Montserrat', sans-serif;
}

/* 7. LA MAGIA: CAJA DE VENTA CRUZADA */
.cross-selling-box {
    border: 2px solid #D3AA52 !important;
    background-color: #fdfaf2 !important; /* Fondo suave dorado */
    box-shadow: inset 0 0 20px rgba(211, 170, 82, 0.1);
}

.cross-selling-box legend {
    background-color: #D3AA52;
    color: #0d1b2a;
}

.cross-selling-box legend i {
    color: #0d1b2a;
}

.highlight-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.5;
}

.highlight-label input[type="checkbox"] {
    margin-top: 5px;
    width: 20px;
    height: 20px;
    accent-color: #D3AA52;
}

.highlight-label strong {
    color: #0d1b2a;
    display: block;
    margin-bottom: 5px;
    font-size: 1.15rem;
}

/* 8. PIE Y BOTÓN DE ENVÍO */
.form-footer {
    text-align: center;
    margin-top: 40px;
}

.legal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.5;
}

.btn-presupuesto {
    background-color: #D3AA52;
    color: #0d1b2a;
    border: none;
    padding: 18px 45px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(211, 170, 82, 0.4);
}

.btn-presupuesto:hover {
    background-color: #0d1b2a;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 27, 42, 0.3);
}

.btn-presupuesto i {
    margin-left: 10px;
}

/* 9. RESPONSIVE DESIGN (Pantallas de Móvil) */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr; /* Colapsa a 1 columna en móviles */
        gap: 15px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 15px;
    }

    .form-limpieza-container {
        padding: 30px 20px;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .form-b2b fieldset {
        padding: 20px 15px;
    }
}