@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

.banner-ec {
    width: 100%;
    display: flex;
    justify-content: center;
}

.banner-ec-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 488px;
    padding: 84px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-ec-section.lazy-loaded {
    background-image: url('../images/fondo-banner.svg');
}

.banner-ec-content {
    max-width: 1128px;
    margin: 0 auto;
}

.banner-ec-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.banner-ec-text strong {
    font-weight: 700;
    color: #ffffff;
}

.highlight {
    color: rgba(255, 172, 0, 1);
}

.btn-entidad-primary {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgba(14, 165, 233, 1) 0%, rgba(59, 130, 246, 0.95) 100%);
    border: 1px solid rgba(96, 213, 248, 0.5);
    padding: 18px 40px;
    min-width: 270px;
    height: 56px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.btn-entidad-primary:hover {
    color: rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, rgba(96, 213, 248, 1) 0%, rgba(14, 165, 233, 1) 100%);
    border-color: rgba(96, 213, 248, 0.8);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 45px rgba(14, 165, 233, 0.6),
        0 8px 20px rgba(96, 213, 248, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 30px rgba(96, 213, 248, 0.3);
    text-decoration: none;
}

.btn-entidad-primary i {
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.btn-entidad-primary:hover i {
    transform: translateX(4px);
}

.banner-ec-images {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 10%;
}

.banner-ec-image-izq {
    width: 124px;
    height: auto;
}

.banner-ec-image-der {
    width: 292px;
    height: auto;
}

@media (max-width: 1239px) and (min-width: 905px) {
    .banner-ec-section {
        height: 480px;
    }

    .banner-ec-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 904px) and (min-width: 600px) {
    .banner-ec {
        padding: 0 0;
    }

    .banner-ec-section {
        padding: 0 0 0px;
        height: 316px;
    }

    .banner-ec-text {
        font-size: 1.125rem;
        padding: 0px 16px;
    }
    
    .btn-entidad-primary {
        font-size: 0.95rem;
        padding: 16px 35px;
        min-width: 240px;
        height: 52px;
    }
}

@media (max-width: 599px) and (min-width: 0px) {
    .banner-ec {
        padding: 0 0;
        height: 425px;
    }

    .banner-ec-section {
        padding: 0 0;
        height: 372px;
    }

    .banner-ec-content {
        margin-bottom: 50px;
    }

    .banner-ec-text {
        font-size: 1rem;
        padding: 0px 16px;
    }

    .banner-ec-image-izq {
        width: 94px;
    }

    .banner-ec-image-der {
        width: 262px;
    }
    
    .btn-entidad-primary {
        font-size: 0.9rem;
        padding: 15px 30px;
        min-width: 220px;
        height: 50px;
        margin-top: 25px;
    }
}

@media (max-width: 400px) and (min-width: 0px) {
    .banner-ec-text {
        font-size: 0.95rem;
        padding: 0px 16px;
    }

    .btn-entidad-primary {
        margin-top: 25px;
        font-size: 0.85rem;
        padding: 14px 28px;
        min-width: 200px;
        height: 48px;
    }

    .banner-ec-images {
        padding: 0;
    }

    .banner-ec-image-izq {
        margin-left: 20px;
        position: relative;
        z-index: 1;
    }

    .banner-ec-image-der {
        position: absolute;
        right: 10%;
        bottom: 0;
        z-index: 2;
    }
}
