/* =====================================================
   EPROCIN | IDENTIDAD CORPORATIVA
   Azul: #0B2345 | Amarillo: #FFC928
   ===================================================== */

:root {
    --eprocin-azul: #0B2345;
    --eprocin-amarillo: #FFC928;
    --eprocin-blanco: #FFFFFF;
}

/* Encabezado */
.eprocin-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--eprocin-blanco);
}

.eprocin-header .eprocin-topbar {
    background: var(--eprocin-azul);
    color: var(--eprocin-blanco);
    padding: 10px 0;
    font-size: 12px;
}

.eprocin-header .eprocin-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
}

.eprocin-header .eprocin-contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.eprocin-header .eprocin-contact-info i {
    color: var(--eprocin-amarillo);
}

/* Barra de navegación */
.eprocin-header .header {
    position: relative;
    z-index: 1000;
    width: 100%;
    padding: 12px 0;
    background: var(--eprocin-blanco);
}

.eprocin-header .logo {
    float: none;
    width: 100%;
}

.eprocin-header .logo img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 72px;
    object-fit: contain;
}

.eprocin-header .navigation.navbar {
    float: none;
    width: 100%;
    padding: 0;
}

.eprocin-header .navigation.navbar-dark .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-right: 0;
    gap: 2px;
}

.eprocin-header .navigation.navbar-dark .navbar-nav .nav-link {
    color: var(--eprocin-azul);
    padding: 12px 9px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.eprocin-header .navigation.navbar-dark .navbar-nav .nav-link:hover,
.eprocin-header .navigation.navbar-dark .navbar-nav .nav-link.active {
    color: #A97800;
}

/* Botón de cotización */
.eprocin-header .navigation.navbar-dark .navbar-nav .eprocin-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-left: 8px;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 6px;
    background: var(--eprocin-amarillo);
    color: var(--eprocin-azul);
    font-weight: 700;
    white-space: nowrap;
}

.eprocin-header .navigation.navbar-dark .navbar-nav .eprocin-whatsapp:hover {
    background: var(--eprocin-azul);
    color: var(--eprocin-blanco);
}

/* Botón del menú móvil */
.eprocin-header .navbar-toggler {
    padding: 8px 10px;
    border: 1px solid var(--eprocin-azul);
    border-radius: 5px;
    background: var(--eprocin-azul);
}

.eprocin-header .navbar-toggler-icon {
    filter: none;
}

/* Ajustes para pantallas medianas */
@media (max-width: 1199px) {
    .eprocin-header .logo img {
        max-width: 220px;
    }

    .eprocin-header .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 10px 6px;
        font-size: 12px;
    }

    .eprocin-header .navigation.navbar-dark .navbar-nav .eprocin-whatsapp {
        margin-left: 4px;
        padding: 10px;
    }
}

/* Menú desplegable para móviles */
@media (max-width: 767px) {
    .eprocin-header .eprocin-contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .eprocin-header .header {
        padding: 10px 0;
    }

    .eprocin-header .logo img {
        max-width: 210px;
        max-height: 58px;
    }

    .eprocin-header .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        background: var(--eprocin-blanco);
        border-top: 2px solid var(--eprocin-amarillo);
    }

    .eprocin-header .navigation.navbar-dark .navbar-nav {
        align-items: stretch;
    }

    .eprocin-header .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 10px;
        font-size: 14px;
    }

    .eprocin-header .navigation.navbar-dark .navbar-nav .eprocin-whatsapp {
        width: fit-content;
        margin: 8px 0 0;
    }
}


/* CORRECCION DE EMERGENCIA - EPROCIN */
.eprocin-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
}

.eprocin-header .header {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 12px 30px;
    z-index: 1000;
}

/* Recuperar la estructura original del banner */
.banner_main {
    background-color: #0B2345;
    width: 100%;
    margin: 0;
    padding: 0;
}

