
body {
    background-color: white;
    font-family: "Monserrat" !important;
    margin : 0;
    padding : 0;
    box-sizing : border-box;
}

@font-face {
    font-family: 'Monserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

.mas {
    min-height: 500px;
    height: 80vh;
    background-size: cover;
    display : grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 600px;
    overflow: hidden;
}

.mas.container,
.mas-des.container {
    margin: 0 auto;
    width: 90%;
    max-width: 1980px;
    overflow: hidden;
}

.nav-mas {
    --state-close: scale(0);
    --state-hamburger: scale(1);
    --state-menu: translate(-100%);

    padding: 0px 0px;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    align-items: start;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-items: top;
}


.nav-mas:target {
    --state-close: scale(1);
    --state-hamburger: scale(0);
    --state-menu: translate(0);
}

.nav-mas-links {
    background-color: #4ABECB;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
    display: grid;
    align-content: center;
    gap: 2em;
    padding-left: 5%;
    transform: var(--state-menu);
    transition: .3s transform;
    padding-top: 3rem;
}

.nav-mas-item {
    list-style: none;
}

.nav-hamburger,
.nav-close {
    cursor: pointer;
    grid-column: -2/-1;
    grid-row: 1/2;
    transition: .4s transform;
    margin-top: 3em;
}

.nav-hamburger {
    transform: var(--state-hamburger);
}

.nav-close{
    transform: var(--state-close);
}

.nav-icon {
    width: 40px;
}

.nav-mas-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0px;
    font-weight: 500;
    font-size: 1rem;
    padding-top: 5vw;
}

.nav-mas-item {
    list-style: none;
    margin-right: 4rem;
}

.comunidad {
    border: 2px solid white;
    border-radius: 16px;
    padding: 0.7rem;
    margin-top: -0.7rem;
}

@media (min-width:1279px) {
    .nav-mas {
        --state-hamburger: scale(0);
        --state-menu: translate(0);
    }

    .nav-mas:target {
        --state-menu: translate(0);
        --state-close: scale(0);
        --state-hamburger: scale(0);
    }

    .nav-mas-links {
        padding: 0;
        background-color: unset;
        position: unset;
        gap: 3.5em;
        grid-auto-flow: column;
        transform: unset;
        grid-column: -2/-1;
        grid-row: 1/2;
        font-weight: bold;
        font-size: 1rem;
        padding-top: 5vw;
    }

    .nav-mas-item {
        margin-right: 0;
    }
}

.logo {
    width: 20vw;
    margin-top: 3em;
    margin-bottom: 3em;
    min-width: 10em;
    max-width: fit-content;
}

/* SECTION TEXTO MASTRANQUILO */
#info {
    display: grid;
    /*grid-template-columns: 0.6fr;
    grid-template-rows: 0fr 0fr;*/
    margin-top: 6em;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin-bottom: 3rem;
}

#info p {
    font-size: clamp(1em, 1.5vw, 1.8em);
    color: white;
    font-weight: 300;
    margin: 0;
    padding: 0;
    align-self: end;
}

#info h2 {
    font-size: clamp(1.5em, 3vw, 4em);
    color: white;
    font-weight: 400;
    margin-top: 0.3em;
}

/**************************************+***
            QUÉ ES MÁSTRANQUILO
 ******************************************/

#que-es-mas {
    margin: 0 auto;
    padding: 0;
    margin-bottom:-5px;
    margin-top: 20px;
}
#que-es-mas img {
    position: inherit;
    z-index: 1;
    width: 100%;
    height: auto;
}

#description {
    background-color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    margin-bottom: 2rem;
    max-width: 1980px;
    margin: auto;
}

#description p {
    margin: 0 auto;
    width: 90%;
    max-width: 1980px;
    overflow: hidden;
}

#description img {
    width: 90%;
    object-fit: cover;
    overflow:auto;
}

.title {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 400;
    color: #555555;
}

.description-info {
    padding-top: 2rem;
    font-size: 1rem;
    color: #555555;
}

#description div {
    width: 90%;
    margin: 0 auto;
}

/**************************************+***
    CÓMO PUEDO ESTAR MÁS TRANQUILO
 ******************************************/

#informacion {
    background-color: #4ABECB;
    width: 95%;
    margin: 0 auto;
    border-radius: 27px 27px;
    max-width: 1980px;
}

#informacion .wallp{
    color: white;
    width: 93%;
    margin: 0 auto;
    padding-top: 3vh;
    padding-bottom: 3vh;
}

