.me-page {
  color: #39393f;
  font-family: "Montserrat", sans-serif;
}
.me-page .me-overline {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #948a95;
  text-decoration: none;
}
.me-page a.me-overline:hover {
  color: #3a3a56;
}
.me-page .me-h2 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  color: #39393f;
}
@media only screen and (max-width: 767px) {
  .me-page .me-h2 {
    font-size: 24px;
  }
}
.me-page .me-prose {
  font-size: 17px;
  line-height: 1.75;
}
.me-page .me-prose p {
  margin: 0 0 16px;
}
.me-page .me-prose p:last-child {
  margin-bottom: 0;
}
.me-page .me-prose ul, .me-page .me-prose ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.me-page .me-prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.me-page .me-prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #948a95;
}
.me-page .me-prose a {
  color: #3a3a56;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.me-page .me-prose strong {
  font-weight: 600;
}
@media only screen and (max-width: 767px) {
  .me-page .me-prose {
    font-size: 16px;
  }
}
.me-page .me-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.me-page .me-btn svg {
  flex: none;
  transition: transform 0.25s ease;
}
.me-page .me-btn:hover svg {
  transform: translateX(4px);
}
.me-page .me-btn--dark {
  background: #3a3a56;
  color: #fff;
}
.me-page .me-btn--dark:hover {
  background: #232338;
}
.me-page .me-btn--light {
  background: #fff;
  color: #3a3a56;
}
.me-page .me-btn--light:hover {
  background: #f5efea;
}
@media only screen and (max-width: 767px) {
  .me-page .me-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0 22px;
    font-size: 14px;
  }
}
.me-page .me-link {
  font-size: 15px;
  font-weight: 600;
  color: #3a3a56;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.me-page .me-link--light {
  color: #fff;
}
.me-page .me-arch {
  display: block;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: #ebe1d9;
  aspect-ratio: 4/5;
}
.me-page .me-arch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.me-page .me-arch--small {
  width: 120px;
  aspect-ratio: 3/4;
}
.me-page .breadcrumbs {
  margin-bottom: 26px;
  flex-wrap: wrap;
  white-space: normal;
  row-gap: 4px;
}

