/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #585a61;
  margin: 0;
  padding: 0;
}

a {
  color: #5777ba;
  text-decoration: none;
}

a:hover {
  color: #7b94c9;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0a182a;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #d91219;
  color: #fff;
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 15px 0;
  background: #320406;
  border-top: 8px solid #a90e14;
}

#header.header-transparent {
  background: #320406;
}

#header.header-scrolled {
  background: #320406;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 30px;
  margin: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 2px;
}

#header .logo img {
  margin: 0;
  max-height: 130px;
}

#header .logo2 img {
  margin: 0;
  max-height: 50px;
}

#header .logo2 .financiacion-img {
  margin-right: 10px;
  max-height: 100px;
}

#header .financiacion-img-2 {
  display: none;
}

#header .logo2 .telephone {
  font-family: "Montserrat";
  font-size: 35px;
  font-weight: 500;
  color: white;
  letter-spacing: 2px;
}

#header .logo2 .telephone2 {
  font-family: "Montserrat";
  font-size: 35px;
  font-weight: 500;
  color: #ff0101;
}

@media (max-width: 768px) {
  #header .logo img {
    margin: 0;
    width: 100%;
  }

  #header .logo2 .financiacion-img {
    display: none;
  }

  #header .financiacion-img-2 {
    display: block;
    width: 80%;
    margin-top: 10px;
  }

  #header .logo2 {
    flex-direction: column;
    align-items: flex-start;
  }

  #header .logo2 .asesoramiento-img {
    width: 150px !important;
    padding-left: 10px;
  }

  #header .logo2 .telephone {
    font-size: 20px !important;
  }

  #header .logo2 .telephone2 {
    font-size: 20px !important;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: calc(100vh - 600px);
}

#hero::before {
  content: "";
  position: absolute;
  right: -100%;
  top: 0%;
  width: 250%;
  height: 200%;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    #320406 0%,
    #320406 10%,
    #aa0d14 30%,
    #aa0d14 100%
  );
  transform: skewY(180deg);
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 35px;
  line-height: 50px;
  color: #fdcf22;
  font-family: "Montserrat", sans-serif;
}

#hero h1 span {
  margin: 0 0 10px 0;
  font-size: 35px;
  line-height: 50px;
  color: #ffff;
  font-family: "Montserrat", sans-serif;
}

#hero h2 {
  color: #dbb7b9;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
}

#hero h3 {
  color: #dbb7b9;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
}

#hero .compresorImg {
  width: 75%;
  margin-top: 50px;
}

#hero .btn-link {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 25px;
  display: inline-block;
  padding: 12px 30px 12px 30px;
  border-radius: 7px;
  transition: 0.5s;
  color: #000000;
  background: #fdcf22;
  position: relative;
  text-decoration: none;
}

#hero .btn-link:hover {
  background: #c9a513;
}

#hero .btn-link + .btn-link {
  margin-left: 20px;
}

.asesoramiento-text {
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: left;
}

.img-desktop-hero {
  display: block;
  justify-self: center;
}

.img-mobile-hero {
  display: none;
}

@media (max-width: 768px) {
  #hero {
    text-align: center;
  }

  #hero {
    background: linear-gradient(
      to bottom,
      #320406 0%,
      #aa0d14 12%,
      #aa0d14 100%
    );
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 0px;
    padding-bottom: calc(100vh - 750px);
  }

  #hero .btn-link {    
    font-size: 18px;    
    padding: 10px 23px 10px 23px;
  }

  #hero h1 {
    font-size: 22px;
    line-height: 30px;
  }

  #hero h1 span {
    font-size: 20px;
    line-height: 30px;
  }

  #hero h2,
  #hero h2 span {
    font-size: 14px;
    line-height: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .asesoramiento-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .img-desktop-hero {
    display: none;
  }

  .img-mobile-hero {
    display: block;
    width: 100%;
    justify-self: center;
  }
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding-top: 60px;
  overflow: hidden;
}

.section-bg {
  background-color: #f2f5fa;
}

.section-title h2 {
  font-size: 35px;
  color: #7b7b7b;
  font-family: "Montserrat", sans-serif;
}

