/* =========================================================
   HOME HERO · BASE / DESKTOP
   ========================================================= */

.home-hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-image: url("/img/cms/home/hero-background2.jpg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

/* =========================================================
   CONTENIDO
   ========================================================= */

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 550px;
  padding: 48px 0 32px 36px;
  box-sizing: border-box;
}

/* =========================================================
   H1
   ========================================================= */

.home-hero__title {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1px;
  color: #111;
}

/* =========================================================
   TEXTO
   ========================================================= */

.home-hero__text {
  width: 500px;
  max-width: 100%;
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.5 !important;
  font-weight: 400;
  color: #111;
}

.home-hero__text strong {
  font-weight: 700;
}

/* =========================================================
   CTAs
   ========================================================= */

.home-hero__actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.home-hero__button {
  display: flex;
  align-items: center;
  width: 280px;
  height: 56px;
  padding: 7px 10px;
  box-sizing: border-box;
  border: 2px solid #5a9e00;
  border-radius: 6px;
  background-color: #fff;
  color: #315b00;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.home-hero__button-icon {
  flex: 0 0 auto;
  margin-right: 9px;
  font-size: 22px;
  line-height: 1;
  color: inherit;
}

.home-hero__button-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.home-hero__button-content strong {
  display: block;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 700;
  color: inherit;
}

.home-hero__button-content small {
  display: block;
  margin-top: 3px;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 400;
  color: #555;
}

.home-hero__button-arrow {
  flex: 0 0 auto;
  margin-left: 7px;
  font-size: 24px;
  line-height: 1;
  color: inherit;
}

/* =========================================================
   HOVER / FOCUS CTAs
   ========================================================= */

.home-hero__button:hover,
.home-hero__button:focus-visible {
  background-color: #5a9e00;
  border-color: #5a9e00;
  color: #fff;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.home-hero__button:hover .home-hero__button-content small,
.home-hero__button:focus-visible .home-hero__button-content small {
  color: #fff;
}

.home-hero__button:focus-visible {
  outline: 3px solid rgba(90, 158, 0, 0.3);
  outline-offset: 3px;
}

/* =========================================================
   BENEFICIOS
   ========================================================= */

.home-hero-benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 92px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #f3ffe0;
}

.home-hero-benefit {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 16px 20px;
  box-sizing: border-box;
}

.home-hero-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background-color: #ddd;
}

/* =========================================================
   ICONOS BENEFICIOS
   ========================================================= */

.home-hero-benefit__icon {
  flex: 0 0 24px;
  width: 24px;
  margin-right: 10px;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  color: #18222c;
}

/* =========================================================
   TEXTO BENEFICIOS
   ========================================================= */

.home-hero-benefit__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-hero-benefit__text strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #18222c;
}

.home-hero-benefit__text small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
  color: #333;
}

/* =========================================================
   HOME HERO · MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .home-hero {
    min-height: 0;
    margin: 0;
    padding-bottom: 245px;
    box-sizing: border-box;
    background-position: right bottom;
    background-size: auto 245px;
    background-color: #fff;
  }

  .home-hero__content {
    width: 100%;
    padding: 22px 18px 18px;
    background-color: #fff;
  }

  .home-hero__title {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.5px;
  }

  .home-hero__text {
    width: 100%;
    max-width: none;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.35 !important;
  }

  .home-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 9px;
  }

  .home-hero__button {
    width: 100%;
    height: 52px;
    padding: 7px 12px;
    border-radius: 5px;
  }

  .home-hero__button-icon {
    margin-right: 10px;
    font-size: 21px;
  }

  .home-hero__button-content small {
    margin-top: 2px;
  }

  .home-hero__button-arrow {
    margin-left: 8px;
    font-size: 23px;
  }

  /* BENEFICIOS · 2 + 2 + 1 */

  .home-hero-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    margin: 0;
    padding: 10px 8px 14px;
  }

  .home-hero-benefit {
    justify-content: flex-start;
    min-height: 62px;
    padding: 8px 9px;
  }

  .home-hero-benefit:not(:last-child)::after {
    display: none;
  }

  .home-hero-benefit:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .home-hero-benefit__icon {
    flex-basis: 22px;
    width: 22px;
    margin-right: 8px;
    font-size: 22px;
  }

  .home-hero-benefit__text strong {
    font-size: 12px;
  }

  .home-hero-benefit__text small {
    font-size: 11px;
  }
}
