@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Oswald', sans-serif;
    /* user-select: none; */
}

:root {
    --bg-color: #dfdfdf;
    --text-color: #333;
    --main-color: #0c3ba0d0;
    --main-color: #ff4d35;
    --main-color-hover: #ff4d35c0;
    --white-color: #f6f6f6;
    --bg-color2: #8989894f;
    --shadow-color: rgba(0, 0, 0, 0.41);
    --shadow-color-white: rgba(200, 200, 200, 0.41);
    --color-logo2: #ff4d35;
    --color-logo1: #ffe628d0;
    --color-logo3: #2e70ffd0;
    --color-logo4: #6eff4ad0;
    --color-fondo: #1b1924;
    --color-rojo: #c21a1a;
    --color-verde: #13a736;
    --color-dark: #006eff;
    --background-azul: #0e0c3b;
    --negro: #000000;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: auto;
    overflow-x: hidden;
}

header {
    max-width: 100vw;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    padding: 2rem 7%;
    display: flex;
    background: transparent;
    box-shadow: 0 0.1rem 1rem var(--shadow-color);
    align-items: center;
    z-index: 100;
    transition: 0.5s;
}

.header.sticky {
    background: var(--color-fondo);
    box-shadow: 0 0.1rem 1rem var(--shadow-color);
    height: 7rem;
    transition: 300ms all;
}

.header__tyc {
    background: var(--color-fondo);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    margin-right: auto;
}

.logo::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    animation: showRight 1s ease forwards;
    animation-delay: 0.4s;
}

.navbar .nav_items {
    display: flex;
    height: 4rem;
    list-style: none;
    position: relative;
}


.header.sticky .navbar .nav_items {
    color: var(--text-color);
    height: 3rem;
}

.navbar .nav_items.active::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 0.2rem;
    background: var(--white-color);
}

.header.sticky .navbar .nav_items::before {
    /* background: var(--main-color); */
    opacity: 0.7;
}

nav {
    display: flex;
}

.nav__logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.nav__logo a {
    display: flex;
    align-items: center;
}

.header.sticky .nav__logo {
    visibility: visible;
}

.nav__title {
    font-weight: 600;
    color: var(--main-color);
    font-size: 2.8rem;
    padding: 0;
    margin: 0;
}

.nav__subt {
    font-size: 1.2rem;
    color: var(--white-color);
    margin: 0;
    padding: 0;
}

.nav__imgl {
    width: 10%;
}

.navbar {
    margin-left: auto;
}


#menu-icon {
    font-size: 3.6rem;
    color: var(--white-color);
    display: none;
}


/*  Sub Menu */
.nav_items .nav_item {
    list-style: none;
    position: relative;
    text-decoration: none;
    font-size: 1.6rem;
    align-items: center;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    ;
    --transform: rotate(-90deg);
}

.nav_item:hover {
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);

}

.nav_item .nav_link {
    width: max-content;
    position: relative;
    font-size: 1.6rem;
    font-weight: 500;
    margin-right: 3rem;
    color: var(--white-color);
    font-weight: 550;
    text-decoration: none;
    padding-right: 1rem;
    display: flex;
    height: 100%;
    align-items: center;
    text-transform: uppercase;
    opacity: 0.8;
    transition: all .3s ease;
}

.nav_item .nav_link:hover {
    opacity: 1;
}

.list-nav {
    padding-top: 2rem;
    list-style: none;
    transition: clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: max-content;
    padding: 2rem 2rem;
    transform: translateY(100%);
    background: var(--negro);

}

.sub_nav_list {
    display: flex;
    align-items: center;
    padding: 1rem;
    opacity: .8;
    font-size: 0;
    margin: 0;
}

.sub_nav_list img {
    width: 3rem;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}

.sub_nav_list .link {
    padding-left: 1rem;
    font-size: 1.8rem;
    color: var(--white-color);
    text-decoration: none;
    display: block;
    opacity: 0.8;
}

.sub_nav_list a {
    padding-right: 0 !important;
    margin-right: 0 !important;
}


.sub_nav_list:hover {
    opacity: 1;
}

/*ICON WHATSAPP */

#btn-wsp {
    font-size: 3.2rem;
    color: var(--white-color);
    margin-left: 0.5rem;
    margin-right: 5rem;
}

.header.sticky #btn-wsp {
    color: var(--main-color);
    opacity: 0.9;
}

