@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

/* ROOT MOBILE */
:root {
    --color-first: #7dcf0e;
    --color-second: #000000;
    --color-third: #77A649;
    --color-fourth: #5b5b5b;
    --color-base: #F2F2F2;
    --color-text-primary: #3b3b3b;
    --color-text-secondary: #0e0e0e;

    --font-size-xsmall: 0.625rem;
    --font-size-small: 0.813rem;
    --font-size-regular: 1rem;
    --font-size-large: 1.25rem;
    --font-size-xlarge: 1.875rem;
    --font-w-light: 300;
    --font-w-normal: 400;
    --font-w-semibold: 600;
    --font-w-bold: 800;

    --bx-shdw: rgba(0, 0, 0, 0.35) 0px 5px 15px;

    --padd: 15px;
    --header: 65px;
    --footer: 160px;

    --z-index-maximun: 1000;
    --z-index-top: 100;
    --z-index-medium: 10;
    --z-index-below: 1;
}

/* PAGE BASE STYLE */

body {
    background-color: #f0f0f0;
    color: #3b3b3b;
    font-family: "Poppins" !important;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, p, ul {
    margin: 0 !important;
    padding: 0 !important;
}

a {
    text-decoration: none !important;
    color: var(--color-text-primary);
}

li {
    list-style: none;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--color-second) !important;
}

/* .paragraph {
    margin: 1rem 0;
} */

.section {
    padding: 4rem var(--padd) var(--padd) var(--padd);
}

.section_header {
    padding: var(--padd);
}

.section_marcas {
    margin-bottom: 1rem;
}

img {
    width: 250px;
}

.hidde {
    display: none;
}

.button {
    cursor: pointer;
    width: 200px;
    height: 35px;
    border: none;
    border-radius: 5px;
}

main {
    flex: 1;
    margin-top: 65px;
}

.btn-regular {
    background-color: var(--color-second);
    color: var(--color-base) !important;
    height: 50px;
    padding: 1rem;
    font-size: medium;
}

.b-small {
    height: 40px !important;
    padding: 0;
    width: 130px;
}

.btn-main {
    background-color: var(--color-second);
    color: var(--color-base) !important;
    height: 50px;
}

.btn-main:hover {
    color: var(--color-first);
    transform: rotate(360deg);
    box-shadow: var(--bx-shdw);
}

.btn-main-light {
    background-color: var(--color-base);
    border: 2px solid var(--color-second);
    color: var(--color-second) !important;
    height: 50px;
}

.btn-main-light:hover {
    color: var(--color-first);
    transform: rotate(360deg);
    box-shadow: var(--bx-shdw);
}


.btn-link {
    padding: .8rem 2rem;
    font-size: small;
}

.section__head {
    text-align: center;
    margin: 1rem 0;
    display: inline-block;
}

.title {
    color: var(--color-second);
}

.subtitle {
    color: var(--color-text-secondary);
    font-size: small;
}

.image {
    width: 250px;
}

.background_image {
    width: 100%;
}

.container-img {
    position: absolute;
    bottom: 0;
    width: auto;
}

/** HOME */
.presentation {
    background-color: rgba(0, 11, 75, 0.824);
    height: calc(100vh - 60px);
    padding: 60px 1rem;
}

.text_start {
    color: var(--color-base) !important;
    font-size: larger;
}

.presentation__fondo {
    height: 250px;
    /* position: absolute;
    top: 0; */
}

.home {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    /**/
    position: relative;
    z-index: var(--z-index-medium);
}

/**/

/* --- */
.phone__credit {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

/* MARCAS */
.marcas, .puntos-pago {
    background-color: #fff;
    padding: 0 1rem 2rem 1rem;
    text-align: -webkit-center;
    border-radius: 20px;
}

.logo_marcas {
    width: 100px;
}

.marcas__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    justify-content: center;
    align-items: center;
    width: max-content;
}

