/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    --green: #04762d;
    --black: #130f40;
    --red: #b91e1e;
    --red-light: #C65858;
    --white: #fff;
    --gris: #EFF3F5;
    --gris-claro: #FFFFFF;
    --light-color: #696969;
    --negro: #000;
    --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
    --border: .2rem solid rgba(0, 0, 0, .1);
    --outline: .1rem solid rgba(0, 0, 0, .1);
    --outline-hover: .2rem solid var(--black);
    --gradient: linear-gradient(270deg, var(--red), var(--green));
    --gradient-top-bottom: linear-gradient(to bottom, #04762d, #b91e1e);
    --gradient-left-right: linear-gradient(to right, #04762d, #b91e1e);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat", sans-serif;
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*=============== BASE ===============*/
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
}

html {
    /*font-size: 62.5%;*/
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 5px;
}

@-webkit-keyframes fadeIn {
    0% {
        -webkit-transform: translateY(-2rem);
        transform: translateY(-2rem);
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        -webkit-transform: translateY(-2rem);
        transform: translateY(-2rem);
        opacity: 0;
    }
}

.btn-free-read {
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 1rem;
    font-size: .77rem;
    border-radius: 1rem;
    border: .15rem solid var(--black);
    color: var(--black) !important;
    cursor: pointer;
    background: none;
}

.btn-free-read:hover {
    background: var(--red);
    color: #fff !important;
    text-decoration: none;
}

.secondary-title {
    font-size: 2.5rem;
    text-align: center;
    padding: 5rem 1rem 0rem 1rem;
    color: var(--green);
    font-weight: 500;
}

/*  */

section {
    padding: 2rem 25rem;
}

.btn-free {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 1rem;
    border: .15rem solid var(--black);
    color: var(--black) !important;
    cursor: pointer;
    background: none;
}

.btn-free:hover {
    background: var(--red);
    color: #fff !important;
    text-decoration: none;
}

.title-green {
    font-size: 3.8rem;
    text-align: center;
    padding: 5rem 1rem 0rem 1rem;
    color: var(--green);
    font-weight: 500;
}

.title-red {
    font-size: 2.5rem;
    text-align: center;
    padding: 0rem 1rem 0rem 1rem;
    color: var(--red);
    font-weight: 500;
}

.enviroment {
    display: flex;
    padding: 5rem;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--black);
    margin-bottom: 0;
    text-align: justify;
}

.centrar {
    text-align: center;
}

.space {
    background: #eee;
}

ul {
    list-style: none;
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

a {
    text-decoration: none !important;
    color: var(--white) !important;
}

.container__home {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*? START HOME */

.home {
    padding: 0;
    background: var(--black);
}

.home .slide {
    min-height: 70vh;
    background-size: cover !important;
    /*background-position: 15% 40% !important;*/
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel1{
    width: 100%;
    height: auto;
    background: url(../images/home/team-econature.webp) 20% 0 no-repeat;
    background-position: 0% 4% !important;
}

.carousel2{
    width: 100%;
    height: auto;
    background: url(../images/home/company-econature1.webp) 20% 0 no-repeat;
    background-position: 0% 10% !important;
}

.carousel3{
    width: 100%;
    height: auto;
    background: url(../images/home/customer-econature.webp) 20% 0 no-repeat;
    background-position: 0% -5% !important;
}

.home .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--dark-bg);
    z-index: -1;
}

.home .slide .content {
    text-align: center;
    width: 80rem;
    display: none;
}

.home .slide .content h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 .5rem 1rem rgba(0, 0, 0, .7);
    line-height: 1;
    animation: fadeIn 1s cubic-bezier(.54, 1.3, .63, 1.34) .4s backwards;
}


.home .slide .content .btn {
    animation: fadeIn 0.4s cubic-bezier(.54, 1.3, .63, 1.34) .6s backwards;
}

.home .swiper-slide-active .content {
    display: inline-block;
}

.text-carousel2 {
    margin-top: 1rem;
    padding: 0 1rem;
}