/* termina Icon Wsp */
section {
    min-width: 100vw;
    min-height: 100vh;
    padding: 10rem 7% 2rem;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.home {
    position: relative;
    min-width: 100vw;
    min-height: 100vh;
    margin: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    color: var(--white-color);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.miVideo {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: -10;
    background-color: black;
}

.video-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    background: #00000062;
}


.title_pricipal {
    width: max-content;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 6rem;
}

.title_pricipal img {
    width: 10rem;
}

.title_pricipal h1 {
    font-size: 6rem;
    margin: 1rem;
    color: var(--color-logo2);
    text-shadow: 1px 2px 2px rgb(0, 0, 0);
}

.sub-title-home {
    font-size: 3rem;
    padding: 2rem 0;
}

.p-home {
    font-size: 2.5rem;
    padding: 2rem 0;
}

.text-multiple {
    font-size: 3rem;
    padding-top: 10rem;
}

.text-multiple span {
    color: var(--color-logo2);
}


.imagen_inicio {
    position: relative;
}

.imagen_inicio img {
    width: 30rem;
}

.iconos_rastreo {
    display: flex;
    gap: 2rem;
    margin: 1rem;
}

.iconos_rastreo i {
    font-size: 3.5rem;
    color: var(--color-dark);
}

/*  CARD SERVICIOS BANNER PRINCIPAL*/

.servicios {
    margin: auto;
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image:
        linear-gradient(180deg, #ffffffa7 0%, #ffffffd3 100%),
        url(../assets/fondo__services.svg);
    background-size: auto;
    background-attachment: fixed;
    /* ← Esto es lo que hace el efecto parallax */
    background-position: center;
    background-repeat: no-repeat;
    margin: auto;
}


.container__card__servicios {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.box__card__servicios {
    width: 80%;
    position: relative;
    display: grid;
    grid-auto-rows: 22rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    grid-auto-flow: dense;
    gap: 8rem;
    align-items: center;
    justify-items: auto;
    align-content: center;
}

.card__servicios {
    display: flex;
    width: 100%;
    height: 14rem;
    border-radius: .8rem;
    cursor: pointer;
    box-shadow: .2rem .2rem 1rem var(--text-color);
    border: .2rem solid var(--text-color);
    transition: .5s ease;
    overflow: hidden;
}

.card__servicios:hover {
    transform: translateY(-1rem);
}

.card__servicios:hover img {
    transform: scale(1.1);
    transition: all 300ms;
}

.sub__card__servicios {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.servicios__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
}

.servicios__text h1 {
    width: 100%;
    font-size: 2.5rem;
    color: var(--main-color);
    padding: 2rem;
    border-bottom: .2rem solid var(--main-color);
}

.servicios__text h4 {
    font-size: 1.8rem;
    color: var(--main-color);
    padding: .2rem;
}

.servicios__text p {
    font-size: 1.2rem;
    color: var(--text-color);
}

.servicios__img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: .5s ease;
    margin: 1rem;
}

.servicios__img img {
    width: 100%;
    border-radius: .8rem;
    object-fit: cover;
    margin: 1rem;

}

/*CARD CON EFECTO MORFISMO*/


.container_card_principal {
    display: flex;
    position: relative;
    background-size: 100%;
    width: 100%;
    height: max-content;
}


.container__cards {
    width: 80%;
    margin: auto;
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
    position: relative;
    align-items: center;
    z-index: 3;
    position: relative;
    left: 0;
    margin-bottom: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-width: 28rem;
    height: 42rem;
    padding: 2rem;
    border-radius: 6px;
    align-items: center;
    justify-items: center;
    box-shadow: 5px 5px 10px var(--shadow-color);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 300ms;
}

.card:hover {
    transform: translateY(-10px);
}

.card:hover .cover__card img {
    transform: scale(1.1);
}

.cover__card {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.cover__card img {
    width: 100%;
    object-fit: fill;
    transition: all 300ms;
}

.card h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--main-color);
    text-transform: uppercase;
}

.card p {
    height: 14rem;
    font-family: sans-serif;
    margin-top: 10px;
    font-size: 1.6rem;
    color: var(--text-color);
    padding: 2rem 0;
    text-align: justify;
}

.card hr {
    margin-top: 30px;
    border: none;
    height: 0.2px;
    background: #41414138;
}



/* termina card servicios principales banner*/

.arrow_inicio {
    display: flex;
    margin-top: 6%;
    animation: move-vector 2s linear infinite;
}

.arrow_inicio img {
    width: 4rem;
}

.cta {
    display: inline-block;
    background-color: var(--main-color);
    justify-self: center;
    color: var(--white-color);
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    transition: all 300ms;
    margin: 2%;
}

.cta:hover {
    transform: scale(1.1);
    transition: all 300ms;
}

/*Servicios*/

/* boton wsp */


.bton__contacto {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.bton__contacto .btn__wsp a {
    margin: 1rem;
    padding: 1rem;
    color: var(--white-color);
    border-radius: 12px;
    transition: all .1s ease;
    background: var(--main-color);
    display: flex;
    align-items: center;
}

.btn__wsp {
    display: flex;
    align-items: center;
}

.btn__wsp i {
    color: var(--white-color);
    font-size: 3rem;
    padding: 1rem;
    border-radius: 50%;
}

.btn__wsp h2 {
    color: var(--white-color);
}

.titulo1 {
    position: relative;
    color: var(--main-color);
    font-size: 3rem;
    padding: 4rem;
    width: 100%;
    z-index: 3;
    text-align: center;
    justify-content: center;
    margin: auto;
}

.servicios-content {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    text-align: center;
}

.servicios-content p {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 2.6rem;
    padding: 4rem;
    z-index: 5;
}

.servicios-content h2 {
    padding-bottom: 6rem;
}

.textcolor {
    color: var(--text-color);
}

.footer__card {
    margin-top: 10px;
    display: flex;
    color: var(--text-color);
    justify-content: space-between;
}

heading-funciones .footer__card h3 {
    font-size: 15px;
    font-weight: 500;
}

/*TERMINA CARD*/

.container__padre {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image:
        linear-gradient(180deg, #e2e2e27b 0%, #ffffff83 100%),
        url(../assets/bg-map.svg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: auto;
}

.container__hijo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.container__hijo .heading {
    color: var(--main-color);
}

.container__servicio {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}

.contenido__servicio {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contenido__servicio h2 {
    font-size: 2.5rem;
    color: var(--color-fondo);
}

.contenido__servicio p {
    font-size: 1.8rem;
    color: var(--text-color);
    text-align: justify;
}

.contenido__servicio li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.6rem;
}

.contenido__servicio i {
    color: var(--main-color);
    font-size: 2rem;
    margin-right: 0.5rem;
}

.img__servicio {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.img__servicio img {
    width: 90%;
    min-width: 55rem;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

/*desarrollo a medida*/



.desarrollo-medida {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;

}

.desarrollo-medida::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background-image:
        linear-gradient(180deg, #ffffffa7 0%, #ffffffd3 100%),
        url(../assets/fondo__services.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(2px);
    z-index: -11;
}

.video__fondo,
.video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video__fondo {
    z-index: -10;
}

.video__overlay {

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    background: #000000a8;
    z-index: -10;
}


.encabezado_dm {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 85%;
}

.encabezado_dm p {
    font-size: 2rem;
    text-align: center;
}

/* Tarjetas tipos de paginas */

#beneficios {
    padding-top: 5rem;
}

.container__card_pag {
    width: 86vw;
    margin: auto;
    perspective: 1000px;
    display: grid;
    grid-auto-rows: 30rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 36rem), 1fr));
    grid-auto-flow: dense;
    gap: 4rem;
    justify-content: center;
}

.card__father {
    margin: 5px;
    perspective: 1000px;
}

.card__father:hover .card-pag {
    transform: rotateY(180deg);
}


.card-pag {
    width: 100%;
    min-height: 30rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;
}

.card__front {
    background-size: 50%;
    background-position: center;
    background-color: #bebebe5a;
    background-repeat: no-repeat;
}


.card__front,
.card__back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;

    border-radius: 6px;
    box-shadow: 1px 1px 20px -5px var(--shadow-color);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card__back {
    transform: rotateY(180deg);
    margin: auto;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background: var(--white-color);
    transition: all 300ms;
    box-shadow: 1px 1px 30px -5px var(--main-color2);
    background-image: linear-gradient(180deg, #c4c4c448 0%, #c4c4c456 100%), url(../assets/bg-map.svg);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(5px);
}

.body__card_front {
    width: 100%;
    height: 100%;
    font-size: 2.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateZ(60px);
}

.body__card_front h1 {
    font-size: 2.4rem;
    padding: .4rem;
    border-radius: 6px;
    padding-bottom: 18rem;
    color: var(--main-color);
}

.body__card_back {
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    transform: translateZ(60px);
}

.body__card_back p {
    margin: 1rem;
    font-size: 1.8rem;
    color: var(--text-color);
    position: relative;
    text-align: justify;
}

.body__card_front input {
    padding: 4px 30px;
    font-size: 1.8rem;
    cursor: pointer;
    border: none;
    color: var(--text-color);
    background: var(--bg-color);
    box-shadow: 1px 1px 15px -5px var(--shadow-color);
    border-radius: 6px;
    transition: box-shadow 600ms;
}

.body__card_front input:hover {
    box-shadow: 1px 1px 30px 0px #449de6;
}


/*btn box cards*/


.btn-box {
    margin: auto;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 155px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 6px;
}

.btn-box a {
    display: flex;
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 155px;
    height: 100%;
    background: var(--main-color);
    box-shadow: 0 0.2rem 0.5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    border-radius: 6px;
}

.btn-box a {
    background: transparent;
    color: var(--main-color);
}

.btn-box a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: 0.5s;
}

.btn-box a:hover:before {
    width: 100%;
}

.btn-box a:hover {
    color: var(--bg-color);
}

/*Termina Beneficios*/



/*Nosotros*/

.nosotros {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.nosotros_title {
    color: var(--text-color);
    font-size: 3.5rem;
    padding: 2%;
}

.title__nosotros {
    color: var(--text-color);
    font-size: 2.5rem;
}

.nosotros p {
    text-align: justify;
    padding: 2%;
    width: 100%;
    font-size: 2rem;
}

.nosotros span {
    font-weight: 600;
    color: var(--main-color);
}

.container__mascota {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
}

.container__mascota .title__mascota {
    font-size: 3rem;
    color: var(--main-color);
    font-weight: 600;
}

.container__mascota .box__mascota {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 50rem), 1fr));
    position: relative;
    align-items: center;
    margin-left: auto;
    justify-content: center;
    align-content: center;


}

.box__mascota p {
    text-align: justify;
    font-size: 2rem;
    padding: 2rem 0;
}

.imagen__mascota {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.box__mascota img {
    width: 35rem;
}

.imagen__mascota .btn-ver {
    background-color: var(--main-color);
    color: var(--white-color);
    border-radius: 20%;
    padding: 1rem 2rem;
    font-size: 2rem;
}

/* About */

.about {
    align-items: center;
}

.imgban {
    width: 50%;
}

.subtitle {
    color: var(--main-color);
    font-size: 4rem;
    margin-bottom: 25px;
    margin-top: 3%;
}

.subtitle-blanco {
    color: var(--white-color);
    font-size: 4rem;
}




.funciones .title {
    margin: 4%;
    padding: 3%;
    font-size: 4rem;
    color: var(--main-color);
}

section .container h1 {
    background-color: var(--main-color);
}

.about__paragraph {
    line-height: 1.7;
}


.container__img__funcion {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    width: 80%;
}

.container__box__img__car {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.box__img__caracteristicas {
    display: flex;
    align-items: center;
}

.box__img__caracteristicas img {
    width: 100%;
}

/* TARJETAS DE SERVICIOS GPS*/

/*testimonial-container*/

.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    padding: 2rem;
}

.testimonial-container .testimonial-wrapper {
    position: relative;
    justify-content: center;
    display: flex;
    max-width: 60rem;
    width: 100%;
    padding: 5rem;
}

.testimonial-wrapper .testimonial-box {
    width: 100%;
    padding: 1rem;
    overflow: hidden;
}

.testimonial-content {
    display: flex;
    position: relative;
}

.testimonial-content .testimonial-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    padding: 2rem;
    box-shadow: 0 0.1rem 0.5rem var(--shadow-color);
    border-top: 0.8rem solid var(--main-color);
    border-bottom: 0.8rem solid var(--main-color);
    border-left: 0.8rem solid var(--main-color);
    border-right: 0.8rem solid var(--main-color);
}

.testimonial-slide img {
    width: 25rem;
    height: 25em;
    object-fit: cover;
    border: 0.5rem solid var(--bg-color);
}

.testimonial-slide h3 {
    font-size: 2.5rem;
    margin: 2rem 0;
}

.testimonial-slide p {
    font-size: 1.4rem;
    text-align: center;
}

.testimonial-box .swiper-button-next,
.testimonial-box .swiper-button-prev {
    color: var(--main-color);
}

.testimonial-box .swiper-button-next {
    right: 0;
}

.testimonial-box .swiper-button-prev {
    left: 0;
}

.testimonial-box .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.8);
}

