/* Estilos compartidos entre la página de inicio y las pantallas de autenticación */

body.body-idau{
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f4f7fb 0%, #e7f1fa 50%, #d6e6f5 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body.body-idau{
    display: flex;
    flex-direction: column;
}

.main-idau{
    flex: 1 0 auto;
}

.logo-idau{
    padding: 20px 0 4px;
}

.logo-idau img{
    height: 52px;
    width: auto;
}

.footer-idau{
    flex-shrink: 0;
    background: #044f8e;
    color: #fff;
    margin-top: 2rem;
}

.footer-idau-top{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
}

.footer-idau-top b{
    display: block;
    font-size: 15px;
}

.footer-idau-top small{
    font-size: 12.5px;
    opacity: .8;
}

.footer-idau-icono{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 22px;
}

.footer-idau-link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 13.5px;
    text-decoration: none;
    transition: background 150ms ease;
}

.footer-idau-link:hover{
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.footer-idau-bottom{
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    font-size: 12.5px;
    text-align: center;
    opacity: .85;
}

.row.row-idau{
    --bs-gutter-x: 1.5rem !important;
}

@media (min-width: 992px){
    .row.row-idau{
        --bs-gutter-x: 3rem !important;
    }
}

.hero-persona{
    position: sticky;
    top: 24px;
    height: calc(100vh - 48px);
    max-height: 820px;
    min-height: 460px;
    border-radius: 20px;
    overflow: hidden;
    background: #e7f1fa;
    box-shadow: 0 18px 40px rgba(4, 79, 142, 0.18);
}

.hero-persona .carousel-item{
    position: relative;
}

.hero-persona .carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.hero-persona .carousel-item::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 92, 0.9) 0%, rgba(4, 79, 142, 0.35) 40%, rgba(4, 79, 142, 0) 62%);
    pointer-events: none;
}

.hero-etiqueta{
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-indicadores{
    justify-content: flex-end;
    margin: 0 2rem 2.4rem 0;
    z-index: 3;
}

.hero-indicadores [data-bs-target]{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    margin: 0 4px;
    opacity: .5;
    transition: width 300ms ease, opacity 300ms ease;
}

.hero-indicadores .active{
    width: 26px;
    border-radius: 6px;
    opacity: 1;
}

.hero-caption{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 2rem 2.2rem;
    padding-right: 7rem;
    color: #fff;
    z-index: 2;
}

.hero-caption h2{
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}

.hero-caption p{
    font-size: 14px;
    margin-bottom: 0;
    opacity: .9;
}

.hero-chip{
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(4, 47, 92, 0.18);
    animation: chip-flotar 4s ease-in-out infinite;
}

.hero-chip b{
    display: block;
    font-size: 13px;
    color: #172b51;
    line-height: 1.2;
}

.hero-chip small{
    font-size: 11.5px;
    color: #5b6b79;
}

.hero-chip-icon{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #044f8e;
    color: #fff;
    font-size: 20px;
}

@keyframes chip-flotar{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media screen and (max-width: 992px) {
    .hero-persona{
        position: relative;
        top: 0;
        height: 380px;
        min-height: 0;
    }
    .hero-caption h2{
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce){
    .hero-chip{
        animation: none;
    }
}