#informacion .titulo{
    color: white;
    margin-top: 2em;
    margin-bottom: 2em;
}

.titulo h2{
    font-size: clamp(1.5em, 2.5vw, 2.5em);
    font-weight: 400;
    margin:0;
}

#informacion .box-carousel {
    background-color: white;
    border-radius: 27px 27px;
    padding: 1em;
    padding-top: 3em;
    margin: auto;
    height: 27vh;
}


.box-carousel p{
    color:#555555;
    font-size: 1rem;
    margin-top: 3vh;
    margin-bottom: 1vh;
}

.box-carousel h2{
    color:#555555;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 4%;
}

/* .item {
    display: grid;
} */
.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.item img {
    margin-bottom: -2rem;
    position: relative;
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 367px;
    height: auto;
}

/********************************************
    CUANTO CUESTA UNIRME A MÁSTRANQUILO
 ********************************************/
 #aplicacion-web {
    background-color: #4ABECB;
    width: 50%;
    margin: 0 auto;
    border-radius: 27px 27px;
    max-width: 1980px;
    position: relative;
    display: flex;

    justify-content: flex-end;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#aplicacion-web .wallp{
    color: white !important;
    width: 93%;
    margin: 0 auto;
    padding-top: 6vh;
    padding-bottom: 3vh;
    height: 100%;
}
#aplicacion-web .wallp h6,
#aplicacion-web .wallp hr,
#aplicacion-web .wallp p {
    color: white;
}


#kit-alarma {
    background-color: #FFF;
    width: 80%;
    margin: 0 auto;
    max-width: 1980px;
    border-radius: 27px 27px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#kit-alarma .wallp{
    color: black;
    width: 93%;
    margin: 0 auto;
    padding-top: 6vh;
    padding-bottom: 3vh;
    border-radius: 27px 27px;
}

/********************************************
    ALGUNAS CARACTERÍSTICAS DE MÁSTRANQUILO
 ********************************************/

#caracteristicas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

#caracteristicas div {
    flex-direction: column;
    align-items: initial;
    text-align: center;
}

#caracteristicas .title {
    font-size: clamp(1.5em, 2.5vw, 2.5em);
    font-weight: 400;
    color: #555555;
    margin-bottom: 0;
}

.desc {
    margin-right: 1rem;
    margin-left: 1rem;
}

.box-caracteristicas {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:2rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 10px;
    padding: 50px;
    max-width: 1000px;
    margin-top: 3rem;
}

#caracteristicas .content {
    display: flex;
    text-align: center;
}

#caracteristicas .content h2 {
    margin-bottom: 2rem;
}

#caracteristicas img {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.box-caracteristicas h2, p{
    color:#555555;
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width:1100px) {
    .box-caracteristicas {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:500px) {
    .box-caracteristicas {
        grid-template-columns: repeat(1,1fr);
    }
}

/**************************************+***
            QUÉ ES ASPECTOS MANEJA
 ******************************************/

#aspectos {
    width: 90%;
    margin: auto;
    max-width: 1980px;
    margin-bottom: 2rem;
}

/* #aspectos p {
    color: #555555;
    font-size: 1rem;
    margin: 0 auto;
    max-width: 1980px;
    overflow: hidden;
    width: 100%;
} */
#aspectos p {
    color: #555555;
    font-size: 1rem;
}


#aspectos div {
    width: 100%;
    margin: 0 auto;
}


.img1 {
    background-image: url('../img/aspectos/familia.jpg');
}

.img2 {
    background-image: url('../img/aspectos/salud.png');
}

.img3 {
    background-image: url('../img/aspectos/mascota.png');
}

.img4 {
    background-image: url('../img/aspectos/casa.png');
}

.aspectos-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: 1980px;
}

.aspectos-box h2 {
    margin-left: 2rem;
}

.aspectos-box div {
    width: 100%;
    height: 400px;
    transition: transform 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width:1100px) {
    .aspectos-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:780px) {
    .aspectos-box {
        grid-template-columns: repeat(1, 1fr);
    }
}
.img1::before,
.img2::before,
.img3::before,
.img4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3FB1CCB8;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img1:hover::before,
.img2:hover::before,
.img3:hover::before,
.img4:hover::before {
    opacity: 1;
}

.aspectos-box div > h2 {
    -webkit-transform: translate3d(0,100px,0);
	transform: translate3d(0,100px,0);
    color: rgba(255,255,255,0.8);
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
    font-size: 1.8rem;
    font-weight: 500;
}