.testimonial-box .swiper-pagination-bullet-active {
    background: var(--main-color);
}


/*INICIO DE LAS CARD*/

.container__card2 {
    width: 100%;
    padding-bottom: 10px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card5 {
    width: 350px;
    height: 350px;
    position: relative;
    margin: 10px;
    font-family: "Poppins", sans-serif;
    transition: all 300ms;
}

.card5:hover {
    margin: 1.2%;
    box-shadow: 1px 1px 20px 0px var(--shadow-color);
}

.card5:hover .info__description {
    margin-top: 0;
}

.icon {
    width: 100%;
    height: 290px;
    background: var(--bg-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 400ms cubic-bezier(0.5, 0, 0, 1);
    overflow: hidden;
    margin: auto;
    box-shadow: 1px 1px 20px 0px var(--shadow-color);
}

.icon button {
    margin-top: 2%;
    background-color: var(--main-color);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.8rem;
    padding: 0.5rem;
}

.about__icon {
    width: 60%;
    padding: 1%;
}

.icon .about__title {
    color: var(--text-color);
    font-size: 2.2rem;
}





/* 
.icon i{
    font-size: 150px;
    color: #fff;
    transition: all 400ms cubic-bezier(0.5,0,0,1);
} */

.info__description {
    width: 100%;
    height: 320px;
    color: var(--text-color);
    padding: 5px;
    margin-top: -100px;
    transition: all 400ms cubic-bezier(0.5, 0, 0, 1);
}

.info__description p {
    font-size: 1.4rem;
    margin-top: 2px;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

/*COLOR DE LAS CARD*/

.c1:hover .icon {
    background: var(--color-logo1);
}

.c2:hover .icon {
    background: var(--color-logo3);
}

.c3:hover .icon {
    background: var(--color-logo1);
}

.c4:hover .icon {
    background: var(--color-logo3);
}

/*FIN DE LAS CARD*/

/* Como funciona */
.comofunciona {

    background-image: linear-gradient(180deg, #000000b4 0%, #000000ad 100%), url(../images/fondos/fondop.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.encabezado_funcion {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: auto;
    gap: 2rem;
    padding: 4rem;
}

.box__funcion {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 34rem), 1fr));
    gap: 4rem;
    width: 90%;
    margin: auto;
    align-items: center;
    justify-content: space-between;
}

.container__funcion h1 {
    color: var(--main-color);
    font-size: 3.4rem;
    padding: 2rem;
}

.container__funcion h2 {
    color: var(--white-color);
    font-size: 3rem;
    padding: 2rem;
}

.box__funcion__esp {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    width: 100%;
    align-items: center;
    background: var(--bg-color);
    box-shadow: .1rem .1rem .5rem var(--white-color);
}

.box__funcion__esp img {
    width: 100%;
    height: 22rem;
    object-fit: fill;
    padding: 1rem;
}

.box__funcion__esp h4 {
    color: var(--text-color);
    font-size: 2.4rem;
    padding: 1rem;
    text-align: center;
}

.box__funcion__esp p {
    width: 80%;
    color: var(--text-color);
    font-size: 1.8rem;
    text-align: center;
    padding: 2rem;
    min-height: 14rem;
}

.icon__number {
    color: var(--bg-color);
    font-size: 2.5rem;
    background: var(--main-color);
    padding: 1rem;
    border-radius: 50%;
    margin: .5rem;
}



.container__funciones {
    width: 100%;
    margin: auto;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 60rem), 1fr));
    background: var(--shadow-color);
    border-radius: 1rem;
    position: relative;
    align-items: center;
    align-content: center;
}