/* IR A CELULARES */
.container_ir-celulares {
    text-align: center;
    font-size: x-large;
    background-color: var(--color-third);
    padding: 1rem;
    background-image: url('https://static.comunicae.com.mx/photos/notas/130149/shutterstock_567726835.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 1rem;
    font-weight: var(--font-w-semibold);
}

.testimonio__card {
    background-color: #77A649;
    border-radius: 10px;
    height: 303px;
    position: relative;
    width: 300px;
    max-width: 100%;
}

.testimonio__container {
    position: absolute;
    text-align: center;
    background-color: #0e0e0e;
    border-radius: 10px 10px 0 0;
    padding: 1rem;
    bottom: 0;
    color: #fff;
    height: 74%;
}

.testimonio__phrase {
    text-align: left;
}

.testimonios__list_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    overflow: auto;
}

.img_testimonio {
    width: 60px;
    position: absolute;
    top: -45px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
}

/* >>>>> LAYOUT <<<<< */
/* .puntos-pago {

} */
/* >>>>> LAYOUT <<<<< */

/* >>>>> LAYOUT <<<<< */
/* HEADER */
.header {
    background-color: var(--color-base) !important;
    box-shadow: var(--bx-shdw);
    z-index: calc(var(--z-index-maximun) + 10);
    position: fixed;
    width: 100%;
}

.header__container-logo-toggle {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
    align-items: center;
}

.header__links {
    margin-top: 2rem;
}

.header__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.header__links-item {
    font-size: var(--font-size-large);
}

.header__icon-menu {
    /* text-align: right; */
    font-size: x-large;
}

.action-toggle {
    display: none;
}

/* FOOTER */
.footer {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    padding: 10px;
    bottom: 0;
    background-color: var(--color-second);
    height: auto;
    color: var(--color-base) !important;
}

.footer__description {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer__description {
    text-align: center;
}

.footer__logo, .header__logo {
    width: 180px;
}

.footer__docs ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;

    && li a {
        color: var(--color-base);
    }
}

.footer__social_media {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
}

.footer__social_media-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: max-content;
    gap: 1rem;
}

.phone-number-text {
    color: var(--color-base) !important;
}

.link__item:hover {
    color: var(--color-first) !important;
}

.social_media-icon {
    padding: .5rem;
}

.social_media-icon:hover {
    background-color: var(--color-first);
    border-radius: 10px;
}

.copyright {
    font-size: smaller;
    text-align: center;
}

/* >>>>> HOME <<<<< */

/* >>>>> ABOUT US <<<<<  */
.about_us {
    margin-top: 60px;
    background-color: #a9a9a9;
    position: relative;
}

.about_us__wave {
    margin: -1rem;
    z-index: var(--z-index-medium);
}

.about_us__image {
    z-index: var(--z-index-top);
}

/* SOBRE NOSOTROOS*/

