* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

body {
  width: 100vw;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Estilos para el bloque 'header' */
.header {
  background: linear-gradient(270deg, #ededed 0%, #f5f5f5 100%);
  /* padding-left: 40px;  */

  .header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    z-index: 2;

    .header__nav-list {
      display: flex;
      align-items: center;
      gap: 16px;
    }
  }

  .hero {
    display: flex;
    align-items: center;
    height: calc(100vh - 55px);
    padding-left: 40px;
    .hero__info {
      width: 49%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 16px;
      z-index: 2;

      .info__description {
        /* max-width: 482px; */
        width: 80%;
      }

      .hero__info-cta {
        max-width: 60%;
      }
    }

    .hero__image {
      /* position: absolute; */
      right: -40px;
      height: calc(100vh - 55px);
      z-index: 1;
    }
  }
}

/* Estilos para el bloque 'about' */
.about {
  display: flex;
  align-items: center;
  height: calc(100vh);
  padding-left: 32px;
  margin-bottom: 80px;

  .about__info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 2;
  }

  .about__stats {
    display: flex;
    gap: 24px;

    .about__stat {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
  }

  .about__features {
    display: flex;
    flex-direction: column;
    gap: 20px;

    .about__feature {
      display: flex;
      gap: 16px;

      .about__feature-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background-color: #dffadb;
        color: #539d42;
        border-radius: 50%;
      }

      .about__feature-info {
        display: flex;
        flex-direction: column;
        width: 80%;
      }
    }
  }

  .about__image {
    height: calc(80%);
    z-index: 1;
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: show;
    animation-range: entry 25% cover 50%;
    animation-fill-mode: both;
  }
}

.clientes {
  display: flex;
  width: 100%;
  background-color: #1b3215;
  padding: 56px 0;
  align-items: center;
  justify-content: space-around;
  /* gap: 16px; */

  .cliente-container {
    display: flex;
    justify-content: center;
    align-items: center;

    .cliente-card {
      /* width: 300px;
      height: 200px;
      background: #111; */
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      transition: all 0.5s ease;
    }

    .cliente-card::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 300%;
      height: 100%;
      background: linear-gradient(
        0deg,
        transparent,
        transparent 30%,
        rgba(0, 255, 55, 0.3)
      );
      transform: rotate(-45deg);
      transition: all 0.5s ease;
      opacity: 0;
    }

    .cliente-card:hover {
      transform: scale(1.2);
      filter: drop-shadow(0 0 20px rgba(0, 255, 21, 0.5));
    }

    .cliente-card:hover::before {
      opacity: 1;
      transform: rotate(-45deg) translateY(115%);
    }
  }
}

/* Estilos para el bloque 'clients' */
.clients {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  gap: 32px;
  padding: 40px 0;

  .clients__list {
    display: flex;
    gap: 16px;

    .clients__review {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: flex-start;
      padding: 32px;
      background-color: #dffadb;
      border-radius: 32px;

      .client__review-details {
        display: flex;
        gap: 8px;

        .client__review-info {
          display: flex;
          flex-direction: column;
          justify-content: center;
        }

        .client__review-image {
          display: flex;
          width: 56px;
          height: 56px;
          border-radius: 50%;
          background-color: #539d42;
          align-items: center;
          justify-content: center;
        }

        .clients__review-info {
          display: flex;
          flex-direction: column;
          gap: 8px;
        }
      }

      .client__stars {
        display: flex;
        align-items: center;
        gap: 2px;
        color: #539d42;
      }

      .client__review-text {
        font-family: "Open Sans", serif;
        font-style: italic;
        font-weight: 300;
        font-size: 16px;
      }
    }
  }
}

/* Estilos para el bloque 'booking' */
.booking {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* padding: 40px 0; */
  min-height: 100vh;
  justify-content: center;
  margin: 120px 0;
  padding: 40px 40px 80px 40px;
  background-color: #daffd4;

  .booking__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 80px;
    gap: 80px;

    .booking__step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      width: 100%;

      .txt-align--center {
        text-align: center;
      }
    }
  }

  .booking__step-image {
    border-radius: 50%;
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: slidein;
    /* animation-range: entry 25% cover 50%; */
    animation-fill-mode: both;
  }

  .one {
    animation-range: entry 45% cover 50%;
  }

  .two {
    animation-range: entry 25% cover 75%;
  }

  .three {
    animation-range: entry 5% cover 100%;
  }
}

/* Estilos para el bloque 'services' */
.services {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 120px 0;
  padding: 40px 40px 80px 40px;
  background-color: #daffd4;

  .service__type {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 16px;

    .service__type-item {
      display: flex;
      /* padding: 4px 16px; */
      /* background-color: #fff; */
      border-radius: 32px;
      /* border: 1px solid #539D42; */
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
  }

  .services__list {
    display: flex;
    gap: 32px;

    .services__item {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;

      .services__icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        /* background-color: #dffadb; */
        background-color: #fff;
        color: #539d42;
        border-radius: 50%;
      }
    }
  }
}