.container__funciones img {
    width: 98%;
    border-radius: 1rem;
}

.contenido__funciones {
    background: var(--bg-color);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    width: 96%;
    align-items: center;
    gap: 2rem;
}

.contenido__funciones p {
    padding: 1rem;
}

/*funciones*/





.about__main {
    padding-top: 20px;
    display: flex;
    position: relative;
    flex-flow: row wrap;
    justify-content: space-around;
    width: 90%;
    margin: auto;
    overflow: hidden;
    justify-items: center;
}

.about__icons {
    position: relative;
    width: 340px;
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 20px 20px 50px var(--shadow-color);
    border-left: 1px solid var(--shadow-color);
    border-top: 1px solid var(--shadow-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 300ms;
    align-items: center;
}

.about__icons:hover {
    transform: translateY(-10px);
    background: var(--bg-color);
}

.about__p {
    text-align: justify;
}

.about__title {
    text-align: center;
    color: var(--text-color);
    padding: 3%;
    font-size: 1.5rem;
}

/* Knowledge */

.knowledge {
    position: relative;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.knowledge__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.knowledge__picture {
    max-width: 500px;
}

.knowledge__paragraph {
    line-height: 1.7;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white-color);
}

.knowledge__img {
    width: 100%;
    display: block;
}

/* price */

.price {
    text-align: center;
    width: 100%;
    background: var(--color-fondo);
}

.subtitle {
    padding: 0;
}

.price__table {
    padding-top: 20px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 40rem), 1fr));
    gap: 4rem;
    align-content: center;
    align-items: center;
    justify-content: center;
}


.price__element {
    position: relative;
    justify-content: center;
    width: 100%;
    min-width: 28rem;
    position: relative;
    background: var(--bg-color);
    border-radius: 8px;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px var(--shadow-color);
    background: var(--bg-color);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(5px);
}

.price__element:hover {
    transform: translateY(-10px);
}

.price__element h4 {
    color: var(--text-color);
    font-size: 2rem;
    margin: 1rem;
}



.price__element .title_plan {
    width: 100%;
    color: var(--white-color);
    margin: auto;
    padding: 2rem;
    align-items: center;
    font-size: 2.5rem;
    border-radius: 1rem;
}

.price__element .basico {
    background: #2e70ffd0;
}

.price__element .pro {
    background: #2b9112d0;
}

.price__element .premium {
    background: #ff1e00d0;
}

.price__element--best {
    width: 370px;
    padding: 60px 40px;
    background-color: #ff6a38;
    --color-plan: rgb(255 255 255 / 75%);
    --color-price: #fff;
    --bg-cta: #9f3919;
    --color-cta: #fff;
    --color-items: #fff;
    margin-bottom: 3%;
}

.price__name {
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 300;
}

.price__price {
    font-size: 1.8rem;
    color: var(--white-color);
    transition: all 300ms;
}

.price__items {
    margin: 4rem;
    display: flex;
    flex-direction: column;
    text-align: start;
    gap: 1em;
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-color);
}

.price__features {
    display: flex;
    justify-content: space-between;
    padding: 0.1rem;
    font-size: 2rem;
    border-bottom: 0.2rem solid #89898946;
}

.price__features i {
    font-size: 3rem;
    font-weight: 900;
    padding: 0;
}

.chulo {
    color: var(--color-verde);
}

.equis {
    color: var(--color-rojo);
}

.price__cta {
    display: block;
    padding: 10px 0;
    margin: 3rem;
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--bg-cta);
    font-weight: 600;
    color: var(--color-cta);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    font-size: 2.2rem;
}

.price__cta:hover {
    transform: scale(1.05);
    transition: all 300ms;
}

/* Testimony */

.testimony {
    background-color: var(--bg-color);
}

.testimony__container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.testimony__body {
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}

.testimony__body--show {
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony__img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}

.testimony__texts {
    max-width: 700px;
}

.testimony__course {
    background-color: var(--main-color);
    color: var(--text-color);
    display: inline-block;
    padding: 5px;
    font-size: 1.2rem;
}

.testimony__arrow {
    width: 90%;
    cursor: pointer;
}

/* Questions */