.nosotros__home {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.home__wave-figure {
    position: absolute;
    width: 250px;
    max-width: 100%;
    opacity: .5;
}

.home__wave-figure:nth-child(1) {
    top: -10px;
    z-index: 1;
}

.home__wave-figure:nth-child(2) {
    bottom: 0;
    z-index: 2;
}

.home__wave-figure:nth-child(3) {
    z-index: 3;
}

/* >>>>> LAYOUT <<<<< */

.home__wave-figure {
    position: absolute;
    width: 250px;
    max-width: 100%;
    opacity: .5;
}

.home__wave-figure:nth-child(1) {
    top: -10px;
    z-index: 1;
}

.home__wave-figure:nth-child(2) {
    bottom: 0;
    z-index: 2;
}

.home__wave-figure:nth-child(3) {
    z-index: 3;
}

.initial__title {
    z-index: var(--z-index-medium);
    position: relative;
    font-size: x-large;
    font-weight: var(--font-w-semibold);
}

.homw__imagen__fondo_portada {
    position: absolute;
    height: 100vh;
    top: 0;
    width: 100%;
}

.home__initial__image, .nosotros__initial__image {
    width: 250px;
    max-width: 100%;
    z-index: var(--z-index-medium);
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5
}

.nosotros__initial__image {
    width: 350px;
}

.home__section {
    display: grid;
    padding: 85px 1rem 1rem 1rem;
}

.mision, .vision {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.mision__image-container, .vision__image-container, .phone__credit-image_container {
    position: relative;
    height: auto;
    justify-content: center;
    display: grid;
}

.mision__image-image, .vision__image-image, .phone__credit-image {
    width: 350px;
    max-width: 100%;
    border-radius: 10%;
}

.leader__image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.leader__container {
    text-align: center;
}

.leader__container img {
    width: 100px;
    height: 100px;
}

/* >>>>> LAYOUT <<<<< */

/* >>>>> CELULARES <<<<< */
.container__celulares {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.card__content-celular {
    box-shadow: var(--bx-shdw);
    padding: var(--padd);
    border-radius: 10px;
}

.img_pos {
    text-align: center;
}

.card__celular {
    width: 200px;
    height: 250px;
    object-fit: contain;
}

.card__precio {
    display: block;
    background-color: var(--color-first);
    padding: .5rem;
    text-align: center;
    color: var(--color-text-secondary);
    font-weight: 500;
    border-radius: 10px;
    width: 100%;
}

/* >>>>> CELULARES <<<<< */

/* >>>>> SUCURSALES <<<<< */
.card-body {
    background-color: var(--color-third);
    padding: 0 !important;
}

.map__content {
    display: grid;
    grid-template-columns: 1fr;
}

.btn_ubicaciones {
    position: absolute;
    z-index: calc(var(--z-index-maximun) + 1);
    bottom: 1rem;
}


.locations__container {
    position: absolute;
    z-index: calc(var(--z-index-maximun) + 1);
    bottom: 3.5rem;
    border-radius: 5px;
    overflow: auto;
    height: 300px;
}

.locations__list {
    display: grid;
    gap: 0.5rem;
}

.location__item {
    border-bottom: 1px solid var(--color-base);
    width: 100%;
}

.location__description {
    padding: 1rem;
}

.hidde {
    display: none;
}

#map {
    height: 80vh;
}

#container {
    height: 100%;
    display: flex;
}

#sidebar {
    flex-basis: 15rem;
    flex-grow: 1;
    padding: 1rem;
    max-width: 30rem;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
}

#sidebar {
    flex: 0 1 auto;
    padding: 0;
}

#sidebar>div {
    padding: 0.5rem;
}

/* >>>>> SUCURSALES <<<<< */