.text-carousel3 {
    margin-top: 1rem;
    padding: 0 7rem;

}

.home .wave {
    position: absolute;
    bottom: 0rem;
    left: 0;
    height: 4rem;
    width: 100%;
    background: url(../images/home/wave.webp);
    background-size: 100rem 10rem;
    background-repeat: repeat-x;
    animation: waves 10s linear infinite;
}

.home .wave2 {
    animation-direction: reverse;
    animation-delay: -2s;
    animation-duration: 4s;
    opacity: .5;
}

.home .wave3 {
    animation-delay: -5s;
    animation-duration: 7s;
    opacity: .7;
}


@keyframes waves {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 100rem;
    }
}

/*? END HOME */


/*? START MAIN TITLE  */

.main-title .content {
    text-align: center;
    margin: 1rem;
}


.main-title .content h1 {
    font-size: 2.4rem;
    color: var(--red);
    padding-bottom: 1.8rem;
    text-transform: uppercase;
    font-weight: bold;
}

/*? END MAIN TITLE  */


/*? START PROTOCOL TERMITE */

.card-protocol {
    margin-bottom: 7rem;
}

.termidor {
    text-align: center;
}

.termidor img {
    width: 20%;
    margin-top: 10rem;
}

a.btn {
    background: var(--green);
    border-radius: 4px;
    box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.25);
    color: #ffffff;
    display: inline-block;
    padding: 6px 30px 8px;
    position: relative;
    text-decoration: none;
    transition: all 0.1s 0s ease-out;
}

.no-touch a.btn:hover {
    background: var(--red);
    box-shadow: 0px 8px 2px 0 rgba(0, 0, 0, 0.075);
    transform: translateY(-2px);
    transition: all 0.25s 0s ease-out;
}

.no-touch a.btn:active,
a.btn:active {
    /*box-shadow: 0 1px 0px 0 rgba(255, 255, 255, 0.25);*/
    transform: translate3d(0, 1px, 0);
    transition: all 0.025s 0s ease-out;
}

div.cards {
    margin: 2rem auto;
    max-width: 960px;
    text-align: center;
}

div.card {
    background: #ffffff;
    display: inline-block;
    margin: 8px;
    max-width: 300px;
    perspective: 1000;
    position: relative;
    text-align: left;
    transition: all 0.3s 0s ease-in;
    width: 300px;
    z-index: 1;
}

div.card img {
    max-width: 300px;
    border-radius: 1rem;
}

div.card .card__image-holder {
    /*background: rgba(0, 0, 0, 0.1);*/
    height: 0;
    padding-bottom: 75%;
}

div.card div.card-title {
    background: #ffffff;
    padding: 6px 15px 10px;
    position: relative;
    z-index: 0;
}

div.card div.card-title a.toggle-info {
    border-radius: 32px;
    height: 32px;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 10px;
    width: 32px;
}

div.card div.card-title a.toggle-info span {
    background: #ffffff;
    display: block;
    height: 2px;
    position: absolute;
    top: 16px;
    transition: all 0.15s 0s ease-out;
    width: 12px;
}

div.card div.card-title a.toggle-info span.left {
    right: 14px;
    transform: rotate(45deg);
}

div.card div.card-title a.toggle-info span.right {
    left: 14px;
    transform: rotate(-45deg);
}

div.card div.card-title h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
}

div.card div.card-title h3 small {
    display: block;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

div.card div.card-description {
    padding: 0 15px 10px;
    position: relative;
    font-size: 15px;
}

div.card div.card-description-sanitation {
    padding: 0 15px 10px;
    position: relative;
    font-size: 15px;
}

div.card div.card-actions {
    box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.075);
    padding: 10px 15px 20px;
    text-align: center;
}

div.card div.card-flap {
    /*background: #d9d9d9;*/
    position: absolute;
    width: 100%;
    transform-origin: top;
    transform: rotateX(-90deg);
}

div.card div.flap1 {
    transition: all 0.3s 0.3s ease-out;
    z-index: -1;
}