.aspectos-box div:hover h2 {
	opacity: 1;
    -webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
    -webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}

.aspectos-box div p {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    margin-left: 1rem;
    position: relative;
}

.aspectos-box div:hover p {
    opacity: 1;
}

/**************************************+***
                PASOS
 ******************************************/

#pasos {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 4rem;
    margin-top: 4rem;
    max-width: 1980px;
}

#pasos p {
    color: #555555;
    font-size: 1rem;
    padding-left: 0;
    max-width: 600px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#pasos h2 {
    max-width: 600px;
}
.contenedor-pasos {
    width: 90%;
    margin: 0 auto;
}

.box-pasos {
    display: flex;
    flex-direction: column;
    margin: 0;
    align-items: center;
}

.box {
    display: flex;
    flex-direction: row;
    margin: 1rem;
}

.box div {
    background-color:#4ABECB;
    border-radius: 17px;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.box p {
    color:white !important;
}

.box h2 {
    color:#9B9B9B;
    margin-right: 1rem;
}

.box img {
    max-height: 100px;
    padding: 1.5rem;
}

.box-pasos .box:nth-child(3) {
    max-width: 646px;
}

.box-pasos .box:nth-child(2) {
    max-width: 855px;
}

.p-hidden {
    display: none;
}


/**************************************+***
                PREGUNTAS
 ******************************************/

#preguntas {
    background-color: #EAF9FB;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    padding-bottom: 3rem;
    padding-top: 1rem;
    max-width: 1980px;
    margin: auto;
    margin-bottom: 3rem;
}

.box-preguntas {
    display: inline-flex;
    flex-direction: column;
    align-items: left;
    max-width: 500px;
    margin: 0 auto;
}

.desc-preguntas img {
    max-width: 150px;
}

.desc-preguntas {
    max-width: 362px;
    margin: 0;
    color:#555555;
}

.desc-preguntas p{
    padding-left: 0;
}

.desc-preguntas {
    align-self: center;
}

.faq .content h3 {
    color: var(--color-secondary);
    font-weight: 400;
    font-size: 34px;
}

.faq .content p {
    font-size: 15px;
    color: rgba(var(--color-default-rgb), 0.7);
}

.faq .faq-container .faq-item {
    position: relative;
    padding: 20px;
    box-shadow: 0px 5px 25px 0px rgba(var(--color-default-rgb), 0.1);
    overflow: hidden;
    max-width: 650px;
    margin: 2em auto;
    background-color: white;
    border-radius: 11px;
    padding: 2rem;
    color: #555555;
}

.faq .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-container {
    margin: 3rem;
}

.faq .faq-container .faq-item h3 {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin: 0 30px 0 0;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
    color: var(--color-primary);
    padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
    color: var(--color-primary);
}

.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item.faq-active,
.faq .faq-container .faq-item.faq-active .faq-content p{
    color: white;
    background-color: #4ABECB;
}

.faq .faq-container .faq-item .faq-toggle:hover {
    color: var(--color-primary);
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(180deg);
    color: var(--color-primary);
}

@media (max-width: 1100px) {
    #preguntas {
        grid-template-columns: 1fr;
        grid-template-areas: "desc" "faq";
        justify-items: center;
    }

    .desc-preguntas {
        text-align: center;
        grid-area: desc;
        margin-top: 3rem;
    }

    .faq-container {
        grid-area : faq;
    }

    .faq .faq-container {
        margin-top: 0;
    }
}

@media (max-width: 500px) {
    .faq .faq-container {
        margin: 1rem;
    }

    .box img {
        display: none;
        padding: 1rem;
    }

    .p-hidden {
        display: block;
        margin-left: 2rem;
        font-size: 2rem;
    }

    .box h2 {
        display: none;
    }
}

/***************************
            DUDAS
*****************************/
#dudas {
    margin-bottom: 3rem;
}

.box-dudas {
    display: flex;
    border-radius: 11px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    padding: 6%;
}

.box-dudas h2 {
    color: #4ABECB;
    font-weight: 700;
    text-align: center;
}

.box-dudas p {
    color: #555555;
    max-width: 1000px;
    text-align: center;
}

.box-dudas .row {
    padding-bottom: 1rem;
}

button[type="submit"] {
    background: #4ABECB;
    color: white;
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 4px;
}

.div-submit {
    text-align: right;
}

/******************************
            FOOTER
*******************************/

.footer {
    background-color: #4ABECB;
    padding: 2% 0;
}