.questions {
    background: var(--bg-color2);
    text-align: center;
    position: relative;
    background-image: linear-gradient(180deg, #000000bd 0%, #000000b6 100%), url(../images/fondos/fondop.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.questions__container {
    position: relative;
    display: grid;
    width: 100%;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__paragraph {
    font-size: 2rem;
    color: var(--white-color);
}

.questions__padding {
    padding: 0;
    transition: padding 0.3s;
    border-radius: 6px;
    background: var(--shadow-color);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(10px);
}

.questions__padding--add {
    padding-bottom: 30px;
}

.questions__answer {
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title {
    text-align: left;
    display: flex;
    font-size: 2rem;
    font-weight: 500;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--white-color);
    justify-content: space-between;
}

.questions__arrow {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition: transform 0.3s;
}

.questions__arrow img {
    background: var(--white-color);
    padding: -1rem;
    border-radius: 50%;
    width: 3.4rem;
}

.questions__arrow--rotate {
    transform: rotate(180deg);
}

.questions__show {
    text-align: left;
    font-size: 1.6rem;
    color: var(--white-color);
    height: 0;
    transition: height 0.3s;
    font-family: sans-serif;
}

.questions__img {
    display: block;
}

.questions__copy {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* mapa ubicacion*/

/*CONTACTO*/
.container_contacto {
    margin: auto;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.box_contacto {
    width: 100%;
    margin: auto;
    padding: 20px;
}

.map {
    border-radius: 3px;
}

.map:hover {
    transform: scale(1.01);
    transition: all 300ms;
}

/* section contact */
.container-contact {
    height: 100vh;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin-top: 1rem;
}


.contact {
    position: relative;
    justify-content: center;
    width: 80%;
}

.contact h2 {
    padding: 2rem;
    color: var(--main-color);
}

.contact p {
    margin: auto;
    width: 80%;
    text-align: center;
    font-size: 2rem;
    padding: 0 2rem 2rem 2rem;
}



/* FORMULARIO */

.container__form {
    margin: auto;
    width: 80%;
    min-width: 20rem;
    background: var(--color-fondo);
    padding: 20px;
    position: relative;
    box-shadow: 1px 1px 30px -5px var(--shadow-color);
    border-radius: .1rem;
    border-radius: 6px;
}

.container__form .title_form {
    font-size: 2rem;
    color: var(--main-color);
    font-weight: 500;
    text-align: center;
    position: relative;
}

.title_form span {
    color: var(--btn-color);
}

.container__form .form {
    margin-top: 10px;
}

.form .input-box {
    width: 100%;
    margin-top: 10px;
}

.input-box label {
    color: var(--white-color);
    font-size: 1.6rem;
}

.form :where(.input-box input, .select-box) {
    position: relative;
    height: 40px;
    width: 100%;
    outline: none;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 8px;
    border: .1px solid var(--shadow-color);
    border-radius: 6px;
    padding: 0 15px;
    background: var(--bg-color);
}

.input-box input {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
    display: flex;
    column-gap: 10px;
}

.form .gender-box {
    margin-top: 1.4rem;
}

.gender-box h3 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.form :where(.gender-opcion, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

.form .gender {
    column-gap: 5px;
    cursor: pointer;
}

.gender input {
    accent-color: var(--main-color);
}

.form :where(.gender input, .gender label) {
    cursor: pointer;
    color: var(--text-color);
}

.gender label {
    color: var(--text-color);
}

.addres :where(input, .select-box) {
    margin-top: 10px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: var(--text-color);
    font-size: 1.4rem;
    background: var(--bg-color);
}

.form button {
    height: 40px;
    width: 25%;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: var(--main-color);
    color: var(--white-color);
}

.form button:hover {
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--main-color);

}

.iconoform {
    position: relative;
    font-size: 2rem;
    padding: .5rem;
    color: var(--main-color);
    z-index: 2;
}

.form .input-box #tipo_de_proyecto {
    width: 100%;
    margin-top: 10px;
}

#tipo_de_proyecto {
    background: var(--bg-color);
    position: relative;
    height: 40px;
    width: 100%;
    outline: none;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 8px;
    border: .1px solid var(--shadow-color);
    border-radius: 6px;
    padding: 0 15px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

#cuentanos {
    background: var(--bg-color);
    align-items: center;
    position: relative;
    height: 80px;
    width: 100%;
    outline: none;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 8px;
    border: .1px solid var(--shadow-color);
    border-radius: 6px;
    padding: 10px 15px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    resize: none;

}




/* formulario Registro de cliente:  */

.container__registro {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--color-fondo);
}

.heading__reg {
    font-size: 3.5rem;
    color: var(--main-color);
    padding: 2rem 0;
    text-align: center;
}

.container__form__registro {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px var(--shadow-color-white);
    width: 95%;
    max-width: 850px;
}

.reg__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-box {
    display: flex;
    flex-direction: column;
}

.input-box label {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.input-box input[type="text"],
.input-box input[type="tel"],
.input-box input[type="email"],
.input-box input[type="file"] {
    padding: .6rem;
    border: 1px solid var(--bg-color);
    border-radius: 0.8rem;
    font-size: 1.4rem;
    background-color: var(--white-color);
    transition: border 0.3s, background 0.3s;
}

.input-box input[type="text"]:focus,
.input-box input[type="tel"]:focus,
.input-box input[type="email"]:focus,
.input-box input[type="file"]:focus {
    border-color: var(--main-color);
    background-color: #ffffff;
    outline: none;
}

#signature-pad {
    width: 100%;
    min-width: 200px;
    height: 200px;
    border-radius: 8px;
    border-bottom: 2px dotted var(--text-color);
    display: block;
    margin: 10px auto;
    background-color: #fff;
    touch-action: none;
}


#clear-signature {
    background-color: var(--color-rojo);
    color: #fff;
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    border-radius: 0.8rem;
    cursor: pointer;
    margin-top: 0.5rem;
    width: fit-content;
    transition: background 0.3s;
}

#clear-signature:hover {
    background-color: #c30c0c;
}

.firma-instruccion {
    text-align: center;
    letter-spacing: .2rem;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.firma-instruccion i {
    color: #555;
    margin-right: 5px;
}


.input-box label input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.input-box a {
    color: var(--shadow-color);
}

button[type="submit"] {
    background-color: var(--main-color);
    color: #fff;
    padding: 1.2rem;
    font-size: 1.6rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

@media (max-width: 500px) {
    .heading {
        font-size: 2.2rem;
    }

    #signature-pad {
        width: 100% !important;
        min-width: none !important;
        height: auto;
    }
}

/* ===== Branding dentro del login ===== */
.login__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.login__brand-logo {
    width: 7rem;
    margin-right: 1rem;
}

.login__brand-texts {
    text-align: left;
}

.login__brand-title {
    font-size: 3rem;
    color: var(--main-color);
    margin: 0;
}

.login__brand-subtitle {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 0;
}

/* ===== Login Admin ===== */
.login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--color-fondo);
}

