@charset "UTF-8";

.headache-hero {
  position: relative;
  height: 477px;
  margin-top: 10px;
  overflow: hidden;
  background: var(--color-cream-deep);
}

.headache-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}

.headache-hero__veil {
  position: absolute;
  top: 51%;
  left: 50%;
  width: min(843px, 72vw);
  height: 149px;
  background: rgb(255 255 255 / 92%);
  filter: blur(27.6px);
  transform: translate(-50%, -50%);
}

.headache-hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
  text-align: center;
}

.headache-hero__title {
  color: var(--color-orange);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.017em;
}

.headache-hero__lead {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.055em;
}

.breadcrumb {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.03em;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-primary);
}

.numbered-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 84px;
}

.numbered-heading__number {
  color: var(--color-primary-soft);
  font-size: 58px;
  font-weight: 700;
  line-height: 84px;
  letter-spacing: 0.017em;
}

.numbered-heading__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 41px;
  letter-spacing: 0.055em;
}

.headache-about {
  height: 689px;
  padding: 30px 0;
  background: var(--color-white);
  overflow: hidden;
}

.headache-about .numbered-heading {
  margin-top: 36px;
}

.headache-about__row {
  display: grid;
  grid-template-columns: 704px 480px;
  gap: 56px;
  align-items: start;
  margin-top: 36px;
}

.headache-about__text {
  color: #3e3e3e;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

.headache-about__photo {
  width: 480px;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.headache-about__photo img {
  width: 502px;
  max-width: none;
  height: 320px;
  object-fit: cover;
  object-position: center;
  transform: translateX(-11px);
}

.orthostatic {
  height: 690px;
  padding: 90px 0 80px;
  background: var(--color-cream);
  overflow: hidden;
}

.orthostatic__list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.orthostatic__list li,
.symptoms__grid li {
  position: relative;
  padding-left: 21px;
  color: #3e3e3e;
}

.orthostatic__list li {
  font-size: 16px;
  line-height: 30px;
}

.orthostatic__list li::before,
.symptoms__grid li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-primary);
  font-size: 9px;
  font-weight: 700;
  content: "●";
}

.symptoms {
  height: 766px;
  padding: 70px 0 90px;
  background: var(--color-white);
  overflow: hidden;
}

.symptoms__content {
  display: grid;
  gap: 30px;
  margin-top: 44px;
}

.symptoms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.symptoms__grid ul {
  display: grid;
  gap: 18px;
}

.symptoms__grid li {
  font-size: 16.5px;
  line-height: 28px;
}

.symptoms__description,
.symptoms__treatment {
  color: #3e3e3e;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0;
}

.symptoms__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 22px 32px;
  background: #fff6e0;
  border: 1px solid #f1e7d2;
  border-radius: 12px;
  color: #3e3e3e;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

@media (max-width: 1199px) {
  .headache-hero {
    height: 410px;
  }

  .headache-hero__title {
    font-size: 40px;
  }

  .headache-hero__lead {
    font-size: 24px;
  }

  .headache-about,
  .orthostatic,
  .symptoms {
    height: auto;
    overflow: visible;
  }

  .headache-about__row {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 42%);
    gap: 36px;
  }

  .headache-about__photo {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .headache-hero {
    height: 360px;
  }

  .headache-hero__title {
    font-size: 34px;
  }

  .headache-hero__lead {
    font-size: 21px;
  }

  .headache-about__row {
    grid-template-columns: 1fr;
  }

  .headache-about__photo {
    width: min(100%, 560px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin-inline: auto;
  }

  .headache-about__photo img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .symptoms__grid {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .headache-hero {
    height: 300px;
    margin-top: 6px;
  }

  .headache-hero__image {
    object-position: 48% center;
  }

  .headache-hero__veil {
    width: 94vw;
    height: 134px;
  }

  .headache-hero__copy {
    padding: 20px 18px 0;
  }

  .headache-hero__title {
    font-size: clamp(27px, 8vw, 34px);
  }

  .headache-hero__lead {
    max-width: 20em;
    margin-top: 8px;
    font-size: clamp(14px, 4.1vw, 18px);
    line-height: 1.7;
  }

  .breadcrumb {
    font-size: 12px;
    line-height: 1.5;
  }

  .numbered-heading {
    gap: 10px;
    height: auto;
  }

  .numbered-heading__number {
    font-size: 43px;
    line-height: 1.45;
  }

  .numbered-heading__title {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: 0.035em;
  }

  .headache-about {
    padding: 24px 0 46px;
  }

  .headache-about .numbered-heading {
    margin-top: 22px;
  }

  .headache-about__row {
    gap: 26px;
    margin-top: 23px;
  }

  .headache-about__text {
    font-size: 14px;
    line-height: 1.9;
  }

  .headache-about__text p + p {
    margin-top: 8px;
  }

  .orthostatic {
    padding: 46px 0 60px;
  }

  .orthostatic__list {
    gap: 14px;
    margin-top: 25px;
  }

  .orthostatic__list li {
    padding-left: 17px;
    font-size: 14px;
    line-height: 1.9;
  }

  .symptoms {
    padding: 46px 0 60px;
  }

  .symptoms__content {
    gap: 22px;
    margin-top: 25px;
  }

  .symptoms__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .symptoms__grid ul {
    gap: 12px;
  }

  .symptoms__grid li {
    padding-left: 17px;
    font-size: 14px;
    line-height: 1.8;
  }

  .symptoms__description,
  .symptoms__treatment {
    font-size: 14px;
    line-height: 1.9;
  }

  .symptoms__description p + p {
    margin-top: 8px;
  }

  .symptoms__cta {
    min-height: 0;
    padding: 18px;
    font-size: 14px;
    line-height: 1.8;
  }
}
