/* ============================================================
   Block: Onepager Header
   ============================================================ */

.block-onepager-header {
  width: 100%;
  font-family: "Jost", sans-serif;
}

/* ---- Hero ------------------------------------------------- */

.onh-hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.52) 100%
  );
}

.onh-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  margin-top: -60px;
}

.onh-hero__subtitle {
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin: 0 0 12px;
}

.onh-hero__title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
}

/* ---- Below hero (gray section) ---------------------------- */

.onh-below-hero {
  background: #ededf1;
}

/* ---- Cards ------------------------------------------------ */

.onh-cards {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1170px;
  margin: -105px auto 0;
  padding: 0 40px 30px;
}

.onh-card {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 0;
  max-width: 300px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid #fff;
  overflow: hidden;
  background: #8a9db5;
  box-shadow: 0 20px 45px rgba(21, 50, 90, 0.2);
}

.onh-card__image {
  position: absolute;
  inset: 0;
}

.onh-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.onh-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: #15325a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 50px 30px;
  text-align: center;
}

.onh-card__title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.35;
  margin: 0;
}

/* ---- Features --------------------------------------------- */

.onh-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 30px 0 60px;
  max-width: 1170px;
  margin: 0 auto;
}

.onh-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 200px;
  padding: 28px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(21, 50, 90, 0.1);
}

.onh-feature__icon {
  width: 84px;
  height: 84px;
  border: none;
  border-radius: 50%;
  background: #15325a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.onh-feature__icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.onh-feature__title {
  color: #15325a;
  font-size: 1.15rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.25;
  margin: 0;
  max-width: 150px;
}

.onh-feature__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #ff2d3c;
  margin: 10px auto 12px;
}

.onh-feature__subtitle {
  color: #15325a;
  font-size: 1rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.25;
}

/* ---- Responsive ------------------------------------------- */

@media (max-width: 768px) {
  .onh-hero__title {
    font-size: 1.9rem;
  }

  .onh-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: -70px;
    padding: 0 20px 40px;
  }

  .onh-card {
    flex: none;
    width: 100%;
    max-width: 280px;
  }

  .onh-features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 20px 50px;
  }

  .onh-feature {
    width: 100%;
    max-width: 320px;
  }
}
