/* ========================================== */
/* 1. HERO REVERSE (Desktop)                  */
/* ========================================== */

.hero-reverse {
  display: flex;
  height: 650px;
  background-color: var(--third-color);
}

.hero-reverse .hero__image {
  width: 50%;
  height: 100%;
}

.hero-reverse .hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 50%;

  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-reverse .hero__content {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
}

.hero__content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.hero__content-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero__content-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #444;
}

/* ========================================== */
/* 2. HIGHLIGHTS (Desktop)                    */
/* ========================================== */

.highlights {
  background-color: var(--secondary-color);
  padding: 40px 0;
}

.highlight__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.highlight__item {
  text-align: left;
  padding: 0 15px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.highlight__icon {
  width: 38px;
  height: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.highlight__title {
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d4b8b3;
  margin-bottom: 15px;
  line-height: 1.3;
}

.highlight__text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

.highlight__svg {
  width: 34px;
  height: 34px;
  stroke: #d4b8b3;
  margin-bottom: 30px;
  display: block;
  align-self: center;
  transition:
    stroke 0.3s ease,
    transform 0.3s ease;
}

@media screen and (min-width: 769px) {
  html[lang="en"] .hero-reverse {
    height: 700px;
  }
}

/* ========================================== */
/* 3. RESPONSIVE MOBILE (< 768px)             */
/* ========================================== */

@media (max-width: 768px) {
  .hero-reverse {
    flex-direction: column;
    height: auto;
  }

  .hero-reverse .hero__image {
    width: 100%;
    height: 280px;
  }

  .hero-reverse .hero__image img {
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 70%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 70%,
      rgba(0, 0, 0, 0) 100%
    );
    object-position: 50% 35%;
  }

  .hero-reverse .hero__content {
    width: 100%;
    height: auto;
    padding: 2.5rem 1.5rem;
    text-align: center;
    align-items: center;
  }

  .highlight__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .highlight__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    position: relative;
  }

  .highlight__item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background-color: var(--primary-color-2);
    opacity: 0.6;
  }
}

/* ========================================== */
/* 4. RESPONSIVE TABLETTE (iPad Mini)         */
/* ========================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-reverse .hero__image img {
    object-position: 50% 30%;
  }

  .hero-reverse .hero__content {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .highlights {
    padding: 3rem 2rem;
  }

  .highlight__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .highlight__item {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .highlights .container,
  .testimonials__container {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
