/*  ========== COLOR VARIABLES ========== */
:root {
  --white: #ffffff;
  --black: #000000;

  --mainColor: #2F3872;
  --secondaryColor: #E87A31;

  --textColor: #333333;

  --footerColor: #232A59;

  --bannerColor1: #DBE6F6;

  --benefitsColor1: #F3F1F1;
  --benefitsColor2: #1F3675;

  --testimonialsColor1: #878787;
  --testimonialsColor2: #0F0F0F;

  --errorColor: #FF0000;
}

body {
  background: var(--white);
  background-size: 100% auto;
  color: var(--textColor);
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
  margin: 0;
  text-align: left;
}

section {
  padding: 90px 0;
}

p {
  font-size: 20px;
  line-height: 32px;
}

h1, .h1 {
  font-size: 72px;
  line-height: 80px;
}

h2, .h2 {
  font-size: 52px;
  line-height: 60px;
}

h3, .h3 {
  font-size: 30px;
  line-height: 38px;
}

h4, .h4 {
  font-size: 24px;
  line-height: 32px;
}

.color-main {
  color: var(--mainColor);
}

.color-secondary {
  color: var(--secondaryColor);
}

.btn-main {
  background: var(--secondaryColor);
  border: 1px solid var(--secondaryColor);
  border-radius: 10px;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  min-width: 170px;
  padding: 8px 20px;
  text-align: center;
}

.btn-main.active, .btn-main:hover {
  background: var(--white);
  color: var(--secondaryColor);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--secondaryColor);
  border-radius: 10px;
  color: var(--secondaryColor);
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  min-width: 170px;
  padding: 8px 20px;
  text-align: center;
}

.btn-secondary.active, .btn-secondary:hover {
  background: var(--secondaryColor);
  border: 1px solid var(--secondaryColor);
  color: var(--white);
}

.link {
  color: var(--mainColor);
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: 0.3s ease all;
}

.link.active, .link:hover {
  color: var(--mainColor);
  text-decoration: none;
}

.link::before {
  background: var(--mainColor);
  bottom: -3px;
  content: '';
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: 0.3s ease all;
  width: 0;
}

.link.active::before, .link:hover::before {
  background: var(--mainColor);
  content: '';
  display: block;
  height: 2px;
  transition: 0.3s ease all;
  width: 100%;
}

.link.white {
  color: var(--white);
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: 0.3s ease all;
}

.link.white.active, .link.white:hover {
  color: var(--white);
  text-decoration: none;
}

.link.white::before {
  background: var(--white);
  bottom: -3px;
  content: '';
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: 0.3s ease all;
  width: 0;
}

.link.white.active::before, .link.white:hover::before {
  background: var(--white);
  content: '';
  display: block;
  height: 2px;
  transition: 0.3s ease all;
  width: 100%;
}





.show-desktop {
  display: block;
}

.show-mobile {
  display: none;
}

.show-desktop-flex {
  display: flex;
}

.show-mobile-flex {
  display: none;
}