/* Estilos para el bloque 'team' */
.team {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  min-height: 100vh;
}

/* Estilos para el bloque 'contact' */
.contact {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  background-color: #539d42;
  color: white;

  .contact__info {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 48px;
    gap: 16px;

    .contact__info-item {
      width: 49%;
      display: flex;
      flex-direction: column;
      /* gap: 8px; */
      align-items: center;
      flex-basis: 49%;
      justify-content: center;

      width: 100%;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 32px;
      background-color: #dffadb;
      border-radius: 32px;
      color: #1a3115;

      a {
        text-decoration: underline;
        color: #26531c;
      }

      .info-call {
        display: flex;
        align-items: center;
        gap: 4px;

        img {
          width: 48px;
          height: 48px;
        }
      }
    }
  }
}

/* Estilos para el bloque 'faq' */
.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: 40px;
  /* estilos generales para el bloque 'faq' */
  .contenedor-acordeon {
    width: 100%;
    /* max-width: 800px; */
    margin: auto;
  }
  .contenedor-acordeon h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 35px;
  }
  .acordeon {
    background: #f2f9f1;
  }
  .acordeon label {
    display: block;
    padding: 16px;
    background: #cce7c6;
    cursor: pointer;
    margin-bottom: 4px;
    transition: all 300ms ease;
    border-radius: 16px;
  }
  .acordeon label:hover {
    background: #cce7c6;
  }
  .acordeon .contenido-acordeon {
    padding: 0px;
    margin: 0px 16px;
    max-height: 0px;
    overflow: hidden;
    transition: all 300ms ease;
  }

  .btn-acordeon:checked ~ .contenido-acordeon {
    max-height: 600px;
    padding: 15px 0px;
  }
  .btn-acordeon {
    display: none;
  }
}

/* Estilos para el bloque 'footer' */
.footer {
  margin-top: 24px;
  background-color: #539d42;
  padding: 20px 0;
  color: white;

  .footer__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .footer__section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
  }

  .footer__description,
  .footer__contact-info,
  .footer__text {
    font-size: 0.9em;
    margin-bottom: 10px;
  }

  .footer__social-links {
    display: flex;
  }

  .footer__social-link {
    margin-right: 10px;
  }

  .footer__social-links img {
    width: 32px;
    height: 32px;
  }

  .footer__bottom {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 10px;
  }
}

.container {
  margin: 0 40px;
}

.whatsapp-button {
  width: 80px;
  height: 80px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.whatsapp-button:hover {
  transform: scale(1.2);
}

.slider {
  width: 100%;
  height: auto;
  margin: auto;
  overflow: hidden;

  view-timeline-name: --image;
  view-timeline-axis: block;

  animation-timeline: --image;
  animation-name: fadein;
  animation-range: entry 25% cover 70%;
  animation-fill-mode: both;

  .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 14);

    .slide {
      width: 344px;
    }

    .img-team {
      object-fit: cover;
      /* aspect-ratio: 16/9; */
      width: 288px;
      height: 423px;
      margin-left: 24px;
      border-radius: 32px;
    }

    .img-clients {
      object-fit: cover;
      /* width: ; */
      max-height: 200px;
    }
  }
}

@media screen and (max-width: 1120px) {
  .header {
    .hero {
      .hero__image {
        /* right: -200px; */
      }
    }
  }

  .about {
    height: auto;

    .about__image {
      /* position: static; */
      width: 40%;
      height: auto;
    }
  }
}

/* MEDIA QUERIES */
@media screen and (max-width: 900px) {
  .header {
    height: auto;

    .header__nav {
      .header__nav-list > li {
        display: none;
        /* flex-direction: column; */
        /* gap: 8px; */
      }

      .header__nav-list > li:last-child {
        display: flex;
        /* flex-direction: column; */
        /* gap: 8px; */
      }
    }

    .hero {
      flex-direction: column;
      height: auto;
      gap: 24px;
      padding: 16px;

      .hero__info {
        align-items: center;
        width: 100%;

        h1 {
          text-align: center;
          font-size: 48px;
          line-height: 48px;
        }

        .info__description {
          width: 100%;
          text-align: center;
        }
      }

      .hero__image {
        position: static;
        width: 100%;
        height: auto;
      }
    }
  }

  .about {
    flex-direction: column;
    padding: 16px;
    height: auto;
    gap: 24px;

    .about__info {
      width: 100%;
      gap: 16px;
    }

    .about__stats {
      flex-direction: column;
      gap: 16px;

      .about__stat {
        align-items: center;
        gap: 0px;
      }
    }

    .about__features {
      align-items: center;
      gap: 16px;

      .about__feature {
        width: 100%;

        .about__feature-info {
          width: 100%;
        }
      }
    }

    .about__image {
      position: static;
      width: 100%;
      height: auto;
    }
  }

  .clientes {
    padding: 32px 32px;
    justify-content: space-around;
    gap: 87px;
    overflow-x: scroll;
  }
  .clients {
    padding-top: 24px;
  }
  .clients__list {
    flex-direction: column;
    gap: 16px;
  }

  .booking__steps {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }

  .services {
    padding: 40px 20px;
  }

  .services__list {
    flex-direction: column;
    gap: 16px;
  }

  .team {
    padding: 40px 0px;
  }

  .contact {
    padding: 20px 20px;
  }

  .contact__info {
    flex-direction: column;
    gap: 16px;
  }

  .faq {
    padding-top: 40px;
  }

  .footer__content {
    flex-direction: column;
    gap: 20px;
  }

  .footer__section {
    margin: 10px 0;
  }

  .container {
    margin: 0 16px;
  }

  .whatsapp-button {
    width: 60px;
    height: 60px;
  }
}