.login__container {
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

.login__title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login__field {
    text-align: left;
}

.login__input {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    border: 0.1rem solid var(--shadow-color);
    border-radius: 4px;
    background: var(--bg-color);
    color: var(--text-color);
}

.login__input:focus {
    border-color: var(--main-color);
    outline: none;
}

.login__btn {
    padding: 1rem;
    font-size: 1.8rem;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.login__btn:hover {
    transform: translateY(-1px);
    transition: 300ms ease;
}

.login__error {
    margin-top: 1.5rem;
    color: var(--color-rojo);
    font-size: 1.6rem;
}

.login__links {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.login__links a {
    color: var(--text-color);
    text-decoration: none;
}

.login__links a:hover {
    text-decoration: underline;
}

/* Oculta la sidebar cuando está colapsada */

.sidebar-toggle {
    position: fixed;
    top: 1rem;
    width: 6rem;
    height: 4rem;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: var(--main-color);
    color: var(--white-color);
    right: 2rem;
    border: 2px solid var(--color-fondo);
    cursor: pointer;
}

.sidebar.collapsed {
    width: 0;
    overflow: hidden;
    padding: 0;
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
}

.sidebar.collapsed+.dashboard .sidebar-toggle i {
    transform: rotate(180deg);
    /* Por ejemplo */
}


/* Empuja el contenido al ocupar la sidebar */
.dashboard {
    transition: margin-left 0.3s ease;
    margin-left: 250px;
    /* igual al ancho de .sidebar */
}

/* Cuando sidebar está colapsado, ocupa todo el ancho */
.sidebar.collapsed+.dashboard {
    margin-left: 0;
}


/* ===== Dashboard Admin ===== */
.dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem;
    background: var(--color-fondo);
    margin-left: 100px;
    flex: 1;
}

.dashboard__title {
    font-size: 2.8rem;
    color: var(--main-color);
    padding: 3rem 0;
    text-align: center;
}

.dashboard__table-container {
    width: 100%;
    max-width: 1000px;
    overflow-x: auto;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem var(--shadow-color);
}

.dashboard__table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

.dashboard__table th,
.dashboard__table td {
    padding: .6rem;
    text-align: left;
    font-size: 1.6rem;
    color: var(--text-color);
    border: 0.1rem solid var(--shadow-color);
}


.dashboard__table th {
    background: var(--bg-color2);
    color: var(--text-color);
    font-weight: 600;
}

.actions a {
    margin: .2rem;
}
.dashboard__table tr:nth-child(even) {
    background: #f9f9f9;
}

.btn-sm {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-size: 1.6rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    color: var(--white-color);
}

.btn-view {
    background: var(--color-verde);
}

.btn-view:hover {
    background: #156009;
}

.btn-pdf {
    background: var(--color-rojo);
}

.btn-pdf:hover {
    background: var(--main-color);
}

/* ===== Sidebar de navegación con logo ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    height: 100vh;
    width: 240px;
    background-color: var(--color-fondo);
    color: var(--white-color);
    padding: 2rem 1rem;
    top: 0;
    left: 0;
    box-shadow: 2px 0 10px var(--shadow-color-white);
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.sidebar__logo img {
    width: 90px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 2px var(--main-color));
}

.sidebar__brand h2 {
    font-size: 3rem;
    color: var(--main-color);
    margin: 0;
    text-align: center;
}

.sidebar a {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    padding: 1rem;
    border-radius: .5rem;
    gap: .5rem;
}

.sidebar {
    gap: 2.5rem;
}


.sidebar a:hover {
    background-color: var(--shadow-color-white);
}

.sidebar__logout {
    margin-top: auto;
    font-size: 1.8rem;
    color: var(--color-rojo);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--main-color);
}

.sidebar__brand .slogan {
    text-align: center;
    font-size: 1.6rem;
    color: var(--white-color);
    padding-bottom: 2rem;
}

.sidebar__user {
    font-size: 1.8rem;
    color: var(--main-color);
    margin-top: 1rem;
    text-align: center;
}

.sidebar__user p {
    color: var(--white-color);
}



.logout-link {
    color: var(--color-rojo);
    font-weight: bold;
}

/* ===== Filtros de búsqueda en el dashboard ===== */
.dashboard__filters {
    width: 100%;
    max-width: 1000px;
    background-color: var(--bg-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem var(--shadow-color);
}

.dashboard__filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.dashboard__filters input[type="text"],
.dashboard__filters input[type="date"] {
    padding: 1rem;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    flex: 1 1 200px;
    background: var(--white-color);
    color: var(--text-color);
}

.dashboard__filters button {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    background-color: var(--main-color);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dashboard__filters button:hover {
    background-color: var(--main-color-hover);
}

/* ===== Responsive ===== */


.btn-edit {
    background: var(--color-dark);
}

.btn-edit:hover {
    background: #1e0f8c;
}

.btn-delete {
    background: var(--color-rojo);
}

.btn-delete:hover {
    background: #931c1c;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    width: 816px;
    /* 8.5in * 96px/in */
    height: 1056px;
    /* 11in * 96px/in */
    max-width: 100%;
    max-height: 100%;
    background-color: #fff;
    padding: 2rem;
    overflow: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    margin: auto;
}


.modal-content-edit {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 5rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 10px var(--shadow-color);
    position: relative;
}

.modal-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--main-color);
}

.modal-content-edit h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--main-color);
}

.modal-content label {
    display: block;
    margin-top: 1rem;
    font-size: 1.6rem;
}

.modal-content-edit label {
    display: block;
    margin-top: 1rem;
    font-size: 1.4rem;
}

.modal-content input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem;
    font-size: 1.6rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

.modal-content button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.modal-content-edit input {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

.modal-content-edit button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

/* ===== Modal Estilo PDF ===== */
.modal#viewModal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

/* ===== Estilo tipo PDF ===== */
.pdf-style {
    padding: 2rem;
    border: 1px solid #ccc;
    background-color: #fefefe;
    color: #333;
}

.pdf-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 1rem;
}

.pdf-logo {
    height: 60px;
    margin-bottom: 0.5rem;
}

.pdf-header h1 {
    font-size: 2rem;
    color: var(--main-color);
    margin: 0;
}

.pdf-body p {
    font-size: 1.4rem;
    margin: 1rem 0;
}

.pdf-img-block {
    margin-top: 2rem;
}

.pdf-img-block img {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 0.5rem;
}

/* Estilos del detalle_modal.php */

.detalle__header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.detalle__header h2 {
    color: var(--main-color);
    font-size: 2.5rem;
    font-weight: 600;
}

.detalle__logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.detalle__campo {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.detalle__campo strong {
    display: inline-block;
    width: 180px;
    color: var(--main-color);
}

.detalle__imagen {
    margin-top: 1rem;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botón PDF en el modal */
.btn-sm.btn-pdf {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: var(--color-rojo);
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    z-index: 10;
}

@media print {
    body {
        background: white;
    }

    .btn-sm.btn-pdf {
        display: none;
    }

    .pdf-style {
        box-shadow: none;
    }
}

/* Botón cerrar (ícono X) */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20;
}

.modal-close i {
    width: 24px;
    height: 24px;
    color: #444;
    transition: color 0.2s ease;
}

.modal-close:hover i {
    color: var(--color-rojo);
}

/* Botón de PDF en esquina inferior derecha */
.modal-pdf-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--color-rojo);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-pdf-btn i {
    width: 24px;
    height: 24px;
    color: white;
}

.modal-pdf-btn:hover {
    background: #a00;
}

.pdf-style {
    font-size: 14px;
    line-height: 1.4;
    max-height: 100%;
    overflow: hidden;
}

.detalle__campo {
    margin-bottom: 1rem;
}

.detalle__imagen {
    max-width: 80%;
    /* reduce tamaño de imágenes */
    max-height: 150px;
    /* límite de altura */
    object-fit: contain;
    display: block;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}


/* Estilo para el formulario de cambio de contraseña */
.dashboard__password {
    width: 100%;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--shadow-color);
    max-width: 500px;
    margin: auto;
}

