.htest-sec {
  padding: clamp(28px, 4vw, 60px) 0;
}

.htest-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(74, 143, 217, 0.2);
  border-radius: 30px;
  background: #eaf5fa;
  box-shadow: 0 24px 60px rgba(24, 65, 104, 0.12);
}

.htest-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  left: -150px;
  bottom: -210px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.2);
  filter: blur(2px);
}

.htest-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(36px, 5vw, 72px);
}

.htest-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(74, 143, 217, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #0877c7;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.htest-in h2 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #121722;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.htest-in p {
  max-width: 590px;
  margin: 0;
  color: #233853;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
}

.htest-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 20px;
  margin-top: 28px;
}

.htest-acts .btn {
  min-width: 190px;
  min-height: 54px;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(30, 137, 193, 0.24);
}

.htest-note {
  max-width: 260px;
  color: #52677f;
  font-size: 13px;
  line-height: 1.45;
}

.htest-photo {
  min-height: 390px;
  background-image: url('/images/banners/concepts-20260801/05-free-hearing-test.webp');
  background-position: 60% center;
  background-size: cover;
}

@media (max-width: 900px) {
  .htest-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 24px;
  }

  .htest-in {
    padding: 34px 30px 32px;
  }

  .htest-photo {
    order: -1;
    min-height: clamp(230px, 50vw, 360px);
    background-position: 64% 34%;
  }
}

@media (max-width: 560px) {
  .htest-sec {
    padding: 24px 0;
  }

  .htest-banner {
    border-radius: 20px;
  }

  .htest-photo {
    min-height: 215px;
  }

  .htest-in {
    padding: 26px 22px 28px;
  }

  .htest-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .htest-in h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 10vw, 40px);
  }

  .htest-in p {
    font-size: 15px;
  }

  .htest-acts {
    display: grid;
    width: 100%;
    margin-top: 22px;
  }

  .htest-acts .btn {
    width: 100%;
  }

  .htest-note {
    max-width: none;
  }
}
