.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-carousel .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-carousel .slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay elegante */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(14, 26, 43, 0.85) 0%,
        rgba(14, 26, 43, 0.7) 50%,
        rgba(245, 124, 0, 0.3) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    max-width: 1200px;
    margin: auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    background: linear-gradient(90deg, #ffffff 0%, #ffc107 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-texts {
    margin-top: 1.5rem;
    height: 60px;
    position: relative;
    width: 100%;
    max-width: 800px;
}

.hero-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    font-size: 1.4rem;
    font-weight: 300;
    position: absolute;
    width: 100%;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-text { font-size: 1.1rem; }
    .hero-texts { height: 50px; }
}