.dashboard__password label {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.dashboard__password input[type="password"],
.dashboard__password input[type="text"] {
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 8px;
    background: var(--bg-color2);
    border: 1px solid var(--white-color);
    color: var(--text-color);
    transition: 0.2s;
    width: 100%;
}

.dashboard__password input:focus {
    outline: 1px solid var(--main-color-hover);
}

.dashboard__password button {
    padding: 1.2rem;
    font-size: 1.6rem;
    border-radius: 8px;
    background: var(--main-color);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.dashboard__password button:hover {
    background: var(--main-color-hover);
}

/* Contenedor con icono de mostrar contraseña */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 1.2rem;
    right: 1rem;
    font-size: 1.8rem;
    color: var(--main-color);
    transition: color 0.2s;
    cursor: pointer;
}

.toggle-password:hover {
    color: var(--main-color-hover);
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
}

.toast.success {
    background: #4CAF50;
}

.sidebar__brand #subtitulo {
    color: var(--text-color);
    font-size: 1.4rem;
}

/* tipo de vehiculo  */

.input-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.6rem;
    background-color: var(--bg-color);
    appearance: none;
    background-image: url('data:image/svg+xml,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
    color: var(--main-color);
}

.input-box select:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}


/* tyc form registro  */

.tyc-box {
    max-height: 200px;
    overflow-y: scroll;
    padding: 15px;
    border: 1px solid #956565;
    background: #f9f9f9;
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.4;
    border-radius: 8px;
}

.tyc-box span {
    color: var(--main-color);
    font-weight: 500;
    font-size: 1.4rem;
}

.tyc-box h3 {
    text-align: center;
}

.tyc-box ul {
    padding-left: 2rem;
}

#msg-leer-tyc {
    color: var(--color-rojo);
    font-size: 1.4rem;
}


.tyc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.tyc-checkbox input {
    transform: scale(1.2);
}


/* Estilo para el checkbox personalizado */
.input-box input[type="checkbox"] {
    accent-color: var(--main-color);
    /* Color primario */
    width: 22px;
    height: 22px;
    margin-right: 8px;
    cursor: pointer;
}

/* Ajusta el texto al lado del checkbox */
.input-box label {
    padding-left: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    color: #333;
}
.input-box .form-label {
    font-size: 1.8rem;
    padding: .4rem;
    margin-bottom: 0;
}

/* Link de Términos con estilo */
.input-box a#verTyC {
    color: var(--shadow-color);
    text-decoration: underline;
}

.input-box a#verTyC:hover {
    text-decoration: none;
}

/* responsive  */

/* Asegura que el contenedor pueda hacer scroll horizontal */
.dashboard__table-container {
    overflow-x: auto;
    width: 100%;
}

/* Estilos responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .dashboard__table {
        min-width: 600px;
        font-size: 14px;
    }

    .sidebar.collapsed {
        transform: translateX(-100%);
    }

    .sidebar {
        position: fixed;
        width: 250px;
        height: 100%;
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(0);
    }

    .dashboard {
        margin-left: 0 !important;
    }
}

/* finaliza dashboard */

/*demo*/

.demo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem;
    gap: 2rem;
}

/*termina contactanos - formulario


/*tyc*/

.container__tyc {
    margin: auto;
}

.container__tyc p {
    text-align: start;
    font-size: 1.8rem;
}

.container__tyc span {
    text-align: start;
    color: var(--main-color);
    font-weight: 500;
    font-size: 2rem;
}

.container__tyc strong {
    color: var(--main-color);
    font-weight: 500;
    font-size: 2rem;
}

/* Footer */

.footer {
    background: var(--color-fondo);
}

.footer_encabezado {
    display: flex;
    align-items: center;
}

.footer_encabezado img {
    width: 8rem;
    padding: 5px;
}

.footer__title,
.footer__newsletter {
    color: var(--white-color);
}

.text__gcl p {
    color: var(--white-color);
    font-size: 1.4rem;
}

