:root {
  --color-text: #000000;
  --color-accent: #9a8103;
  --color-nav-text: #5c5c5c;
  --color-muted: #4f4f4f;
  --color-line: #9a8103;
  --color-nav-bg: rgba(154, 129, 3, 0.2);
  --color-cookie: rgba(28, 25, 20, 0.94);
  --color-white: #ffffff;
  --font-main: Arial, Helvetica, sans-serif;
  --font-size-h1: clamp(30px, 3.2vw, 42px);
  --font-size-main-subtitle: clamp(22px, 2vw, 28px);
  --font-size-section-title: clamp(24px, 2.25vw, 34px);
  --font-size-subsection-title: 19px;
  --font-size-intro: 16px;
  --font-size-title: 30px;
  --font-size-subtitle: 24px;
  --font-size-ui: 20px;
  --font-size-body: 17px;
  --line-height-body: 1.4;
  --reading-width: 800px;
  --page-padding: 30px;
  --column-gap: 30px;
}

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

html {
  min-width: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

body.menu-open {
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20000;
  padding: 10px 14px;
  background: var(--color-white);
  color: var(--color-text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.cookie-notice {
  position: fixed;
  right: 25%;
  bottom: 14px;
  left: 25%;
  z-index: 15000;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--color-cookie);
  color: var(--color-white);
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
}

.cookie-notice p {
  margin: 0;
}

.cookie-notice a {
  text-decoration: underline;
}

.cookie-notice button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  cursor: pointer;
}

.site-header {
  padding: 12px 18px;
  background: var(--color-white);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(255px, 1fr) minmax(470px, 1.7fr) 48px;
  gap: 24px;
  align-items: center;
  min-height: 76px;
}

.brand {
  justify-self: start;
}

.brand img {
  width: 255px;
}

.header-contact-panel {
  min-width: 0;
  text-align: center;
}

.header-contact-panel__links {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

.header-contact {
  position: relative;
  display: inline-flex;
  min-width: 220px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 3px;
  color: var(--color-accent);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: var(--font-size-subtitle);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
}

.menu-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 200;
  top: calc(100% + 7px);
  left: 50%;
  width: max-content;
  max-width: 210px;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--color-text);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-toggle:hover::after,
.menu-toggle:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.telegram-link {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border-radius: 50%;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.telegram-link {
  color: var(--color-accent);
}

.telegram-link:hover,
.telegram-link:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}

.telegram-link svg {
  display: block;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--color-nav-bg);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}

.menu-toggle span {
  display: block;
  height: 7px;
  background: var(--color-nav-text);
}

.site-navigation {
  position: relative;
  z-index: 100;
  height: 38px;
  border: 0;
  background: var(--color-accent);
}

.site-navigation ul {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  margin: 0;
  padding: 0 20px;
  list-style: none;
}

.site-navigation li {
  height: 100%;
  margin: 0;
  transition: background-color 160ms ease;
}

.site-navigation a {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 9px;
  color: var(--color-white);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-navigation li:hover,
.site-navigation li:focus-within {
  background: var(--color-white);
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
  color: var(--color-accent);
  text-decoration: none;
}

.site-navigation__close {
  display: none;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  column-gap: var(--column-gap);
  padding: 13px var(--page-padding) 0;
}

.main-primary,
.main-secondary {
  min-width: 0;
}

.intro {
  grid-area: intro;
  align-self: start;
}

.intro h1 {
  margin: 0;
  padding: 0 0 1px;
  border-bottom: 2px solid var(--color-line);
  color: var(--color-accent);
  font-size: var(--font-size-title);
  font-weight: 700;
  line-height: 1.1875;
  text-wrap: balance;
}

.intro__tagline {
  margin: 1px 0 23px;
  color: var(--color-accent);
  font-size: var(--font-size-subtitle);
  font-weight: 700;
  line-height: 1.1875;
  text-wrap: balance;
}

.intro__experience,
.intro__practices {
  font-size: var(--font-size-ui);
  line-height: 1.3;
}

.intro__experience {
  margin: 0 0 24px;
}

.intro__practices {
  margin: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.intro__practices a {
  display: inline-block;
  padding: 3px 5px;
  color: var(--color-accent);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.intro__practices a:hover,
.intro__practices a:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
}

.portrait {
  margin: 0 0 18px;
}

.portrait img {
  width: 75%;
  max-width: 290px;
  margin-right: auto;
  margin-left: auto;
}

.credentials {
  margin-top: 18px;
}

.credentials p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: 1.45;
}

.primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 16px;
  padding: 14px 10px;
  border: 1px solid var(--color-accent);
  background: rgba(154, 129, 3, 0.1);
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-ui);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  background: var(--color-text);
  color: var(--color-white);
}

.button__label-short {
  display: none;
}

.office-card {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: var(--font-size-body);
  line-height: 1.35;
  text-align: center;
}

/* Текст в карточке не должен расширять её или страницу. */
.office-card,
.office-card__item,
.office-card__item > span,
.office-card__item strong,
.office-card__schedule {
  min-width: 0;
  max-width: 100%;
}

.office-card__item > span,
.office-card__item strong,
.office-card__schedule {
  overflow-wrap: anywhere;
  word-break: normal;
}

.office-card p {
  margin: 0 0 20px;
}

.office-card__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.office-card__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.office-card__icon svg,
.news-column__icon svg,
.footer-contacts svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.office-card__icon--metro {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-size: 16px;
}

.office-card__icon--parking {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-accent);
  border-radius: 4px;
  font-size: 20px;
}

.office-card__schedule {
  padding-top: 4px;
}

.content-column {
  width: 100%;
  max-width: var(--reading-width);
  min-width: 0;
}

.content-section {
  margin: 0 0 32px;
}

.content-section h2 {
  margin: 0 0 16px;
  padding: 0 0 3px;
  border-bottom: 2px solid var(--color-line);
  color: var(--color-accent);
  font-size: var(--font-size-section-title);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.content-section h3 {
  margin: 24px 0 8px;
  color: var(--color-accent);
  font-size: var(--font-size-subsection-title);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.content-section p,
.content-section li {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.content-section p {
  margin: 0 0 16px;
}

.timeline,
.experience-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li,
.experience-list li {
  margin: 0 0 16px;
}

.primary-actions--bottom {
  display: grid;
  margin-top: 44px;
}

.news-column {
  min-width: 0;
}

.telegram-subscribe { position: relative; overflow: hidden; margin: 20px 0 10px; padding: 18px; border: 1px solid rgba(154, 129, 3, 0.52); background: linear-gradient(135deg, rgba(202, 164, 56, 0.25), rgba(255, 252, 239, 0.96) 76%); box-shadow: 0 8px 22px rgba(92, 69, 11, 0.1); text-align: left; }
.telegram-subscribe__eyebrow { margin: 0 0 8px !important; color: var(--color-accent) !important; font-size: 11px !important; font-weight: 800; letter-spacing: 0.12em; line-height: 1.2 !important; text-transform: uppercase; }
.telegram-subscribe__heading { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; color: var(--color-text); }
.telegram-subscribe__heading svg { box-sizing: content-box; width: 25px; height: 25px; padding: 7px; border-radius: 50%; background: var(--color-accent); fill: none; stroke: #fff; stroke-width: 1.7; }
.telegram-subscribe__heading strong { font-size: 17px; line-height: 1.25; }
.telegram-subscribe p { margin: 0 0 10px; color: var(--color-text); font-size: 14px; line-height: 1.45; }
.telegram-subscribe__benefit { padding-top: 9px; border-top: 1px solid rgba(154, 129, 3, 0.28); color: var(--color-muted) !important; }
.telegram-subscribe__benefit strong { color: var(--color-text); font-size: inherit; }
.telegram-subscribe a { display: flex; justify-content: center; width: 100%; padding: 9px 12px; border: 1px solid var(--color-accent); background: var(--color-accent); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.telegram-subscribe a:hover, .telegram-subscribe a:focus-visible { background: #fff; color: var(--color-accent); }
.telegram-subscribe--mobile-only { display: none; }

.news-column > h2 {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 16px 0 16px;
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
}

.news-column__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  text-decoration: none;
}

.news-column__title {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-item {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(154, 129, 3, 0.22);
  font-size: 15px;
  line-height: 1.4;
}

.news-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
}

.news-item h3 a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.news-item h3 a:hover,
.news-item h3 a:focus-visible {
  text-decoration: underline;
}

.news-item time {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.news-item p {
  margin: 0 0 12px;
}

.news-item__more {
  display: flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.news-item__more:hover,
.news-item__more:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
}

.news-pagination {
  display: flex;
  gap: 6px;
  margin: 8px 0 24px;
}

.news-pagination button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid var(--color-accent);
  background: var(--color-white);
  color: var(--color-accent);
  cursor: pointer;
}

.news-pagination button.is-active {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Пагинация остаётся только на отдельной странице публичного блога. */
body.tindex-page:not(.blog-index-page) .news-pagination {
  display: none !important;
}

.contact-section {
  margin-top: 24px;
  border-top: 1px solid rgba(154, 129, 3, 0.35);
}

.contact-section__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 30px 18px;
  text-align: center;
}

.contact-section h2 {
  margin: 0 0 4px;
  font-size: var(--font-size-ui);
  line-height: 1.2;
}

.contact-section p,
.contact-section address {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: var(--font-size-body);
  font-style: normal;
  line-height: 1.2;
}

.contact-section a {
  font-weight: 700;
  text-decoration: none;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

.footer-contacts a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--color-accent);
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--color-text);
}

.footer-contacts svg {
  width: 22px;
  height: 22px;
}

.footer-consultation {
  width: min(300px, 100%);
  margin: 0 auto 16px;
}

.map-section {
  padding: 0 10px 16px;
  text-align: center;
}

.map-section iframe {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 180px;
  margin: 0 auto;
  border: 1px solid rgba(154, 129, 3, 0.35);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
  transition: max-width 420ms ease, height 420ms ease, box-shadow 180ms ease;
}

.map-section iframe:hover,
.map-section iframe:focus {
  max-width: 100%;
  height: 300px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.site-footer {
  min-height: 54px;
  padding: 15px 30px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: var(--font-size-body);
  line-height: 1.3;
}

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

.site-footer__privacy {
  color: var(--color-accent);
  font-weight: 700;
  text-underline-offset: 2px;
}

.site-footer__privacy:hover,
.site-footer__privacy:focus-visible {
  color: var(--color-text);
}

/* Общая форма консультации — полностью изолирована от страницы. */
.call-bar {
  display: none !important;
}

.lead-modal {
  --lead-text: #000000;
  --lead-bg: #ffffff;
  --lead-accent: #9a8103;
  --lead-muted: #4f4f4f;
  --lead-line: #d5cda6;
  position: fixed;
  inset: 0;
  z-index: 16000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.6);
  color: var(--lead-text);
  font-family: var(--font-main);
}

.lead-modal[hidden] {
  display: none !important;
}

.lead-modal.is-open {
  display: flex;
}

.lead-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 18px 20px 14px;
  border-top: 4px solid var(--lead-accent);
  background: var(--lead-bg);
}

.lead-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lead-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal .lead-modal__dialog h2 {
  margin: 0 0 4px;
  color: var(--lead-text);
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1.25;
}

.lead-modal__sub {
  margin: 0 0 8px;
  color: var(--lead-muted);
  font-size: 14px;
  line-height: 1.25;
}

.lead-modal__call {
  display: block;
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 1px solid var(--lead-line);
  background: var(--color-white);
  text-align: center;
  text-decoration: none;
}

.lead-modal__call span {
  display: block;
  margin-bottom: 2px;
  color: var(--lead-muted);
  font-size: 13px;
}

.lead-modal__call b {
  color: var(--lead-accent);
  font-size: 20px;
  white-space: nowrap;
}

.lead-modal__or {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  color: var(--lead-muted);
  font-size: 14px;
  text-align: center;
}

.lead-modal__or::before,
.lead-modal__or::after {
  content: "";
  position: static;
  flex: 1 1 auto;
  width: auto;
  height: 1px;
  background: var(--lead-line);
}

.lead-modal__or::before { left: 0; }
.lead-modal__or::after { right: 0; }

.lead-field {
  margin-bottom: 8px;
}

.lead-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.2;
}

.lead-field .req,
.lead-consent .req {
  color: var(--lead-accent);
}

.lead-field input[type="text"],
.lead-field input[type="tel"],
.lead-field input[type="email"],
.lead-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--lead-line);
  border-radius: 2px;
  background: var(--color-white);
  color: var(--lead-text);
  font: 16px/1.25 var(--font-main);
}

.lead-field textarea {
  min-height: 60px;
  height: 60px;
  resize: vertical;
}

.lead-field.has-error input,
.lead-field.has-error textarea {
  border: 2px solid var(--lead-accent);
}

.lead-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 8px 0 6px;
  font-size: 12px;
  line-height: 1.25;
}

.lead-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.lead-submit {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 2px;
  background: var(--lead-accent);
  color: var(--color-white);
  font: 700 16px/1 var(--font-main);
  cursor: pointer;
}

.lead-submit:hover {
  background: var(--lead-text);
}

.lead-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

.lead-note {
  display: none;
  color: var(--lead-muted);
  font-size: 15px;
  line-height: 1.4;
}

.lead-msg {
  display: none;
  margin-top: 16px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.4;
}

.lead-msg.is-ok,
.lead-msg.is-fail {
  display: block;
  background: var(--color-white);
}

.lead-msg.is-ok { border-left: 3px solid var(--lead-accent); }
.lead-msg.is-fail { border-left: 3px solid var(--lead-text); }

