:root {
  --bg: #f7f5ef;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --ink: #22252b;
  --muted: #626974;
  --line: #ddd7cc;
  --amber: #c58624;
  --amber-dark: #8a5b16;
  --teal: #2f756e;
  --wine: #7a3347;
  --graphite: #22252b;
  --shadow: 0 18px 48px rgba(28, 31, 36, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  min-width: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(34, 37, 43, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.site-nav a {
  padding: 10px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(197, 134, 36, 0.12);
}

.header-phone {
  color: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero {
  min-height: 72svh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(25, 28, 32, 0.88) 0%, rgba(25, 28, 32, 0.72) 42%, rgba(25, 28, 32, 0.18) 100%),
    url("../img/hero-consulting.webp") center right / cover no-repeat;
}

.hero-content {
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 790px;
  margin: 16px 0 20px;
  font-size: 4.2rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
}

.hero-actions,
.contact-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(34, 37, 43, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.34) 50%, transparent 65%);
  transform: translateX(-65%) rotate(8deg);
  transition: transform 520ms ease;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(34, 37, 43, 0.16);
}

.button:hover::after {
  transform: translateX(65%) rotate(8deg);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(34, 37, 43, 0.12);
}

.button:focus-visible {
  outline: 3px solid rgba(197, 134, 36, 0.42);
  outline-offset: 3px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--primary:hover {
  background: #25655f;
}

.button--outline:hover {
  border-color: rgba(47, 117, 110, 0.45);
  background: #f7fbfa;
}

.button--primary {
  color: #fff;
  background: var(--teal);
}

.button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.button--light {
  color: var(--ink);
  background: #fff;
}

.button--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.button--outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper-strong);
}

