/* 
Website Name: CartSave.io
Website URL:
*/

@import url("https://fonts.googleapis.com/css?family=Lato:400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,700,800&display=swap");

html,
body {
  background-color: #fff;
}

body {
  background-image: url(../img/hero_background01.jpg);
  background-position-x: right;
  background-position-y: -140px;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1600px) {
  body {
    background-position-y: 0px;
  }
}

.container {
  max-width: 1200px !important;
}

nav {
  height: 100px;
}

a.nav-link {
  color: #000!important;
}
a.nav-link {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: #000 !important;
  letter-spacing: 0.05rem;
  font-weight: 700;
  padding: 0 2rem !important;
  border-radius: 40px;
  background: #24ad6800;
  border: none;
  font-size: 1rem;
  transition: all 0.2s;
  padding: 1rem !important;
  width: 200px;
  margin-left: 2rem;
  text-align: center;

}

a.nav-link:hover {
  color: #24ad69 !important;
  transition: all 0.2s;
}


.scroll-navbar {
  z-index: 1500 !important;
  background-color: #fff;
  box-shadow: 0px 0px 40px #0000006b;
}
@media screen and (max-width: 1133px) {
  
  .navbar-expand-lg .navbar-nav .nav-link {
    margin: 0 5px;
    padding: 0;
  }
  .hero .content {
    padding: 50px;
  }
}

@media screen and (min-width: 991px) {
  .a-background,
  a.nav-link {
  }
}
@media (max-width: 1024px) {
  .home .popup {
    max-width: 80%;
  }
  a.nav-link {
    margin: 0;
    width: unset;
  }
}

.navbar {
  z-index: 1500;
  background-color: #fff!important;
}
.hero {
  height: auto;
  /* margin-bottom: 10rem; */
}

.top-navbar {
  background-color: transparent;
  transition: all 1s ease-out;
}

@media screen and (max-width: 990px) {

  .show .navbar-nav, .navbar-nav {
 
  border: solid 1px #ccc;
  padding: 20px;
  z-index: 1500;
  background-color: #fff;
  top: 50px;
  margin-top: 30px;
  }


  .tactics h4,
  .tactics p {
    text-align: center !important;
  }
  .tactics-line {
    justify-content: center;
  }
  .tactics-button {
    text-align: center;
  }
}
@media (max-width: 1023px) {
  .hero-desktop,
  .desktop {
    display: none;
  }
  .hero .title,
  .hero .subtitle,
  .hero .content {
    text-align: center;
  }

  .hero .title {
    margin: 20px 0 !important;
    letter-spacing: 0 !important;
    font-size: 37px !important;
    line-height: 42px !important;
  }

  .hero .subtitle {
    letter-spacing: 0.2rem !important;
    font-size: 30px !important;
  }

  .hero .content {
    letter-spacing: 0 !important;
  }

  .hero img {
    max-width: 85% !important;
    text-align: center;
  }

  body {
    background-image: none;
  }

  .mouse {
    display: none !important;
  }

  .platform-logos {
    margin-top: 0 !important;
  }

  .platforms {
    margin-top:0 !important;
    padding-top: 2rem !important;
    padding-bottom: 3.5rem !important;
  }

  .tactics img {
    padding: 0 2rem !important;
  }

  .tactics button img {
    padding: 0 !important;
  }

  .pricing {
    background-size: unset !important;
    background-position: unset !important;
  }

  .navbar-toggler-icon {
    background-image: url("../img/hamburguer.png") !important;
    width: 30px !important;
    height: 20px !important;
  }
}

@media (min-width: 1023px) {
  .hero-mobile,
  .mobile {
    display: none;
  }
}

.hero .title {
  margin-top: 5.3rem;
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #24ad69;
  text-transform: uppercase;
  line-height: 1.2em;
}

.dot-digital .title,
.title {
  font-size: 2.4rem;
  margin-bottom: 0.5em;
}

@media screen and (max-width: 919px) {
  .dot-digital .tactics-button {
    text-align: center !important;
  }
}

.hero .subtitle {
  line-height: 2.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #373f47;
  letter-spacing: 0.3rem;
  margin-bottom: 2rem;
}

.hero .content {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15rem;
  color: #373f47;
}

@media screen and (min-width: 1023px) {
  .dot-digital .hero .content,
  .hero .content {
    max-width: 530px !important;
  }
}

.mouse {
  border-radius: 50%;
  height: 80px;
  width: 80px;
  background: #fff;
  margin-top: -100px;
  cursor: pointer;
  border: solid 0px #fff;
  transition: border 0.5s;
}

.mouse:hover {
  border: solid 10px #79cca2;
  transition: border 0.3s;
}

@media (min-width: 1600px) {
  .mouse {
    margin-top: -60px;
  }
}

