.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('../assets/images/yaxha-04.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--amarillo-yaxha);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-content h2 {
    color: var(--blanco);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--blanco);
    font-size: 1.2rem;
}

.dashboard-section {
    background-color: transparent;
    padding: 0 5%;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dash-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid var(--verde-yaxha);
    transition: transform 0.3s;
}

.dash-card:hover {
    transform: translateY(-10px);
}

.dash-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--verde-yaxha);
}

.dash-card .icon-blue {
    color: #2980b9;
}

.dash-card .icon-purple {
    color: #8e44ad;
}

.dash-card .icon-yellow {
    color: var(--amarillo-yaxha);
}

.dash-card h3 {
    margin-bottom: 10px;
    color: var(--texto-oscuro);
}

.intro-section {
    text-align: center;
    padding: 4rem 5%;
}

.intro-container h2 {
    color: var(--rojo-yaxha);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.bg-light {
    background-color: #ffffff;
}

.teaser-section {
    padding: 4rem 0;
}

.teaser-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.teaser-grid.reverse {
    flex-direction: row-reverse;
}

.teaser-img {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.teaser-content {
    flex: 1;
    padding: 1rem;
}

.teaser-content h2 {
    color: var(--verde-yaxha);
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.teaser-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--rojo-yaxha);
    color: var(--blanco);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #90261f;
    transform: scale(1.05);
    color: var(--amarillo-yaxha);
}

.slider-section {
    width: 100%;
    margin-top: 2rem;
}

.slider-container {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 1s ease-in-out;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 75, 52, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slider-overlay h2 {
    color: var(--amarillo-yaxha);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.slider-overlay p {
    color: var(--blanco);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--blanco);
    color: var(--blanco);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--blanco);
    color: var(--verde-yaxha);
}

@media (max-width: 900px) {

    .hero-section {
        background-attachment: scroll;
    }

    .teaser-grid,
    .teaser-grid.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .teaser-img {
        width: 100%;
        min-height: 300px;
        height: 300px;
        flex: none;
        border-radius: 10px;
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .slider-overlay h2 {
        font-size: 2rem;
    }

    .dashboard-section {
        margin-top: -40px;
        padding: 0 15px;
    }

    .dash-card {
        padding: 1.5rem;
    }

    .intro-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .teaser-content h2 {
        font-size: 1.8rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .slider-container {
        height: 40vh;
    }
}