/* Home — Jóvenes CONIC Área Sur */

.home-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #000;
}

.home-header {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 3vw;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.home-header .brand__text strong,
.home-header .brand__text small {
    color: #fff;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.home-social {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transition: background 180ms ease, transform 180ms ease;
}

.home-social:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.home-main {
    flex: 1;
    display: flex;
}

/* Fullscreen carousel */
.home-carousel-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 500ms ease;
    will-change: transform;
}

.home-carousel__slide {
    min-width: 100%;
    height: 100%;
}

.home-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
    backdrop-filter: blur(4px);
}

.home-carousel__btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.home-carousel__btn--prev { left: 1.5rem; }
.home-carousel__btn--next { right: 1.5rem; }

.home-carousel__counter {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.home-carousel__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 3vw 2.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    text-align: center;
    pointer-events: none;
}

.home-carousel__overlay h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.home-carousel__overlay p {
    margin: 0.3rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Empty state */
.home-empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--abyssal), var(--blue-fantastic));
    text-align: center;
}

.home-empty h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
}

.home-empty p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .home-carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .home-carousel__btn--prev { left: 0.75rem; }
    .home-carousel__btn--next { right: 0.75rem; }

    .home-carousel__overlay {
        padding: 2rem 1rem 1.5rem;
    }

    .home-header .brand__text small {
        display: none;
    }
}