@media (max-height: 720px) {
  .mouse {
    margin-top: -240px;
  }
  .hero .title {
    margin-top: 45px;
  }
  .hero .image {
    top: 170px;
  }
}

.mouse img {
  width: 25px;
  height: 44px;
}

button.pricing,
button.submit {
  font-family: "Lato", sans-serif;
  margin-top: 40px;
  width: 390px;
  height: 73px;
  border-radius: 40px;
  background: #24ad69;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  transition: all 0.2s;
}

button img {
  padding: 0 !important;
}

button.submit {
  margin-bottom: 30px;
}

button.pricing:hover,
button.submit:hover {
  background: #1f7644;
  box-shadow: 0px 10px 40px #0000006e;
  transition: all 0.2s;
}

.hero-image {
  top: 250px;
  position: absolute;
  right: 8%;
}
@media screen and (max-width: 501px) {
  button.pricing,
  button.submit {
    width: 100%;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .hero-image {
    right: 50px !important;
    transition: all 0.5s;
    text-align: right !important;
  }
  .hero-image img {
    width: 75% !important;
  }
}

@media (min-width: 1366px) {
  .hero-image {
    transition: all 0.5s;
  }
}
@media (max-width: 1600px) {
  .hero-image {
    transition: all 0.5s;
  }
}
@media (min-width: 1601px) {
  .hero-image {
    right: 16%;
    transition: all 0.5s;
  }
}
.scroller {
  height: 100;
}

.title-centered-line {
  width: 100px;
  height: 5px;
  border-radius: 10px;
  background: #24ad69;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

/* PLATFORMS SECTION */
.platforms {
  margin-top: 5rem;
  padding-bottom: 3.5rem;
}

.platforms h2 {
  letter-spacing: 0.15rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 2.12rem;
  color: #373f47;
}

.dot-digital .platforms h2 {
  text-transform: uppercase;
}

.platforms p {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  color: #25292b;
  text-align: left;
}

.platform-logos {
  margin-top: 4.3rem;
}

/* TACTICS SECTION */
.tactics {
  padding-top: 76px;
  background: #f9f7f7;
}

.tactics h2 {
  letter-spacing: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  font-size: 34px;
  color: #373f47;
}

.tactics .number {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 84px;
  color: #24ad69;
}

.tactics h4 {
  letter-spacing: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  font-size: 24px;
  color: #373f47;
}

.tactics p {
  font-family: "Lato", sans-serif;
  font-size: 22px;
  color: #25292b;
  margin-right: 60px;
}

@media (max-width: 990px) {
  .tactics p {
    margin-right: 0;
  }
  .platforms p{
    text-align: center;
  }
}

/* TESTIMONIAL SECTION */

.testimonials .title-centered-line {
  width: 100px;
  height: 5px;
  border-radius: 10px;
  background: #24ad69;
  margin-top: 1rem;
  margin-bottom: 25px;
}

.testimonials .card {
  border-radius: 20px !important;
  border: none;
}
.testimonials h2 {
  letter-spacing: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  font-size: 34px;
  color: #373f47;
}

.testimonials h5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  color: #373f47;
}

.testimonials .card {
  text-align: center;
}

.testimonials .card-body {
  padding: 1rem;
}

.testimonials p.card-text {
  font-family: "Lato", sans-serif;
  text-align: center;
  font-size: 18px;
  color: #373f47;
  letter-spacing: unset;
  line-height: normal;
}

.testimonials p.name {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
  color: #24ad69;
  font-size: 24px;
  text-transform: uppercase;
}

.testimonials p.company {
  font-family: "Lato", sans-serif;
  text-align: center;
  color: #373f47;
  font-size: 18px;
}

.testimonials img.quotes {
  margin: 2rem 0;
}

@media (max-width: 980px) {
  .card-deck {
    flex-direction: column !important;
    margin: 0 2rem;
  }
}

@media (min-width: 981px) {
  .card-deck {
    margin: 0;
  }
}

.card {
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.507) !important;
  transition: all 0.3s;
}

/* PRICING */
.pricing {
  height: 750px;
  background-image: url(../img/background_bottom.jpg);
  background-position-x: right;
  background-position-y: top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.pricing .icon {
  margin-top: 172px;
  margin-bottom: 2rem;
}

.pricing h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 34px;
  color: #fff;
  letter-spacing: 0.2rem;
}

.pricing h5 {
  font-family: "Lato", sans-serif;
  text-align: center;
  font-size: 34px;
  color: #fff;
}

.pricing .title-centered-line {
  width: 100px;
  height: 5px;
  border-radius: 10px;
  background: #fff;
  margin-top: 0.5rem;
  margin-bottom: 25px;
}

.pricing button.pricing {
  font-family: "Lato", sans-serif;
  margin-top: 40px;
  width: 290px;
  height: 73px;
  border-radius: 40px;
  background: #fff;
  color: #24ad69;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  transition: all 0.2s;
}