@media (max-width: 991px) {
  body {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  
  p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  
  h1, .h1 {
    font-size: 50px;
    line-height: 60px;
  }
  
  h2, .h2 {
    font-size: 40px;
    line-height: 48px;
  }
  
  h3, .h3 {
    font-size: 16px;
    line-height: 24px;
  }
  
  h4, .h4 {
    font-size: 16px;
    line-height: 24px;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  section {
    padding: 30px 0;
  }

  .show-desktop {
    display: none;
  }
  
  .show-mobile {
    display: block;
  }

  .show-desktop-flex {
    display: none;
  }
  
  .show-mobile-flex {
    display: flex;
  }
}




/* ========== FOOTER START ========== */
footer {
  background: var(--footerColor);
  color: var(--white);
  padding: 60px 0;
}

footer a {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

footer p {
  font-size: 16px;
  line-height: 24px;
  margin: 0 auto;
  max-width: 568px;
}

/* ========== FOOTER END ========== */



/* ========== BANNER START ========== */
.banner-section {
  background: var(--bannerColor1);
}

.banner-section .buttons-container {
  display: flex;
  flex-direction: row;
}

.banner-section .buttons-container > div {
  margin: 0 10px;
}

.banner-section .buttons-container > div:last-of-type {
  margin: 0 0 0 10px;
}

.banner-section .buttons-container > div:first-of-type {
  margin: 0 10px 0 0;
}

.cta-modal {
  background: var(--white);
  border: 10px solid var(--mainColor);
  border-radius: 7px;
}

.cta-modal .close {
  color: var(--mainColor);
  font-size: 30px;
  opacity: 1;
}

.cta-modal iframe {
  background: var(--white);
  border: 0;
  min-height: 480px;
  width: 100%;
}

@media (max-width: 767px) {
  .banner-section .buttons-container {
    flex-direction: column;
  }

  .banner-section .buttons-container > div {
    margin: 10px 0;
  }
  
  .banner-section .buttons-container > div:last-of-type {
    margin: 10px 0;
  }
  
  .banner-section .buttons-container > div:first-of-type {
    margin: 10px 0;
  }

  .banner-section .buttons-container > div .btn {
    display: block;
  }
}

/* ========== BANNER END ========== */

/* ========== BENEFITS START ========== */
.benefits-section {
  padding: 0;
}

.benefits-section .row > .col-md-3:nth-of-type(4n+1) {
  background: var(--benefitsColor1) url('../img/bg-benefits-1.png') no-repeat bottom left;
  color: var(--benefitsColor2);
}

.benefits-section .row > .col-md-3:nth-of-type(4n+2) {
  background: var(--benefitsColor2);
  color: var(--benefitsColor1);
}

.benefits-section .row > .col-md-3:nth-of-type(4n+3) {
  background: var(--benefitsColor1) url('../img/bg-benefits-3.png') no-repeat top right;
  color: var(--benefitsColor2);
}

.benefits-section .row > .col-md-3:nth-of-type(4n) {
  background: var(--benefitsColor2);
  color: var(--benefitsColor1);
}

.benefits-section .card-benefits {
  margin: 0 auto;
  max-width: 312px;
  padding: 64px 0;
}

.benefits-section .card-benefits p {
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 767px) {
  .benefits-section .card-benefits {
    padding: 30px 0;
  }
}

/* ========== BENEFITS END ========== */



/* ========== TESTIMONIALS START ========== */
.testimonials-section {
  background: var(--bannerColor1);
  padding: 60px 0;
}

.carousel-testimonials {
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0px 4px 7px 2px rgba(0, 0, 0, 0.25);
}

.carousel-testimonials .content {
  margin: 0 auto;
  max-width: 700px;
  padding: 38px 20px;
  text-align: center;
}

.carousel-testimonials .content img {
  display: inline-block;
}

.carousel-testimonials .content p {
  color: var(--testimonialsColor1);
  font-size: 16px;
  line-height: 24px;
}

.carousel-testimonials .content .author {
  color: var(--secondaryColor);
  font-weight: 500;
}

.carousel-testimonials .content .job {
  color: var(--secondaryColor);
  font-weight: 500;
  opacity: 0.5;
}


.carousel-testimonials .slick-prev {
  height: 30px;
  left: 44px;
  width: 30px;
  z-index: 2;
}

.carousel-testimonials .slick-prev::before {
  color: var(--black) !important;
  content: "\f053";
  font-family: 'Font Awesome 5 Pro';
  font-size: 38px;
  font-weight: 900;
  transition: all 0.2s;
}

.carousel-testimonials .slick-next {
  height: 30px;
  right: 44px;
  width: 30px;
  z-index: 2;
}

.carousel-testimonials .slick-next::before {
  color: var(--black) !important;
  content: "\f054";
  font-family: 'Font Awesome 5 Pro';
  font-size: 38px;
  font-weight: 900;
  transition: all 0.2s;
}

.carousel-testimonials .slick-dots {
  bottom: 20px;
  left: 0;
  width: 100%;
}

.carousel-testimonials .slick-dots li button::before {
  background: var(--testimonialsColor2);
  border: 1px solid var(--testimonialsColor2);
  border-radius: 50%;
  color: var(--secondaryColor);
  content: '';
  font-size: 16px;
  height: 16px;
  opacity: 0.3;
  width: 16px;
}

.carousel-testimonials .slick-dots li.slick-active button::before {
  background: var(--secondaryColor);
  border: 1px solid var(--secondaryColor);
  opacity: 1;
}

@media (max-width: 991px) {
  .carousel-testimonials .slick-prev {
    left: -10px;
    top: 25%;
  }

  .carousel-testimonials .slick-next {
    right: -10px;
    top: 25%;
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    padding: 30px 0;
  }
}

/* ========== TESTIMONIALS END ========== */



/* ========== MOSAIC START ========== */
.mosaic-section {
  background: var(--bannerColor1);
  padding: 60px 0;
}

.card-mosaic .author {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.card-mosaic .date {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  opacity: 0.5;
}

.card-mosaic .paragraph {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.card-mosaic .link {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  opacity: 0.5;
}

@media (max-width: 767px) {
  .mosaic-section {
    background: var(--bannerColor1);
    padding: 30px 0;
  }
}

/* ========== MOSAIC END ========== */


/* ========== CTA START ========== */
.cta-section {
  background: url('../img/cta-bg.png') no-repeat top center;
  background-size: cover;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section h2 .h1 {
  color: var(--secondaryColor);
  display: block;
  font-weight: 700;
}

.cta-section .paragraph {
  font-size: 16px;
  line-height: 24px;
  max-width: 460px;
}

@media (max-width: 767px) {
  .cta-section .h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
  }
  
  .cta-section .h2 .h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .cta-section .paragraph {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ========== CTA END ========== */


/* ========== SUBSCRIBE START ========== */
.subscribe-section {
  background: var(--bannerColor1);
}

.subscribe-section .subscribe-form {
  background: var(--white);
  border: 10px solid var(--mainColor);
  border-radius: 7px;
  padding: 40px;
}

.subscribe-section .form-section {
  margin: 0 auto;
  max-width: 1000px;
}





.subscribe-section .form-section input {
  background: var(--white);
  border: 1px solid var(--textColor);
  border-radius: 30px;
  color: var(--textColor);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  min-height: 50px;
  padding: 8px 20px;
  width: 100%;
}

.subscribe-section .form-section select {
  background: var(--white);
  border: 1px solid var(--textColor);
  border-radius: 30px;
  color: var(--textColor);
  font-size: 15px;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  min-height: 50px;
  padding: 8px 20px;
  width: 100% !important;
}

.subscribe-section .form-section input[type="submit"] {
  background: var(--submitBtn);
  border: var(--submitBtn);
  border-radius: 10px;
  color: var(--white);
  display: block;
  font-size: 20px;
  font-weight: 400;
  margin: 0 auto;
  margin-bottom: 15px;
  min-height: 50px;
  padding: 8px 30px;
  position: relative;
  transition: all 0.2s;
  width: auto;
}

.subscribe-section .form-section input[type="submit"]:hover {
  background: var(--white);
  color: var(--submitBtn);
  transition: all 0.2s;
}

.subscribe-section .form-section label {
  color: var(--textColor);
  font-size: 20px;
}

.subscribe-section .form-section .hs-form-booleancheckbox label {
  color: var(--textColor);
  display: block;
}

.subscribe-section .form-section .hs-fieldtype-booleancheckbox .inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subscribe-section .form-section input[type="checkbox"] {
  background: var(--white);
  border: 1px solid var(--textColor);
  color: var(--textColor);
  margin: 0 10px 0 0;
  min-height: unset;
  outline: none;
  width: auto;
}

.subscribe-section .form-section textarea {
  background: var(--white);
  border: 1px solid var(--textColor);
  border-radius: 30px;
  color: var(--textColor);
  outline: none;
  padding: 8px 16px;
  resize: none;
  width: 100% !important;
}

.subscribe-section .form-section form a {
  color: var(--textColor);
}

.subscribe-section .form-section .hs-form-field {
  margin-bottom: 20px;
  margin-top: 0;
}

.subscribe-section .form-section .hs-error-msg, .subscribe-section .form-section .hs-error-msgs {
  color: var(--errorColor);
  list-style: none;
  margin: 0;
  padding: 0;
}

.subscribe-section .form-section fieldset {
  max-width: unset !important;
}

.subscribe-section .form-section ul.inputs-list {
  overflow: hidden;
}

.subscribe-section .form-section .hs-form-field > label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.subscribe-section .form-section .hs-form-checkbox-display span {
  display: inline-block;
  margin-top: 10px;
  position: relative;
}




@media(max-width: 767px) {
  .subscribe-section .subscribe-form {
    padding: 10px;
  }

  .subscribe-section .form-section label {
    font-size: 14px;
  }

  .subscribe-section .form-section .hs-form-field > label {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .subscribe-section .form-section li.hs-form-checkbox {
    float: none;
    width: 100%;
  }
}





/* ========== SUBSCRIBE END ========== */




/* ========== Estilos header ========== */
.wa-icon {
  width: 45px;
height: 45px;
display:block;
  background: url(https://www.autodinero.com.mx/wp-content/uploads/2023/03/wa-icon.png) center center no-repeat;
  background-size: cover;
}
.wa-icon:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease-in-out;
}


