.footer img {
    max-width: 150px;
    padding-bottom: 2rem;
}

.footer p,
.footer a {
    color: white;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.footer h4 {
    color: white;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: inline-block;
}

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: white;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

.footer .footer-links ul a:hover {
    color: none;
}

.footer-about div {
    margin: 0 auto;
}

#footer ul {
    text-align: left;
}

#encuentranos img {
    width: 30px;
}

.footer-about {
    columns: 1;
}
@media (max-width: 990px) {
    .footer {
        padding: 5%;
    }
}


/* DESCARGAR */

.body-des {
    background-color: #4ABECB;
}

.mas-desc {
    min-height: 500px;
    height: 80vh;
    background-size: cover;
    display : grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

#descarga {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "img" "desc";
    background-color: white;
    gap: 3rem;
    padding-top: 4vw;
    padding-bottom: 4vw;
}

#descarga .img{
    text-align: right;
}

#descarga .img img{
    max-width: 20vw;
}

#descarga .description {
    max-width: 600px;
    color: #292929;
    align-self: end;
}

#descarga p {
    padding: 0;
    margin-top: 1rem;
}

.description img {
    margin-top: 2rem;
}

#descarga .qr-img{
    max-width: 150px;
}

#descarga .qr{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr a > img {
    max-width: 200px;
}

.desc-qr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5rem;
    margin-bottom: 4%;
}

@media (max-width: 1000px) {
    #descarga .description h2,
    #descarga .description p {
        margin: 2rem;
    }

    #descarga .description {
        width: 100%;
    }

    #descarga .img {
        display: none;
    }

    #descarga {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        justify-items: center;
    }

    #descarga {
        grid-template-columns: 1fr;
    }

    .desc-qr {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 5rem;
        margin-bottom: 4%;
        margin: 2rem;
    }
}

@media (max-width: 500px) {
    #descarga .description h2,
    #descarga .description p {
        margin: 2rem;
    }

    #descarga {
        grid-template-areas: none;
        justify-items: center;
    }

}

#wave {
    background-image: url('../img/barra-desc.png');
    height: 76px;
    background-size: cover;
}

@media (min-width: 1981px) {
    #wave {
        display: none;
    }
}

/************************************
        REGISTRO COMUNIDAD
*************************************/

.body-reg {
    background-color: #4ABECB;
}

#registro {
    width: 90%;
    margin: 0 auto;
    max-width: 900px;
}

.box-registro {
    max-width: 1980px;
    padding-right: 15%;
    padding-left: 15%;
    padding-top: 10%;
    padding-bottom: 10%;
    background-color: white;
    border-radius: 11px;
}

.no-required {
    color: #646464;
}

#registro h2 {
    color:#5C5C5C;
    font-weight: bold;
    text-align: center;
}

#registro p {
    color:#555555;
    text-align: center;
    padding: 0;
}

form h5 {
    color:#747272;
    text-align: center;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/*****************************************
                SCROLL
*****************************************/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}
.scroll-top i {
    font-size: 24px;
    color: #555555;
    line-height: 0;
}

.scroll-top:hover {
    color: #ffffff;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

.scroll-top  {
    border-radius: 50%;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
    width: 70px;
    height: 70px
}

/* chosen */
.error {
    border: 1px solid #ff00008c !important;
}

/******************************
        SOLICITUD EXITOSA
*******************************/
#success-sol {
    display : flex;
    align-items: center;
    justify-content: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}
#success-sol div{
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    margin-left: 2rem;
    margin-right: 2rem;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
#success-sol h2{
    font-size: clamp(1.5em, 2vw, 4em);
    color: white;
    font-weight: bold;
    text-align: center;
}

#success-sol p{
    font-size: 1rem;
    color: white;
}


/* Ajusta tamaño para dispositivos más pequeños */
@media (max-device-width: 375px) {
    #informacion .box-carousel {
        height: 32vh; 
    }
    
}
@media (max-device-width: 599px) {
    #informacion {
        background-color: white;
    }
    #informacion .wallp{
        background-color: #4ABECB;
        border-radius: 27px 27px;
        width: 90%;
    }
    .titulo h2{
        margin-left: 2vh;
        
    }
    #informacion .box-carousel {
        margin-left: 2vh;
        margin-right: 2vh;
    }
    
}

@media (max-device-width: 680px) {
    #pasos {
        width: 90%;
    }
    #aspectos {
        width: 80%;
    }
    .contenedor-pasos {
        width: 85%;
        
    }
}