/* CONFIGURACIONES GENERALES & RE-ARMONIZACIÓN INTEGRADA CON EL ISOTIPO */

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    /* Fondo exacto para fundir las imágenes sin bordes artificiales */
    background-color: #FAFAFA !important;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2D3136;
}

/* NAVEGACIÓN TOTALMENTE INTEGRADA */
.navbar {
    background-color: #FAFAFA !important;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.5rem 0;
}

.nav-brand-logo {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.brand-text-corporate {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 0.6rem;
}

.brand-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2D3136;
    letter-spacing: 0.5px;
}

.brand-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5A626A;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #5A626A;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover {
    color: #E44A15;
}

/* HERO SECTION - PRESENTACIÓN CENTRAL DE MARCA */
.hero-section {
    min-height: calc(100vh - 85px);
    background-color: #FAFAFA !important; 
    padding: 4rem 0;
}

.hero-logo-top-wrapper {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
}

/* TAMAÑO CORREGIDO: Recuperamos el impacto del isotipo principal de forma equilibrada */
.hero-logo-controlled {
    max-height: 350px; /* Escalado premium para que no se vea chico ni rompa la pantalla */
    width: auto;
    object-fit: contain;
}

/* SECCIONES Y COMPONENTES */
.bg-mhm-flat {
    background-color: #FAFAFA !important;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.1rem;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #E44A15;
    margin: 1rem auto 1.5rem auto;
}

.corporate-card, .service-box, .testimonial-card {
    border: 1px solid #E2E8F0 !important;
    background-color: #FFFFFF !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.corporate-card:hover, .service-box:hover {
    border-color: #E44A15 !important;
    transform: translateY(-3px);
}

.card-icon-box {
    width: 45px;
    height: 45px;
    background-color: rgba(228, 74, 21, 0.07);
    color: #E44A15;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1.25rem;
}

.service-icon {
    font-size: 1.4rem;
    color: #2D3136;
}

/* SECCIÓN BENEFICIOS */
.bg-dark-premium {
    background-color: #2D3136 !important;
}

.benefit-card {
    background-color: #383D44;
    border-radius: 6px;
    height: 100%;
}

.benefit-icon {
    font-size: 1.8rem;
    color: #E44A15;
}

/* METODOLOGÍA */
.step-number {
    width: 46px;
    height: 46px;
    background-color: #2D3136;
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid #FAFAFA;
}

/* COMPONENTES DE INTERACCIÓN */
.accordion-item {
    border-color: #E2E8F0 !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(45, 49, 54, 0.01);
    color: #E44A15 !important;
}

.form-control:focus, .form-select:focus {
    border-color: #E44A15;
    box-shadow: 0 0 0 3px rgba(228, 74, 21, 0.1);
}

/* BOTONES */
.btn-custom-primary {
    background-color: #E44A15;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 4px;
}

.btn-custom-primary:hover {
    background-color: #C83E0F;
    color: #FFFFFF;
}

.btn-custom-secondary {
    background-color: transparent;
    color: #2D3136;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border: 2px solid #2D3136;
    border-radius: 4px;
}

.btn-custom-secondary:hover {
    background-color: #2D3136;
    color: #FFFFFF;
}

.btn-login {
    background-color: #2D3136;
    color: #FFFFFF;
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
    border-radius: 4px;
}

/* FOOTER LOGO CONTENEDOR */
.footer-logo-wrapper {
    background-color: #FAFAFA;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

.footer-logo {
    max-height: 45px;
    width: auto;
}

.footer-links a {
    color: #A0A5A9;
    text-decoration: none;
}

.footer-links a:hover {
    color: #E44A15;
}

/* CONTROLES RESPONSIVE */
@media (max-width: 1199.98px) {
    .brand-desc {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .hero-logo-controlled {
        max-height: 160px;
    }

/* PARCHE CORRECTIVO PARA EL MODAL PREMIUM */
.modal-content {
    background-color: #FFFFFF !important;
}
.modal-header .btn-close {
    box-shadow: none !important;
    opacity: 0.8;
    transition: all 0.2s ease;
}
.modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}
.btn-google-sso {
    border-color: #E2E8F0 !important;
    font-weight: 500 !important;
    color: #4A5568 !important;
    background-color: #FFFFFF !important;
}
.btn-google-sso:hover {
    background-color: #F7FAFC !important;
    border-color: #CBD5E0 !important;
}
}