@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 250 1000;
  font-display: swap;
  src: url('../fonts/TildaSans-VF.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --bg: #F2EBE4;
  --bg-light: #FAF6F1;
  --bg-deep: #E9E0D6;
  --text: #46392C;
  --text-soft: #6B5C4C;
  --accent: #816F5E;
  --line: #D6C9B8;
  --footer-bg: #46392C;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'TildaSans', Arial, Helvetica, sans-serif;

  --container: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 40px;
  text-align: center;
}

.section-head .rule {
  width: 60px;
  height: 1px;
  background: var(--line);
}

.section-lead {
  max-width: 60ch;
  font-size: 15px;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 34px;
  border: 1px solid var(--text);
  border-radius: 2px;
  background: var(--text);
  color: var(--bg-light);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.btn:hover { background: transparent; color: var(--text); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--text); color: var(--bg-light); border-color: var(--text); }

/* ---------- Шапка ---------- */
.header {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.header__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.header__menu a {
  position: relative;
  display: inline-block;
  padding: 3px 0;
  text-decoration: none;
  transition: color .25s ease;
}
.header__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
@media (hover: hover) {
  .header__menu a:hover { color: var(--accent); }
  .header__menu a:hover::after { transform: scaleX(1); }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
}

.header__phone {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.header__city {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Первый экран ---------- */
.hero { padding: 48px 0 56px; }

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero__media {
  position: relative;
  align-self: center;
  max-width: 420px;
}

.hero__media img {
  width: 100%;
  border-radius: 2px;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  z-index: -1;
}

.hero__text { display: grid; gap: 22px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.hero__creds {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--line);
}
.hero__rule::before,
.hero__rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.hero__rule span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

.hero__lead {
  display: grid;
  gap: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 48ch;
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Скидка ---------- */
.promo {
  padding: 44px 0;
  background: var(--bg-deep);
}

.promo__box {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 34px 26px;
  border: 1px solid var(--line);
  text-align: center;
}

.promo__figure {
  font-family: var(--font-display);
  font-size: clamp(56px, 16vw, 88px);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}

.promo__note {
  max-width: 40ch;
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------- Темы работы ---------- */
.topics { padding: 56px 0; }

.topics__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}

.topics__tag {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-soft);
  background: var(--bg-light);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }

.accordion__heading { margin: 0; font-size: inherit; font-weight: inherit; }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}
.accordion__icon::before {
  width: 15px; height: 1px;
  transform: translate(-50%, -50%);
}
.accordion__icon::after {
  width: 1px; height: 15px;
  transform: translate(-50%, -50%);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion__panel { padding: 0 0 24px; }

.accordion__text {
  display: grid;
  gap: 8px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- Услуги ---------- */
.services {
  padding: 56px 0;
  background: var(--bg-light);
}

.services__list {
  display: grid;
  gap: 22px;
}

.service {
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.service__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.service__descr {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.service__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service__metaitem { display: grid; gap: 2px; }

.service__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.service__value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: lining-nums;
}

.services__note {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------- Образование ---------- */
.education { padding: 56px 0; }

.education__grid {
  display: grid;
  gap: 34px;
}

.credential { display: grid; gap: 10px; }

.credential__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.credential__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.credential__descr {
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.docs {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.doc { display: grid; gap: 10px; align-content: start; }

.doc__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 240px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--bg-light);
  cursor: zoom-in;
  transition: border-color .25s ease;
}
.doc__btn:hover { border-color: var(--accent); }

.doc__btn picture { display: block; height: 100%; }

.doc__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doc__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: background-color .25s ease, color .25s ease;
}
.doc__btn:hover .doc__zoom { background: var(--accent); color: var(--bg-light); }

.doc__caption {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.practice { margin-top: 50px; }

.practice__head { margin-bottom: 24px; }

.practice__list {
  display: grid;
  gap: 16px;
}

.stat {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 26px 22px;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 2px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}

.stat__plus { font-size: .6em; vertical-align: super; }

.stat__unit {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
}

.stat__label {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}

.practice__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------- Кабинеты ---------- */
.offices {
  padding: 56px 0;
  background: var(--bg-deep);
}

.offices__list {
  display: grid;
  gap: 26px;
}

.office { display: grid; gap: 14px; }

.office__photo {
  overflow: hidden;
  border-radius: 2px;
}

.office__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s ease;
}
@media (hover: hover) {
  .office:hover .office__photo img { transform: scale(1.03); }
}

.office__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.office__pin { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }

.office__detail {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

/* ---------- Отзывы и профиль B17 ---------- */
.reviews { padding: 56px 0; }

.reviews__grid {
  display: grid;
  gap: 34px;
  align-items: stretch;
}

.reviews__col {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.reviews__source {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.reviews__widget {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 560px;
  overflow: hidden;
}

.reviews__widget iframe {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-sizing: border-box;
}

.reviews__link {
  box-sizing: border-box;
  display: block;
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  max-height: 14px;
  padding: 0 16px;
  color: #b3b3b3;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b17brand {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  background: var(--text);
  border-radius: 3px;
  line-height: 0;
}

.b17brand img { width: 94px; height: auto; }

.b17brand--band { padding: 14px 22px; }
.b17brand--band img { width: 106px; }

.reviews__source--b17 {
  color: var(--text);
  font-weight: 600;
}

.b17card {
  display: grid;
  align-content: start;
  gap: 16px;
  justify-items: start;
  height: 100%;
  padding: 30px 26px;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--text);
  border-radius: 2px;
}

.b17card__points {
  display: grid;
  gap: 10px;
  width: 100%;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

.b17card__points li {
  position: relative;
  padding-left: 20px;
}

.b17card__points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

.b17card__btn { margin-top: auto; }

.b17card__lead {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.b17card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.b17card__role {
  font-size: 14px;
  color: var(--text-soft);
}

.b17card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.b17card__stats li { display: grid; gap: 2px; }

.b17card__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.b17card__label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.b17card__note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ---------- Публикации ---------- */
.articles {
  padding: 56px 0;
  background: var(--bg-light);
}

.articles__list {
  display: grid;
  gap: 22px;
}

.article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .25s ease;
}
.article:hover { border-color: var(--accent); }

.article__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.article__title a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size .3s ease;
}
.article__title a:hover { background-size: 100% 1px; }

.article__lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.articles__more {
  margin-top: 30px;
  text-align: center;
}

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(38, 30, 22, .92);
}
.lightbox[hidden] { display: none; }

.lightbox__figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--bg-light);
}

.lightbox__caption {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--bg);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 235, 228, .4);
  border-radius: 50%;
  background: none;
  color: var(--bg);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.lightbox__close:hover { background: var(--bg); color: var(--text); }

/* ---------- Контакты ---------- */
.contacts {
  padding: 56px 0;
  background: var(--bg-light);
}

.contacts__inner {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.contacts__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contacts__phone {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}
.contacts__phone:hover { color: var(--accent); }

.contacts__hint {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 13px;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease;
}
.channel:hover { border-color: var(--accent); color: var(--accent); }
.channel svg { flex: 0 0 auto; }

.contacts__addresses {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.contacts__addresses strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.contacts__addresses span {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

.map {
  width: 100%;
  height: 340px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Футер ---------- */
.footer {
  padding: 30px 0;
  background: var(--footer-bg);
  color: var(--bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copyright { font-size: 13px; }

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .25s ease;
}
.footer__top:hover { opacity: .7; }

/* ============ Планшет ============ */
@media screen and (min-width: 700px) {
  .section-title { font-size: 36px; }
  .services__list { grid-template-columns: repeat(2, 1fr); }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .articles__list { grid-template-columns: repeat(3, 1fr); }
  .practice__list { grid-template-columns: repeat(2, 1fr); }
  .doc__btn { height: 260px; }
  .offices__list { grid-template-columns: repeat(3, 1fr); }
  .education__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ============ Десктоп ============ */
@media screen and (min-width: 961px) {
  :root { --gutter: 40px; }

  .section-title { font-size: 42px; }
  .section-head { margin-bottom: 56px; }

  .header { padding: 22px 0; }
  .header__menu { gap: 28px; font-size: 12px; }
  .header__phone { font-size: 19px; }

  .hero { padding: 90px 0 100px; }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 70px;
  }
  .hero__media { flex: 0 0 42%; max-width: none; align-self: auto; }
  .hero__text { flex: 1 1 auto; gap: 26px; }
  .hero__lead { font-size: 17px; }

  .promo { padding: 70px 0; }
  .promo__box { padding: 48px 40px; }

  .topics { padding: 100px 0; }
  .accordion__title { font-size: 22px; }
  .accordion__text { font-size: 16px; }

  .services { padding: 100px 0; }
  .services__list { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .service { padding: 34px 30px; }

  .education { padding: 100px 0; }
  .docs { gap: 30px; margin-top: 50px; }

  .offices { padding: 100px 0; }
  .offices__list { gap: 34px; }

  .reviews { padding: 100px 0; }
  .reviews__grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 50px; }
  .reviews__widget { height: 600px; }
  .b17card { padding: 40px 36px; }
  .b17card__name { font-size: 30px; }

  .articles { padding: 100px 0; }
  .articles__list { gap: 26px; }
  .article { padding: 32px 28px; }
  .article__title { font-size: 21px; }

  .doc__btn { height: 300px; }
  .practice { margin-top: 70px; }
  .practice__list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stat { padding: 30px 24px; }
  .stat__num { font-size: 52px; }

  .contacts { padding: 100px 0; }
  .contacts__inner { flex-direction: row; align-items: flex-start; gap: 60px; }
  .contacts__info { flex: 0 0 38%; }
  .contacts__map { flex: 1 1 auto; min-width: 0; }
  .contacts__title { font-size: 42px; }
  .contacts__phone { font-size: 30px; }
  .map { height: 460px; }
}

.reviews--solo .reviews__widget { margin: 0 auto; }

.b17band__head {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.b17band__title { text-align: left; margin-top: 16px; }

.b17band__note {
  max-width: 56ch;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

@media screen and (min-width: 961px) {
  .b17band__head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
  }
}