.section-title h2 span {
  font-size: 35px;
  font-weight: bold;
  color: #d91219;
  font-family: "Montserrat", sans-serif;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title-2 h2 {
  font-size: 35px;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #ffff;
  font-family: "Montserrat", sans-serif;
}

.section-title-2 h2 span {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #d91219;
  font-family: "Montserrat", sans-serif;
}

.section-title-2 h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #7b7b7b;
  font-family: "Montserrat", sans-serif;
}

.section-title-2 {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 30px;
}

#features {
  background: linear-gradient(
    to bottom,
    #cccccc 0%,
    #cccccc 1%,
    #ffffff 6%,
    #ffffff 100%
  );
  padding-bottom: 40px;
}

.btn-container {
  padding-bottom: 20px;
}

#features2 {
  background-color: black;
  padding-bottom: 20px; /* Ajusta este valor según sea necesario */
}

#features .specs h4 {
  margin-bottom: 5px;
  padding-bottom: 0;
  color: black;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 30px;
}

#features .specs h5 {
  margin-bottom: 5px;
  padding-bottom: 0;
  color: #d91219;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
}

#features .specs p {
  margin-top: 10px;
  margin-bottom: 25px;
  color: #666666;
  font-family: Verdana, Geneva, Tahoma, sans-serif, sans-serif;
  font-size: 17px;
}

#features .btn-link {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 15px;
  display: inline-block;
  padding: 10px 24px 10px 24px;
  border-radius: 7px;
  transition: 0.5s;
  color: #fff;
  background: #d91219;
  position: relative;
  text-decoration: none;
}

#features .btn-link:hover {
  background: #aa0d14;
}

#features .btn-container img {
  width: 50px;
}

#features2 .specs h4 {
  padding-top: 15px;
  margin-bottom: 3px;
  color: #d91219;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
}

#features2 .specs h4 span {
  color: #fff;
}

#features2 .specs p {
  padding-top: 5px;
  margin-bottom: 25px;
  padding-bottom: 0;
  color: #aba8a8;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 17px;
}

#features2 .btn-link {
  font-family: "Montserrat";
  font-size: 15px;
  display: inline-block;
  padding: 10px 50px 10px 50px;
  border-radius: 7px;
  transition: 0.5s;
  color: #fff;
  background: #d91219;
  position: relative;
  text-decoration: none;
}

#features2 .btn-link:hover {
  background: #aa0d14;
}

.icon-text-container {
  display: flex;
  align-items: center;
}

.icon-text-container img {
  margin-right: 10px;
}

@media (max-width: 767.98px) {
  section {
    padding-top: 10px;
    height: fit-content;
    overflow: hidden;
  }

  .section-title h2,
  .section-title h2 span {
    font-size: 30px;
  }

  .section-title-2 h2,
  .section-title-2 h2 span {
    font-size: 28px;
  }

  #features2 .specs .info-box {
    padding-bottom: 60px;
  }
  
  #features2 .specs p {    
    margin-bottom: 5px;    
  }

  .icon-text-container {
    flex-direction: column;
    text-align: left;
  }

  .icon-text-container img {
    margin-bottom: 0px;
    width: 80px;
  }
}

/*--------------------------------------------------------------
# Testimony Section
--------------------------------------------------------------*/
#testimony {
  width: 100%;
  height: auto;
  background: linear-gradient(
    to bottom,
    #d91219 0px,
    #d91219 200px,
    #ffffff 200px,
    #ffffff 100%
  );
  position: relative;
  overflow: hidden;
}

#testimony .section-title-testimony {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  text-align: center;
}

#testimony .specs {
  background: #ffffff;
  margin-top: 40px;
}

#testimony h2 {
  font-size: 35px;
  margin-bottom: 20px;
  text-align: center;
  color: #ffff;
  font-family: "Montserrat", sans-serif;
}

#testimony h2 span {
  text-decoration: underline;
  font-weight: bold;
}

#testimony .h2-text {
  text-align: center;
  color: black;
  text-decoration: none;
  font-weight: 500;
}

#testimony h3 {
  color: #ffa7a6;
}

#testimony .specs h4 {
  margin-bottom: 5px;
  padding-bottom: 0;
  color: black;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 30px;
}

#testimony .specs h5 {
  margin-bottom: 5px;
  padding-bottom: 0;
  color: #d91219;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
}

#testimony .specs p {
  margin-top: 10px;
  margin-bottom: 25px;
  color: black;
  font-family: Verdana, Geneva, Tahoma, sans-serif, sans-serif;
  font-size: 17px;
}