.pricing button.pricing:hover {
  background: #fff;
  box-shadow: 0px 10px 40px #0000006e;
  transition: all 0.2s;
}

.pricing h6 {
  font-family: "Lato", sans-serif;
  margin-top: 40px;
  width: 500px;
  padding: 5px;

  background: #373f47;
  color: #fff;
  border: none;
  font-size: 18px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.slideUp {
  height: 0px !important;
  transition: all 1s;
}

form {
  margin-top: 40px;
}

.col-form-label {
  font-size: 20px !important;
}

.form-control {
  color: #24ad69 !important;
  background-color: #fff !important;
  height: 4rem !important;
  overflow: visible;
  font-size: 1.5rem !important;
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  border-radius: 0 !important;
  box-shadow: 2px 2px 30px #00000047;
}

.textarea {
  width: 80%;
  height: auto !important;
}

textarea.form-control {
  height: auto !important;
}

.request {
  padding: 0 25px;
}

#thankyou .card {
  text-align: center;
  padding: 5rem;
  margin: 5rem 0;
  border-radius: 20px;
}

@-webkit-keyframes MOVE-BG {
  from {
    -webkit-transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(46px);
  }
}

@keyframes MOVE-BG {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(46px);
  }
}
.loading {
  height: auto;
  text-align: center;
  color: #4c3f2e;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  margin: 3%;
  font-style: italic;
}

.bg {
  position: absolute;
  left: -46px;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;

  background: -webkit-repeating-linear-gradient(
    145deg,
    #f8e9db 1px,
    #fff5ed 2px,
    #fff5ed 11px,
    #f8e9db 12px,
    #f8e9db 20px
  );
  background: repeating-linear-gradient(
    -55deg,
    #f8e9db 1px,
    #fff5ed 2px,
    #fff5ed 11px,
    #f8e9db 12px,
    #f8e9db 20px
  );

  -webkit-animation-name: MOVE-BG;
  -webkit-animation-duration: 0.6s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;

  animation-name: MOVE-BG;
  animation-duration: 0.6s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

footer {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 100px;
  text-align: center;
  height: 100px;
  background-color: #fff;
}

@media (max-width: 640px) {
  .pricing .icon {
    margin-top: 100px;
  }
}

.formError {
  border: 3px solid #ff000059 !important;
}



.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.home .popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  background: #fff;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  margin: 5px;
}


      .popup-trigger {
          cursor: pointer;
      }

      .close-popup, .close {
          position: absolute;
          top: 10px;
          right: 10px;
          padding: 10px;
          background: #fff;
          border: none;
          cursor: pointer;
      }

      .zoom-icon {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 50px;
          height: 50px;
          background: url('<?= $path ?>assets/img/zoom-icon.png') no-repeat center center;
          background-size: contain;
          cursor: pointer;
      }

      .image-container {
          position: relative;
          display: inline-block;
      }

      .zoom-icon {
          position: absolute;
          top: 5%;
          left: 95%;
          transform: translate(-50%, -50%);
      }

      .video-container {
          position: relative;
          width: 100%;
          padding-bottom: 56.25%; /* Proporción de aspecto 16:9 */
          height: 0;
          margin-bottom: 25px;

      }

      .video-container iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
          border-radius: 20px;
         
      }

      @media screen and (min-width:840px){
  .col-sm-4 {
      max-width: 15%!important;
  }

}

@media screen and (max-width:840px){

  .justify-content-between {
    justify-content:center!important;
  }
}
@media screen and (max-width:450px){
    .navbar-brand .brand:nth-of-type(1) {
        width: 40px 
    }
    .navbar-brand .brand:nth-of-type(2) {
        width: 180px 
    }
}


.video-gallery {
max-width: 1280px;
margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.video-gallery .video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}



/* Responsive: una columna en pantallas chicas */
@media (max-width: 600px) {
  .video-gallery {
    grid-template-columns: 1fr;
  }
}


  /**
    *   HUBSPOT form
    */
    .leadinModal.leadinModal-theme-default.leadinModal-v3 .leadinModal-content {
        background: #fff;
        max-height: 80%;
    }
    .leadinModal-content .leadin-footer-wrapper {
        display: none !important;
    }
    .leadinModal-content .leadin-message-wrapper {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .leadinModal-content .leadin-message-wrapper h4 {
        color: #000;
        font-size: 1.3rem;
        font-weight: bold;
        text-align: center;
    }
    .leadinModal-content .leadin-message-wrapper:before {
        background-image: url(assets/img/cartsave-logo.svg);
        background-repeat: no-repeat;
        content: '';
        display: block;
        height: 90px;
        padding-bottom: 20px;
        width: 314px;
    }

