* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    box-sizing: border-box;
}

nav {
    background-color: var(--color950);
    color: var(--cwhite);

}

body {
    background-color: var(--cwhite);
    width: 100%;
    height: fit-content;
}


footer {
    background-color: var(--color950);
    padding: 0.5em;
    margin: 0;
}

h1 {
    color: var(--color950);
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
}

h2 {
    color: var(--color950);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
}

h3 {
    color: var(--color950);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
}

h4 {
    color: var(--color950);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
}

h5 {
    color: var(--color950);
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
}

p {
    color: var(--color950);
    font-size: 1.2rem;
    text-align: center;
    padding: 0.5em;
}

footer {
    width: 100%;
    margin: 0;
}



.presentacion {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--color200);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
    overflow: hidden;

    background-image: url(../assets/img/fondo_principal.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.presentacion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.658);
    /* Ajusta el nivel de oscurecimiento aquí */
    z-index: 1;
}

.presentacion>div {
    z-index: 2;
    /* Asegura que el contenido esté sobre el oscurecimiento */
    color: white;
    /* Ajusta el color del texto según sea necesario */
    text-align: left;
    /* Ajusta la alineación del texto según sea necesario */
    padding: 20px;
    /* Ajusta el espaciado interno según sea necesario */
}

.presentacion * {
    color: var(--color50);
    /* Color de texto blanco para todos los elementos hijos de .presentacion */
}

.btn-g {
    padding: 2rem;
    margin: 0 0.3em;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.enlaces-principales {
    color: var(--color50);
    padding: 0.8em;
    margin: 0 0.3em;
    width: 100%;
    text-decoration: none;
    align-items: center;
    align-self: center;
}

.enlaces-principales:hover {
    color: var(--color950);
    background-color: var(--color50);
}

.cont-img {
    width: 100%;
    margin: 0 auto;
    padding: 1em;
    background-color: var(--color50);
}

img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: contain;
}

.contenedor {
    display: flex;
    margin: 1em 0;
    padding: 0.5em 0;
}

.cont-box {
    /*
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    */
    padding: 1.5em;
    margin: 0 auto;
}

.box-response {
    width: 100%;
    display: grid;
    gap: 3em 2.5em;
    justify-items: center;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: minmax(auto, max-content);
    padding: 1.5em 0;
}

.caracteristica {
    width: 100%;
    height: 100% !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 5px;
    /*border: solid 1px black;*/
    border-radius: 7%;
    /*transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;*/
    position: relative;
    box-sizing: border-box;
}
/*
.caracteristica:hover {
    outline: 2px solid #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}
*/
/* Estilo para el botón con la clase .no-btn (propiedades anuladas) */
.no-btn {
    width: auto;
    border: none;
    /* Elimina el borde */
    border-radius: 0;
    /* Elimina el redondeo de las esquinas */
    box-shadow: none;
    /* Elimina la sombra */
    background-color: var(--cblack);
    /* Restablece el color de fondo predeterminado */
    color: var(--cblack);
    /* Restablece el color de texto predeterminado */
    transition: none;
    /* Elimina la transición */
    padding: initial;
    /* Restablece el relleno predeterminado */
}

/* Estilo para el botón con la clase .no-btn en el estado :hover (anulación del estado :hover) */
.no-btn:hover {
    background-color: var(--cgray);
    /* Restablece el color de fondo en el estado :hover */
    box-shadow: none;
    /* Elimina la sombra en el estado :hover */
    color: var(--cblack);
    /* Restablece el color de texto en el estado :hover */
}

/*PREGUNTAS FRECUENTES*/
.accordion-item {
    font-size: 1.2em;
    font-weight: large;
    text-align: center;
    background-color: var(--color50);
    border: none;
}

.accordion-button {
    background-color: var(--color300);
    font-size: 0.5em;
    font-weight: bold;
    color: var(--color950);
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
    border: none;
}

.qa {
    padding: 0.5em;
    margin: 0.3em;
    font-size: 1.2em;
    font-weight: large;
    text-align: center;
    border-radius: 10%;
}

/*==================================*/


/*PLANES*/
:root {
    --color-green: #001fa8;
    --color-red: #4173fe;
    --color-button: #fdffff;
    --color-black: #000;
}

.switch-button {
    display: inline-block;
}

.switch-button .switch-button__checkbox {
    display: none;
}

.switch-button .switch-button__label {
    background-color: var(--color300);
    width: 5rem;
    height: 3rem;
    border-radius: 3rem;
    display: inline-block;
    position: relative;
}

.switch-button .switch-button__label:before {
    transition: .2s;
    display: block;
    position: absolute;
    width: 3rem;
    height: 3rem;
    background-color: var(--cwhite);
    content: '';
    border-radius: 50%;
    box-shadow: inset 0px 0px 0px 1px var(--cblack);
}