#testimony h4 {
  margin-bottom: 5px;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 0;
  color: black;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 35px;
}

#testimony .btn-link {
  color: #d91219;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  font-weight: 500;
}

#testimony .btn-container img {
  width: 50px;
}

#testimony .punta-del-agua {
  display: none;
}

@media (max-width: 768px) {
  #testimony h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
    color: #ffff;
    font-family: "Montserrat", sans-serif;
  }

  #testimony h3 {
    font-size: 20px;
  }

  #testimony h4 {
    margin-bottom: 5px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 0;
    color: black;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 20px;
  }

  #testimony .specs {
    background: #ffffff;
    margin-top: 100px;
  }

  #testimony .btn-link {    
    font-size: 20px;
    font-weight: 500;
  }

  #testimony .btn-container img {
    width: 40px;
  }

  #testimony .punta-del-agua {
    display: block;
  }
 
  #testimony {
    width: 100%;
    height: auto;
    padding: 70px 0 20px 0;
    background: linear-gradient(
      to bottom,
      #d91219 0px,
      #d91219 250px,
      #ffffff 250px,
      #ffffff 100%
    );
    position: relative;
    overflow: hidden;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contact {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 50px 0 50px 0;
  background: linear-gradient(
    to bottom,
    #320406 15%,
    #320406 15%,
    #d91219 50%,
    #d91219 100%
  );
}

#contact h2 {
  text-align: center;
  font-size: 35px;
  font-family: "Montserrat";
  color: #ffff;
}

#contact h2 .hablemos {
  text-align: center;
  font-weight: bold;
  font-size: 35px;
  font-family: "Montserrat";
  color: #d91219;
}

#contact p {
  color: #ffff;
  text-align: left;
  font-size: 20px;
  font-family: "Montserrat";
}

#contact .reduce-space {
  margin-bottom: 0px;
}

#contact span {
  color: #ffcc00;
  font-size: 20px;
}

#contact .divider {
  width: 100%;
  height: 1.7px;
  background: linear-gradient(
    to right,
    rgba(89, 156, 175, 0),
    #d91219,
    rgba(89, 156, 175, 0)
  );
  position: relative;
  margin: 30px 0;
}

#contact .php-email-form {
  width: 100%;
}

#contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

#contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

#contact .php-email-form .sent-message {
  display: none;
  color: #ffff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

#contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

#contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

#contact .php-email-form label {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 5px;
  color: #fff;
}

#contact .php-email-form input,
#contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 17px;
  font-family: "Montserrat", sans-serif;
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: #ffffff;
}

#contact .btn-link:focus {
  outline: none; 
  box-shadow: 0 0 0 3px rgb(255, 255, 255);
  color: #000000;
}

#contact .php-email-form input {
  padding: 10px 15px;
}

#contact .php-email-form textarea {
  padding: 12px 15px;
}

@media (max-width: 1024px) {
  #contact .php-email-form {
    padding: 30px 15px 15px 15px;
  }
}

@media (max-width: 768px) {
  #contact h2 {
    text-align: center;
    font-size: 30px;
    font-family: "Montserrat";
    color: #ffff;
  }

  #contact h2 .hablemos {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    font-family: "Montserrat";
    color: #f3ca30;
  }

  #contact h2 span {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    font-family: "Montserrat";
    color: #9cf36e;
  }

  #contact .php-email-form {
    padding: 15px 0 0 0;
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#contact .btn-link {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 19px;
  display: inline-block;
  padding: 10px 100px 10px 100px;
  border-radius: 7px;
  transition: 0.5s;
  background: #ffcc00;
  position: relative;
  text-decoration: none;
  border: none;
  box-shadow: none;
}

#contact .btn-link:hover {
  background: #c9a513;
  color: #000000;
  border: none;
  box-shadow: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

#footer .footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

#footer .footer-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #ffffff;
  z-index: 1;
  text-align: center;
}

#footer .logo-center {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.copyright {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: #aba8a8;
  text-align: center;
  margin: 0;
}

.whatsapp-button {
  position: fixed;
  bottom: 12px;
  right: 70px;
  z-index: 1000;
  display: none;
  animation: bounce 2s infinite;
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  transition: all 0.4s;
}

.whatsapp-button img:hover {
  width: 70px;
  height: 70px;
}

@media (max-width: 768px) {
  .copyright {
    font-size: 13px;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