.banner_main .container-fluid {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.banner_main .row {
    margin-left: 0;
    margin-right: 0;
}

.banner_main .text-img figure {
    margin: 0;
}

.banner_main .text-img img {
    display: block;
    width: 100%;
    height: auto;
}

.banner_main .text-bg {
    padding: 35px 30px 50px;
    text-align: left;
}

.banner_main .text-bg h1 {
    color: #FFC928;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 20px;
}

.banner_main .text-bg span {
    display: block;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 400;
    padding-bottom: 15px;
}

@media (max-width: 767px) {
    .eprocin-header .header {
        padding: 10px 15px;
    }

    .banner_main .text-bg {
        padding: 25px 20px 35px;
    }

    .banner_main .text-bg h1 {
        font-size: 34px;
    }

    .banner_main .text-bg span {
        font-size: 24px;
        line-height: 1.4;
    }
}

/* PORTADA CORPORATIVA EPROCIN */
.banner_main {
    background: #0B2345;
    width: 100%;
    overflow: hidden;
padding-top: 0;
margin-top: 0;
}


/* IMAGEN PRINCIPAL EPROCIN */
.banner_main .text-img {
height: 100%;
padding: 0;
}

.banner_main .text-img figure {
margin: 0;
height: 100%;
overflow: hidden;
}

.banner_main .text-img figure img {
display: block;
width: 100%;
height: 100%;
min-height: 520px;
object-fit: cover;
object-position: center;
}



.banner_main .text-bg {
    max-width: 680px;
    padding: 55px 45px;
    text-align: left;
}

.banner_main .text-bg .eprocin-eyebrow {
    color: #FFC928;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.banner_main .text-bg h1 {
    color: #FFC928;
    font-size: clamp(36px, 3.5vw, 52px);
    line-height: 1.15;
    padding: 0 0 22px;
    font-weight: 700;
}

.banner_main .text-bg span {
    display: block;
    color: #FFFFFF;
    font-size: clamp(23px, 2.3vw, 32px);
    line-height: 1.35;
    font-weight: 500;
    padding-bottom: 20px;
}

.banner_main .text-bg p:not(.eprocin-eyebrow) {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 22px;
}

.banner_main .text-bg .eprocin-btn,
.banner_main .text-bg .eprocin-btn-secundario {
    display: inline-block;
    width: auto;
    max-width: none;
    margin: 5px 10px 5px 0;
    padding: 14px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.banner_main .text-bg .eprocin-btn {
    background: #FFC928;
    color: #0B2345;
}

.banner_main .text-bg .eprocin-btn:hover {
    background: #FFFFFF;
    color: #0B2345;
}

.banner_main .text-bg .eprocin-btn-secundario {
    background: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.banner_main .text-bg .eprocin-btn-secundario:hover {
    background: #FFFFFF;
    color: #0B2345;
}

@media (max-width: 767px) {
   .banner_main .text-img figure img {
    height: 300px;
    min-height: 300px;
}

    .banner_main .text-bg {
        padding: 35px 22px 40px;
    }

    .banner_main .text-bg h1 {
        font-size: 36px;
    }

    .banner_main .text-bg span {
        font-size: 25px;
    }

    .banner_main .text-bg .eprocin-btn,
    .banner_main .text-bg .eprocin-btn-secundario {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}


/* CATALOGO EPROCIN */
.eprocin-products {
    margin-top: 0;
    padding-top: 65px;
}

.eprocin-products .titlepage {
    padding-bottom: 35px;
}

.eprocin-products .titlepage h2 {
    color: #0B2345;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.2;
    margin: 12px 0;
}

.eprocin-products .titlepage p {
    color: #555;
    max-width: 850px;
    margin: 0 auto;
}

.eprocin-section-label {
    color: #9A7100;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.eprocin-products .bg_full {
    background: #f5f7fa;
    padding: 75px 0 55px;
}

.eprocin-products .eprocin-product-card {
    height: calc(100% - 65px);
    margin-bottom: 65px;
    padding: 0 20px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(11, 35, 69, .08);
    overflow: hidden;
}

.eprocin-products .eprocin-product-card figure {
    margin: 0 -20px 20px;
    overflow: hidden;
}

.eprocin-products .eprocin-product-card figure img {
    display: block;
    width: 100%;
    height: 220px;
    margin: 0;
    object-fit: cover;
    transition: transform .3s ease;
}

.eprocin-products .eprocin-product-card:hover figure img {
    transform: scale(1.04);
}

.eprocin-products .eprocin-product-card h3 {
    color: #0B2345;
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.35;
    padding: 0 0 12px;
}

.eprocin-products .eprocin-product-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    padding-bottom: 15px;
}

.eprocin-products .eprocin-product-link {
    color: #0B2345;
    font-weight: 700;
}

.eprocin-products .eprocin-product-link i {
    color: #B88600;
    margin-left: 6px;
}

.eprocin-products .eprocin-product-link:hover {
    color: #B88600;
}

@media (max-width: 767px) {
    .eprocin-products {
        padding-top: 45px;
    }

    .eprocin-products .bg_full {
        padding: 45px 0 20px;
    }

    .eprocin-products .eprocin-product-card figure img {
        height: 230px;
    }
}


/* NOSOTROS EPROCIN */
.eprocin-about {
    padding: 70px 0;
    background: #ffffff;
}

.eprocin-about .titlepage,
.eprocin-sectors .titlepage {
    text-align: center;
    margin-bottom: 35px;
}

.eprocin-about .titlepage span,
.eprocin-sectors .titlepage span {
    color: #9A7100;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.eprocin-about .titlepage h2,
.eprocin-sectors .titlepage h2 {
    color: #0B2345;
    margin-top: 12px;
}

.eprocin-about-content p {
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.eprocin-about-content .eprocin-btn {
    display: inline-block;
    padding: 14px 20px;
    margin-top: 10px;
    border-radius: 5px;
    background: #FFC928;
    color: #0B2345;
    font-weight: 700;
}

.eprocin-about-panel {
    padding: 32px;
    background: #0B2345;
    border-bottom: 5px solid #FFC928;
    border-radius: 8px;
    color: #ffffff;
}

.eprocin-about-mark {
    color: #FFC928;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eprocin-about-panel h3 {
    color: #ffffff;
    margin: 12px 0 20px;
    font-size: 22px;
}

.eprocin-about-panel ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.eprocin-about-panel li {
    padding: 8px 0;
    line-height: 1.5;
}

/* SECTORES */
.eprocin-sectors {
    padding: 70px 0;
    background: #f4f6f9;
}

.eprocin-sectors .titlepage p {
    color: #555555;
    margin-top: 12px;
}

.eprocin-sector-card {
    height: calc(100% - 25px);
    margin-bottom: 25px;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 8px;
    border-top: 4px solid #FFC928;
    box-shadow: 0 4px 16px rgba(11, 35, 69, 0.07);
}

.eprocin-sector-card > i {
    color: #B88600;
    font-size: 32px;
    margin-bottom: 18px;
}

.eprocin-sector-card h3 {
    color: #0B2345;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.eprocin-sector-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .eprocin-about,
    .eprocin-sectors {
        padding: 45px 0;
    }

    .eprocin-about-panel {
        margin-top: 30px;
        padding: 25px;
    }
}


/* CONTACTO Y PIE DE PAGINA EPROCIN */
.eprocin-contact {
    padding: 75px 0;
    background: #ffffff;
}

.eprocin-contact .titlepage span {
    color: #9A7100;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.eprocin-contact .titlepage h2 {
    color: #0B2345;
    margin-top: 12px;
}

.eprocin-contact-intro {
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0;
}

.eprocin-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 22px 0;
}

.eprocin-contact-item > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: #0B2345;
    color: #FFC928;
    font-size: 18px;
}

.eprocin-contact-item strong,
.eprocin-contact-item a,
.eprocin-contact-item span {
    display: block;
    color: #0B2345;
    line-height: 1.7;
}

.eprocin-contact-item strong {
    font-weight: 700;
}

.eprocin-contact-panel {
    padding: 40px;
    background: #0B2345;
    color: #ffffff;
    border-bottom: 5px solid #FFC928;
    border-radius: 8px;
}

.eprocin-contact-icon {
    color: #FFC928;
    font-size: 38px;
    margin-bottom: 15px;
}

.eprocin-contact-panel h3 {
    color: #FFC928;
    font-size: 28px;
    margin-bottom: 15px;
}

.eprocin-contact-panel p {
    color: #ffffff;
    line-height: 1.8;
}

.eprocin-contact-cta {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 20px;
    background: #FFC928;
    color: #0B2345;
    border-radius: 5px;
    font-weight: 700;
}

.eprocin-contact-cta:hover {
    background: #ffffff;
    color: #0B2345;
}

.eprocin-footer {
    background: #0B2345;
    color: #ffffff;
    padding-top: 45px;
}

.eprocin-footer h3 {
    color: #FFC928;
    font-size: 30px;
    font-weight: 800;
}

.eprocin-footer p {
    color: #ffffff;
    line-height: 1.8;
}

.eprocin-footer-contact {
    padding-top: 10px;
}

.eprocin-footer-contact i {
    color: #FFC928;
    margin-right: 9px;
}

.eprocin-footer a {
    color: #ffffff;
}

.eprocin-footer a:hover {
    color: #FFC928;
}

.eprocin-footer-bottom {
    margin-top: 30px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.18);
    text-align: center;
}

.eprocin-footer-bottom p {
    margin-bottom: 5px;
    font-size: 13px;
}

.eprocin-footer-bottom a {
    font-size: 13px;
}

@media (max-width: 767px) {
    .eprocin-contact {
        padding: 45px 0;
    }

    .eprocin-contact-panel {
        margin-top: 30px;
        padding: 28px;
    }

    .eprocin-footer {
        padding-top: 35px;
    }
}


.human-gestion-credit {
    padding: 12px 15px;
    background: #07182F;
    text-align: center;
    font-size: 11px;
    color: #AAB8CB;
}

.human-gestion-credit a {
    margin-left: 4px;
    color: #D9B94A;
    text-decoration: none;
}

.human-gestion-credit a:hover {
    color: #FFFFFF;
}

.human-gestion-credit i {
    margin-left: 3px;
}

/* Logotipo EPROCIN en el encabezado */
.eprocin-logo-header {
    display: block;
    width: auto;
    height: 65px;
    max-width: 100%;
    object-fit: contain;
}

/* Evitar desbordamientos en pantallas pequeñas */
@media (max-width: 767px) {
    .eprocin-logo-header {
        height: 52px;
        max-width: 220px;
    }
}

/* AJUSTE FINAL DE PORTADA EPROCIN */
.banner_main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.banner_main > .container-fluid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.banner_main > .container-fluid > .row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.banner_main .text-img,
.banner_main .text-img figure {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
