@font-face {
  font-family: "BebasNeue";
  src: url("https://static.tildacdn.com/tild3162-3661-4161-b562-363665373539/1638453865398_BebasN.woff")
    format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BebasNeue";
  src: url("https://static.tildacdn.com/tild3532-3333-4362-b964-646162666634/1638453859802_BebasN.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BebasNeue";
  src: url("https://static.tildacdn.com/tild3932-3932-4334-b931-376238373636/1638453840335_BebasN.woff")
    format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-muted: #f2f2f2;
  --bg-soft: #f6f6f6;
  --text: #111111;
  --text-muted: #7d7d7d;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #2300b0;
  --accent-bright: #1f5bff;
  --dark: #111111;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow-soft: 0 18px 50px rgba(17, 17, 17, 0.08);
  --container: 1160px;
  --heading-font: "BebasNeue", Arial, sans-serif;
  --body-font: "BebasNeue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
}

.skip-link:focus {
  top: 16px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  align-items: center;
  min-height: 24px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--heading-font);
  font-size: 14px;
  line-height: 1.05;
  font-weight: 300;
  text-align: left;
  text-transform: uppercase;
}

.site-header__contacts a {
  font-weight: 700;
}

.site-header__contacts span {
  color: #3b3b3b;
}

.vk-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1771f1;
  color: #ffffff;
}

.vk-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.vk-link--nav {
  margin-top: 6px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 4px;
  background: #1771f1;
}

.menu-toggle__line:last-of-type {
  margin-bottom: 0;
}

.menu-toggle__label {
  display: none;
}

.site-nav__mobile-meta {
  display: none;
}

.hero {
  padding: 76px 0 70px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 65%, #fbfbfb 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr) 160px;
  gap: 0;
  align-items: start;
  min-height: 406px;
}

.hero__copy {
  max-width: 400px;
}