.footer__title {
    font-weight: 500;
    font-size: 3rem;
    color: var(--main-color);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.nav--footer {
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer {
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.nav__link--footer .nav__items {
    display: flex;
    gap: 2rem;
}

.nav__link--footer .nav__links {
    color: var(--white-color);
    padding: 1rem;
    font-size: 1.6rem;
}

.footer__inputs {
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

.footer__input {
    background-color: var(--bg-color);
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
}

.footer__submit {
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: var(--main-color);
    border: none;
    font-size: 1rem;
    color: var(--white-color);
    border-radius: 6px;
    cursor: pointer;
}

.footer__contenido {
    display: grid;
    max-width: 1240px;
    ;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    margin: auto;
    padding: 3rem 0;
}

.container__contactof {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.container_logos {
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.box__logos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin: auto;
    position: relative;
    gap: 2rem;
}

.box__logos h1 {
    color: var(--white-color);
    font-size: 2.2rem;
    padding: 1rem;
}

.box__logos h2,
a {
    color: var(--white-color);
    font-size: 2rem;
}

.logoempresa {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.logoempresa {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logoempresa img {
    width: 3rem;
}

.logog {
    background: var(--color-fondo);
    border-radius: 5px;
}

.logoc {
    background: var(--bg-color);
    border-radius: 15px;

}

.logog img {
    width: 12rem;
}

.logoempresa h2 {
    color: var(--white-color);
}

.logoempresa:hover {
    color: var(--main-color);
}

.img__logo__empresa img {
    width: 10rem;
}

.trace {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: .1rem;
}

.container__contactof h1 {
    font-size: 2rem;
    color: var(--white-color);
}

.list-footer li {
    color: var(--white-color);
    font-size: 1.8rem;
    padding: .4rem;
    opacity: .7;
    ;
}

.list-footer li:hover {
    opacity: 1;
}

.container__contactof .h1__footer {
    padding: 1rem;
    color: var(--main-color);
}


.correo h2 {
    color: var(--white-color);
    border-radius: 1rem;
    font-size: 1.6rem;
}

.correo i {
    font-size: 2.2rem;
    background: var(--color-logo2);
    border-radius: 50%;
    padding: .5rem;
}




.footer__social {
    border-bottom: 0.1rem solid var(--bg-color2);
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 6rem;
}


.footer__copy {
    width: 100vw;
    text-align: center;
    padding: 1%;
}

.footer__copyright {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.logoinnovamc {
    display: flex;
    align-items: center;
    margin: 1rem;
    padding: .2rem;
}

.logoinnovamc h3 {
    color: var(--white-color);
    font-weight: 600;
}

.logoinnovamc img {
    padding: 1rem;
    border-radius: 6px;
    width: 20rem;
}

.footer__img {
    width: 30px;
    margin: 1%;
}

.btn_correo {
    font-size: 2rem;
    background: transparent;
    padding: 1rem;
    color: var(--text-color);
    cursor: pointer;
}

.btn_correo i {
    color: var(--white-color);
    background: var(--main-color);
}

.correo h4,
h2,
a {
    font-size: 2rem;
    font-weight: normal;
    color: var(--white-color);
}

.footer__copyright h3 {
    position: relative;
    align-items: center;
    font-size: 1.6rem;
    color: var(--white-color);
    font-weight: normal;
}

.footer__icons {
    margin-bottom: 10px;
}

.footer__img {
    width: 30px;
    margin: 1%;
}

.iconr {
    font-size: 2.6rem;
    padding: 1%;
    color: var(--white-color);
    transition: all 300ms;
}

.iconr:hover {
    color: var(--main-color);
}


.footer-iconTop {
    position: fixed;
    bottom: 2rem;
    z-index: 100;
    left: 2rem;
    transition: all .1s ease;
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: end;
    align-items: center;
    padding: 0.8rem;
    background: var(--main-color);
    border-radius: 0.8rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: 0.5s;
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg-color);
}

.footer-iconTop:hover {
    transform: scale(1.1);
}

/*ID*/

#contacto {
    transition: all 900ms ease;
}

/* Media queries */

@media (max-width: 800px) {
    .nav__menu {
        display: block;
    }

    .nav__link--menu {
        position: fixed;
        background-color: var(--shadow-color);
        top: 10%;
        left: 0;
        height: 40%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: 0.7s opacity;
    }

    .nav__link--show {
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .nav__close {
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .about__main {
        gap: 2em;
    }

    .about__icons:last-of-type {
        grid-column: 1/-1;
    }

    .knowledge__container {
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
        padding: 3rem 0;
    }

    .knowledge__picture {
        grid-row: 1/2;
        justify-self: center;
    }

    .testimony__container {
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body {
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items: center;
    }

    .testimony__img {
        width: 200px;
        height: 200px;
    }

    .questions__copy {
        width: 100%;
    }

    .footer__container {
        flex-wrap: wrap;
    }

    .nav--footer {
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer {
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form {
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__paragraph {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 2.5rem;
    }


    .price__price {
        font-size: 2rem;
    }

    .testimony {
        --padding-container: 60px 0;
    }

    .testimony__container {
        grid-template-columns: 28px 1fr 28px;
        gap: 0.9em;
    }

    .testimony__arrow {
        width: 100%;
    }

    .testimony__course {
        margin-top: 15px;
    }

    .footer__title {
        justify-self: start;
    }

    .nav--footer {
        padding-bottom: 60px;
    }

    .nav__link--footer {
        justify-content: space-between;
    }

    .footer__inputs {
        flex-wrap: wrap;
    }

    .footer__input {
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit {
        margin-right: auto;
        margin-left: 0;

        /* 
        margin:0;
        width: 100%;
        */
    }

    .footer__container {
        flex-direction: column;
    }

    .nav--footer {
        display: block;
        padding: 5%;
        justify-content: space-around;
        flex-flow: row wrap;
        align-items: center;
    }
}




/*  BOTONES  */


/* btn home cotizar*/

.btn-box-home {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 155px;
    height: 40px;
    background: var(--bg-footer);
}

.btn-box-home a {
    display: flex;
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 155px;
    height: 100%;
    background: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0.2rem 0.5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
}

.btn-box-home a {
    background: transparent;
    color: var(--main-color);
}

.btn-box-home a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: 0.5s;
}

.btn-box-home a:hover:before {
    width: 100%;
}

.btn-box-home a:hover {
    color: var(--bg-color);
}

/* Termina btn home cotizar*/


.heading {
    padding: 2rem;
    font-size: 4.5rem;
    text-align: center;
    color: var(--text-color);
}

.heading span {
    color: var(--main-color);
}

.heading__preguntas {

    padding: 2rem;
    font-size: 4.5rem;
    text-align: center;
    color: var(--white-color);
}

.heading__preguntas span {
    color: var(--main-color)
}

.heading-funciones {
    padding-top: 6rem;
    font-size: 4rem;
    text-align: center;
    color: var(--text-color);
}

.heading-funciones span {
    color: var(--main-color);
}

.beneficios__p {
    font-size: 2rem;
    color: var(--white-color);
    padding: 4rem;
}



/*btn header */


.btn-header {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 40px;
    background: var(--bg-color2);
    border-radius: 6px;
}

.btn-header a {
    display: flex;
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 125px;
    height: 100%;
    background: var(--white-color);
    box-shadow: 0 0.2rem 0.5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    border-radius: 6px;
}

.btn-header a {
    background: transparent;
    color: var(--white-color);
}

.btn-header a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: 0.5s;
}

.btn-header a:hover:before {
    width: 100%;
}

.btn-header a:hover {
    color: var(--bg-color);
}



/*fin btn header*/


.btn a {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--bg-color);
    box-shadow: 0 0.2rem 0.5rem var(--shadow-color);
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    font-weight: 600;
    border: 0.2rem solid transparent;
    border-radius: 6px;
    transition: 0.5s ease;
    transform: translateY(2rem);
}

.btn a {
    color: var(--main-color);
}

.btn a:hover {
    background: var(--main-color);
    color: var(--bg-color);
}


/*BOTON CONTACTAR*/


.btn__contactar {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 40px;
    background: var(--bg-color);
    margin: 2rem;
    border-radius: 6px;
}

.btn__contactar a {
    display: flex;
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 160px;
    height: 100%;
    background: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0.2rem 0.5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    border-radius: 6px;
}

.btn__contactar a {
    background: transparent;
    color: var(--main-color);
}

.btn__contactar a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: 0.5s;
}

.btn__contactar a:hover:before {
    width: 100%;
}

.btn__contactar a:hover {
    color: var(--bg-color);
}

.btn__contactar i {
    color: var(--main-color);
}

.btn__contactar i:hover {
    color: var(--bg-color);
}

/*btn whatsapp*/
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-button img {
    width: 32px;
    height: 32px;
}



/*KEYFRAMES ANIMATIONS*/


@keyframes showRight {
    100% {
        width: 0;
    }
}

@keyframes slider {
    0% {
        margin-left: 0;
    }

    20% {
        margin-left: 0;
    }

    25% {
        margin-left: -100%;
    }

    45% {
        margin-left: -100%;
    }

    50% {
        margin-left: -200%;
    }

    70% {
        margin-left: -200%;
    }

    75% {
        margin-left: -300%;
    }

    100% {
        margin-left: -300%;
    }
}

@keyframes move-vector {
    0% {
        transform: translateY(15px);
    }

    50% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(15px);
    }
}