div.card div.flap2 {
    transition: all 0.3s 0s ease-out;
    z-index: -2;
}

div.cards.showing div.card {
    cursor: pointer;
    opacity: 0.6;
    transform: scale(0.88);
    margin-bottom: 6rem;

}

.no-touch div.cards.showing div.card:hover {
    opacity: 0.94;
    transform: scale(0.92);
}

div.card.show {
    opacity: 1 !important;
    transform: scale(1) !important;
}

div.card.show div.card-title a.toggle-info {
    background: #ff6666 !important;
}

div.card.show div.card-title a.toggle-info span {
    top: 15px;
}

div.card.show div.card-title a.toggle-info span.left {
    right: 10px;
}

div.card.show div.card-title a.toggle-info span.right {
    left: 10px;
}

div.card.show div.card-flap {
    background: #ffffff;
    transform: rotateX(0deg);
}

div.card.show div.flap1 {
    transition: all 0.3s 0s ease-out;
}

div.card.show div.flap2 {
    transition: all 0.3s 0.2s ease-out;
}


/*? END PROTOCOL TERMITE */


/* ? START WHY ECONATURA */

.flip-main .row-why {
    display: flex;
    flex-wrap: wrap;
}

.flip-main .flip-card {
    flex: 0 0 calc(25% - 30px);
    margin: 0 15px 30px;
    perspective: 1000px;
    /*remove this if you dont want the 3d effect*/
}

.flip-main .flip-card-inner {
    /* box-shadow: 0 0 10px #a9b3d6; */
    position: relative;
    transform-style: preserve-3d;
    transition: all 1s ease;
}

.flip-main .flip-card-front img {
    width: 100%;
}

.flip-main .flip-card-front,
.flip-main .flip-card-back {
    backface-visibility: hidden;
}

.flip-main .flip-card-back {
    background-color: var(--white);
    position: absolute;
    left: 0;
    top: 0;
    padding: 15px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotateY(180deg);
}

.flip-main .flip-card-back h3 {
    font-size: 29px;
    color: var(--black);
    margin: 0 0 5px;
}

.flip-main .flip-card-back h3 span {
    font-size: 30px;
    background: var(--red);
    color: var(--white);
    padding: 1px 6px;
}

.flip-main .flip-card-back p {
    font-size: 14px;
    color: var(--black);
    margin: 0;
}

.flip-main .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}


/* ? END WHY ECONATURA */

/* ? START BLOG TERMITE */

.blog-principal .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2.5rem;
    padding: 2rem;
}

.blog-principal .box-container .box {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    background: #fff;
}

.blog-principal .box-container .box img {
    height: 20rem;
    width: 100%;
    object-fit: cover;
}

.blog-principal .box-container .box .content {
    position: relative;
    height: 20vh;
    text-align: center;
    padding: 2rem;
}

.blog-principal .box-container .box .content h3 {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--red);
    font-weight: bold;
}

.blog-principal .box-container .box:hover {
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.blog-principal .box-container .box .content p {
    line-height: 1.8;
    color: var(--negro);
    font-size: 1.5rem;
    padding: .5rem 0;
}


/* ? END BLOG TERMITE */


/* ? START CUSTOMER */

.review .review-slider {
    padding: 1rem;
}

.review .review-slider .box {
    background: #fff;
    border-radius: .5rem;
    text-align: center;
    padding: 3rem 2rem;
    outline-offset: -1rem;
    outline: var(--outline);
    box-shadow: var(--box-shadow);
    transition: .2s linear;
}

.review .review-slider .box:hover {
    outline: var(--outline-hover);
    outline-offset: 0rem;
}

.review .review-slider .box img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
}

.review .review-slider .box p {
    padding: 1rem 0;
    line-height: 1.8;
    color: var(--light-color);
    font-size: 1rem;
}

.review .review-slider .box .review-1 {
    font-size: 1.2rem;
}

.review .review-slider .box .review-2 {
    font-size: 1.1rem;
}