.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1400px) {
  .site-header__inner {
    grid-template-columns: 255px minmax(0, 1fr) 44px 54px;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .menu-toggle::after {
    right: 0;
    left: auto;
    transform: translateY(-4px);
  }

  .menu-toggle:hover::after,
  .menu-toggle:focus-visible::after {
    transform: translateY(0);
  }

  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 14000;
    display: block;
    height: auto;
    overflow: hidden;
    border: 0;
    background: rgba(0, 0, 0, 0.56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
  }

  .site-navigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-navigation ul {
    display: block;
    width: min(410px, 86vw);
    height: 100%;
    min-height: 100%;
    margin-left: auto;
    padding: 76px 24px 24px;
    overflow-y: auto;
    background: var(--color-accent);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 300ms ease;
  }

  .site-navigation.is-open ul {
    transform: translateX(0);
  }

  .site-navigation li {
    height: auto;
    border-bottom: 0;
  }

  .site-navigation a {
    min-height: 52px;
    padding: 12px 6px;
    color: var(--color-white);
    font-size: var(--font-size-body);
    line-height: 1.25;
    white-space: normal;
  }

  .site-navigation__close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 2;
    display: block;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--color-white);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .button__label-full {
    display: none;
  }

  .button__label-short {
    display: inline;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: minmax(255px, 1fr) 44px 54px;
    grid-template-rows: auto auto;
    row-gap: 8px;
    min-height: 118px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-contact-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-contact-panel__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
  }

  .header-contact {
    min-width: 0;
  }

  .telegram-link {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (min-width: 761px) and (max-width: 850px) {
  .primary-actions,
  .primary-actions--bottom {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 324px);
  }
}

@media (max-width: 760px) {
  :root {
    --font-size-title: 27px;
    --font-size-subtitle: 22px;
    --font-size-body: 17px;
    --line-height-body: 1.4;
    --page-padding: 29px;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
  }

  .site-header {
    padding: 12px 15px;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) 54px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    min-height: 132px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: 270px;
  }

  .header-contact-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-contact-panel__links {
    width: 100%;
    gap: 12px;
    justify-content: space-between;
    padding: 0 4px;
    transform: none;
  }

  .header-contact {
    min-width: 0;
    padding: 5px 2px;
    font-size: var(--font-size-ui);
  }

  .telegram-link {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 54px;
    height: 54px;
    padding: 5px;
  }

  .main-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 7px;
  }

  .main-primary,
  .main-secondary {
    display: contents;
  }

  .intro { order: 1; }
  .portrait { order: 2; }
  .credentials { order: 3; }
  .main-primary > .primary-actions { order: 4; }
  .office-card { order: 5; }
  .content-column { order: 6; }
  .telegram-subscribe { order: 7; }
  .news-column { order: 8; }
  .telegram-subscribe--mobile-only { display: block; }

  .intro__tagline {
    margin-bottom: 20px;
    font-size: var(--font-size-ui);
    line-height: 1.1;
  }

  .intro__practices {
    font-size: var(--font-size-body);
    line-height: 1.15;
  }

  .portrait {
    margin: 28px 0 24px;
  }

  .portrait img {
    width: 230px;
    margin: 0 auto;
  }

  .credentials p {
    margin-bottom: 24px;
    line-height: 1.3;
  }

  .primary-actions,
  .primary-actions--bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: min(100%, 324px);
    justify-content: center;
    margin: 12px auto 18px;
    padding: 12px 8px;
  }

  .primary-actions--bottom {
    margin-top: 44px;
  }

  .button {
    min-height: 44px;
  }

  .office-card {
    margin-bottom: 22px;
    line-height: 1.35;
  }

  .office-card p {
    margin-bottom: 18px;
  }

  .content-section {
    margin-bottom: 28px;
  }

  .news-column {
    display: block;
    margin-top: 4px;
  }

  .contact-section__inner {
    padding: 20px 29px;
  }

  .contact-section h2,
  .contact-section p,
  .contact-section address {
    line-height: 1.3;
  }

  .map-section {
    padding: 0 10px 14px;
  }

  .map-section iframe {
    max-width: 320px;
    height: 160px;
  }

  .map-section iframe:hover,
  .map-section iframe:focus {
    height: 260px;
  }

  .lead-modal {
    padding: 6px;
  }

  .lead-modal__dialog {
    padding: 16px 12px 12px;
  }

  .lead-modal__call b {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .header-contact-panel__links {
    gap: 12px;
    transform: none;
  }

  .button__label-full {
    display: none;
  }

  .button__label-short {
    display: inline;
  }

  .brand img {
    width: 250px;
  }

  .cookie-notice {
    gap: 10px;
  }
}

/* Единая типографическая шкала публичных страниц. */
@media (max-width: 760px) {
  :root {
    --font-size-h1: clamp(27px, 8.3vw, 32px);
    --font-size-main-subtitle: clamp(20px, 6.15vw, 24px);
    --font-size-section-title: clamp(22px, 6.67vw, 26px);
    --font-size-subsection-title: 17px;
    --font-size-intro: 16px;
    --font-size-body: 16px;
  }
}

.tindex-page .intro h1 {
  color: var(--color-nav-text);
  letter-spacing: 0.04em;
}

.tindex-page .intro__tagline {
  color: var(--color-nav-text);
}

.tindex-page .intro__experience {
  color: var(--color-nav-text);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.tindex-page .intro h1,
.tindex-page .content-section h2 {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--reading-width);
  border-bottom-width: 3px;
}

.tindex-page .content-section h2 {
  color: var(--color-nav-text);
}

.tindex-page .portrait-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: center;
  justify-content: center;
  margin: -6px 0 20px;
  color: var(--color-accent);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.tindex-page .portrait-menu a {
  padding: 4px 5px;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.tindex-page .portrait-menu a:hover,
.tindex-page .portrait-menu a:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
}

.home-page .portrait-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  padding: 0;
  background: rgba(154, 129, 3, .12);
  box-sizing: border-box;
}

.home-page .portrait-menu > span {
  display: none;
}

.home-page .portrait-menu a {
  display: flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 4px;
  text-align: center;
}

.home-page .news-column {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(154, 129, 3, .34);
}

.tindex-page .section-menu {
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  margin: -12px 0 14px;
  text-align: left;
}

.tindex-page .experience-number {
  color: var(--color-accent);
  font-size: calc(1em + 1px);
  font-weight: 700;
}

.tindex-page .section-details {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .tindex-page .portrait-menu {
    order: 3;
    margin: -10px 0 18px;
  }

  .tindex-page .section-menu {
    margin: -12px 0 14px;
  }

  .tindex-page .credentials {
    order: 4;
  }

  .tindex-page .main-primary > .primary-actions {
    order: 5;
  }

  .tindex-page .office-card {
    order: 6;
  }

  .tindex-page .content-column {
    order: 7;
  }

  .tindex-page .news-column {
    order: 8;
  }
}

@media (max-width: 380px) {
  .tindex-page .intro h1 {
    letter-spacing: 0.03em;
  }
}

:root {
  --concept-text: #171715;
  --concept-bg: #ffffff;
  --concept-surface: #ffffff;
  --concept-card-bg: #ffffff;
  --concept-gold: #9a8103;
  --concept-muted: #3f3e39;
  --concept-line: var(--concept-gold);
}

.tindex-page {
  min-height: 100vh;
  background: var(--concept-bg);
  color: var(--concept-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.48;
}

html {
  background: var(--concept-muted);
}

.tindex-page .site-header,
.tindex-page .site-navigation,
.tindex-page .main-layout,
.tindex-page .contact-section,
.tindex-page .site-footer {
  width: 100%;
}

.tindex-page .site-header {
  padding: 0;
  background: var(--concept-bg);
}

.office-identity {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 24px 7px;
  border-bottom: 1px solid var(--concept-line);
  color: var(--concept-gold);
  font-size: clamp(7px, .95vw, 14px);
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.office-identity__dot {
  display: inline-flex;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: none;
  font-size: 1.05em;
  line-height: 1;
}

.office-identity__dot::before {
  content: "•";
}

.tindex-page .site-header__inner {
  width: min(1480px, calc(100% - 64px));
  min-height: 78px;
  margin: 0 auto;
  padding: 9px 0;
  grid-template-columns: 270px minmax(520px, 1fr) 132px;
  gap: 24px;
}

.tindex-page .brand img {
  width: calc(100% + 8px);
  max-width: none;
  background: transparent;
  mix-blend-mode: multiply;
}

.tindex-page .header-contact {
  min-width: 230px;
  font-size: 22px;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
}

.tindex-page .telegram-link {
  width: auto;
  min-width: 126px;
  height: 44px;
  padding: 6px 12px;
  border-radius: 0;
  color: var(--concept-gold);
  font-size: 22px;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
  text-decoration: none;
}

.telegram-link__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tindex-page .telegram-link:hover,
.tindex-page .telegram-link:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
  box-shadow: none;
}

.tindex-page .site-navigation {
  background: var(--concept-gold);
}

.tindex-page .site-navigation ul {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.tindex-page .site-navigation a {
  min-height: 42px;
  padding-inline: 20px;
  color: var(--concept-bg);
  font-size: 15px;
}

.tindex-page .site-navigation a:hover,
.tindex-page .site-navigation a:focus-visible {
  background: var(--concept-bg);
  color: var(--concept-gold);
}

.tindex-page .main-layout {
  display: block;
  max-width: 1480px;
  margin: 0 auto;
  padding: 54px 32px 0;
}

.tindex-page .main-primary,
.tindex-page .content-column,
.tindex-page .main-secondary {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.tindex-page .main-primary {
  display: block;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(350px, .95fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}

.tindex-page .concept-hero {
  padding: 0 0 22px;
  border: 0;
}

.tindex-page .intro__experience {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 11px;
  color: var(--concept-gold);
  font-size: 17px;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tindex-page .intro__experience strong {
  color: inherit;
  font-size: inherit;
  font-weight: 700;
}

.tindex-page .intro__experience--mobile {
  display: none;
}

.tindex-page .intro h1 {
  max-width: none;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  color: var(--concept-text);
  font-size: var(--font-size-h1);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.02;
}

.tindex-page .intro__tagline {
  width: max-content;
  max-width: none;
  margin: 0 0 28px;
  color: var(--concept-text);
  font-size: var(--font-size-main-subtitle);
  font-weight: 600;
  line-height: 1.16;
  white-space: nowrap;
}

.tindex-page .intro__practices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.tindex-page .intro__practices a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 17px;
  border: 1px solid var(--concept-line);
  color: var(--concept-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.tindex-page .intro__practices a:hover,
.tindex-page .intro__practices a:focus-visible {
  border-color: var(--concept-gold);
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.tindex-page .credentials {
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid var(--concept-line);
  border-bottom: 1px solid var(--concept-line);
  color: var(--concept-muted);
}

.tindex-page .credentials p {
  margin: 0;
  font-size: var(--font-size-intro);
  font-weight: 700;
  line-height: 1.55;
}

.tindex-page .credentials__mobile {
  display: none;
}

.tindex-page .mobile-copy {
  display: none;
}

.tindex-page .primary-actions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.tindex-page .primary-actions .button {
  width: 100%;
  min-height: 58px;
  flex: 1 1 0;
  border: 1px solid var(--concept-gold);
  border-radius: 0;
  font-size: 18px;
  font-weight: 700;
}

.tindex-page .primary-actions .button--primary {
  background: var(--concept-bg);
  color: var(--concept-gold);
}

.tindex-page .primary-actions .button--phone {
  background: transparent;
  color: var(--concept-text);
}

.tindex-page .primary-actions .button:hover,
.tindex-page .primary-actions .button:focus-visible {
  border-color: var(--concept-gold);
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.practice-directions,
.tindex-page .content-section,
.tindex-page .news-column {
  margin: 0 0 50px;
  padding: 0;
  border: 0;
  background: transparent;
}

.section-heading-row {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 13px;
}

.section-heading-row h2,
.tindex-page .content-section > h2,
.tindex-page .news-column > h2,
.office-reception h2 {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--concept-text);
  font-size: var(--font-size-section-title);
  font-weight: 600;
  letter-spacing: .012em;
  line-height: 1.12;
}

.section-heading-row__line {
  display: none;
}

.section-heading-row h2,
.tindex-page .experience-panel > h2 {
  font-size: var(--font-size-section-title);
}

.section-heading-row > a,
.practice-grid article > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--concept-gold);
  background: var(--concept-bg);
  color: var(--concept-gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.section-heading-row > a:hover,
.section-heading-row > a:focus-visible,
.practice-grid article > a:hover,
.practice-grid article > a:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.office-map__link {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--concept-gold);
  color: var(--concept-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.office-map__link:hover,
.office-map__link:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--concept-line);
}

.hero-layout .practice-directions {
  margin: 28px 0 0;
}

.hero-layout .practice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-layout .practice-grid article {
  min-height: 215px;
}

.hero-layout .practice-grid article:nth-child(3),
.hero-layout .practice-grid article:nth-child(4) {
  border-top: 1px solid var(--concept-line);
}

.hero-layout .practice-grid article:nth-child(3) {
  border-left: 0;
}

.practice-grid article {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 25px 26px 22px;
}

.practice-grid article:hover,
.practice-grid article:focus-within {
  background: rgba(154, 129, 3, .09);
}

.practice-grid article + article {
  border-left: 1px solid var(--concept-line);
}

.practice-grid h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--concept-text);
  font-size: clamp(21px, 1.75vw, 27px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.practice-heading-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
  border: 2px solid var(--concept-gold);
  border-radius: 50%;
  color: var(--concept-gold);
}

.tindex-page h1,
.tindex-page h2,
.tindex-page h3 {
  letter-spacing: .012em;
}

.practice-heading-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--concept-gold);
  border-radius: 50%;
}

.practice-grid p {
  margin: 0 0 18px;
  color: var(--concept-muted);
  font-size: 15px;
  line-height: 1.55;
}

.practice-grid article > a {
  align-self: flex-start;
  margin-top: auto;
}

.practice-grid article > a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tindex-page .about-panel {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  border-top: 1px solid var(--concept-line);
  border-bottom: 1px solid var(--concept-line);
  padding: 22px 0 24px;
  margin-bottom: 28px;
}

.about-panel > * {
  min-width: 0;
  padding: 0 26px;
}

.about-panel > :first-child {
  padding-left: 0;
}

.about-panel > :last-child {
  padding-right: 0;
}

.about-panel > article {
  border-left: 1px solid var(--concept-line);
}

.about-panel__intro {
  display: flex;
  flex-direction: column;
  grid-row: span 2;
}

.about-panel > :nth-child(n+4) {
  border-top: 1px solid var(--concept-line);
}

.tindex-page .about-panel .about-panel__details {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
}

.about-panel h2 {
  width: auto;
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  color: var(--concept-text);
  font-size: var(--font-size-section-title);
  font-weight: 600;
  letter-spacing: .012em;
  line-height: 1.12;
}

.about-panel h3 {
  margin: 0 0 13px;
  color: var(--concept-text);
  font-size: var(--font-size-subsection-title);
  font-weight: 700;
  line-height: 1.1;
}

.about-panel h3.about-panel__state-heading {
  font-size: var(--font-size-subsection-title);
  white-space: normal;
  overflow-wrap: anywhere;
}

.about-panel p {
  margin: 0 0 9px;
  color: var(--concept-muted);
  font-size: var(--font-size-body);
  line-height: 1.5;
  text-align: left;
}

.tindex-page .experience-panel > h2 {
  margin-bottom: 14px;
}

.tindex-page .experience-panel { margin-bottom: 28px; }

.tindex-page .experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tindex-page .experience-list li {
  position: relative;
  min-height: 108px;
  margin: 0;
  padding: 16px 8px 16px 58px;
  border-top: 1px solid var(--concept-line);
  color: var(--concept-muted);
  font-size: 15px;
  line-height: 1.58;
}

.experience-icon {
  position: absolute;
  top: 16px;
  left: 0;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--concept-gold);
}

.experience-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tindex-page .experience-number {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.tindex-page .experience-label {
  color: var(--concept-text);
  font-weight: 700;
}

.experience-summary {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 34px 0 24px;
  padding: 27px 0;
  background: var(--concept-text);
  color: var(--concept-bg);
}

.experience-summary div {
  padding: 0 24px;
}

.experience-summary div + div {
  border-left: 1px solid var(--concept-muted);
}

.experience-summary strong,
.experience-summary span {
  display: block;
}

.experience-summary strong {
  margin-bottom: 4px;
  color: var(--concept-gold);
  font-size: 27px;
  line-height: 1;
}

.experience-summary span {
  max-width: 180px;
  font-size: 12px;
  line-height: 1.35;
}

.tindex-page .section-details {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin: 14px 0 0;
  padding: 8px 18px;
  border: 1px solid var(--concept-gold);
  background: var(--concept-bg);
  color: var(--concept-gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.tindex-page .experience-list__action {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px 0;
}

.tindex-page .experience-list__action .section-details {
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.tindex-page .section-details:hover,
.tindex-page .section-details:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.tindex-page .publications-intro {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.9fr);
  column-gap: 48px;
  row-gap: 10px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--concept-line);
  border-bottom: 1px solid var(--concept-line);
}

.tindex-page .publications-intro > h2 {
  grid-column: 1;
  grid-row: 1;
}

.tindex-page .publications-intro p {
  grid-column: 2;
  margin: 0;
  color: var(--concept-muted);
  font-size: 15px;
  line-height: 1.58;
}

.tindex-page .publications-intro .section-details {
  grid-column: 1;
  grid-row: 5;
  align-self: end;
  justify-self: center;
  margin: 0;
}

.tindex-page .main-secondary .telegram-subscribe {
  display: none !important;
}

.tindex-page .main-secondary .portrait {
  display: block;
  width: 100%;
  margin: 0 auto 17px;
}

.tindex-page .main-secondary .portrait img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tindex-page .main-secondary .portrait-menu {
  display: grid;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: transparent;
  color: var(--concept-gold);
  font-size: 15px;
}

.tindex-page .main-secondary .portrait-menu span {
  display: none;
}

.tindex-page .main-secondary .portrait-menu a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--concept-line);
}

.tindex-page .main-secondary .portrait-menu a + a {
  border-left: 1px solid var(--concept-line);
}

.tindex-page .main-secondary .portrait-menu a:hover,
.tindex-page .main-secondary .portrait-menu a:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.tindex-page .main-secondary .office-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 28px 22px;
  border: 1px solid var(--concept-line);
  background: rgba(154, 129, 3, .06);
}

.tindex-page .main-secondary .office-card__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--concept-text);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.tindex-page .office-card__lead {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(11.5px, 3.3vw, 16px);
  white-space: normal;
  overflow-wrap: anywhere;
}

