/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    color: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background-image: url('../loftselect/0.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slogan {
    display: inline-flex;
    align-items: center;
    background: rgba(255,193,7,0.2);
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hero-slogan img {
    height: 1.8em;
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.hero-title .title-line {
    display: inline-block;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Beneficios */
.benefits-wrapper {
    width: 100%;
    margin-top: 1rem;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 1.5rem 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.benefit-item {
    flex: 1 1 200px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    color: var(--light);
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 40px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.benefit-item p {
    font-size: 0.95rem;
    color: #eee;
    line-height: 1.4;
}

/* Botón de financiación */
.hero-finance-cta {
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

/* Logo del banco */
.hero-bank-logo-btn {
    height: 2.2em;
    width: auto;
    vertical-align: middle;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
}

.hero-finance-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

/* ===== BOTÓN DE SONIDO (solo escritorio) ===== */
.hero-sound-btn {
    position: absolute;
    top: 80px;
    right: 20px;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid var(--primary);
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    color: var(--light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-sound-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

.hero-sound-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.02);
    border-color: var(--primary);
}

.hero-sound-btn:active {
    transform: scale(0.98);
}

/* Ocultar en móviles */
@media (max-width: 768px) {
    .hero-sound-btn {
        display: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 0 20px;
        background-attachment: scroll;
    }

    .hero-container {
        padding: 60px 0 20px;
        gap: 1.5rem;
        width: 92%;
    }

    .hero-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }

    .hero-title .title-line {
        display: block;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }

    .hero-slogan {
        justify-content: center;
        width: auto;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .hero-slogan img {
        height: 1.5em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        justify-content: center;
    }

    .benefits-list {
        flex-direction: column;
        padding: 0;
    }

    .benefit-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 1.2rem 1.5rem;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefit-item:last-child {
        border-bottom: none;
    }

    .benefit-item i {
        margin-bottom: 0.5rem;
        font-size: 1.8rem;
    }

    .benefit-item h3 {
        font-size: 1.2rem;
    }

    .benefit-item p {
        font-size: 0.9rem;
    }

    .hero-finance-cta {
        text-align: center;
        width: 100%;
    }

    .hero-finance-cta .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .hero-container {
        padding: 40px 0 10px;
        width: 94%;
    }
}