.review .review-slider .box .review-3 {
    font-size: 1rem;
}

.review .review-slider .box .review-4 {
    font-size: .87rem;
}

.review .review-slider .box strong {
    padding-bottom: .5rem;
    color: var(--red);
    font-size: 1.2rem;
}

.review .review-slider .box .stars i {
    color: var(--red) !important;
    font-size: 1rem;
}


/* ? END CUSTOMER */


/* ? START NEWSLETTER */

.newsletter {
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0.6))), url(../images/home/newsletter-econature.webp) no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/home/newsletter-econature.webp) no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
}


.newsletter h3 {
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0;
}

.newsletter p {
    padding: 1rem 0;
    font-size: 2rem;
    color: #fff;
}

.newsletter form {
    margin: 1rem auto;
    max-width: 60rem;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1rem;
}


/* ? END NEWSLETTER */


/* ? START COUNTER UP */

.counter-up {
    background: url(../images/home/bee-econature.webp) no-repeat;
    min-height: 50vh;
    margin: 20px 0;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background-size: cover;
    background-attachment: fixed;
}

.counter-up .content {
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.counter-up .content .box {
    width: calc(33%) - 30px;
    padding: 50px 220px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #fff;
    flex-direction: column;
}

.counter-up .content .box .icon {
    font-size: 5.5rem;
    color: var(--gris-claro);
}

.counter-up .content .box .counter {
    font-size: 3.5rem;
    color: var(--gris-claro);
    font-weight: 500;
}

.counter-up .content .box .text {
    font-size: 3rem;
    color: var(--gris-claro);
    font-weight: 400;
}

@media (max-width: 1036px) {
    .counter-up {
        padding: 0 0;
        background-attachment: local;
    }
    .content .box {
        width: calc(33% - 0px);
    }
}

/* ? END COUNTER UP */


/* TODO: START WHATSAPP */

#icons {
    position:fixed;
    bottom:25px;
    right:25px;
    z-index: 99999;
}

.phone, .whatsapp, .email, .remove, .more {
    color:#fff;
    display: none;
    width: 50px;
    height: 50px;
    line-height: 68px;
    text-align: center;
    border-radius:50%;
    margin:15px 0;
    cursor:pointer;
    a {
        color:#fff;
    }
    i {
        font-size: 4rem !important;
    }
    &:hover {
        opacity:0.8;
    }
}

.more {
    display: block;
    background: #25D366;
}

.remove {
    background: #ff0000;
}

/* TODO: END  WHATSAPP */


/*? **********************  TABLET IPADS  **********************/

@media (min-width: 768px) and (max-width: 1024px) {

    .carousel1{
        background-position: 45% 0% !important;
        max-width: 100%;
    }

    .carousel2{
        background-position: 55% 0% !important;
    }

    .carousel3{
        background-position: 30% 0% !important;
    }

}


/* TODO: MEDIA QUERYES */

