body{
    font-family: 'Alte Haas Grotesk', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.imagen-header{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    position: relative; 
    z-index: -1
}

.discontinua{
    border: none; 
    border-top: 3px dashed #000; /*Grosor de la línea */
    margin-left: 5%; 
    margin-right: 5%;
}


.titulo-grande {
    font-weight: 900;
    color: #050338; /* Puedes ajustar este color al tono que necesites */
    font-family: 'Montserrat', sans-serif;
}

.subtitulo {
    color: #050338; /* Un color más suave para el subtítulo */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.seccion-tarifas {
    background-color: #0a0a37; /* Fondo oscuro */
    color: white; /* Texto blanco */
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
}

.titulo-tarifas {
    font-weight: 900; /* Negrita para el título */
    color: #ffffff;
}

.subtitulo-tarifas {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.btn-light {
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px; /* Botón con bordes redondeados */
}

.seccion-contratar {
    
    padding: 40px 20px;
}

.titulo-contratar {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #3b5bdb; /* Color azul */
    font-weight: 700;
    margin-bottom: 20px;
}

.subtitulo-contratar {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin: 0 auto;
}


/*Estilo de las cards informativas*/
.card-informativa {
    background-color: white;
    border-radius: 30px;
}

.card-title-informativa {
    font-size: 1.2rem;
}

.card-text-informativa {
    font-size: 0.9rem;
}

.card-img-top-informativa {
    width: 60px;
}

.tarjeta-sombra{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Estilos del carrusel */

#customCarousel .carousel-inner {
    max-width: 80%; /* Reduce el ancho del carrusel */
    margin: 0 auto; /* Centra el carrusel */
    padding: 20px; /* Añade espacio alrededor del carrusel para resaltar la sombra */
    border-radius: 15px; /* Bordes redondeados en el contenedor */
}


.carousel-item{
    align-items: center;
   /*  padding: 20px; */
    border-radius: 15px; /* Bordes más redondeados */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra más visible */
    overflow: hidden; /* Respeta los bordes redondeados */
}

.carousel-item.active {
    display: flex; /* Muestra el elemento activo */
}

.carousel-item img {
    width: 100%; /* Llena todo el ancho */
    height: 100%; /* Llena todo el alto */
    object-fit: cover; /* Recorta para ajustar al tamaño sin deformar */
}


.carousel-text {
    padding: 20px;
    
}
.carousel-text > h2 {
    
    font-weight: 900;
}
.row-carrusel {
    height: 100%; /* Llena todo el espacio disponible */
    display: flex; /* Flexbox para asegurar distribución */
    align-items: center; /* Opcional: centra contenido si es necesario */
    justify-content: center; /* Opcional: centra horizontalmente si es necesario */
}



/*Estilos tarjetas */

.fila2 {
    
    padding-right: 10px; /* Espacio horizontal derecho */
    padding-left: 10px; /* Espacio horizontal izquierdo */
    padding-bottom: 20px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.card {
    border-radius: 10px;
    
}

.card-body{
    padding: 2rem;
}
.card-body-tarjeta{
    padding: 2rem;
}






.tarjeta {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto; 
    
}

.tarjeta-oferta{
    background-color: #4e6cef;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto; 
}

.card-body {
    padding: 2rem; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-title {
    font-size: 4rem;
    font-weight: bold;
    color: orange;
}
.card-title-oferta{
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.mitad-superior{
    margin-bottom: 1rem;
}

.parrafo-superior {
    font-size: 1.3rem;
    color: blue;
    margin-bottom: 0; /* Reducir el margen inferior */
}

.parrafo-superior-oferta{
    font-size: 1.3rem;
    color: white;
    margin-top: 0;
    margin-bottom: 0; /* Reducir el margen inferior */
}
.parrafo-peq-oferta{
    font-size: 0.75rem;
    color: white;
    margin-top: 0;
    margin-bottom: 0; /* Reducir el margen inferior */
}

/* Icono ajustado para fibra y móvil (más grande que en otras páginas)*/
.icono-tarjeta {
    max-width: 60px;  
    max-height: 50px;
    opacity: 0.8;
    margin-left: 10px; 
}


.sabermas {
    margin-top: auto;            
    background-color: #0d0f3b;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 0.25rem 1.5rem; 
    font-size: 0.75rem; 
    text-align: center;
    display: flex;               
    justify-content: center;      
    align-items: center; 
    width: auto;
    
}

.sabermas:hover {
    background-color: orange;
    border-color: orange;
    color: white;
}

.contenedor-boton{
    display: flex;               
    flex-direction: column;       
    justify-content: flex-end;
}

.card-text {
    margin-bottom: 0;
}


.condiciones{
    font-size: 0.8rem;
   margin-bottom: 0;
}

.letrapeq{
    margin-top: 0;
    font-size: 0.7rem;
    cursor: pointer;
}

@media (min-width: 1400px){

    .carousel-item img {
    width: 100%;
    }
}

@media (min-width: 992px) {
    .card-title-informativa {
        font-size: 1.5rem;
    }
    .card-text-informativa {
        font-size: 1.1rem;
    }
}


@media (max-width: 991px) {

    
  
    .icono-tarjeta-container {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 10px; /* Ajusta este valor según necesites */
    }

    .icono-tarjeta {
        align-self: flex-start; /* Alinea el icono en la parte superior */
    }

    .sabermas {
       
        width: 100%;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel-item {
        flex-direction: column; /* Cambia a columna en tablets */
        align-items: center;
        text-align: center;
    }

    .carousel-item .row {
        align-items: center; /* Centra verticalmente en modo tablet y grande */
    }

    .carousel-item img {
        width: 100%; /* Asegura que la imagen ocupe todo el ancho */
       border-radius: 15px;
    }

    .carousel-text {
        padding: 10px 15px; /* Ajusta el espaciado para tablets */
        text-align: center;
    }

    #customCarousel .carousel-inner {
        padding: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .row-container {
        align-items: stretch; /* Asegura que las columnas ocupen el mismo alto */
    }

    .row-carrusel {
        flex-grow: 1; /* Hace que esta columna ocupe el espacio vertical disponible */
        height: auto; /* Elimina restricciones previas de altura */
    }

    .row-carrusel img {
        height: 100%; /* Hace que la imagen ocupe toda la altura de su contenedor */
        object-fit: cover; /* Asegura que la imagen no se deforme */
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex-direction: column; /* Alinea en columna para pantallas pequeñas */
        
    }

    .carousel-text {
        padding: 10px; /* Reduce el espaciado */
    }

    .carousel-item img {
        max-height: 200px; /* Limita altura en pantallas pequeñas */
        border-bottom-left-radius: 15px;
        border-top-right-radius: 0;
        width: 100%;
    }

    .row-carrusel{
        padding-left: 0px;
    }


}