.me-hero {
  padding: 150px 0 80px;
  background: linear-gradient(180deg, #f5efea 0%, #fff 100%);
}
@media only screen and (max-width: 1024px) {
  .me-hero {
    padding: 120px 0 56px;
  }
}
.me-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
}
@media only screen and (max-width: 1024px) {
  .me-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
.me-hero__title {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  color: #39393f;
}
@media only screen and (max-width: 767px) {
  .me-hero__title {
    font-size: 32px;
  }
}
.me-hero__intro {
  margin-bottom: 32px;
  font-size: 18px;
}
@media only screen and (max-width: 767px) {
  .me-hero__intro {
    font-size: 16px;
  }
}
.me-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.me-hero__media {
  max-width: 460px;
  width: 100%;
  justify-self: end;
}
@media only screen and (max-width: 1024px) {
  .me-hero__media {
    justify-self: center;
    max-width: 380px;
  }
}
.me-hero--family {
  position: relative;
  margin-top: -60px;
  padding: 70px 0 64px;
  border-radius: 60px 60px 0 0;
  background: #fff;
}
@media only screen and (max-width: 1024px) {
  .me-hero--family {
    border-radius: 30px 30px 0 0;
    padding: 40px 0 40px;
  }
}

.me-band {
  height: 560px;
  background: #ebe1d9 center/cover no-repeat;
}
@media only screen and (max-width: 767px) {
  .me-band {
    height: 280px;
  }
}

.me-family__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}
@media only screen and (max-width: 1024px) {
  .me-family__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
.me-family__lead {
  font-size: 18px;
}
.me-family__doctor {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 28px;
  border-radius: 28px;
  background: #f5efea;
  text-decoration: none;
  color: #39393f;
}
.me-family__doctor .me-arch {
  margin-bottom: 14px;
}
.me-family__doctor:hover .me-link {
  color: #232338;
}
.me-family__doctor-name {
  font-size: 20px;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}
.me-family__doctor-role {
  font-size: 14px;
  color: #948a95;
  margin-bottom: 8px;
}

.me-section {
  padding: 72px 0;
  border-top: 1px solid rgba(58, 58, 86, 0.14);
}
@media only screen and (max-width: 767px) {
  .me-section {
    padding: 48px 0;
  }
}
.me-section--soft {
  background: #f5efea;
  border-top: 0;
}
.me-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}
@media only screen and (max-width: 1024px) {
  .me-section__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
.me-section__head {
  position: sticky;
  top: 120px;
  align-self: start;
}
@media only screen and (max-width: 1024px) {
  .me-section__head {
    position: static;
  }
}
.me-section__num {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #948a95;
}

.me-prose--chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.me-prose--chips ul li {
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
}
.me-prose--chips ul li::before {
  display: none;
}

.me-care {
  padding: 80px 0;
  background: #f5efea;
}
@media only screen and (max-width: 767px) {
  .me-care {
    padding: 52px 0;
  }
}
.me-care__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
@media only screen and (max-width: 1024px) {
  .me-care__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
.me-care__portrait {
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: #39393f;
}
@media only screen and (max-width: 1024px) {
  .me-care__portrait {
    max-width: 260px;
  }
}
.me-care__portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 999px 999px 28px 28px;
}
.me-care__portrait span {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.me-faq {
  padding: 80px 0;
}
@media only screen and (max-width: 767px) {
  .me-faq {
    padding: 52px 0;
  }
}
.me-faq__item {
  border-bottom: 1px solid rgba(58, 58, 86, 0.14);
}
.me-faq__item:first-child {
  border-top: 1px solid rgba(58, 58, 86, 0.14);
}
.me-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.me-faq__item summary::-webkit-details-marker {
  display: none;
}
.me-faq__item[open] .me-faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.me-faq__q {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #39393f;
  cursor: pointer;
}
.me-faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5efea;
}
.me-faq__icon::before, .me-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: #3a3a56;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.me-faq__icon::after {
  transform: rotate(90deg);
}
.me-faq__a {
  padding: 0 0 24px;
  font-size: 17px;
  line-height: 1.75;
}
.me-faq__a p {
  margin: 0 0 12px;
}

.me-cta {
  padding: 90px 0;
  background: #3a3a56;
  color: #fff;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .me-cta {
    padding: 56px 0;
    text-align: left;
  }
}
.me-cta .me-h2 {
  color: #fff;
}
.me-cta .me-prose {
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.88);
}
.me-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 30px;
}
@media only screen and (max-width: 767px) {
  .me-cta__actions {
    justify-content: flex-start;
  }
}

.me-cards {
  padding: 80px 0 90px;
}
@media only screen and (max-width: 767px) {
  .me-cards {
    padding: 52px 0;
  }
}
.me-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
@media only screen and (max-width: 1024px) {
  .me-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 767px) {
  .me-cards__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.me-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #39393f;
}
.me-card__img {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4/3;
  background: #ebe1d9;
  margin-bottom: 20px;
}
.me-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.me-card__link:hover .me-card__img img {
  transform: scale(1.04);
}
.me-card__title {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.04em;
}
.me-card__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(57, 57, 63, 0.85);
}
.me-card__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a3a56;
}

.me-others {
  padding: 64px 0 80px;
}
.me-others__title {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}
.me-others__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.me-chip {
  padding: 12px 20px;
  border: 1px solid rgba(58, 58, 86, 0.14);
  border-radius: 999px;
  font-size: 15px;
  color: #39393f;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.me-chip:hover {
  background: #f5efea;
  border-color: #ebe1d9;
}

@media only screen and (min-width: 1921px) {
  .me-band {
    max-width: none;
  }
}
.me-context .breadcrumbs li {
  white-space: normal;
}

.me-context .me-hero__text, .me-context .me-family__intro > * {
  min-width: 0;
}