/* >>>>> 404 <<<<< */
.c404-contenido {
    /* background-color: #b3b3b3; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: var(--padd);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.c404-title {
    color: var(--color-third);
    font-weight: 800;
    font-size: 3rem;
}

.p404__container_buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.p404__container_buttons > a {
    height: auto;
    align-content: center;
}

/* >>>>> 404 <<<<< */

/*  MEDIA QUERIES */
@media screen and (min-width: 448px) {
    .container-img {
        right: 0;
        max-width: 100%;
        width: 500px;
    }

    .container__celulares {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 576px) {
    .text_start {
        font-size: xx-large;
    }

    .container__celulares {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel__container-datos_persona {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel__container-datos_persona div:nth-child(2) {
        text-align: right;
    }
}

@media screen and (min-width: 980px) {
    :root {
        --font-size-xsmall: 0.625rem;
        --font-size-small: 0.813rem;
        --font-size-regular: 1rem;
        --font-size-large: 1.25rem;
        --font-size-xlarge: 1.875rem;
        --font-w-light: 300;
        --font-w-normal: 400;
        --font-w-semibold: 600;
        --font-w-bold: 800;
    }

    .container-img {
        right: 0;
        min-height: 60%;
    }

    .header__icon-menu {
        display: none;
    }

    .action-toggle {
        display: block;
    }

    .action-toggle {
        margin: 0;
    }

    .header__list {
        grid-template-columns: repeat(5, max-content);
        width: max-content;
        gap: 3rem;
    }

    /* >>>>> LAYOUT <<<<< */
    .initial__title {
        font-size: x-large;
        /* margin-top: -140%; */
    }

    .home__section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
    }

    .home__initial__image {
        width: 300px;
        right: 30%;
    }

    .nosotros__initial__image {
        width: 500px;
        right: 20%;
    }

    .mision, .vision {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-img {
        right: 0;
        min-height: 60%;
    }

    .header__icon-menu {
        display: none;
    }

    .action-toggle {
        display: block;
    }

    .action-toggle {
        margin: 0;
    }

    .header__list {
        grid-template-columns: repeat(5, max-content);
        width: max-content;
        gap: 3rem;
    }

    /* >>>>> LAYOUT <<<<< */
    .marcas__list {
        grid-template-columns: repeat(4, 1fr);
    }

    .phone__credit {
        grid-template-columns: repeat(2, 1fr);
    }

    .container__celulares {
        grid-template-columns: repeat(3, 1fr);
    }

    /* >>>>> SUCURSALES <<<<< */
    .map__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .btn_ubicaciones {
        top: -100px;
    }

    .locations__container {
        position: static;
        bottom: 0;
        display: block;
        height: 80vh;
    }

    /* >>>>> SUCURSALES <<<<< */
}

@media screen and (min-width: 992px) {
    .nosotros__home {
        max-height: 1200px;
    }

    .section, .section_header {
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__own_contact {
        margin: 1rem 0;
    }

    .container__celulares {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1200px) {
    .section, .section_header {
        margin-left: auto;
        margin-right: auto;
    }

    .marcas__list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (min-width: 2400px) {
    .nosotros__home {
        max-height: 1200px;
    }

    .home__wave-figure:nth-child(1) {
        top: -10px;
        left: 30%;
        z-index: 1;
    }

    .home__wave-figure:nth-child(2) {
        bottom: 0;
        left: 30%;
        z-index: 2;
    }

    .home__wave-figure:nth-child(3) {
        z-index: 3;
        left: 30%;
    }

    .home__initial__image {
        width: 400px;
    }

    .nosotros__initial__image {
        width: 800px;
    }
}

.main {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.main__information {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    justify-content: center;
    justify-items: center;
}

.main__title {
    text-align: center;
    max-width: 370px;
    min-width: 350px;
    line-height: 3rem;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-x-lg);
}

.main__text {
    text-align: center;
    max-width: 300px;
    line-height: 1rem;
    font-size: var(--font-size-sm);
}

.main__actions {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 1rem;
    justify-content: space-evenly;
}

.main__image {
    min-width: 250px;
    justify-self: center;
}

@media screen and (min-width: 768px) {
    .main {
        grid-template-columns: repeat(2, 1fr);
        align-content: center;
        height: auto;
    }

    .main__information {
        grid-template-columns: repeat(1, max-content);
        grid-template-rows: repeat(3, max-content);
        align-content: center;
        justify-items: left;
    }

    .main__title {
        font-size: var(--font-size-xx-lg);
        line-height: 3rem;
        max-width: 400px;
        font-weight: 700;
        text-align: left;
    }

    .main__text {
        text-align: left;
        max-width: 435px;
    }

    .main__actions {
        gap: 3rem;
    }

    .main__image {
        width: 100%;
        height: 100%;
        justify-self: center;
    }
}

@media screen and (min-width: 1024px) {
    .main__title {
        font-size: 4rem;
        line-height: 4rem;
        max-width: 560px;
        font-weight: 700;
        text-align: left;
    }

    .main__text {
        text-align: left;
        max-width: 435px;
        line-height: 1.5rem;
    }
}

@media screen and (min-width: 1280px) {
    .main {
        max-width: var(--container-width-xl);
        margin-left: auto;
        margin-right: auto;
    }
}


/* form login */
.login__container {
    display: grid;
    grid-template-columns: repeat(1, max-content);
    grid-template-rows: repeat(2, max-content);
    gap: 2rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.form {
    background-color: #fff;
    border-radius: 15px;
    padding: 1rem;
    max-width: 350px;
    width: 350px;
}

.login__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
}

.form__fields {
    display: grid;
    grid-template-columns: max-content;
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
}

.id_dispositivo__container {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    justify-items: center;
}
/* Panel cliente */
.header-img {
    text-align: center;
}

.panel__container {
    margin-top: 1rem;
}

.panel__check {
    text-align: center;
    position: absolute;
    margin: auto;
    top: 7rem;
    right: 0;
    left: 0;
    width: fit-content;
}

.panel__check-icon {
    font-size: 100px;
}

.panel__container_liquidado {
    border: 1px solid #a2d9a2;
    border-radius: 10px;
    padding: 1rem 2rem;
    background-color: #e0ffe0 !important;
    font-weight: var(--font-w-bold);
    font-weight: var(--font-w);
    margin-top: 1rem;
}

.panel__container_liquidado-titulo {
    color: #2e7d32;
    font-size: 24px;
}

.panel__container_liquidado-texto {
    color: #555;
}

.panel__alerta_vencido {
    background-color: #e6b8b8;
    padding: 1rem 0;
    text-align: center;
}

.panel__alerta_vence-hoy {
    background-color: #fce7ca;
    padding: 1rem 0;
    text-align: center;
}

.panel__alerta_vencido-text {
    color: #df3838;
    font-weight: var(--font-w-semibold);
}

.panel__alerta_vence-hoy-text {
    color: #fca922;
    font-weight: var(--font-w-semibold);
}

.panel__subtitle {
    display: block;
    color: var(--color-base);
    background-color: var(--color-second);
    width: 100%;
    padding: .5rem 1rem .5rem 5px;
}

.panel__alerta_vencido {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffb4b4;
}

.panel__alerta_vencido-text {
    color: #d83f3f;
    font-weight: 600;
}

.reference__monto {
    font-size: var(--font-size-xlarge);
    font-weight: var(--font-w-semibold);
    text-align: center;
}

.logos__container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1rem;
    justify-content: center;
}

.logos__container :nth-child(2),
.logos__container :nth-child(3),
.logos__container :nth-child(4),
.logos__container :nth-child(5),
.logos__container :nth-child(6),
.logos__container :nth-child(7),
.logos__container :nth-child(9) {
    width: 100px;
}

.logos__container :nth-child(8) {
    width: 40px;
}

.logos__container :last-child {
    width: 115px;
}

.logos-cadenas {
    width: 70px;
    object-fit: contain;
}

.reference_num {
    font-size: var(--font-size-large);
}

.menu__icon {
    font-size: xx-large;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem;
    align-content: center;
}

.dropdown-menu {
    text-align: center;
    max-width: max-content;
}

.dropdown-toggle::after {
    content: " " !important;
    border-top: none !important;
}

header>div {
    position: relative;
    padding: 0 !important;
}

.division {
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    text-align: center;
}

.corrida__tabla {
    text-align: center;
    width: 100%;
    height: 400px;
    overflow-y: auto;
    position: relative;
}

.Corrida__encabezado {
    background-color: var(--color-first);
    display: grid;
    grid-template-columns: .5fr 1fr 1fr;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
}

.corrida__encabezado-title {
    color: var(--color-base);
    font-size: var(--font-size-large);
    padding: 10px;
}

.corrida__fila {
    display: grid;
    grid-template-columns: .5fr 1fr 1fr;
    gap: 1rem;
    justify-content: center;
    padding: .4rem 0;
}

.corrida__fila:hover {
    background-color: #bfbfbf !important;
}

.corrida__fila:nth-child(odd) {
    background-color: var(--color-base);
}

.corrida__fila:nth-child(even) {
    background-color: #d6d6d6;
}