/* GLOBAl STYLES */
/* -- COLORS */
:root {
  .color--green-hard {
    color: #539d42;
  }

  .color--green-mid {
    color: #8cc97e;
  }

  .color--green-soft {
    color: #cce7c6;
  }

  .color--green-light {
    color: #f2f9f1;
  }

  .color--blue-hard {
    color: #07436c;
  }

  .color--blue-mid {
    color: #0f9eff;
  }

  .color--blue-soft {
    color: #dbf1ff;
  }

  .color--blue-light {
    color: #ebf7ff;
  }

  .color--black {
    color: #242424;
  }

  .color--black-dark {
    color: #3d3d3d;
  }

  .color--black-mid {
    color: #575757;
  }

  .color--black-soft {
    color: #707070;
  }

  .color--grey {
    color: #8a8a8a;
  }

  .color--white {
    color: white;
  }
}

/* -- TEXT */
:root {
  .title-main {
    font-family: "Nunito", serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 64px;
  }

  .txt-h1 {
    font-family: "Nunito", serif;
    font-weight: 700;
    font-size: 48px;
  }

  .txt-h2 {
    font-family: "Nunito", serif;
    font-weight: 700;
    font-size: 40px;
  }

  .txt-h3 {
    font-family: "Nunito", serif;
    font-weight: 700;
    font-size: 32px;
  }

  .txt-title {
    font-family: "Nunito", serif;
    font-size: 24px;
    font-weight: 500;
  }

  .txt-stitle {
    font-family: "Nunito", serif;
    font-size: 20px;
    font-weight: 500;
  }

  .txt-body {
    font-family: "Open Sans", serif;
    font-size: 16px;
  }

  .txt-btn {
    font-family: "Nunito", serif;
    font-size: 16px;
    font-weight: 700;
  }

  .txt-caption {
    font-family: "Open Sans", serif;
    font-size: 12px;
  }

  .txt-mini {
    font-family: "Open Sans", serif;
    font-size: 10px;
  }
}

.txt-aling--center {
  text-align: center;
}

/* BUTTONS */
:root {
  .btn--primary {
    align-items: center;
    /* background: #FFF; */
    border-radius: 30px;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 12px 24px;
    width: 100%;
    cursor: pointer;
    font-family: "Nunito", serif;
    background-color: #539d42;
    color: white;
    display: flex;
    gap: 16px;
  }
  .btn--primary:hover {
    background: #468538;
  }
  .btn--primary:active {
    background: #386b2d;
  }

  .btn--secondary {
    align-items: center;
    background: #d1ffc6;
    border: 1px solid #539d42;
    border-radius: 30px;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 8px 24px;
    width: 100%;
    color: #36682b;
    font-family: "Nunito", serif;
  }
  .btn--secondary:hover {
    background-color: #ebffe6;
  }
  .btn--secondary:active {
    background-color: #acff9c;
  }

  .nav-link {
    font-family: "Nunito", serif;
    color: #242424;
  }

  .nav-link--active {
    font-family: "Nunito", serif;
    font-weight: bold;
    color: #575757;
    text-decoration: underline;
  }

  .nav-link--white {
    font-family: "Nunito", serif;
    color: #ebebeb;
  }

  .nav-link--white:hover {
    font-family: "Nunito", serif;
    font-weight: bold;
    color: #bfbfbf;
    text-decoration: underline;
  }
}

/* ANIMATIONS */
@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-200px * 7));
    transform: translateX(calc(-200px * 7));
  }
}

@keyframes show {
  from {
    opacity: 0;
    scale: 25%;
  }

  to {
    opacity: 1;
    scale: 100%;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slidein {
  from {
    opacity: 0;
    margin-left: 100%;
  }

  to {
    opacity: 1;
    margin-left: 0%;
  }
}