@media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) {

    section {
        padding: 2rem 15rem;
    }

    .enviroment {
        padding: 5rem;
        font-size: 1.4rem;
    }

    .secondary-title {
        font-size: 2.2rem;
    }

    /*? START HOME */

    .carousel1{
        background-position: 0% -1% !important;
    }

    .home .wave {
        height: 3rem;
    }

    /*? END HOME */


    /*? START MAIN TITLE  */

    .main-title .content h1 {
        font-size: 2.2rem;
    }

    /*? END MAIN TITLE  */

    .blog-principal .box-container {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
        gap: 2.5rem;
        padding: 1rem;
    }

    .blog-principal .box-container .box img {
        height: 15rem;
    }

    .blog-principal .box-container .box .content {
        height: 21vh;
        padding: 1rem;
    }

    .blog-principal .box-container .box .content h3 {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .btn-free {
        font-size: 1.1rem;
    }

    .btn-free-read {
        font-size: .75rem;
    }

    .counter-up .content .box {
        padding: 50px 150px;
    }

}

@media (max-width: 768px) {

    .nav__logo img {
        width: 15rem !important;
    }

    section {
        padding: 1rem 0;
    }

    .enviroment {
        padding: 1rem;
        font-size: .85rem;
    }

    .btn-free {
        font-size: 1rem;
        padding: .8rem 2rem;
    }

    .title-red {
        font-size: 1.8rem;
    }

    /*? START HOME */

    .home .slide {
        min-height: 50vh;
    }

    .carousel1{
        background-position: 45% 0% !important;
        top: 2rem !important;
        width: 100%; /* Asegura que la imagen ocupe el ancho del dispositivo */
    }

    .carousel2{
        background-position: 65% 0% !important;
        top: 1rem !important;
        width: 100%; /* Asegura que la imagen ocupe el ancho del dispositivo */
        background: url(../images/home/company-econature-phone1.webp) 20% 0 no-repeat;

    }

    .carousel3{
        background-position: 30% 0% !important;
        top: 1rem !important;
        background: url(../images/home/customer-econature-phone1.webp) 20% 0 no-repeat;

    }

    .home .wave {
        bottom: 0rem;
    }


    /*? END HOME */


    /*? IMAGEN PRINCIPAL */

    .text-carousel2 {
        font-size: 1.7rem !important;
        margin-top: 5rem;
    }

    .text-carousel3 {
        font-size: 1.7rem !important;
        margin-top: 3rem;
        padding: 0 3rem;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 2rem;
    }

    .main-title .content h1 {
        font-size: 1.8rem;
        margin: 2rem 0 0 0;
    }

    .secondary-title {
        font-size: 1.7rem;
    }

    /*? END IMAGEN PRINCIPAL */


    /*? START PROTOCOL TERMITE */

    .card-protocol {
        margin-bottom: 2rem;
    }

    div.card div.card-description-sanitation {
        font-size: 12px;
    }

    /*? END PROTOCOL TERMITE */

    /* ? START WHY ECONATURA */

    .flip-main .flip-card {
        flex: 0 0 calc(50% - 30px);
    }
    .flip-main .flip-card-back h3 {
        font-size: 13px;
    }
    .flip-main .flip-card-back h3 span {
        font-size: 14px;
    }
    .flip-main .flip-card-back p {
        font-size: 8px;
    }

    /* ? END WHY ECONATURA */


    /* ? START BLOG TERMITE */

    .blog-principal .box-container .box .content {
        height: 22vh;
        padding: 1rem;
    }

    .blog-principal .box-container {
        padding: 1rem;
    }

    .blog-principal .box-container .box {
        padding: 1em;
    }

    .blog-principal .box-container .box .content h3 {
        font-size: 1.4rem;
    }

    /* ? END BLOG TERMITE */


    /* ? START CUSTOMER */
    .review .review-slider .box p {
        font-size: .9rem;
    }
    .review .review-slider .box h3 {
        font-size: 1.1rem;
    }
    .review .review-slider .box .stars i {
        font-size: .9rem;
    }

    .review .review-slider .box .review-1 {
        font-size: 1rem;
    }

    .review .review-slider .box .review-2 {
        font-size: .95rem;
    }

    .review .review-slider .box .review-3 {
        font-size: .86rem;
    }

    .review .review-slider .box .review-4 {
        font-size: .8rem;
    }

    /* ? END CUSTOMER */


    /* ? START NEWSLETTER */

    .newsletter h3 {
        font-size: 2.5rem;
        padding: 1rem;
    }

    .newsletter p {
        font-size: 1.2rem;
    }

    .newsletter form {
        margin: 5rem auto;
        max-width: 30rem;
    }

    /* ? END NEWSLETTER */


    /* ? START COUNTER UP */

    .counter-up .content .box {
        padding: 50px;
    }

    .counter-up .content .box .icon {
        font-size: 2rem;
    }

    .counter-up .content .box .counter {
        font-size: 2rem;
    }

    .counter-up .content .box .text {
        font-size: 2rem;
    }

    /* ? END COUNTER UP */

}



