
/* Carousel wrapper */
.carousel {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    max-height: 700px;
}


.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}
.modal-content {
    background: white;
    padding: 10px;
    text-align: center;
} 
     
@media (max-width: 768px) {
    .btn-pago-fijo {
        bottom: 76px;
        left: 16px;
        padding: 12px 20px;
        font-size: 15px;
    }
}
.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}


    .carousel-slide img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}


    .carousel-control.left {
        left: 0.5rem;
    }

    .carousel-control.right {
        right: 0.5rem;
    }


/* Indicators */
.carousel-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.6rem;
    display: flex;
    gap: 0.35rem;
    z-index: 10;
}


    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.6);
        cursor: pointer;
        padding: 0;
    }


        .carousel-indicators button.is-active {
            background: rgba(255,255,255,1);
            transform: scale(1.2);
        }


/* Thumbnails (optional) */
.carousel-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}


    .carousel-thumbs img {
        width: 80px;
        height: 48px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        opacity: 0.75;
        transition: opacity 0.2s, transform 0.15s;
        border: 2px solid transparent;
    }


        .carousel-thumbs img:hover {
            opacity: 1;
            transform: translateY(-3px);
        }

        .carousel-thumbs img.is-active {
            opacity: 1;
            border-color: hsl(217, 71%, 53%);
        }


/* Make the carousel adapt to different heights while keeping aspect ratio */
.carousel-inner {
    width: 100%;
    background: #f5f5f5;
}

.is-margin0{
    margin:0 !important;
}
@media (max-width: 768px) {
    .carousel-thumbs img {
        width: 56px;
        height: 34px;
    }
}

.sliderr {
    width: 100%;
}


.title3 {
    color: #00394C;
    text-transform: uppercase;
    font-size: 50px;
    text-align: center;
    /*   font-family: 'HelveticaNeue_Medium'; */
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

.btnprimary {
    color: white;
    transition: 0.3s all;
}

.btnrojo {
    background: #d12239;
    background: linear-gradient(to bottom, #d12239 1%, #d12239 50%, #bf192e 51%, #bf192e 100%);
}

.btnazul {
    background: #00394C;
    background: linear-gradient(to bottom, #00394C 0%, #00394C 50%, #013647 51%, #013647 100%);
}

.btnnaranja {
    background: #eb7730;
    background: linear-gradient(to bottom, #eb7730 0%, #eb7730 50%, #d76d2a 51%, #d76d2a 100%);
}

.btnamarillo {
    background: #ee9f3f;
    background: linear-gradient(to bottom, #ee9f3f 2%, #ee9f3f 50%, #e4973a 51%, #e4973a 100%);
}

.btnprimary:hover {
    transform: scale(1.04);
}

#sectionOpciones {
    text-align: center;
    background: url(../img/fondo-botones.png) no-repeat;
    background-size: 100% 100%;
}

#sectionConsejos {
    text-align: center;
}

#panelOpciones {
    text-align: center;
}

#carouselThumbs {
    display: none;
}

.flex-cuatro {
    display: flex;
    flex-wrap: wrap; /* Permite que se ajusten si la pantalla es pequeña */
    justify-content: space-between;
    gap: 10px; /* Espacio entre columnas */
}

    .flex-cuatro a {
        flex: 1 1 calc(25% - 10px); /* 4 columnas */
        height: 80px; /* Misma altura */
        min-width: 100px;
        font-size: 16px;
        border: none;
        border-radius: 8px;
        background-color: #3273dc; /* Color tipo Bulma */
        color: white;
        cursor: pointer;
    }

.card-content {
    padding: 0px;
}

.flex-cuadro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

    .flex-cuadro .item {
        position: relative;
        flex: 1 1 calc(50% - 12px); /* 2 columnas */
        height: 220px;
        overflow: hidden;
        border-radius: 12px;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

        .flex-cuadro .item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Hace que la imagen llene todo el espacio */
            transition: transform 0.4s ease;
        }

        .flex-cuadro .item:hover img {
            transform: scale(1.05);
        }

    .flex-cuadro .descripcion {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(234, 104, 19, 0.8); /* Fondo semitransparente */
        color: #fff;
        text-align: left;
        padding: 10px;
        font-size: 12px;
        font-weight: 500;
        box-sizing: border-box;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

@media (max-width: 768px) {
    .flex-botones button {
        flex: 1 1 calc(50% - 12px);
    }
}

.app {
    background: url(../img/fondo-phoneapp.png) no-repeat;
    background-color: #E67730;
    border-radius: 10px;
    padding: 5px;
    padding-bottom: 0;
    color: #FFF;
    text-align: center;
    float: right !important;
    width: 100%;
}

.button-app {
    background-color: #00394C;
    color: #FFF;
    padding: 10px;
    border-radius: 5px;
}

.conoce-mas {
    margin: 10px 0;
    font-size: 16px;
}

#sectionDeclaracion {
    text-align: left;
    font-size: 13px;
}

.size13 {
    font-size: 13px !important
}

.bopcion {
    white-space: normal;
    width: 100%;
    height: 80px;
}

.cell {
    /*  width: 200px;
        height: 100px; */
}
 