.carousel {
    margin-top: 0;
    height: calc(100vh - 70px);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Texto superpuesto */
.carousel-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    font-family: 'Montserrat', sans-serif;
}

.carousel-text h1 {
    font-size: 2.8rem;
    font-weight: 700; /* Bold */
    line-height: 1.2;
    margin-bottom: 20px;
}

.carousel-text p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 400; /* Regular */
}

.carousel-text .phone {
    font-weight: 700;
    font-size: 1.2rem;

}
.carousel-text i {
    margin-right: 8px;
}

/* Botones */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0.7;
}

.carousel-btn:hover {
    color: #ddd; /* Blanco suave en hover */
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}
/* Animación pulso */
@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 5px #f7c40055;
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 0 15px #f7c400aa;
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 5px #f7c40055;
    }
}

.carousel-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40% oscuro */
    z-index: 1;
}
.carousel-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    font-family: 'Montserrat', sans-serif;
    z-index: 2; /* Más alto que el overlay */
}

.carousel-btn-link {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.carousel-btn-link:hover {
    background: #ddd;
    color: #000;
    transform: scale(1.05);
}