body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

.slideshow {
    position: relative;
    z-index: 0;
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 3rem 7rem;
    background-color: #000f1f;
}


.hero-text {
    max-width: 60%;
}

.hero-text h1 {
    font-size: 2.4rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: .9rem;
    line-height: 1.6;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.cta {
    display: inline-flex;
    align-items: center;
    background-color: #b6e7fe;
    color: #555;
    border: none;
    padding: 0.8rem 1rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.arrow {
    margin-right: 0.5rem;
}

.hero-list {
    max-width: 35%;
    list-style: none;
    font-size: 1rem;
    line-height: 2;
    color: #ffffff;
}

.label {
    background-color: #608097;
    padding: 3rem 7rem;
    color: #ffffff;
    border-top: 1px solid #ffffff;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.servicios {
    color: #ffffff;
    font-weight: bold;
}


@media (max-width: 1024px) {
    .hero {
        padding: 2rem 4rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .cta {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

    .contact-btn {
        padding: 0.5rem 2rem;
        font-size: 0.9rem;
    }

    .nav a {
        font-size: 0.9rem;
        margin: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .hero {
        flex-direction: column;
        padding: 2rem;
    }

    .hero-text,
    .hero-list {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .cta {
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .contact-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }

    .label {
        font-size: 0.85rem;
    }
}