.switch-button .switch-button__checkbox:checked+.switch-button__label {
    background-color: var(--color800);
}

.switch-button .switch-button__checkbox:checked+.switch-button__label:before {
    transform: translateX(2rem);
}

.etiqueta-no {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: 100%;
}


/*PLANES*/
.planes {
    width: 100%;
    display: grid;
    gap: 1.5em;
    justify-items: center;
    align-items: center;
    grid-template-columns:
        repeat(auto-fit,
            minmax(250px, 1fr));
    grid-template-rows: auto;
}

.box {
    border-radius: 5%;
    border-style: solid;
    border-color: var(--cblack);
    width: auto;
    padding: 0.5em;
    background-color: var(--color100);
}

.box:hover {
    cursor: pointer;
}

.box-scolor {
    border-radius: 3%;
    border-style: solid;
    border-color: var(--color900);
    width: auto;
    padding: 0.5em;
}

.box-title {
    font-size: 40px;
    font-weight: bold;
}

.box-body {
    width: 100%;
    margin: 0.5em 0;
    display: flex;
    justify-items: center;
    flex-direction: column;
    padding: 0 0.5em;
}

.box-body-desc {
    font-size: medium;
    margin: 0;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;

}

.box-body-precio {
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    padding: 0.5em 0;
}

/*-------------------*/

/*TABLA*/
table {
    width: 100%;
    font-size: large;
}

th,
td {
    border-bottom: 1px solid var(--color600);
}

th {
    background-color: var(--color800);
    color: var(--cwhite);
}

td {
    padding: 0.3em 0;
}

tbody {
    text-align: center;
}

/*
tr:hover {
    background-color: var(--color600);
    color:var(--cwhite);
}
*/

.letter-sm {
    font-size: 12px !important;
}

/*=================================*/

@media screen and (max-width: 950px) and (orientation: landscape) {
    .contenedor {
        display: block;
    }
}

.box-separador {
    width: 100%;
    margin: 3em 0;
    display: flex;
    justify-content: center;
    padding: 1em 0.5em;
}

hr {
    border: 1px solid var(--color1000);
    width: 100%;
    max-width: 5em;
    margin: 1em 0;
    border-radius: 1%;
}

button {
    border-radius: 5%;
    border-style: solid;
    border-color: var(--cwhite);
    background-color: var(--color600);
    color: var(--cwhite);
    padding: 0.5em;
    width: 100%;
    max-width: 8em;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.btn-green {
    background-color: var(--cgreen);
    color: var(--cgreenshadow);
    border-color: var(--cgreenshadow);

}

.btn-green:hover {
    background-color: var(--cgreenshadow);
    color: var(--cgreen);
    border-color: var(--cgreen);
}

.btn-blue {
    background-color: var(--cblue);
    color: var(--cblueshadow);
    border-color: var(--cblueshadow);
}

.btn-blue:hover {
    background-color: var(--cblueshadow);
    color: var(--cblue);
    border-color: var(--cblue);
}

.btn-500{
    background-color: var(--color500);
    color: var(--cwhite);
    border-color: var(--color50);
}

.btn-500:hover{
    background-color: var(--color50);
    color: var(--color500);
    border-color: var(--color500);
}


.img-100{
    
    max-height: 100%;
    max-width: 100%;
}

.body-ventaja{
    display: flex;
    align-items: center;
    gap: 2em;
    margin: 1em;
}

.reverse{
    flex-direction: row-reverse;
}


.flexible{
    display: flex;
}

@media screen and (max-width: 950px) and (orientation: portrait) {
    .body-ventaja{
        display: block;
    }
    td{
        font-size: 13px;
    }
    .box-response{
        display: block;
    }

    .navbar-toggler{
        background-color: var(--color100);
        border-color: var(--color100);
    }

    .flexible{
        width: 100%;
        display: block;
        margin: 0;
    }
}

.force-w100{
    max-width: 100% !important;
}

/*ANIMACIONES*/

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animación de entrada desde la derecha */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Aplicar animaciones a los divs con las clases correspondientes */
.slide-left {
    animation-name: slideInLeft;
}

.slide-right {
    animation-name: slideInRight;
}

/*===============================*/

/* Estilos para el select */
.custom-select {
    width: 70px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    border: 2px solid var(--color950);
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    appearance: none; /* Eliminar apariencia por defecto */
    -webkit-appearance: none; /* Safari y Chrome */
    -moz-appearance: none; /* Firefox */
    cursor: pointer;
}

/* Estilo al pasar el ratón */
.custom-select:hover {
    border-color: var(--color500);
}

/* Estilo al enfocarse (focus) */
.custom-select:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}