.hero__title,
.section-title {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero__title {
  font-size: 66px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero__title span {
  display: block;
  color: var(--accent);
  white-space: nowrap;
}

.hero__lead {
  margin: 34px 0 0;
  max-width: 320px;
  color: #000000;
  font-family: var(--heading-font);
  font-size: 23px;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero__button {
  margin-top: 30px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  padding: 0;
}

.hero__visual img {
  width: 160px;
  max-width: 100%;
}

.ticker {
  overflow: hidden;
  background: #2950f2;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  min-width: 100%;
  padding: 14px 0;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: ticker 26s linear infinite;
}

.ticker__track img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

.section {
  padding: 88px 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section--narrow .container {
  width: min(calc(100% - 32px), 900px);
}

.about-card {
  padding: clamp(32px, 5vw, 72px);
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
}

.eyebrow {
  margin: 0 0 16px;
  color: #9a9a9a;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.section-title span {
  display: block;
  margin-top: 10px;
  font-style: italic;
}

.section-title--center,
.section-subtitle {
  text-align: center;
}

.section-title--light {
  color: #ffffff;
}

.section-heading {
  margin-bottom: 48px;
}

.section-subtitle {
  margin: 26px auto 0;
  max-width: 620px;
  color: #4d4d4d;
  font-size: 1.18rem;
  font-weight: 400;
}

.about-card__text {
  max-width: 760px;
  margin: 26px auto 0;
  color: #555555;
  font-size: 1.28rem;
  font-weight: 400;
  text-align: center;
}

.about-card__text em {
  font-style: italic;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 52px;
}

.about-feature {
  padding-left: 22px;
  border-left: 1px solid rgba(17, 17, 17, 0.16);
}

.about-feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.about-feature p {
  margin: 0;
  color: #4d4d4d;
  font-size: 1.1rem;
  font-weight: 400;
}

.about-feature em {
  font-style: italic;
}

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

.program-card {
  overflow: hidden;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.program-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.program-card__body {
  padding: 24px 24px 28px;
}

.program-card__body h3 {
  margin: 0 0 14px;
  font-family: var(--heading-font);
  font-size: 2rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.program-card__body p {
  margin: 0;
  color: #4d4d4d;
  font-size: 1.04rem;
  font-weight: 400;
}

.prose-block {
  color: #333333;
  font-size: 1.25rem;
  font-weight: 400;
}

.prose-block p {
  margin: 0 0 18px;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.gallery-section {
  padding: 70px 0 56px;
}

.gallery-shell {
  --gallery-slide-width: min(68vw, 860px);
  --gallery-gap: 48px;
  width: min(calc(100% - 32px), 1020px);
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 min(100%, var(--gallery-slide-width));
  margin: 0;
  opacity: 1;
  scroll-snap-align: center;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.gallery-item figcaption {
  display: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: none;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(230, 230, 230, 0.92);
  color: #222222;
  font-family: Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.gallery-arrow--prev {
  left: calc(50% - (var(--gallery-slide-width) / 2) - 72px);
}

.gallery-arrow--next {
  right: calc(50% - (var(--gallery-slide-width) / 2) - 72px);
}

.gallery-pagination {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.gallery-bullet {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c7c7c7;
  cursor: pointer;
}

.gallery-bullet.is-active {
  background: #222222;
}

.gallery-caption {
  display: none;
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
}

.gallery-caption__line {
  height: 1px;
  margin-bottom: 12px;
  background: #dfdfdf;
}

.gallery-caption p {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.gallery-shell.is-ready .gallery-stage {
  overflow: visible;
}

.gallery-shell.is-ready .gallery-track {
  gap: var(--gallery-gap);
  overflow: visible;
  padding: 0 calc((100% - var(--gallery-slide-width)) / 2);
  transition: transform 0.25s linear;
  will-change: transform;
  scroll-snap-type: none;
}

.gallery-shell.is-ready .gallery-item {
  opacity: 0.26;
  transition: opacity 0.2s linear;
}

.gallery-shell.is-ready .gallery-item.is-active {
  opacity: 1;
}

.gallery-shell.is-ready .gallery-arrow {
  display: block;
}

.gallery-shell.is-ready .gallery-pagination {
  display: flex;
}

.gallery-shell.is-ready .gallery-caption {
  display: block;
}

.quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 320px);
  gap: 34px;
  align-items: center;
  padding: 36px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.quote-card__text {
  font-size: 1.28rem;
  color: #2c2c2c;
  font-weight: 400;
  font-style: italic;
}

.quote-card__text p {
  margin: 0;
}

.quote-card__author {
  margin: 0;
  text-align: center;
}

.quote-card__author img {
  width: min(100%, 240px);
  margin: 0 auto 18px;
}

.quote-card__author figcaption {
  display: grid;
  gap: 6px;
}

.quote-card__author strong {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  text-transform: uppercase;
}

.quote-card__author span {
  color: #5a5a5a;
  font-size: 1rem;
}

.form-card {
  padding: clamp(28px, 4vw, 54px);
  background: #ffffff;
  border: 14px solid var(--accent-bright);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.form-card__head {
  margin-bottom: 34px;
}

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

.application-form label,
.application-form__full {
  display: grid;
  gap: 8px;
}

.application-form span {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.application-form input {
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid #d6d6d6;
  border-radius: 16px;
  background: #ffffff;
}

.application-form input:focus {
  outline: 2px solid rgba(31, 91, 255, 0.16);
  border-color: var(--accent-bright);
}

.application-form__full {
  grid-column: 1 / -1;
}

.form-actions {
  justify-items: center;
  margin-top: 10px;
  text-align: center;
}

.form-actions p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #5f5f5f;
  font-size: 1rem;
}

.form-actions a {
  color: var(--accent);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-bright);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(31, 91, 255, 0.25);
}

.button--ghost {
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: #ffffff;
  color: var(--text);
  box-shadow: none;
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.location-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.location-card__copy {
  display: flex;
  flex-direction: column;
}

.location-card .section-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.location-card__copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #4d4d4d;
  font-size: 1.08rem;
  font-weight: 400;
}

.location-card__copy .button {
  margin-top: 24px;
  align-self: flex-start;
}

.location-card__map {
  min-height: 360px;
}

.location-card__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
}

.yandex-map {
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}

.contacts-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(41, 80, 242, 0.28), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(35, 0, 176, 0.32), transparent 30%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(20, 39, 112, 0.82));
}

.contacts-section::before,
.contacts-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px);
  background-size: 80px 80px, 140px 140px;
  background-position: 0 0, 30px 30px;
  opacity: 0.45;
  pointer-events: none;
}

.contacts-section::after {
  animation: drift 36s linear infinite;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  to {
    transform: translateY(0);
  }
}

.contacts-section__inner {
  position: relative;
  z-index: 1;
}

.contacts-card {
  max-width: 620px;
  color: #ffffff;
}

.contacts-card .section-title {
  font-size: 42px;
  line-height: 1.23;
}

.contacts-card__main {
  display: grid;
  gap: 22px;
  margin: 45px 0 35px;
}

.contacts-card__main a {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.contacts-card__descr {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.form-embed {
  max-width: 650px;
  margin: 0 auto;
}

.form-embed iframe {
  display: block;
  width: 100%;
  max-width: 650px;
  min-height: 1240px;
  margin: 0 auto;
  border: 0;
}

@media (min-width: 960px) {
  .section-subtitle {
    font-size: 1.36rem;
  }

  .about-card__text {
    font-size: 1.5rem;
  }

  .about-feature p {
    font-size: 1.22rem;
  }

  .program-card__body p {
    font-size: 1.16rem;
  }

  .prose-block {
    font-size: 1.44rem;
  }

  .quote-card__text {
    font-size: 1.44rem;
  }

  .location-card__copy p:not(.eyebrow) {
    font-size: 1.2rem;
  }
}

.vk-link--large {
  width: 48px;
  height: 48px;
}

.site-footer {
  background: var(--dark);
  color: #ffffff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  gap: 16px;
  align-items: center;
  min-height: 70px;
}

.site-footer__copy,
.site-footer__top,
.site-footer__nav {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.site-footer__top {
  position: relative;
  justify-self: end;
  padding-right: 12px;
}

.site-footer__top-icon {
  position: absolute;
  top: 1px;
  right: 0;
  width: 5px;
  height: 17px;
}

.site-footer__top-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.policy-page {
  background: #f3f3f3;
}

.policy-page #allrecords {
  padding: 54px 0 90px;
}

.policy-page .t482 .t-container {
  display: flex;
  justify-content: center;
}

.policy-page .t482 .t-col {
  float: none;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  padding: 64px 56px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

.policy-page .t482__title {
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.policy-page .t482__line {
  margin: 26px auto 34px;
  background: rgba(17, 17, 17, 0.16);
}

.policy-page .t482__descr {
  max-width: none;
  color: #262626;
  font-family: var(--body-font);
  font-size: 28px;
  line-height: 1.46;
  font-weight: 400;
}

.policy-page .t482__descr p,
.policy-page .t482__descr li {
  font-size: inherit;
  line-height: inherit;
}

.policy-page .t482__descr a {
  color: #111111;
  text-decoration: underline;
}

.policy-page .t482 .t-btnflex.t-btnflex_type_button {
  background: #111111 !important;
  color: #ffffff !important;
}

.error-page .t-cover {
  min-height: calc(100vh - 138px);
}

.error-page .t-cover .t-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.error-page .t-cover .t-col {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.error-page .t-cover__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.error-page .t581__wrapper {
  max-width: min(100%, 760px);
  margin: 0 auto;
}

.error-page .t581__title,
.error-page .t581__descr {
  font-family: var(--heading-font);
  text-transform: uppercase;
}

.error-page .t581__title {
  line-height: 1;
}

.error-page .t581__descr {
  line-height: 1.28;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100% - 32px, 420px);
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #111111;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__content strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  color: #111111;
  text-transform: uppercase;
}

.cookie-banner__content p {
  margin: 0;
  color: #111111;
  opacity: 0.7;
  font-size: 0.98rem;
}

.cookie-banner .button {
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 116px;
  z-index: 30;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, bottom 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.has-cookie-banner .scroll-top {
  bottom: 168px;
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
  }

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

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

  .site-nav__mobile-meta {
    display: grid;
    gap: 8px;
    padding-top: 8px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.05;
    text-transform: uppercase;
  }

  .site-nav__mobile-meta a:first-child {
    font-weight: 700;
  }

  .site-nav__mobile-meta span {
    color: #3b3b3b;
  }

  .site-header__meta {
    justify-self: end;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

  .hero__title {
    font-size: 55px;
  }

  .hero__lead {
    font-size: 25px;
  }

  .about-features,
  .program-grid,
  .quote-card,
  .location-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 959px) {
  .policy-page #allrecords {
    padding: 32px 0 68px;
  }

  .policy-page .t482 .t-col {
    padding: 40px 28px;
    border-radius: 26px;
  }

  .policy-page .t482__descr {
    font-size: 22px;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    min-height: 64px;
  }

  .menu-toggle {
    justify-self: end;
    align-items: flex-end;
  }

  .site-header__meta {
    display: none;
  }

  .hero {
    padding: 0 0 0;
    background: url("../images/tild3134-3433-4632-b834-623034316133__ris3.png") center / cover no-repeat;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 590px;
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .hero__copy {
    max-width: 340px;
  }

  .hero__title {
    font-size: 51px;
    color: #ffffff;
    white-space: normal;
  }

  .hero__title span {
    color: var(--accent);
    white-space: normal;
  }

  .hero__lead {
    max-width: 300px;
    margin-top: 34px;
    color: #ffffff;
    font-size: 22px;
  }

  .hero__visual {
    display: none;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding: 40px 0;
  }

  .site-footer__nav {
    justify-content: center;
  }

  .site-footer__top {
    justify-self: center;
  }

  .gallery-shell {
    width: calc(100% - 32px);
    --gallery-slide-width: 100%;
    --gallery-gap: 0px;
  }

  .gallery-item {
    flex-basis: 100%;
    opacity: 1;
  }

  .gallery-item img {
    height: auto;
    aspect-ratio: 43 / 27;
  }

  .gallery-shell.is-ready .gallery-track {
    padding: 0;
  }

  .gallery-shell.is-ready .gallery-arrow {
    display: none;
  }

  .scroll-top {
    display: none;
  }
}

@media (max-width: 639px) {
  .hero__title {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .policy-page .t482 .t-col {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .policy-page .t482__descr {
    font-size: 18px;
    line-height: 1.42;
  }

  .section {
    padding: 68px 0;
  }

  .ticker__track {
    font-size: 0.9rem;
  }

  .about-card,
  .form-card,
  .quote-card,
  .location-card {
    padding: 24px;
    border-radius: 24px;
  }

  .program-card__body h3 {
    font-size: 1.7rem;
  }

  .contacts-card .section-title {
    font-size: 30px;
  }

  .location-card .section-title {
    font-size: 2.2rem;
  }

  .contacts-card__main a {
    font-size: 22px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .form-embed iframe {
    min-height: 1320px;
  }
}

@media (max-width: 479px) {
  .policy-page .t482__title {
    font-size: 2.1rem;
  }

  .hero__grid {
    min-height: 520px;
    padding-top: 66px;
  }

  .hero__title {
    font-size: 25px;
  }

  .hero__lead {
    max-width: 220px;
    font-size: 12px;
  }

  .site-footer__nav {
    gap: 10px 20px;
  }
}