.tindex-page .office-card__lead--wrap {
  white-space: normal;
}

.tindex-page .main-secondary .office-card__schedule {
  margin: 6px 0 0;
  color: var(--concept-text);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.tindex-page .news-column > h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 0;
  border-bottom: 0;
  font-size: clamp(24px, 2.25vw, 34px);
  text-transform: none;
}

.tindex-page .news-column__icon {
  display: none;
}

.tindex-page .news-column__title {
  color: var(--concept-text);
  text-decoration: none;
}

.tindex-page .news-column__blog {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--concept-gold);
  color: var(--concept-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.tindex-page .news-column__blog:hover,
.tindex-page .news-column__blog:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.tindex-page .news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--concept-line);
  border-bottom: 1px solid var(--concept-line);
}

.tindex-page .news-item {
  position: relative;
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 20px 20px 19px;
  border: 0;
  background: transparent;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.tindex-page .news-item:hover,
.tindex-page .news-item:focus-within {
  background: rgba(154, 129, 3, .075);
  box-shadow: inset 0 0 0 1px var(--concept-gold);
}

.tindex-page .news-item + .news-item {
  border-left: 1px solid var(--concept-line);
}

.tindex-page .news-item:nth-child(4) {
  border-left: 0;
}

.tindex-page .news-item:nth-child(n+4) {
  border-top: 1px solid var(--concept-line);
}

.tindex-page .news-item h3 {
  margin: 0 0 13px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.tindex-page .news-item h3 a {
  color: var(--concept-text);
  text-decoration: none;
}

.tindex-page .news-item h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tindex-page .news-item time {
  order: -1;
  margin-bottom: 13px;
  color: var(--concept-gold);
  font-size: 13px;
  font-weight: 700;
}

.tindex-page .news-item p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--concept-muted);
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.tindex-page .news-item__more {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 13px;
  border: 1px solid var(--concept-gold);
  border-radius: 0;
  background: var(--concept-bg);
  color: var(--concept-gold);
  font-size: 12px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.tindex-page .news-item .news-item__more {
  margin-top: auto;
}

.tindex-page .news-item h3 a:hover,
.tindex-page .news-item h3 a:focus-visible {
  background: rgba(154, 129, 3, .09);
  color: var(--concept-text);
}

.tindex-page .news-item__more:hover,
.tindex-page .news-item__more:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.tindex-page .button,
.tindex-page .news-pagination button,
.tindex-page .section-details,
.tindex-page .practice-grid article > a {
  border-radius: 0 !important;
}

.tindex-page .news-pagination {
  justify-content: flex-end;
  gap: 4px;
  margin: 10px 0 16px;
}

.tindex-page .news-pagination button {
  min-width: 28px;
  min-height: 28px;
  padding: 3px 7px;
  font-size: 12px;
}

.tindex-page .office-reception {
  margin-top: 8px;
  padding: 32px 20px 48px;
  background: var(--concept-line);
}

.tindex-page .office-reception .contact-section__inner {
  display: grid;
  width: min(1480px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.office-reception__details,
.office-reception__request {
  align-self: stretch;
  min-height: 320px;
  padding: 42px 44px;
  border: 1px solid var(--concept-muted);
  background: var(--concept-bg);
}

.office-reception__details h2,
.office-reception__request h2 {
  margin-bottom: 22px;
}

.office-facts {
  margin: 0 0 24px;
}

.office-facts > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--concept-muted);
}

.office-facts > div:last-child {
  border-bottom: 1px solid var(--concept-muted);
}

.office-facts dt {
  color: var(--concept-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
}

.office-facts dd {
  margin: 0;
  color: var(--concept-text);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.office-map {
  display: block;
  width: min(720px, 100%);
  margin: 24px auto 0;
  padding: 7px;
  border: 1px solid var(--concept-muted);
  background: var(--concept-bg);
  text-decoration: none;
}

.office-map-wrap {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
}

.office-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.office-map:hover,
.office-map:focus-within {
  border-color: var(--concept-gold);
  outline: 2px solid var(--concept-gold);
  outline-offset: 3px;
}

.office-map__link {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
}

.office-reception__request {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.office-reception__request h2,
.office-reception__request .office-reception__contacts,
.office-reception__request .office-reception__note {
  margin-bottom: 0 !important;
}

.office-reception__request > p {
  margin: 0 0 24px;
  color: var(--concept-muted);
  font-size: 16px;
  line-height: 1.55;
}

.office-reception__contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.office-reception__contacts a {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid var(--concept-line);
  color: var(--concept-text);
  text-decoration: none;
}

.office-reception__contacts a:hover,
.office-reception__contacts a:focus-visible {
  background: var(--concept-gold);
  color: var(--concept-bg);
}

.office-reception__contacts span {
  margin-bottom: 5px;
  color: var(--concept-muted);
  font-size: 12px;
}

.office-reception__contacts a:hover span,
.office-reception__contacts a:focus-visible span {
  color: inherit;
}

.office-reception__contacts strong {
  font-size: 15px;
  white-space: nowrap;
}

.office-reception__lead strong {
  color: var(--concept-text);
}

.office-reception__note {
  min-height: 0;
  margin-bottom: 18px !important;
  padding: 18px 20px;
  border: 1px solid var(--concept-line);
  font-size: 15px !important;
  line-height: 1.55;
}

.tindex-page .office-reception__button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--concept-gold);
  border-radius: 0;
  background: var(--concept-gold);
  color: var(--concept-bg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0;
}

.tindex-page .office-reception__button:hover,
.tindex-page .office-reception__button:focus-visible {
  background: var(--concept-text);
  border-color: var(--concept-text);
}

.tindex-page .office-reception__call {
  display: none;
}

.tindex-page .concept-footer {
  display: grid;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 20px max(24px, calc((100% - 1480px) / 2));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  background: #55544f;
  color: var(--concept-bg);
  text-align: left;
}

.concept-footer > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.concept-footer__name {
  white-space: nowrap;
}

.concept-footer > div:nth-child(2) {
  align-items: center;
  text-align: center;
}

.concept-footer > div:last-child {
  align-self: stretch;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.concept-footer strong {
  margin-bottom: 2px;
  font-size: 17px;
  line-height: 1.3;
}

.concept-footer span,
.concept-footer a {
  color: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.concept-footer a {
  text-decoration: none;
}

.concept-footer a:hover,
.concept-footer a:focus-visible {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1400px) {
  .tindex-page .site-header__inner {
    grid-template-columns: 255px minmax(0, 1fr) 126px 54px;
  }

  .tindex-page .telegram-link {
    grid-column: 3;
  }

  .tindex-page .menu-toggle {
    grid-column: 4;
  }
}

@media (max-width: 1100px) {
  .tindex-page .site-header__inner,
  .tindex-page .site-navigation ul {
    width: min(100% - 36px, 1480px);
  }

  .tindex-page .site-navigation ul {
    width: min(410px, 86vw);
    margin: 0 0 0 auto;
  }

  .tindex-page .site-header__inner {
    grid-template-columns: 230px minmax(0, 1fr) 112px 54px;
  }

  .tindex-page .header-contact-panel__links {
    gap: 8px;
  }

  .tindex-page .header-contact {
    min-width: 170px;
    font-size: 20px;
  }

  .practice-grid,
  .tindex-page .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-grid article:nth-child(3),
  .practice-grid article:nth-child(4) {
    border-top: 1px solid var(--concept-line);
  }

  .practice-grid article:nth-child(3) {
    border-left: 0;
  }

  .tindex-page .news-item:nth-child(3) {
    border-left: 0;
  }

  .tindex-page .news-item:nth-child(4) {
    border-left: 1px solid var(--concept-line);
  }

  .tindex-page .news-item:nth-child(n+3) {
    border-top: 1px solid var(--concept-line);
  }

  .tindex-page .about-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-panel__intro {
    grid-row: auto;
  }

  .about-panel > * {
    padding: 28px;
  }

  .about-panel > :first-child {
    padding-left: 28px;
  }

  .about-panel > :last-child {
    padding-right: 28px;
  }

  .about-panel > article:nth-child(odd) {
    border-left: 0;
  }

  .about-panel > :nth-child(n+3) {
    border-top: 1px solid var(--concept-line);
  }

  .tindex-page .office-reception .contact-section__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .office-reception__contacts {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .tindex-page .site-header__inner {
    grid-template-columns: minmax(230px, 1fr) 54px 54px;
    grid-template-rows: auto auto;
  }

  .tindex-page .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .tindex-page .telegram-link {
    grid-column: 2;
    grid-row: 1;
  }

  .tindex-page .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .tindex-page .header-contact-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .tindex-page .telegram-link {
    width: 54px;
    min-width: 54px;
    padding: 5px;
  }

  .telegram-link__text {
    display: none;
  }

  .telegram-link__icon {
    display: block;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .tindex-page .main-secondary {
    width: min(520px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  html,
  .tindex-page {
    overflow-x: hidden;
    overscroll-behavior-y: none;
  }

  html {
    background: #55544f;
  }

  .tindex-page {
    min-height: 0;
    margin: 0;
    padding: 0;
    font-size: 15px;
  }

  .office-identity {
    width: 100%;
    min-height: 34px;
    max-width: none;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 5px 12px 1px;
    border-bottom-color: var(--concept-gold);
    font-size: 13px;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
    letter-spacing: .035em;
    text-align: center;
  }

  .office-identity > span:not(.office-identity__dot) {
    min-width: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: center;
    transform: none;
  }

  .office-identity__dot {
    display: none;
  }

  .tindex-page .site-header {
    border-bottom: 1px solid var(--concept-gold);
  }

  .tindex-page .site-header__inner {
    width: calc(100% - 24px);
    min-height: 86px;
    padding: 0 0 2px;
    grid-template-columns: minmax(0, 1fr) 62px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }

  .tindex-page .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .tindex-page .header-contact-panel {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    padding-bottom: 3px;
    border-bottom: 0;
  }

  .tindex-page .header-contact-panel__links {
    display: flex;
    width: 100%;
    gap: 10px;
    justify-content: space-between;
    padding: 0;
  }

  .tindex-page .header-contact {
    min-width: 0;
    max-width: calc(50% - 5px);
    padding-inline: 0;
    font-size: 20px;
  }

  .tindex-page .telegram-link {
    display: none;
  }

  .tindex-page .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 62px;
    height: 62px;
    padding: 6px;
    gap: 8px;
  }

  .tindex-page .menu-toggle span {
    height: 8px;
  }

  .tindex-page .brand img {
    width: 250px;
    margin-top: 7px;
  }

  .tindex-page .main-layout {
    padding: 8px 18px 0;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
  }

  .tindex-page .main-primary,
  .tindex-page .main-secondary {
    display: contents;
  }

  .tindex-page .concept-hero {
    order: 1;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .tindex-page .main-primary > .primary-actions { order: 2; }
  .tindex-page .main-secondary .portrait { order: 3; }
  .tindex-page .credentials { order: 4; }
  .tindex-page .main-secondary .portrait-menu { order: 5; }
  .tindex-page .practice-directions { order: 6; }
  .tindex-page .main-secondary .office-card { order: 7; }

  .tindex-page .main-secondary .portrait,
  .tindex-page .main-secondary .portrait-menu {
    width: 100%;
    align-self: center;
  }

  .tindex-page .main-secondary .portrait {
    margin: 0 auto 6px;
  }

  .tindex-page .main-secondary .portrait-menu {
    margin-top: 4px;
    margin-bottom: 10px;
    gap: 10px;
  }

  .tindex-page .main-secondary .portrait-menu a + a {
    border-left: 1px solid var(--concept-gold);
  }

  .tindex-page .intro__experience {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 4px;
    font-size: clamp(10.5px, 3vw, 12px);
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .tindex-page .intro__experience--desktop {
    display: none;
  }

  .tindex-page .intro__experience--mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 7px 10px;
    background: var(--concept-gold);
    color: var(--concept-bg);
    letter-spacing: .035em;
  }

  .tindex-page .intro h1 {
    margin-top: 19px;
    margin-bottom: 6px;
    font-size: clamp(27px, 8.3vw, 32px);
    white-space: nowrap;
  }

  .tindex-page .intro__tagline {
    margin-bottom: 0;
    font-size: 24px;
    width: auto;
    white-space: normal;
  }

  .tindex-page .intro__tagline br {
    display: none;
  }

  .tindex-page .intro__practices {
    display: none;
  }

  .tindex-page .credentials {
    padding: 10px 0;
    border-bottom: 0;
  }

  .tindex-page .credentials__desktop {
    display: none;
  }

  .tindex-page .credentials__mobile {
    display: block;
    font-size: 15px;
    letter-spacing: -.018em;
    line-height: 1.42;
  }

  .tindex-page .credentials__mobile span {
    display: block;
  }

  .tindex-page .credentials__mobile .credentials__membership {
    letter-spacing: -.035em;
    word-spacing: -.1em;
    white-space: nowrap;
  }

  .tindex-page .desktop-copy {
    display: none;
  }

  .tindex-page .mobile-copy {
    display: block;
  }

  .tindex-page .office-card__schedule .mobile-copy {
    display: inline;
  }

  .tindex-page .primary-actions {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin: 11px 0 8px;
  }

  .tindex-page .primary-actions .button--phone {
    display: none;
  }

  .tindex-page .primary-actions .button--primary {
    width: min(220px, 58%);
    flex: 0 0 min(220px, 58%);
  }

  .tindex-page .primary-actions .button {
    min-width: 0;
    min-height: 48px;
    padding-inline: 8px;
    font-size: 15px;
  }

  .practice-directions,
  .tindex-page .content-section,
  .tindex-page .news-column {
    margin-bottom: 22px;
  }

  .tindex-page .practice-directions {
    margin: 16px 0 18px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row h2,
  .tindex-page .content-section > h2,
  .tindex-page .news-column > h2,
  .office-reception h2 {
    font-size: 28px;
  }

  .section-heading-row,
  .tindex-page .experience-panel > h2,
  .tindex-page .news-column > h2 {
    margin-bottom: 8px;
  }

  .section-heading-row__line {
    margin: 12px 0;
  }

  .section-heading-row > a {
    display: inline-block;
  }

  .practice-grid,
  .tindex-page .news-list,
  .tindex-page .about-panel,
  .tindex-page .experience-list,
  .experience-summary,
  .tindex-page .publications-intro,
  .tindex-page .office-reception .contact-section__inner,
  .tindex-page .concept-footer {
    grid-template-columns: 1fr;
  }

  .hero-layout .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-grid article {
    min-height: 0;
    padding: 14px;
    border: 1px solid var(--concept-gold) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .practice-grid article:first-child {
    padding-top: 14px;
  }

  .practice-grid article + article,
  .practice-grid article:nth-child(3),
  .practice-grid article:nth-child(4) {
    border-top: 1px solid var(--concept-gold) !important;
    border-left: 1px solid var(--concept-gold) !important;
  }

  .practice-grid p {
    margin-bottom: 8px;
  }

  .practice-grid article > a {
    margin-top: auto;
  }

  .practice-grid {
    gap: 12px;
    border: 0;
  }

  .practice-grid article > a::after {
    display: none;
  }

  .tindex-page .main-secondary .office-card {
    width: 100%;
    min-height: 0;
    margin-bottom: 18px;
  }

  .about-panel > * {
    padding: 13px 0;
  }

  .about-panel > :first-child {
    padding: 0 0 13px;
  }

  .about-panel > :last-child {
    padding: 13px 0 0;
  }

  .about-panel > article,
  .about-panel > article:nth-child(3) {
    border-top: 1px solid var(--concept-line);
    border-left: 0;
  }

  .tindex-page .about-panel h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--concept-text);
    letter-spacing: -.022em;
    line-height: 1.12;
    word-spacing: -.09em;
    white-space: nowrap;
  }

  .tindex-page .experience-list {
    gap: 0;
  }

  .tindex-page .experience-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    min-height: 0;
    height: auto;
    padding: 11px 0;
    overflow: visible;
    line-height: 1.45;
  }

  .experience-icon {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: 28px;
    height: 28px;
  }

  .experience-text {
    display: block;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .experience-summary {
    padding: 0 22px;
  }

  .experience-summary div {
    padding: 20px 0;
  }

  .experience-summary div + div {
    border-top: 1px solid var(--concept-muted);
    border-left: 0;
  }

  .tindex-page .publications-intro {
    column-gap: 0;
    row-gap: 6px;
    padding: 18px 0 16px;
  }

  .tindex-page .publications-intro > h2 {
    grid-row: auto;
    margin-bottom: 10px;
  }

  .tindex-page .publications-intro p,
  .tindex-page .publications-intro .section-details {
    grid-column: 1;
    grid-row: auto;
  }

  .tindex-page .publications-intro .section-details { margin-top: 8px; }

  .tindex-page .news-list {
    gap: 0;
    border: 0;
  }

  .tindex-page .news-item,
  .tindex-page .news-item:nth-child(3),
  .tindex-page .news-item:nth-child(n+3) {
    min-height: 0;
    padding: 13px 0 14px;
    border: 0;
    border-bottom: 1px solid var(--concept-line);
  }

  .tindex-page .news-list .news-item {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--concept-gold) !important;
    border-left: 0 !important;
  }

  .tindex-page .news-column {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .tindex-page .news-item:hover,
  .tindex-page .news-item:focus-within {
    background: transparent;
    box-shadow: none;
  }

  .tindex-page .news-item h3,
  .tindex-page .news-item time {
    margin-bottom: 8px;
  }

  .tindex-page .news-item p {
    margin-bottom: 6px;
    line-height: 1.42;
  }

  .tindex-page .news-item .news-item__more {
    margin-top: auto;
  }

  .tindex-page .news-item h3 a {
    pointer-events: none;
  }

  .tindex-page .news-item h3 a::after {
    display: none;
  }

  .tindex-page .news-pagination {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .tindex-page .office-reception {
    margin-top: 0;
    padding: 18px 12px 24px;
  }

  .office-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .office-facts {
    margin-bottom: 0;
  }

  .office-reception__details,
  .office-reception__request {
    min-height: 0;
    padding: 16px 14px;
  }

  .office-reception__details h2,
  .office-reception__request h2 {
    margin-bottom: 12px;
  }

  .tindex-page .office-reception__call {
    display: flex;
  }

  .office-reception__note {
    min-height: 0;
  }

  .tindex-page .concept-footer {
    align-items: center;
    min-height: 0;
    gap: 12px;
    padding: 18px;
    text-align: center;
  }

  .concept-footer > div,
  .concept-footer > div:nth-child(2),
  .concept-footer > div:last-child {
    align-items: center;
    text-align: center;
  }

  .concept-footer__name { white-space: normal; }

  .tindex-page .site-navigation {
    right: 0;
    left: auto;
    width: min(410px, 82vw);
    background: transparent;
  }

  .tindex-page .site-navigation ul {
    width: 100%;
    margin: 0;
  }

  .tindex-page .credentials,
  .tindex-page .main-secondary .portrait-menu a,
  .tindex-page .practice-grid article,
  .tindex-page .about-panel,
  .tindex-page .about-panel > article,
  .tindex-page .experience-list li,
  .tindex-page .publications-intro,
  .tindex-page .news-item,
  .tindex-page .main-secondary .office-card,
  .tindex-page .office-reception__details,
  .tindex-page .office-reception__request,
  .tindex-page .office-facts > div,
  .tindex-page .office-reception__contacts a,
  .tindex-page .office-reception__note {
    border-color: var(--concept-gold) !important;
  }
}

@media (max-width: 420px) {
  .office-identity {
    flex-direction: column;
    gap: 2px;
    padding-block: 5px 1px;
  }

  .office-identity__dot {
    display: none;
  }

  .tindex-page .intro__practices {
    grid-template-columns: 1fr;
  }

  .tindex-page .primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}

/* Единая разрядка заголовков во всех диапазонах ширины. */
.tindex-page.tindex-page h1,
.tindex-page.tindex-page h2,
.tindex-page.tindex-page h3 {
  letter-spacing: .012em;
  word-spacing: normal;
}

@media (max-width: 700px) {
  .tindex-page.tindex-page h2 {
    font-size: clamp(22px, 6.67vw, 26px);
  }
}

/* Планшет: вводная информация слева, фотография справа. */
@media (min-width: 761px) and (max-width: 1100px) {
  html,
  .tindex-page {
    overflow-x: hidden;
  }

  .office-identity {
    min-height: 46px;
    padding-block: 8px;
    border-top: 2px solid var(--concept-gold);
    border-bottom: 2px solid var(--concept-gold);
    font-size: clamp(12px, 1.55vw, 16px);
    letter-spacing: .075em;
  }

  .tindex-page .site-header__inner {
    grid-template-columns: 250px minmax(0, 1fr) 54px;
    grid-template-rows: auto;
    gap: 24px;
    border-bottom: 2px solid var(--concept-gold);
  }

  .tindex-page .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .tindex-page .header-contact-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .tindex-page .header-contact-panel__links {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
  }

  .tindex-page .header-contact {
    min-width: 0;
    font-size: 24px;
  }

  .tindex-page .telegram-link {
    display: none;
  }

  .tindex-page .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    gap: 24px;
    align-items: start;
  }

  .tindex-page .main-secondary {
    width: 100%;
    margin: 0;
  }

  .tindex-page .intro h1 {
    font-size: clamp(34px, 4.3vw, 44px);
  }

  .tindex-page .intro__tagline {
    width: auto;
    max-width: 100%;
    font-size: clamp(20px, 2.55vw, 26px);
    white-space: normal;
  }

  .tindex-page .intro__practices {
    display: none;
  }

  .tindex-page .credentials__desktop {
    display: none;
  }

  .tindex-page .credentials__mobile {
    display: block;
    font-size: 15px;
    letter-spacing: -.012em;
    line-height: 1.42;
  }

  .tindex-page .credentials__mobile span {
    display: block;
  }

  .tindex-page .primary-actions .button {
    min-height: 52px;
    padding-inline: 10px;
    font-size: 16px;
  }

  .hero-layout .practice-grid article {
    padding: 22px 23px 19px;
  }

  .hero-layout .practice-grid p {
    line-height: 1.42;
  }

  .practice-grid article:hover,
  .practice-grid article:focus-within {
    background: transparent;
  }

  .practice-grid article > a::after {
    display: none;
  }

  .tindex-page .office-card__lead {
    white-space: normal;
  }

  .tindex-page .about-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tindex-page .about-panel__intro {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 20px 24px;
  }

  .tindex-page .about-panel > article {
    padding: 22px 24px;
    border-top: 1px solid var(--concept-line);
  }

  .tindex-page .about-panel > article:nth-child(even) {
    border-left: 0;
  }

  .tindex-page .about-panel > article:nth-child(odd) {
    border-left: 1px solid var(--concept-line);
  }

  .tindex-page .office-reception .contact-section__inner {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 24px;
  }

  .office-reception__details,
  .office-reception__request {
    padding: 38px 40px;
  }

  .office-reception__contacts a {
    padding: 10px 12px;
  }
}

/* Одна величина зазора у всех соседних карточек и групп действий. */
.tindex-page .hero-layout,
.tindex-page .practice-grid,
.tindex-page .news-list,
.tindex-page .office-reception .contact-section__inner,
.tindex-page .primary-actions,
.tindex-page .main-secondary .portrait-menu {
  gap: var(--card-gap) !important;
  column-gap: var(--card-gap) !important;
  row-gap: var(--card-gap) !important;
}

/* После подвала не остаётся светлой полосы при прокрутке. */
html {
  background: #55544f;
}

body.tindex-page {
  min-height: 100vh;
  margin: 0;
}

/* Основная кнопка остаётся у левого края вводной колонки. */
.tindex-page.home-page .main-primary > .primary-actions {
  justify-content: flex-start;
}

/* Публикации используют строго одинаковую сетку по обеим осям. */
.tindex-page .news-list {
  display: grid !important;
  grid-auto-flow: row;
  gap: var(--card-gap) !important;
  column-gap: var(--card-gap) !important;
  row-gap: var(--card-gap) !important;
  align-content: start;
}

/* МГЮА: на телефоне строка остаётся цельной и равномерно заполняет ширину. */
@media (max-width: 760px) {
  .tindex-page .credentials__mobile > span:first-child {
    width: 100%;
    letter-spacing: -.02em;
    word-spacing: 0;
    text-align: justify;
    text-align-last: justify;
  }
}

@media (max-width: 360px) {
  .tindex-page .credentials__mobile > span:first-child {
    letter-spacing: -.06em;
    word-spacing: -.14em;
  }
}

/* Компоновка направлений и блока приёма. */
.office-identity,
.tindex-page .site-header,
.tindex-page .site-header__inner {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.office-facts > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

@media (min-width: 761px) {
  .hero-layout > .practice-directions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-layout .practice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-layout .practice-grid article {
    min-height: 0;
  }

  .hero-layout .practice-grid article + article,
  .hero-layout .practice-grid article:nth-child(3),
  .hero-layout .practice-grid article:nth-child(4) {
    border-top: 1px solid var(--concept-line);
    border-left: 0;
  }

  .tindex-page .office-reception .contact-section__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* На главной остаётся одно основное действие справа от вводного блока. */
.tindex-page.home-page .main-primary > .primary-actions {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-end;
}

.tindex-page.home-page .main-primary > .primary-actions .button--primary {
  width: min(300px, 100%);
  flex: 0 1 300px;
}

/* Компактный блок направлений под консультацией. */
@media (min-width: 761px) {
  .tindex-page .concept-hero {
    padding-bottom: 0;
  }

  .tindex-page .intro__tagline {
    margin-bottom: 8px;
  }

  .tindex-page.home-page .main-primary .practice-grid article {
    min-height: 0;
    padding: 18px 22px 14px;
  }

  .tindex-page.home-page .main-primary .practice-grid p {
    margin-bottom: 10px;
  }
}

.tindex-page.home-page .main-primary .practice-grid article > a {
  align-self: flex-end;
  margin-top: 8px;
  margin-bottom: 24px;
}

.tindex-page .about-panel > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Единый тонкий золотой контур для карточек и разделителей. */
.tindex-page .office-reception {
  background: rgba(154, 129, 3, .07);
}

.tindex-page .about-panel,
.tindex-page .main-secondary .office-card,
.tindex-page .office-reception__details,
.tindex-page .office-reception__request,
.tindex-page .news-list,
.tindex-page .practice-grid {
  border-color: var(--concept-gold);
  border-width: 1px;
}

.tindex-page .office-card__price {
  white-space: nowrap;
}

/* Горизонтальный iPad: вводная часть остаётся слева от портрета. */
@media (min-width: 901px) and (max-width: 1280px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(285px, .85fr);
    gap: 20px;
    align-items: stretch;
  }

  .tindex-page .main-primary,
  .tindex-page .intro {
    min-width: 0;
  }

  .tindex-page .intro__tagline {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .tindex-page .intro__practices {
    display: none;
  }

  .tindex-page .main-secondary {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .tindex-page .main-secondary .office-card {
    min-height: 0;
    flex: 1 1 auto;
  }
}

/* Компактная левая колонка: её высота соотнесена с портретом и блоком офиса. */
@media (min-width: 761px) {
  .tindex-page.home-page .main-primary .practice-directions {
    margin-top: 12px;
  }

  .tindex-page.home-page .main-primary .practice-grid article {
    padding: 14px 18px 10px;
  }

  .tindex-page.home-page .main-primary .practice-grid h3 {
    margin-bottom: 8px;
  }

  .tindex-page.home-page .main-primary .practice-grid p {
    margin-bottom: 6px;
    line-height: 1.4;
  }

  .tindex-page.home-page .main-primary .practice-grid article > a {
    margin-top: 4px;
    margin-bottom: 12px;
  }
}

/* Карточки направлений отделены коротким постоянным интервалом. */
.tindex-page.home-page .hero-layout .practice-grid {
  gap: 3px;
  border: 0;
}

.tindex-page.home-page .hero-layout .practice-grid article,
.tindex-page.home-page .hero-layout .practice-grid article + article,
.tindex-page.home-page .hero-layout .practice-grid article:nth-child(3),
.tindex-page.home-page .hero-layout .practice-grid article:nth-child(4) {
  border: 1px solid var(--concept-gold) !important;
}

/* Горизонтальный телефон повторяет планшетную компоновку первого экрана. */
@media (min-width: 568px) and (max-width: 760px) and (orientation: landscape) {
  .tindex-page .main-layout {
    padding-top: 6px;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(210px, .8fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 18px;
  }

  .tindex-page .main-primary,
  .tindex-page .main-secondary {
    display: block;
    min-width: 0;
  }

  .tindex-page .main-secondary {
    display: flex;
    width: auto;
    min-height: 0;
    margin: 0;
    flex-direction: column;
  }

  .tindex-page .concept-hero,
  .tindex-page .main-primary > .primary-actions,
  .tindex-page .main-secondary .portrait,
  .tindex-page .credentials,
  .tindex-page .main-secondary .portrait-menu,
  .tindex-page .practice-directions,
  .tindex-page .main-secondary .office-card {
    order: initial;
  }

  .tindex-page .intro h1 {
    margin-top: 4px;
    font-size: clamp(28px, 5.1vw, 34px);
  }

  .tindex-page .intro__tagline {
    width: 100%;
    font-size: clamp(18px, 3.2vw, 23px);
    line-height: 1.12;
  }

  .tindex-page .intro__practices {
    display: none;
  }

  .tindex-page .credentials {
    margin-top: 8px;
    padding: 8px 0;
  }

  .tindex-page .credentials__mobile {
    font-size: 13px;
    line-height: 1.32;
  }

  .tindex-page .primary-actions {
    margin: 8px 0 6px;
  }

  .tindex-page .primary-actions .button--primary {
    width: min(210px, 64%);
    flex-basis: min(210px, 64%);
  }

  .tindex-page .main-secondary .portrait,
  .tindex-page .main-secondary .portrait-menu {
    width: 100%;
  }

  .tindex-page .main-secondary .portrait {
    margin: 0 0 4px;
  }

  .tindex-page .main-secondary .portrait-menu {
    margin: 0 0 6px;
    gap: 3px;
  }

  .tindex-page .main-secondary .portrait-menu a {
    min-height: 34px;
    padding: 6px 4px;
    font-size: 11px;
  }

  .tindex-page .main-secondary .office-card {
    min-height: 0;
    margin-bottom: 0;
    padding: 12px 10px;
    flex: 1 1 auto;
  }

  .tindex-page .main-secondary .office-card__item,
  .tindex-page .main-secondary .office-card__schedule {
    font-size: 12px;
    line-height: 1.32;
  }

  .tindex-page .main-secondary .office-card__item {
    margin-bottom: 8px;
  }

  .tindex-page.home-page .main-primary .practice-directions {
    margin: 8px 0 0;
  }

  .tindex-page.home-page .main-primary .practice-grid article {
    padding: 10px 12px 8px;
  }

  .tindex-page.home-page .main-primary .practice-grid h3 {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .tindex-page.home-page .main-primary .practice-grid p {
    font-size: 13px;
    line-height: 1.35;
  }

  .tindex-page.home-page .main-primary .practice-grid article > a {
    min-height: 32px;
    margin-bottom: 4px;
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* На горизонтальных экранах направления распределяются в две колонки. */
@media (min-width: 761px), (min-width: 568px) and (max-width: 760px) and (orientation: landscape) {
  .hero-layout {
    align-items: stretch;
  }

  .tindex-page .main-secondary {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .tindex-page .main-secondary .office-card {
    min-height: 0;
    flex: 1 1 auto;
  }

  .tindex-page.home-page .hero-layout .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* В iPad-диапазоне карточкам нужно чуть больше воздуха. */
@media (min-width: 761px) and (max-width: 1280px) {
  .tindex-page.home-page .main-primary {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .tindex-page.home-page .main-primary .practice-directions {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .tindex-page.home-page .main-primary .practice-grid {
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
    grid-auto-rows: minmax(0, 1fr);
  }

  .tindex-page.home-page .main-primary .practice-grid article {
    height: 100%;
  }

  .tindex-page.home-page .hero-layout .practice-grid {
    gap: 6px;
  }

  .tindex-page .experience-list {
    grid-auto-rows: max-content;
    align-items: start;
    gap: 6px 28px;
  }

  .tindex-page .experience-list li {
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 14px 12px 14px 52px;
    border: 1px solid var(--concept-gold) !important;
    overflow-wrap: anywhere;
  }

  .tindex-page .experience-icon {
    top: 14px;
    left: 10px;
  }
}

/* Публикации — самостоятельные карточки с единым золотым контуром. */
.tindex-page .news-list {
  gap: 6px;
  border: 0;
}

.tindex-page .news-list .news-item,
.tindex-page .news-list .news-item + .news-item,
.tindex-page .news-list .news-item:nth-child(3),
.tindex-page .news-list .news-item:nth-child(4),
.tindex-page .news-list .news-item:nth-child(n+3) {
  border: 1px solid var(--concept-gold) !important;
}

/* Информация об адвокате оформлена как самостоятельные карточки. */
.tindex-page .about-panel {
  gap: 6px;
  border: 0;
  padding: 0;
}

.tindex-page .about-panel > *,
.tindex-page .about-panel > :first-child,
.tindex-page .about-panel > :last-child,
.tindex-page .about-panel > article,
.tindex-page .about-panel > article:nth-child(3) {
  border: 1px solid var(--concept-gold) !important;
  padding: 16px 18px;
}

/* Карточки практического опыта: отдельный контур и небольшой интервал. */
.tindex-page .experience-list {
  gap: 6px 28px;
}

.tindex-page .experience-list li {
  border: 1px solid var(--concept-gold) !important;
}

@media (max-width: 760px) {
  .tindex-page .experience-list {
    gap: 6px;
  }

  .tindex-page .experience-list li {
    padding: 11px 10px;
  }
}

/* Название палаты — заметный, но компактный верхний акцент. */
.office-identity {
  font-size: clamp(15px, 1.15vw, 18px);
}

@media (min-width: 761px) and (max-width: 1100px) {
  .office-identity {
    font-size: clamp(15px, 1.75vw, 19px);
  }
}

@media (max-width: 760px) {
  .office-identity {
    font-size: 15px;
  }
}

/* Горизонтальный телефон сохраняет мобильный, а не увеличенный масштаб шрифта. */
@media (max-width: 900px) and (orientation: landscape) {
  html,
  .tindex-page {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .tindex-page .header-contact {
    font-size: 20px;
  }

  .tindex-page .intro h1 {
    font-size: 32px;
  }

  .tindex-page .intro__tagline {
    font-size: 24px;
  }

  .tindex-page .credentials__mobile {
    font-size: 15px;
  }

  .tindex-page .primary-actions .button {
    font-size: 15px;
  }
}

/* На планшете за выезжающим меню остаётся нейтральное затемнение, не золото. */
@media (min-width: 761px) and (max-width: 1100px) {
  .tindex-page .site-navigation {
    background: rgba(23, 23, 21, .42);
  }
}

/* Все карточные действия занимают одинаковую позицию: справа внизу. */
.tindex-page .practice-grid article {
  padding-right: 16px !important;
  padding-bottom: 16px !important;
}

.tindex-page .practice-grid article > a,
.tindex-page.home-page .main-primary .practice-grid article > a {
  align-self: flex-end;
  margin: auto 0 0 !important;
}

.tindex-page .news-item {
  padding-right: 16px;
  padding-bottom: 16px;
}

.tindex-page .news-item .news-item__more {
  align-self: flex-end;
  margin: auto 0 0;
}

.tindex-page .news-item {
  padding-left: 23px;
}

@media (max-width: 760px) and (orientation: portrait) {
  .tindex-page.home-page .main-primary > .primary-actions .button--primary {
    width: min(190px, 52%);
    flex-basis: min(190px, 52%);
  }
}

/* Две колонки направлений появляются только с горизонтального iPad. */
@media (max-width: 1023px) {
  .tindex-page.home-page .hero-layout .practice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) and (orientation: landscape) {
  .tindex-page.home-page .hero-layout .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Единый интервал между текстовыми абзацами на каждом размере экрана. */
.tindex-page .publications-intro,
.tindex-page .about-info,
.tindex-page .experience-panel {
  row-gap: 8px;
}

.tindex-page .publications-intro > p,
.tindex-page .about-info > p,
.tindex-page .experience-panel > p,
.tindex-page .publications-intro > p + p,
.tindex-page .about-info > p + p,
.tindex-page .experience-panel > p + p {
  margin-block: 0 !important;
}

.tindex-page .publications-intro > h2 {
  margin-bottom: 0 !important;
}

/* Специализация набрана плотнее, без избыточной разрядки. */
.tindex-page.tindex-page .intro__tagline {
  letter-spacing: -.018em;
  word-spacing: -.09em;
}

/* Первая строка квалификации не разрывается на узком телефоне. */
.tindex-page .credentials__mobile > span:first-child {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: inherit;
  letter-spacing: -.06em;
  word-spacing: -.14em;
  white-space: nowrap;
}

/* Вертикальный телефон: название палаты всегда остаётся в пределах шапки. */
.office-identity__cabinet {
  display: none;
}

@media (max-width: 760px) {
  .office-identity {
    overflow: hidden;
    padding-inline: 6px;
  }

  .office-identity__chamber {
    max-width: 100%;
    font-size: clamp(11px, 3.6vw, 14px);
    letter-spacing: .015em;
  }
}

/* От горизонтального iPad: палата и кабинет образуют одну строку. */
@media (min-width: 1024px) and (orientation: landscape) {
  .office-identity {
    gap: 0;
    font-size: clamp(13px, 1.35vw, 18px);
    letter-spacing: .045em;
  }

  .office-identity__cabinet {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .office-identity__cabinet::before {
    content: "•";
    margin: 0 .65em;
  }
}

/* Иконки в горизонтальной шапке. */
.header-contact__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 761px) and (orientation: landscape) {
  .tindex-page .header-contact,
  .tindex-page .telegram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .header-contact__icon,
  .telegram-link__icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }
}

/* Гамбургер всегда раскрывает только правую панель, не закрывая экран золотом. */
@media (max-width: 1400px) {
  .tindex-page .site-navigation {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(410px, 86vw);
    background: transparent !important;
  }

  .tindex-page .site-navigation ul {
    width: 100%;
    margin: 0 0 0 auto;
    background: rgba(154, 129, 3, .93);
  }

  .tindex-page .site-navigation,
  .tindex-page .site-navigation ul {
    transition: none !important;
  }

  .tindex-page .menu-toggle,
  .tindex-page .menu-toggle:hover,
  .tindex-page .menu-toggle:focus-visible {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Единый фон: тёплый почти-белый лист и светло-золотые карточки. */
.tindex-page .publications-intro,
.tindex-page .about-info,
.tindex-page .experience-panel {
  background: var(--concept-surface);
}

.tindex-page .practice-grid article,
.tindex-page .news-item,
.tindex-page .main-secondary .office-card,
.tindex-page .office-reception__details,
.tindex-page .office-reception__request,
.tindex-page .office-facts > div,
.tindex-page .office-map,
.tindex-page .office-reception__contacts a,
.tindex-page .office-reception__note {
  background: var(--concept-card-bg);
}

.tindex-page .office-reception {
  background: var(--concept-bg);
}

.tindex-page .header-contact,
.tindex-page .telegram-link {
  gap: 4px;
}

@media (max-width: 760px) {
  .tindex-page .brand img {
    width: calc(100% + 6px);
  }
}

/* Единая 8-пиксельная сетка для всех карточек и действий. */
:root {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --card-gap: 12px;
  --block-gap: 12px;
}

.tindex-page .practice-grid,
.tindex-page .news-list {
  gap: var(--card-gap);
  border: 0;
}

.tindex-page .practice-grid article,
.tindex-page .news-list .news-item {
  padding: var(--space-3) !important;
}

.tindex-page .practice-grid h3 {
  margin-bottom: var(--space-1);
}

.tindex-page .practice-grid p,
.tindex-page .news-item p {
  margin-bottom: var(--space-2);
}

.tindex-page .office-reception .contact-section__inner {
  gap: var(--card-gap);
}

.tindex-page .office-reception__details,
.tindex-page .office-reception__request,
.tindex-page .main-secondary .office-card {
  padding: var(--space-3);
}

.tindex-page .office-reception__details h2,
.tindex-page .office-reception__request h2 {
  margin-bottom: var(--space-2);
}

.tindex-page .office-facts {
  margin-bottom: var(--space-2);
}

.tindex-page .office-facts > div {
  gap: var(--space-1);
  padding-block: var(--space-2);
}

.tindex-page .office-reception__contacts {
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.tindex-page .office-reception__note {
  margin-bottom: var(--space-2) !important;
  padding: var(--space-2);
}

@media (max-width: 760px) {
  :root {
    --card-gap: 8px;
    --block-gap: 8px;
  }

  .tindex-page .practice-grid article,
  .tindex-page .news-list .news-item,
  .tindex-page .office-reception__details,
  .tindex-page .office-reception__request,
  .tindex-page .main-secondary .office-card {
    padding: var(--space-2) !important;
  }
}

/* Горизонтальные и вертикальные интервалы между карточками и блоками совпадают. */
.tindex-page .practice-grid,
.tindex-page .news-list,
.tindex-page .office-reception .contact-section__inner {
  column-gap: var(--card-gap);
  row-gap: var(--card-gap);
}

.tindex-page .hero-layout {
  gap: var(--block-gap);
}

.tindex-page .primary-actions,
.tindex-page .main-secondary .portrait-menu {
  gap: var(--card-gap);
}

.tindex-page .main-secondary .portrait,
.tindex-page .main-secondary .portrait-menu {
  margin-bottom: var(--card-gap);
}

.tindex-page .office-map {
  margin: 0 auto;
}

/* На телефоне и iPad переход выполняется только явной кнопкой. */
@media (max-width: 1199px) {
  .tindex-page .practice-grid article > a::after,
  .tindex-page .news-item h3 a::after {
    display: none;
  }

  .tindex-page .news-item h3 a {
    pointer-events: none;
  }
}

/* Подвал: первый столбец не пересекает центральные контакты. */
@media (min-width: 761px) and (max-width: 1100px) {
  .tindex-page .concept-footer {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1fr);
    gap: var(--space-2);
    padding-inline: var(--space-3);
  }

  .tindex-page .concept-footer__name {
    white-space: normal;
  }
}

/* Local, deliberately minimal refinements for tindex only. Font declarations
   live in the shared typography stylesheet to avoid duplicate CSS parsing. */

body.tindex-page.tindex-baseline,
.tindex-page.tindex-baseline .site-header,
.tindex-page.tindex-baseline .main-layout,
.tindex-page.tindex-baseline .contact-section {
  background-color: #fff;
}

/* Quiet, readable typography without external font loading. */
.tindex-page.tindex-baseline {
  --concept-text: #3f403c;
  --concept-muted: #66665f;
  color: #3f403c;
  font-family: "Onest Local", Onest, "Segoe UI", Arial, Helvetica, sans-serif;
}

.tindex-page.tindex-baseline h1,
.tindex-page.tindex-baseline h2 {
  color: #3f403c;
  font-family: "Roboto Serif Local", "Roboto Serif", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: .005em;
  word-spacing: normal;
}

.tindex-page.tindex-baseline h3,
.tindex-page.tindex-baseline .button,
.tindex-page.tindex-baseline .site-navigation,
.tindex-page.tindex-baseline .header-contact,
.tindex-page.tindex-baseline .office-identity,
.tindex-page.tindex-baseline .telegram-link,
.tindex-page.tindex-baseline .credentials {
  font-family: "Onest Local", Onest, "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  word-spacing: normal;
}

.tindex-page.tindex-baseline .intro__tagline {
  letter-spacing: -.012em;
  word-spacing: normal;
}

.tindex-page.tindex-baseline .credentials__mobile > span:first-child {
  font-family: "Onest Local", Onest, "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: -.045em;
  word-spacing: -.1em;
}

.tindex-page.tindex-baseline .office-identity {
  letter-spacing: .025em;
}

.tindex-page.tindex-baseline .credentials,
.tindex-page.tindex-baseline .news-item time,
.tindex-page.tindex-baseline .office-facts dt {
  color: #66665f;
}

/* Cards and standalone controls are separated from the white page very subtly. */
.tindex-page.tindex-baseline .practice-grid article,
.tindex-page.tindex-baseline .news-item,
.tindex-page.tindex-baseline .main-secondary .office-card,
.tindex-page.tindex-baseline .office-reception__details,
.tindex-page.tindex-baseline .office-reception__request,
.tindex-page.tindex-baseline .office-facts > div,
.tindex-page.tindex-baseline .office-map,
.tindex-page.tindex-baseline .office-reception__contacts a,
.tindex-page.tindex-baseline .office-reception__note {
  background-color: #fcfbf8;
}

.tindex-page.tindex-baseline .practice-grid article:hover,
.tindex-page.tindex-baseline .practice-grid article:focus-within {
  background-color: rgba(154, 129, 3, .09) !important;
}

.tindex-page.tindex-baseline .practice-heading-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  margin-top: -2px;
  border: 0;
  border-radius: 50%;
  background: #9a8103;
}

.tindex-page.tindex-baseline .practice-heading-icon::before {
  display: none;
}

.tindex-page.tindex-baseline .practice-heading-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Narrative sections remain part of the white page, rather than becoming cards. */
.tindex-page.tindex-baseline .about-panel,
.tindex-page.tindex-baseline .about-panel > article,
.tindex-page.tindex-baseline .experience-list li,
.tindex-page.tindex-baseline .publications-intro {
  background-color: #fff;
}

/* Buttons within cards keep their existing white surface. */
.tindex-page.tindex-baseline .practice-grid article > a,
.tindex-page.tindex-baseline .news-item__more,
.tindex-page.tindex-baseline .office-reception__button {
  background-color: #fff;
}

/* Standalone actions use the same soft surface as cards. */
.tindex-page.tindex-baseline .primary-actions .button--primary,
.tindex-page.tindex-baseline .intro__practices a,
.tindex-page.tindex-baseline .portrait-menu a,
.tindex-page.tindex-baseline .section-heading-row > a {
  background-color: #fcfbf8;
}

/* All structural headings use graphite, not absolute black. */
.tindex-page.tindex-baseline h1,
.tindex-page.tindex-baseline h2,
.tindex-page.tindex-baseline h3 {
  color: #3f403c;
}

.tindex-page.tindex-baseline.home-page .main-primary > .primary-actions {
  display: flex;
  justify-content: flex-end;
}

.tindex-page.tindex-baseline.home-page .main-primary > .primary-actions .primary-action-group {
  position: relative;
  width: 70%;
  flex: 0 0 70%;
  container-type: inline-size;
}

.tindex-page.tindex-baseline.home-page .main-primary > .primary-actions .primary-action-group::before {
  position: absolute;
  z-index: 0;
  inset: -4px;
  border: 1px solid #9a8103;
  content: "";
  pointer-events: none;
}

.tindex-page.tindex-baseline.home-page .main-primary > .primary-actions .primary-action-group .button--primary {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 0 0 100%;
  padding-inline: 6px;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: clamp(11px, 7cqw, 20px);
  letter-spacing: -.025em;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .tindex-page.tindex-baseline .site-header__inner {
    grid-template-rows: auto auto;
    row-gap: 0;
  }

  .tindex-page.tindex-baseline .brand {
    justify-self: end;
  }

  .tindex-page.tindex-baseline .header-contact-panel {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    transform: translateY(-4px);
  }

  .tindex-page.tindex-baseline .header-contact-panel__links {
    justify-content: flex-end;
  }

  .tindex-page.tindex-baseline .header-contact-panel__links .header-contact:not(:first-child) {
    display: none;
  }

  .tindex-page.tindex-baseline .header-contact {
    max-width: 100%;
    justify-content: flex-end;
  }

  .tindex-page.tindex-baseline .menu-toggle {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .tindex-page.tindex-baseline.home-page .main-primary > .primary-actions {
    margin-bottom: 22px;
  }

  .tindex-page.tindex-baseline.home-page .main-primary > .primary-actions .primary-action-group::before {
    inset: -3px;
  }

  .tindex-page.tindex-baseline.home-page .main-primary > .primary-actions .primary-action-group .button--primary {
    width: 100%;
    flex: 0 0 100%;
    white-space: nowrap;
  }

  .tindex-page.tindex-baseline .primary-action-group .button__label-full {
    display: inline;
  }

  .tindex-page.tindex-baseline .primary-action-group .button__label-short {
    display: none;
  }


  .tindex-page.tindex-baseline .main-secondary .portrait {
    width: min(240px, 64vw);
    margin-inline: auto;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
  }
}

/* Header contacts remain compact and visually even at every breakpoint. */
.tindex-page.tindex-baseline .header-contact,
.tindex-page.tindex-baseline .telegram-link {
  letter-spacing: -.025em;
  word-spacing: -.06em;
}

@media (min-width: 761px) {
  /* The CTA is anchored to the right edge and deliberately overlaps the
     content column by one fifth of the secondary-column width. */
  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    width: 130%;
    margin-right: 0;
    margin-left: -30%;
    justify-self: end;
  }

  /* Practice cards begin alongside the office block that follows the CTA. */
  .tindex-page.tindex-baseline.home-page .main-primary .practice-directions {
    margin-top: var(--practice-offset, 0px) !important;
  }
}

/* The primary CTA always uses its full, unambiguous label. */
.tindex-page.tindex-baseline .primary-action-group .button__label-full {
  display: inline !important;
}

.tindex-page.tindex-baseline .primary-action-group .button__label-short {
  display: none !important;
}

/* On phones and tablets, only explicit card buttons lead to another page. */
@media (max-width: 1199px) {
  .tindex-page.tindex-baseline .practice-grid article {
    cursor: default;
  }

  .tindex-page.tindex-baseline .practice-grid article > a::after,
  .tindex-page.tindex-baseline .news-item h3 a::after {
    display: none !important;
    pointer-events: none;
  }

  .tindex-page.tindex-baseline .news-item h3 a {
    pointer-events: none;
  }

  .tindex-page.tindex-baseline .practice-grid article > a,
  .tindex-page.tindex-baseline .news-item__more {
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }
}

/* Desktop hero: the portrait ends with the qualification block; the primary
   action then bridges back into the content column without changing phones. */
@media (min-width: 761px) {
  .tindex-page.tindex-baseline .credentials-menu--desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
  }

  .tindex-page.tindex-baseline .credentials-menu--desktop a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid #9a8103;
    color: #3f403c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  .tindex-page.tindex-baseline .credentials-menu--desktop a:hover,
  .tindex-page.tindex-baseline .credentials-menu--desktop a:focus-visible {
    background: #9a8103;
    color: #fff;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait {
    height: var(--hero-portrait-height, auto);
    margin: 0;
    overflow: hidden;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    display: block;
    width: 120%;
    margin: 12px 0 18px -20%;
    padding: 0;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group {
    position: relative;
    display: block;
    width: 100%;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group::before {
    position: absolute;
    z-index: 0;
    inset: -5px;
    border: 2px solid #9a8103;
    content: "";
    pointer-events: none;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .button--primary {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding-inline: 18px;
    font-size: 18px;
    white-space: nowrap;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait-menu--mobile {
    display: none;
  }
}

@media (max-width: 760px) {
  .tindex-page.tindex-baseline .credentials-menu--desktop {
    display: none;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    order: 2;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait {
    order: 3;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait-menu--mobile {
    display: grid;
  }
}

/* Finalised interaction, spacing and desktop alignment rules. */
.tindex-page.tindex-baseline .header-contact,
.tindex-page.tindex-baseline .telegram-link {
  letter-spacing: -.04em;
  word-spacing: -.09em;
}

/* Every explicit action shares one clear gold hover and keyboard-focus state. */
.tindex-page.tindex-baseline .button:hover,
.tindex-page.tindex-baseline .button:focus-visible,
.tindex-page.tindex-baseline .practice-grid article > a:hover,
.tindex-page.tindex-baseline .practice-grid article > a:focus-visible,
.tindex-page.tindex-baseline .news-item__more:hover,
.tindex-page.tindex-baseline .news-item__more:focus-visible,
.tindex-page.tindex-baseline .portrait-menu a:hover,
.tindex-page.tindex-baseline .portrait-menu a:focus-visible,
.tindex-page.tindex-baseline .credentials-menu a:hover,
.tindex-page.tindex-baseline .credentials-menu a:focus-visible,
.tindex-page.tindex-baseline .section-heading-row > a:hover,
.tindex-page.tindex-baseline .section-heading-row > a:focus-visible,
.tindex-page.tindex-baseline .office-reception__button:hover,
.tindex-page.tindex-baseline .office-reception__button:focus-visible {
  background-color: #9a8103 !important;
  color: #fff !important;
}

/* Softly coloured functional blocks retain the existing gold contrast. */
.tindex-page.tindex-baseline .main-secondary .office-card {
  background-color: rgba(85, 149, 186, .06) !important;
}

.tindex-page.tindex-baseline .news-item {
  background-color: rgba(103, 145, 92, .06) !important;
}

/* On phones and tablets cards are static; only their actual controls react. */
@media (max-width: 1199px) {
  .tindex-page.tindex-baseline .practice-grid article:hover,
  .tindex-page.tindex-baseline .practice-grid article:active,
  .tindex-page.tindex-baseline .practice-grid article:focus-within,
  .tindex-page.tindex-baseline .news-item:hover,
  .tindex-page.tindex-baseline .news-item:active,
  .tindex-page.tindex-baseline .news-item:focus-within {
    background-color: var(--card-static-background, #fcfbf8) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .tindex-page.tindex-baseline .news-item {
    --card-static-background: rgba(103, 145, 92, .06);
  }
}

@media (min-width: 761px) {
  /* CTA keeps its right edge, extending 30% of its column to the left. */
  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    width: 130%;
    margin-right: 0;
    margin-left: -30%;
    justify-self: end;
  }

  /* Heading follows the CTA; cards follow the office block, without overlap. */
  .tindex-page.tindex-baseline.home-page .main-primary .practice-directions {
    margin-top: var(--practice-offset, 0px) !important;
  }

  .tindex-page.tindex-baseline.home-page .practice-directions .section-heading-row {
    max-width: var(--practice-heading-max-width, 100%);
  }

  .tindex-page.tindex-baseline.home-page .practice-directions .practice-grid {
    margin-top: var(--practice-grid-offset, 0px);
  }
}

@media (max-width: 760px) {
  /* Restore a complete, aligned CTA rather than the inherited narrow grid. */
  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin: 11px 0 8px;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group {
    position: relative;
    width: min(300px, 82%);
    flex: 0 1 min(300px, 82%);
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group::before {
    position: absolute;
    z-index: 0;
    inset: -3px;
    border: 1px solid #9a8103;
    content: "";
    pointer-events: none;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .button--primary {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
  }
}

/* The information paragraphs use a single vertical rhythm at every width. */
.tindex-page.tindex-baseline .about-info > p {
  margin-top: 0 !important;
  margin-bottom: var(--paragraph-gap, 16px) !important;
}

.tindex-page.tindex-baseline.index-page .about-info > p {
  margin: 0 !important;
}

/* The two classifiers identify each material without competing with its title. */
.tindex-page.tindex-baseline .news-item__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.tindex-page.tindex-baseline .news-item__labels a {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #9a8103;
  background: #fff;
  color: #3f403c;
  text-decoration: none;
}

.tindex-page.tindex-baseline .news-item__labels a:hover,
.tindex-page.tindex-baseline .news-item__labels a:focus-visible {
  background: #9a8103;
  color: #fff;
}

/* The secondary menu is evenly spaced between the qualification copy and
   its closing rule. CTA width is independent from the right column. */
@media (min-width: 761px) {
  .tindex-page.tindex-baseline .credentials-menu--desktop {
    margin: 10px 0;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    width: 130%;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    align-self: flex-end;
    transform: translateX(var(--cta-right-offset, 0px));
  }
}

@media (max-width: 760px) {
  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    margin-right: 0 !important;
    align-self: stretch;
  }
}

/* Landscape phones use the same two-column CTA relationship as tablets. */
@media (min-width: 568px) and (max-width: 760px) and (orientation: landscape) {
  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    display: block;
    width: 130%;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    align-self: flex-end;
    transform: translateX(var(--cta-right-offset, 0px));
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group,
  .tindex-page.tindex-baseline .main-secondary > .primary-actions .button--primary {
    width: 100%;
  }
}

/* Header contacts use a compact neutral sans-serif separate from the brand type. */
.tindex-page.tindex-baseline .header-contact,
.tindex-page.tindex-baseline .telegram-link {
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  letter-spacing: -.015em;
  word-spacing: -.03em;
}

/* The primary action is slightly warmer than a card, with equal breathing room
   above and below in the two-column hero. */
.tindex-page.tindex-baseline .main-secondary > .primary-actions .button--primary {
  background-color: rgba(154, 129, 3, .15);
}

/* Restore a restrained slide-in for the right-hand hamburger panel. */
@media (max-width: 1400px) {
  .tindex-page.tindex-baseline .site-navigation {
    transition: opacity 180ms ease, visibility 0s linear 280ms !important;
  }

  .tindex-page.tindex-baseline .site-navigation.is-open {
    transition: opacity 180ms ease, visibility 0s !important;
  }

  .tindex-page.tindex-baseline .site-navigation ul {
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1) !important;
  }

  .tindex-page.tindex-baseline .site-navigation.is-open ul {
    transform: translateX(0);
  }

  .tindex-page.tindex-baseline .site-navigation a {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tindex-page.tindex-baseline .site-navigation,
  .tindex-page.tindex-baseline .site-navigation ul {
    transition: none !important;
  }
}

@media (min-width: 761px) {
  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    margin-top: 14px !important;
    margin-bottom: 14px !important;
  }
}

/* Телефонный первый экран: подзаголовки остаются в одной спокойной шкале,
   а CTA повторяет точную ширину портрета. */
@media (max-width: 760px) {
  .tindex-page.tindex-baseline .intro__tagline {
    font-size: clamp(16px, 3.2vw, 21px);
  }

  .tindex-page.tindex-baseline .section-heading-row h2,
  .tindex-page.tindex-baseline .content-section > h2,
  .tindex-page.tindex-baseline .news-column > h2,
  .tindex-page.tindex-baseline .office-reception h2 {
    font-size: 26px;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions,
  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group,
  .tindex-page.tindex-baseline .main-secondary > .primary-actions .button--primary {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait {
    order: 1;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    order: 2;
    justify-content: center;
    align-self: stretch;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait-menu {
    order: 3;
  }

  .tindex-page.tindex-baseline .main-secondary .office-card {
    order: 4;
  }
}

@media (min-width: 568px) and (max-width: 760px) and (orientation: landscape) {
  .tindex-page.tindex-baseline .intro__tagline {
    font-size: 22px;
  }
}

/* Мобильный сценарий чтения: после портрета идут разделы, затем регалии и
   только после них — основное действие. */
@media (max-width: 760px) {
  .tindex-page.tindex-baseline .main-secondary .portrait {
    order: 2;
  }

  .tindex-page.tindex-baseline .main-secondary .portrait-menu {
    order: 3;
  }

  .tindex-page.tindex-baseline .credentials {
    order: 4;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions {
    order: 5;
    width: 100%;
    margin-inline: auto !important;
    justify-content: center;
    align-self: stretch;
  }

  .tindex-page.tindex-baseline .main-secondary > .primary-actions .primary-action-group,
  .tindex-page.tindex-baseline .main-secondary > .primary-actions .button--primary {
    width: 100%;
    flex-basis: 100%;
  }

  .tindex-page.tindex-baseline .practice-directions {
    order: 6;
  }

  .tindex-page.tindex-baseline .main-secondary .office-card {
    order: 7;
  }

  /* Нижний контактный блок завершает страницу такими же понятными CTA. */
  .tindex-page.tindex-baseline .office-reception__button {
    background-color: #9a8103;
    border-color: #9a8103;
    color: #fff;
  }
}

/* The lower consultation action is deliberately quieter than the hero CTA. */
.tindex-page.tindex-baseline.home-page .office-reception__request .button--primary {
  background-color: #fff !important;
  border-color: #9a8103 !important;
  color: #3f403c !important;
}

.tindex-page.tindex-baseline.home-page .office-reception__request .button--primary:hover,
.tindex-page.tindex-baseline.home-page .office-reception__request .button--primary:focus-visible {
  background-color: #9a8103 !important;
  color: #fff !important;
}

/* Final geometry of the refreshed home page. The portrait is intentionally
   square; the adjacent practice and office surfaces are equalised by the
   shared layout script only when the two-column grid is active. */
.tindex-page.tindex-baseline.home-page .main-secondary .portrait {
  height: auto !important;
  aspect-ratio: 1 / 1;
}

.tindex-page.tindex-baseline.home-page .main-secondary .portrait img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  object-position: center top;
}

.tindex-page.tindex-baseline.home-page .practice-grid article {
  --card-static-background: rgba(154, 129, 3, .055);
  background-color: var(--card-static-background) !important;
  transition: background-color 160ms ease;
}

@media (hover: hover) and (min-width: 1024px) {
  .tindex-page.tindex-baseline.home-page .practice-grid article:hover,
  .tindex-page.tindex-baseline.home-page .practice-grid article:focus-within {
    background-color: rgba(154, 129, 3, .11) !important;
  }
}

@media (max-width: 1023px) {
  .tindex-page.tindex-baseline.home-page .practice-grid article:hover,
  .tindex-page.tindex-baseline.home-page .practice-grid article:active,
  .tindex-page.tindex-baseline.home-page .practice-grid article:focus-within {
    background-color: var(--card-static-background) !important;
  }
}

/* The full desktop subtitle remains on one line without entering the portrait
   column. At narrower widths the established natural wrapping is retained. */
@media (min-width: 1420px) {
  .tindex-page.tindex-baseline.home-page .intro__tagline {
    max-width: 100%;
    font-size: 27px !important;
    letter-spacing: -.02em !important;
    white-space: nowrap;
  }
}

/* Index qualification card: its horizontal edges meet the square portrait's
   lower edge while preserving the established column gap. */
.tindex-page.tindex-baseline.index-page .credentials--profile-card {
  display: flex;
  min-width: 0;
  min-height: var(--credentials-card-height, 0);
  box-sizing: border-box;
  flex-direction: column;
  padding: 18px 20px;
  border-top: 2px solid #9a8103;
  border-right: 0;
  border-bottom: 2px solid #9a8103;
  border-left: 0;
  background: transparent;
}

@media (min-width: 761px) {
  .tindex-page.tindex-baseline.index-page .main-secondary .portrait {
    width: 75%;
    max-width: 75%;
    margin-top: var(--portrait-align-offset, 0px) !important;
    margin-right: 0 !important;
    margin-left: auto !important;
  }
}

.tindex-page.tindex-baseline.index-page .credentials__profile {
  margin: 0;
  color: #66665f;
  font-size: var(--font-size-intro);
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.tindex-page.tindex-baseline.index-page .credentials-menu--card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 16px;
}

.tindex-page.tindex-baseline.index-page .credentials-menu--card a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #9a8103;
  background: #fff;
  color: #3f403c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.tindex-page.tindex-baseline.index-page .credentials-menu--card a:hover,
.tindex-page.tindex-baseline.index-page .credentials-menu--card a:focus-visible {
  background: #9a8103;
  color: #fff;
}

.tindex-page.tindex-baseline.index-page .portrait-menu--mobile[hidden] {
  display: none !important;
}

/* Keep the three public-activity paragraphs in one independent track so the
   height of the left heading cannot create an oversized first interval. */
.tindex-page.tindex-baseline.index-page .public-activity__content {
  display: grid;
  min-width: 0;
  grid-column: 2;
  gap: var(--site-element-gap, 12px);
}

.tindex-page.tindex-baseline.index-page .public-activity__content p {
  margin: 0 !important;
  color: var(--concept-muted);
  font-size: 15px;
  line-height: 1.58;
}

/* Publication cards retain a quiet green surface at rest. */
.tindex-page.tindex-baseline.index-page .news-item {
  --publication-card-background: rgba(86, 122, 82, .07);
  background-color: var(--publication-card-background) !important;
}

@media (hover: hover) and (min-width: 1024px) {
  .tindex-page.tindex-baseline.index-page .news-item:hover,
  .tindex-page.tindex-baseline.index-page .news-item:focus-within {
    background-color: rgba(86, 122, 82, .12) !important;
  }
}

/* The confidentiality copy is plain text, not an additional framed card. */
.tindex-page.tindex-baseline.index-page .office-reception__note {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.tindex-page.tindex-baseline.index-page .office-facts dt {
  color: #9a8103;
}

/* The lower consultation action is a primary CTA from its initial state. */
.tindex-page.tindex-baseline.index-page .office-reception__request .button--primary {
  border-color: #9a8103 !important;
  background: #9a8103 !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .tindex-page.tindex-baseline.index-page .main-secondary .portrait {
    width: min(180px, 48vw);
    max-width: min(180px, 48vw);
  }

  .tindex-page.tindex-baseline.index-page .credentials--profile-card {
    min-height: 0;
    padding: 14px 16px;
  }

  .tindex-page.tindex-baseline.index-page .credentials__profile {
    font-size: 15px;
    line-height: 1.42;
  }

  .tindex-page.tindex-baseline.index-page .public-activity__content {
    grid-column: 1;
  }
}

/* Shared public-site typography: local fonts only, no external CDN. */
@font-face {
  font-family: "Onest Local";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest Local";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto Serif Local";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/roboto-serif-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto Serif Local";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/roboto-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-main: "Onest Local", Onest, "Segoe UI", Arial, Helvetica, sans-serif;
  --site-heading-font: "Roboto Serif Local", "Roboto Serif", Georgia, "Times New Roman", serif;
  --site-gold: #9a8103;
  --site-graphite: #3f403c;
  --site-muted: #66665f;
  --site-white: #ffffff;
  --site-soft-gold: rgba(154, 129, 3, .15);
  --color-text: #3f403c;
  --color-muted: #66665f;
  --color-nav-text: #3f403c;
  --color-accent: #9a8103;
  --color-line: #9a8103;
  --color-white: #ffffff;
  --concept-text: #3f403c;
  --concept-muted: #66665f;
  --concept-gold: #9a8103;
  --concept-line: #9a8103;
  --site-element-gap: 12px;
}

body.tindex-page {
  color: #3f403c;
  font-family: var(--font-main);
}

body.tindex-page h1,
body.tindex-page h2 {
  color: #3f403c;
  font-family: var(--site-heading-font);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: .005em;
  word-spacing: normal;
}

body.tindex-page h3,
body.tindex-page .button,
body.tindex-page .site-navigation,
body.tindex-page .header-contact,
body.tindex-page .telegram-link,
body.tindex-page .office-identity,
body.tindex-page .credentials {
  font-family: var(--font-main);
}

body.tindex-page h3 {
  letter-spacing: 0;
  word-spacing: normal;
}

body.tindex-page .intro__tagline {
  letter-spacing: -.012em;
  word-spacing: normal;
}

body.tindex-page .credentials__mobile > span:first-child {
  font-family: var(--font-main);
  letter-spacing: -.045em;
  word-spacing: -.1em;
}

body.tindex-page .office-identity {
  letter-spacing: .025em;
}

/* Единая система публичного сайта. Эталон геометрии и состояний — index.php. */
body.tindex-page {
  background: var(--site-white);
  color: var(--site-graphite);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.48;
  --card-gap: var(--site-element-gap);
  --block-gap: var(--site-element-gap);
}

body.tindex-page h1,
body.tindex-page h2,
body.tindex-page h3 {
  color: var(--site-graphite);
}

body.tindex-page h1,
body.tindex-page h2 {
  font-family: var(--site-heading-font);
  font-weight: 600;
  letter-spacing: .005em;
}

body.tindex-page h3,
body.tindex-page p,
body.tindex-page li,
body.tindex-page a,
body.tindex-page button,
body.tindex-page input,
body.tindex-page textarea,
body.tindex-page select {
  font-family: var(--font-main);
}

body.tindex-page .site-header {
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--site-white);
}

body.tindex-page .office-identity {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 24px 7px;
  border: 0;
  color: var(--site-gold);
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

body.tindex-page .office-identity__cabinet { display: none; }

body.tindex-page .site-header__inner {
  width: min(1480px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  padding: 9px 0;
  grid-template-columns: 270px minmax(520px, 1fr) 132px;
  gap: 24px;
}

body.tindex-page .brand img {
  width: calc(100% + 8px);
  max-width: none;
  background: transparent;
  mix-blend-mode: multiply;
}

body.tindex-page .header-contact,
body.tindex-page .telegram-link {
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 600;
  letter-spacing: -.015em;
  word-spacing: -.03em;
}

body.tindex-page .header-contact {
  min-width: 230px;
  font-size: clamp(23px, 1.7vw, 26px);
}

body.tindex-page .header-contact-panel__links {
  width: 100%;
  justify-content: space-evenly;
  padding-inline: clamp(12px, 2vw, 28px);
}

body.tindex-page .telegram-link {
  width: auto;
  min-width: 126px;
  height: 44px;
  padding: 6px 12px;
  border: 0;
  border-radius: 0;
  color: var(--site-gold);
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

body.tindex-page .site-navigation { background: var(--site-gold); }
body.tindex-page .site-navigation a { color: var(--site-white); }
body.tindex-page .site-navigation a:hover,
body.tindex-page .site-navigation a:focus-visible {
  background: var(--site-white);
  color: var(--site-gold);
}

body.tindex-page .site-navigation a[aria-current="page"] {
  background: rgba(255, 255, 255, .2);
  color: var(--site-white);
}

body.tindex-page .site-navigation a[aria-current="page"]:hover,
body.tindex-page .site-navigation a[aria-current="page"]:focus-visible {
  background: var(--site-white);
  color: var(--site-gold);
}

body.tindex-page .button:focus-visible,
body.tindex-page a:focus-visible,
body.tindex-page button:focus-visible {
  outline: 2px solid var(--site-gold);
  outline-offset: 3px;
}

/* Практики повторяют ширину и пропорции двух колонок главной. */
@media (min-width: 901px) {
  body.tindex-page.practice-page .practice-layout {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
    grid-template-columns: minmax(0, 2.1fr) minmax(320px, 1fr);
    gap: 12px;
  }
}

body.tindex-page.practice-page .practice-hero h1.practice-seo-title {
  color: var(--site-gold);
  font-family: var(--font-main);
}

body.tindex-page.practice-page .practice-display-title {
  color: var(--site-graphite);
  font-family: var(--site-heading-font);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.02;
}

body.tindex-page.practice-page .practice-subtitle {
  color: var(--site-graphite);
  font-family: var(--site-heading-font);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.16;
}

body.tindex-page.practice-page .practice-top-cta {
  display: block;
  width: 130%;
  max-width: none !important;
  margin: 14px 0 14px -30% !important;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  align-self: flex-end;
  transform: none;
}

body.tindex-page.practice-page.tax-practice-page .practice-top-cta {
  margin-top: calc(14px + var(--tax-cta-shift, 0px)) !important;
}

body.tindex-page.practice-page .practice-top-cta .primary-action-group {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
}

body.tindex-page.practice-page .practice-top-cta .primary-action-group::before {
  position: absolute;
  z-index: 0;
  inset: -4px;
  border: 1px solid var(--site-gold);
  content: "";
  pointer-events: none;
}

body.tindex-page.practice-page .practice-top-cta .button--primary {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--site-gold);
  background: var(--site-soft-gold);
  color: var(--site-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

body.tindex-page.practice-page .practice-top-cta .button--primary:hover,
body.tindex-page.practice-page .practice-top-cta .button--primary:focus-visible {
  background: var(--site-gold);
  color: var(--site-white);
}

@media (min-width: 1024px) and (orientation: landscape) {
  body.tindex-page .office-identity__cabinet {
    display: inline-flex;
    align-items: center;
  }

  body.tindex-page .office-identity__cabinet::before {
    margin: 0 .65em;
    content: "•";
  }
}

@media (max-width: 1400px) {
  body.tindex-page .site-header__inner {
    grid-template-columns: 255px minmax(0, 1fr) 126px 54px;
  }

  body.tindex-page .telegram-link { grid-column: 3; }
  body.tindex-page .menu-toggle { grid-column: 4; }
}

@media (max-width: 1100px) {
  body.tindex-page .site-header__inner {
    width: min(100% - 36px, 1480px);
    grid-template-columns: 230px minmax(0, 1fr) 112px 54px;
  }

  body.tindex-page .header-contact-panel__links { gap: 8px; }
  body.tindex-page .header-contact { min-width: 170px; font-size: 22px; }
}

@media (min-width: 761px) and (max-width: 1023px) {
  body.tindex-page .site-header__inner {
    min-height: 78px;
    padding: 8px 0;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) 54px;
    grid-template-rows: auto;
    gap: var(--site-element-gap);
  }
  body.tindex-page .brand { grid-column: 1; grid-row: 1; }
  body.tindex-page .brand img {
    width: min(100%, 220px);
    margin: 0;
  }
  body.tindex-page .telegram-link { display: none; }
  body.tindex-page .menu-toggle { grid-column: 3; grid-row: 1; align-self: center; }
  body.tindex-page .header-contact-panel { grid-column: 2; grid-row: 1; min-width: 0; }
  body.tindex-page .header-contact-panel__links {
    display: flex;
    width: 100%;
    gap: var(--site-element-gap);
    justify-content: space-evenly;
    white-space: nowrap;
  }
  body.tindex-page .header-contact {
    min-width: 0;
    padding-inline: 0;
    font-size: 22px;
  }
}

/* Классификатор публикации в карточках практик. */
body.tindex-page .news-item__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

body.tindex-page .news-item h3:has(+ .news-item__labels) {
  margin-bottom: 8px !important;
}

body.tindex-page .news-item__labels a {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--site-gold);
  background: var(--site-white);
  color: var(--site-graphite);
  text-decoration: none;
}

body.tindex-page .news-item__labels a:hover,
body.tindex-page .news-item__labels a:focus-visible {
  background: var(--site-gold);
  color: var(--site-white);
}

@media (max-width: 760px) {
  body.tindex-page {
    overflow-x: hidden;
    font-size: 15px;
  }

  body.tindex-page .office-identity {
    min-height: 34px;
    overflow: hidden;
    padding: 5px 6px 1px;
    font-size: 15px;
  }

  body.tindex-page .office-identity__chamber {
    max-width: 100%;
    font-size: clamp(11px, 3.6vw, 14px);
    letter-spacing: .015em;
  }

  body.tindex-page .office-identity__cabinet { display: none; }

  body.tindex-page .site-header__inner {
    width: calc(100% - 24px);
    min-height: 86px;
    margin: 0 auto;
    padding: 0 0 2px;
    grid-template-columns: minmax(0, 1fr) 62px;
    grid-template-rows: auto auto;
    gap: 0 12px;
  }

  body.tindex-page .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }

  body.tindex-page .brand img {
    width: calc(100% + 8px);
    max-width: none;
    margin-top: 7px;
  }

  body.tindex-page .header-contact-panel {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding-bottom: 3px;
    transform: translateY(-4px);
  }

  body.tindex-page .header-contact-panel__links {
    width: 100%;
    justify-content: flex-end;
    padding: 0 8px;
  }

  body.tindex-page .header-contact-panel__links .header-contact:not(:first-child) { display: none; }

  body.tindex-page .header-contact {
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
    padding-inline: 0;
    font-size: 22px;
  }

  body.tindex-page .telegram-link { display: none; }

  body.tindex-page .menu-toggle {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 62px;
    height: 62px;
    align-self: center;
    padding: 6px;
    border: 0;
    background: transparent;
  }

  body.tindex-page .concept-footer__name {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.tindex-page.practice-page .portrait-profile-summary { order: 5; }
  body.tindex-page.practice-page .practice-top-cta {
    order: 6;
    width: 100%;
    max-width: none !important;
    margin: 11px 0 8px !important;
    align-self: stretch;
  }
  body.tindex-page.practice-page.tax-practice-page .practice-top-cta {
    margin-top: 11px !important;
  }
  body.tindex-page.practice-page .office-card { order: 7; }
  body.tindex-page.practice-page .practice-metrics { order: 8; }
  body.tindex-page.practice-page .practice-content { order: 9; }
  body.tindex-page.practice-page .telegram-subscribe { order: 10; }
  body.tindex-page.practice-page .news-column { order: 11; }
  body.tindex-page.practice-page .practice-top-cta .primary-action-group,
  body.tindex-page.practice-page .practice-top-cta .button--primary {
    width: 100%;
    max-width: none;
  }
  body.tindex-page.practice-page .practice-top-cta .button--primary {
    min-height: 52px;
    padding: 12px 10px;
    font-size: 15px;
  }
}

/* Practice portrait is quieter than on the home page; its identity remains
   aligned with the image. The left section is moved only when the wide CTA
   would otherwise enter the first card row. */
@media (min-width: 761px) {
  body.tindex-page.practice-page .main-secondary .portrait,
  body.tindex-page.practice-page .main-secondary .portrait-identity {
    width: 82%;
    max-width: 82%;
    margin-right: 0 !important;
    margin-left: auto !important;
  }

  body.tindex-page.practice-page #situations {
    margin-top: var(--practice-cta-clearance, 0px);
  }
}

body.tindex-page.practice-page .news-item__image {
  display: none !important;
}

@media (min-width: 1024px) {
  body.tindex-page :is(.practice-grid article, .service-grid article, .case-list article, .news-item):has(a[href]) {
    cursor: pointer;
  }
}

/* Единый основной CTA на всех публичных страницах. */
body.tindex-page .button.button--primary {
  border-color: var(--site-gold, #9a8103) !important;
  background: var(--site-gold, #9a8103) !important;
  color: var(--site-white, #fff) !important;
}

body.tindex-page .button.button--primary:hover,
body.tindex-page .button.button--primary:focus-visible {
  border-color: var(--site-gold, #9a8103) !important;
  background: var(--site-gold, #9a8103) !important;
  color: var(--site-white, #fff) !important;
  filter: brightness(.92);
}

/* Единая геометрия публичных страниц. */
body.tindex-page :is(.main-layout, .hero-layout, .practice-layout, .article-layout, .contacts-grid, .blog-grid, .contact-section__inner) {
  column-gap: var(--site-element-gap) !important;
}

body.tindex-page main :is(section, article, aside, header) > h2,
body.tindex-page main .section-heading-row {
  margin-bottom: var(--site-element-gap) !important;
}

body.tindex-page main :is(section, article, aside, header) > h2 {
  padding-bottom: 0 !important;
}

body.tindex-page main :is(section, article, aside) > h2 {
  line-height: 1.05 !important;
}

body.tindex-page main :is(section, article, aside, header) > h2 + * {
  margin-top: 0 !important;
}

body.tindex-page main :is(section, article, aside) > h3 {
  margin-bottom: var(--site-element-gap) !important;
}

@media (max-width: 1023px) {
  body.tindex-page :is(.practice-grid, .service-grid, .case-list, .contacts-grid, .blog-grid, .news-list) {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: var(--site-element-gap) !important;
    row-gap: var(--site-element-gap) !important;
  }
}

@media (min-width: 761px) and (max-width: 1023px) {
  body.tindex-page.practice-page .practice-wide-section .case-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Paragraphs and editorial cards use the same rhythm on every public page. */
body.tindex-page .publications-intro {
  row-gap: var(--site-element-gap) !important;
}

body.tindex-page .publications-intro > p,
body.tindex-page .about-panel p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.tindex-page .publications-intro > p:empty,
body.tindex-page .about-panel p:empty {
  display: none !important;
}

body.tindex-page .news-item {
  --publication-card-background: rgba(86, 122, 82, .055);
  min-width: 0;
  background-color: var(--publication-card-background) !important;
  transition: background-color 160ms ease;
}

body.tindex-page .news-item :is(h2, h3, p, a) {
  overflow-wrap: anywhere;
}

@media (hover: hover) and (min-width: 1024px) {
  body.tindex-page .news-item:hover,
  body.tindex-page .news-item:focus-within {
    background-color: rgba(86, 122, 82, .105) !important;
  }
}

@media (max-width: 1023px) {
  body.tindex-page .news-item:hover,
  body.tindex-page .news-item:active,
  body.tindex-page .news-item:focus-within {
    background-color: var(--publication-card-background) !important;
  }
}

/* Выдвижное меню оставляет страницу видимой слева. */
@media (max-width: 1400px) {
  body.tindex-page .site-navigation {
    background: rgba(0, 0, 0, .18);
  }

  body.tindex-page .site-navigation ul {
    background: var(--site-gold);
  }
}

/* Единый подвал всех публичных страниц — геометрия index.php. */
body.tindex-page .concept-footer {
  display: grid;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 20px max(24px, calc((100% - 1480px) / 2));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--site-element-gap);
  background: #55544f;
  color: #fff;
  text-align: left;
}

body.tindex-page .concept-footer > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

body.tindex-page .concept-footer__name {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.tindex-page .concept-footer > div:nth-child(2) { align-items: center; text-align: center; }
body.tindex-page .concept-footer > div:last-child { align-items: flex-end; justify-content: flex-end; text-align: right; }
body.tindex-page .concept-footer strong { margin-bottom: 2px; color: inherit; font-size: 17px; line-height: 1.3; }
body.tindex-page .concept-footer span,
body.tindex-page .concept-footer a { color: inherit; font-size: 13px; line-height: 1.5; text-decoration: none; }
body.tindex-page .concept-footer a:hover,
body.tindex-page .concept-footer a:focus-visible { color: inherit; font-weight: 700; }

@media (min-width: 761px) and (max-width: 1100px) {
  body.tindex-page .concept-footer {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.tindex-page .concept-footer {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 24px;
    text-align: center;
  }

  body.tindex-page .concept-footer > div,
  body.tindex-page .concept-footer > div:nth-child(2),
  body.tindex-page .concept-footer > div:last-child {
    align-items: center;
    text-align: center;
  }
}