.hero-facts,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-facts span,
.tag-row span {
  padding: 7px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section--intro {
  padding: 34px 0;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.section--muted {
  background: #ece8df;
}

.section--cta {
  padding: 66px 0;
  background: var(--graphite);
  color: #fff;
}

.intro-grid,
.split,
.two-columns,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.intro-grid {
  align-items: center;
}

.intro-grid h2,
.section-head h2,
.split h2,
.two-columns h2,
.cta-band h2 {
  margin: 8px 0 14px;
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-grid p,
.section-head p,
.split p,
.two-columns p,
.cta-band p {
  color: var(--muted);
  margin: 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
}

.service-card span {
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.service-card b {
  margin-top: auto;
  color: var(--teal);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 117, 110, 0.36);
  box-shadow: 0 18px 34px rgba(34, 37, 43, 0.12);
}

.related-card.is-current {
  border-color: rgba(197, 134, 36, 0.68);
  background: #fffbf2;
}

.related-card span {
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.related-card h3 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.related-card p {
  color: var(--muted);
  margin: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 117, 110, 0.36);
  box-shadow: 0 18px 34px rgba(34, 37, 43, 0.12);
}

.article-card span {
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-card h3 {
  margin: 14px 0 10px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.article-card p {
  color: var(--muted);
  margin: 0;
}

.article-card b {
  margin-top: auto;
  color: var(--teal);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs b {
  color: #fff;
  font-weight: 750;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.article-content {
  max-width: 820px;
}

.article-content section + section {
  margin-top: 42px;
}

.article-content h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.article-content p {
  margin: 0 0 18px;
  color: #343941;
  font-size: 1.06rem;
}

.article-content a {
  color: var(--teal);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-aside {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
}

.article-aside h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.article-toc {
  display: grid;
  gap: 10px;
  padding: 0;
  margin-bottom: 20px;
  font-size: 0.94rem;
  list-style: none;
}

.article-toc li {
  padding-left: 0;
}

.process-list,
.side-panel,
.note-panel,
.lead-form,
.requisites-grid section {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
}

.process-list,
.side-panel,
.note-panel {
  padding: 26px;
}

.side-panel h3,
.note-panel h3,
.requisites-grid h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 2px;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wine);
  border-radius: 8px;
  font-weight: 800;
}

.page-hero {
  background: var(--graphite);
  color: #fff;
  border-bottom: 5px solid var(--amber);
}

.page-hero__inner {
  padding: 74px 0 68px;
}

.page-hero p {
  max-width: 790px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.wide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.wide-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wide-list span {
  color: var(--amber-dark);
  font-weight: 900;
}

.wide-list p {
  margin: 0;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.lead-form--compact {
  align-self: start;
}

.lead-form label,
.lead-form span {
  display: grid;
  gap: 6px;
}

.lead-form span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.lead-form__wide,
.lead-form__consent,
.lead-form p,
.lead-form__status {
  grid-column: 1 / -1;
}

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

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.lead-form__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.86rem;
}

.lead-form__consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.lead-form__consent span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.lead-form__consent a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 117, 110, 0.14);
}

.lead-form button {
  justify-self: start;
}

.lead-form p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.lead-form__status {
  min-height: 22px;
  color: var(--teal);
  font-weight: 800;
}

.section--faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 20px 52px 20px 22px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 850;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.section--cta .cta-band p {
  color: rgba(255, 255, 255, 0.76);
}

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

.requisites-grid section {
  padding: 24px;
}

.requisites-grid section:first-child {
  grid-row: span 2;
}

.details-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.details-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.details-table span {
  color: var(--muted);
  font-weight: 700;
}

.details-table strong {
  font-weight: 750;
  overflow-wrap: anywhere;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.profile-preview {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.profile-preview__photo {
  min-height: 340px;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 28px 28px 0;
  background:
    linear-gradient(145deg, rgba(47, 117, 110, 0.14), rgba(197, 134, 36, 0.12)),
    var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-preview__photo img {
  width: min(260px, 100%);
  display: block;
}

.profile-preview h2,
.specialist-grid h2 {
  margin: 8px 0 14px;
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.profile-preview p,
.specialist-grid p,
.diploma-card p {
  color: var(--muted);
  margin: 0;
}

.profile-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.specialist-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.specialist-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 24px 24px 0;
  background:
    linear-gradient(145deg, rgba(47, 117, 110, 0.12), rgba(197, 134, 36, 0.12)),
    var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
  overflow: hidden;
}

.specialist-card img {
  width: 170px;
  align-self: end;
}

.specialist-card div {
  padding: 0 0 24px;
}

.specialist-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.18;
}

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

.diploma-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.diploma-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(34, 37, 43, 0.06);
}

.diploma-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 8px;
  background: #f4f7f7;
  border: 1px solid rgba(34, 37, 43, 0.08);
  border-radius: 6px;
}

.diploma-card span {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #1c1f24;
}

.footer-grid {
  padding: 56px 0 34px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.brand--footer {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
}

.site-footer .footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
}

.site-footer .footer-bottom__links a {
  margin: 0;
}

@media (max-width: 1240px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--paper-strong);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100svh - 78px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .header-phone {
    display: none;
  }

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

  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .article-grid--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(25, 28, 32, 0.91) 0%, rgba(25, 28, 32, 0.74) 100%),
      url("../img/hero-consulting.webp") center right / cover no-repeat;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.65rem;
    line-height: 1.08;
  }

  .hero p,
  .page-hero p {
    font-size: 1.04rem;
  }

  .section {
    padding: 62px 0;
  }

  .intro-grid,
  .split,
  .two-columns,
  .footer-grid,
  .cta-band,
  .requisites-grid,
  .profile-preview,
  .specialist-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .wide-list {
    grid-template-columns: 1fr;
  }

  .requisites-grid section:first-child {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    top: 68px;
    max-height: calc(100svh - 68px);
  }

  .hero-content,
  .page-hero__inner {
    padding: 52px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.15rem;
    overflow-wrap: anywhere;
  }

  .intro-grid h2,
  .section-head h2,
  .split h2,
  .two-columns h2,
  .cta-band h2 {
    font-size: 1.85rem;
  }

  .hero-actions,
  .contact-actions,
  .cta-actions,
  .button,
  .section-actions {
    width: 100%;
  }

  .article-content h2 {
    font-size: 1.55rem;
  }

  .article-content p {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 210px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .profile-preview__photo {
    min-height: 280px;
  }

  .specialist-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 24px 24px 0;
    text-align: center;
  }

  .specialist-card div {
    padding-bottom: 24px;
  }

  .diploma-gallery {
    grid-template-columns: 1fr;
  }

  .wide-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px;
  }

  .details-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-footer .footer-bottom__links {
    justify-content: flex-start;
  }
}
