/* =====================================================================
   О клинике (/about). Шапка — .chead из contacts.css, подход — .dway/.pcardx из doctors.css,
   реквизиты — .creq из contacts.css. Здесь только своё: цифры, «что есть», галерея, фото команды.
   ===================================================================== */
.ahead { min-height: 520px; }
.ahead .chead__text { width: 520px; }
.ahead > :not(.ahead__art):not(.chead__crumbs) { position: relative; z-index: 1; }
.ahead .chead__crumbs { z-index: 1; }
.ahead--photo { background-image: none; }
/* Фото на весь блок: у картинки своё затемнение слева, добавляем лёгкий градиент под текст */
.ahead--photo { min-height: 680px; }
.ahead__art { position: absolute; left: 24%; top: 0; right: 0; bottom: 0; z-index: 0; } /* левая четверть — фон блока, он того же цвета, что тёмный край фото */
.ahead__art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.ahead__art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c0e11 0%, rgba(12, 14, 17, .9) 22%, rgba(12, 14, 17, .45) 40%, rgba(12, 14, 17, 0) 58%); }

.astats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 20px 20px 0; }
.astat { display: flex; flex-direction: column; min-height: 222px; padding: 26px 28px 28px; border-radius: var(--r-card); background: var(--gray); }
.astat b { font-size: 74px; font-weight: 500; line-height: .95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.astat span { margin-top: auto; padding-top: 24px; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; color: rgba(12, 14, 17, .65); }
.astat--red { background: var(--red); color: var(--white); }
.astat--red span { color: rgba(255, 255, 255, .88); }

.afeat { padding: 110px 20px 0; }
.afeat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.afeat__item { display: flex; flex-direction: column; min-height: 250px; padding: 26px 28px 26px; border-radius: var(--r-card); background: var(--gray); color: var(--dark); transition: background .2s; }
.afeat__item:hover { background: #eceeef; }
.afeat__item b { font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.afeat__item span { margin-top: 14px; font-size: 17px; line-height: 1.3; letter-spacing: -0.02em; color: rgba(12, 14, 17, .65); }
.afeat__item em { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; font-style: normal; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; color: var(--red); }
.afeat__item em .chev { margin: 0; }

.agal { padding: 110px 20px 0; }
.agal__item { width: 560px; height: 400px; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--gray); }
.agal__item img { width: 100%; height: 100%; object-fit: cover; }
.ateam { margin: 110px 20px 0; border-radius: var(--r-block); overflow: hidden; }
.ateam img { display: block; width: 100%; max-height: 720px; object-fit: cover; }

.about-page .dway { padding-top: 110px; }
.alic__text { width: 380px; margin-top: 24px; font-size: 17px; line-height: 1.3; letter-spacing: -0.02em; color: rgba(12, 14, 17, .65); }
.alic__btn { margin-top: 28px; }
.about-page .creq__list a { color: var(--red); }

@media (max-width: 767px) {
  .ahead { min-height: 0; }
  .ahead .chead__text { width: 100%; }
  .ahead--photo { min-height: 0; }
  .ahead__art { position: relative; left: auto; height: 240px; margin: 22px -20px -28px; }
  .ahead__art img { object-position: 78% center; }
  .ahead__art::before { background: linear-gradient(180deg, #0c0e11 0%, rgba(12, 14, 17, 0) 35%); }
  .astats { grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px var(--pad) 0; }
  .astat { min-height: 0; padding: 18px 18px 20px; }
  .astat b { font-size: 44px; }
  .astat span { padding-top: 14px; font-size: 14px; }
  .afeat { padding: 56px var(--pad) 0; }
  .afeat__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .afeat__item { min-height: 0; padding: 20px; }
  .afeat__item b { font-size: 22px; }
  .afeat__item span { font-size: 15px; }
  .afeat__item em { padding-top: 16px; }
  .agal { padding: 56px 0 0; }
  .agal__slider { padding: 0 var(--pad); gap: 12px; scroll-padding-left: var(--pad); }
  .agal__item { width: 300px; height: 220px; }
  .ateam { margin: 56px var(--pad) 0; }
  .about-page .dway { padding-top: 56px; }
  .alic__text { width: 100%; font-size: 15px; }
  .alic__btn { width: 100%; margin-top: 18px; }
}
