/* Шрифты Roboto */
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/roboto-400.ttf") format("truetype");
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/roboto-500.ttf") format("truetype");
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/roboto-700.ttf") format("truetype");
}

/* Хедер: логотип, навигация и кнопка заявки */
.page-uas .site-header {
  position: relative;
  z-index: 10;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.page-uas .header-nav {
  position: relative;
  width: min(calc(100% - 64px), var(--content-width));
  min-height: 82px;
  margin: 0 auto;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-uas .header-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.page-uas .header-logo img {
  display: block;
  width: 171px;
  height: 52px;
}

.page-uas .header-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.page-uas .header-links a {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.page-uas .header-links a:hover {
  color: var(--accent-color);
}

.page-uas .header-links .header-phone {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-uas .header-links .header-button {
  min-width: 182px;
  min-height: 45px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--text-color);
  line-height: 1.3;
}

.page-uas .header-links .header-button:hover,
.page-uas .header-links .header-button:focus-visible {
  color: #fff;
  background: var(--accent-color);
}

.page-uas .header-burger {
  display: none;
}

/* Хедер: мобильное меню */
@media (max-width: 1023px) {
  .page-uas .header-nav {
    min-height: 100px;
    padding: 12px 0;
  }

  .page-uas .header-logo img {
    width: 158px;
    height: 48px;
  }

  .page-uas .header-burger {
    width: 32px;
    height: 32px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .page-uas .header-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .page-uas .header-burger.is-open span:first-of-type {
    transform: translateY(7px) rotate(45deg);
  }

  .page-uas .header-burger.is-open span:nth-of-type(2) {
    opacity: 0;
  }

  .page-uas .header-burger.is-open span:last-of-type {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-uas .header-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .page-uas .header-links.is-open {
    display: flex;
  }
}

@media (max-width: 519px) {
  .page-uas .header-nav {
    width: calc(100% - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-uas .header-links a,
  .page-uas .header-burger span {
    transition: none;
  }
}

/* Формы: поля, подписи, валидация, согласия и кнопка отправки */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consultation-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Инпуты СНТА v2: геометрия и подписи */
.page-forensics .consultation-form__field {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.page-forensics .consultation-form__field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 25px 43px 7px 15px;
  border: 1px solid #7a7f87;
  border-radius: 12px;
  outline: none;
  background: #fff;
  box-shadow: none;
  color: #222427;
  caret-color: #222427;
  font: 400 16px/22px Roboto, Arial, sans-serif;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}

.page-forensics .consultation-form__field > label {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 16px;
  max-width: calc(100% - 60px);
  margin: 0;
  color: #5f6368;
  font: 400 16px/22px Roboto, Arial, sans-serif;
  pointer-events: none;
  transition: top 150ms ease-out, font-size 150ms ease-out, line-height 150ms ease-out;
}

.page-forensics .consultation-form .field-required::before {
  display: none !important;
  content: none !important;
}

.page-forensics .consultation-form__field input:focus + label,
.page-forensics .consultation-form__field input:not(:placeholder-shown) + label,
.page-forensics .consultation-form__field input:autofill + label {
  top: 8px;
  font-size: 12px;
  line-height: 16px;
}

/* Инпуты: hover, ошибка и успешная проверка без фокуса */
@media (hover: hover) {
  .page-forensics .consultation-form__field:not(.is-invalid):not(.is-valid) input:hover:not(:focus):not(:disabled):not([readonly]) {
    border-color: #222427;
  }
}

.page-forensics .consultation-form__field.is-invalid input {
  border-color: #ea343a;
  background: #fff4f2;
}

.page-forensics .consultation-form__field.is-valid input {
  border-color: #18794e;
  background: #fff;
}

.page-forensics .consultation-form__field.is-valid::after {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 16px;
  height: 16px;
  background: url("img/input-check.svg") center / 16px 16px no-repeat;
  pointer-events: none;
  content: "";
}

/* Фокус всегда синий; ошибка или галочка остаются видимыми */
.page-forensics .consultation-form__field input:focus,
.page-forensics .consultation-form__field.is-invalid input:focus,
.page-forensics .consultation-form__field.is-valid input:focus {
  padding: 24px 42px 6px 14px;
  border: 2px solid #1460e1;
  outline: none;
  background: #eaf1ff;
  box-shadow: none;
}

.page-forensics .consultation-form__field.is-prefix input {
  color: #5f6368;
}

/* Недоступное поле и режим чтения */
.page-forensics .consultation-form__field input:disabled {
  border-color: #7a7f87;
  background: #f1f3f5;
  box-shadow: none;
  color: #222427;
  -webkit-text-fill-color: #222427;
  opacity: 1;
  cursor: not-allowed;
}

.page-forensics .consultation-form__field input[readonly] {
  border-color: #7a7f87;
  background: #fff;
  cursor: text;
}

.page-forensics .consultation-form__field input[readonly]:focus {
  border-color: #1460e1;
}

.page-forensics .consultation-form__field:has(input:disabled)::after,
.page-forensics .consultation-form__field:has(input[readonly])::after {
  display: none;
}

/* Сообщения растят внешний контейнер; высота самого инпута — 56 px */
.page-forensics .consultation-form__hint {
  display: none;
  order: 1;
  width: 100%;
  margin: 0;
  color: #ea343a;
  font: 400 14px/20px Roboto, Arial, sans-serif;
  overflow-wrap: anywhere;
}

.page-forensics .consultation-form__hint.is-visible {
  display: block;
}

/* Телефон: переключение российского и международного режима */
.page-forensics .consultation-form__country-toggle {
  display: none;
  order: 2;
  align-self: flex-start;
  max-width: 100%;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1460e1;
  font: 400 14px/20px Roboto, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.page-forensics .consultation-form__country-toggle.is-visible {
  display: inline-flex;
  align-items: center;
}

.page-forensics .consultation-form__country-toggle:hover,
.page-forensics .consultation-form__country-toggle:focus-visible {
  text-decoration: underline;
}

.consultation-form__consent {
  display: grid;
  width: min(100%, 418px);
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #222427;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.consultation-form__consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1460e1;
  cursor: pointer;
}

.page-uas .consultation-form__consent a {
  color: inherit;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-uas .consultation-form__consent a:hover,
.page-uas .consultation-form__consent a:focus-visible {
  color: #1460e1;
  background: transparent;
}

.consultation-form__submit {
  width: 100%;
  min-height: 56px;
  height: 56px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #222427;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  line-height: 21px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.consultation-form__submit:hover,
.consultation-form__submit:focus-visible {
  background: #0f50bf;
}

.consultation-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.consultation-form__consent--marketing {
  align-items: center;
}

.consultation-form__consent--marketing input {
  margin-top: 0;
}

.consultation-form__error {
  margin: -4px 0 0;
  color: #bd2525;
  font-size: 13px;
  line-height: 1.4;
}

/* Модальное окно консультации */
.consultation-modal {
  width: 480px;
  max-width: calc(100% - 40px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 32px;
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  outline: none;
  color: #222427;
  background: #fff;
  font-family: Roboto, Arial, sans-serif;
  box-shadow: 4px 16px 50px rgba(34, 36, 39, 0.22);
  overscroll-behavior: contain;
}

.consultation-modal:not([open]) {
  display: none;
}

.consultation-modal::backdrop {
  background: rgba(34, 36, 39, 0.5);
  backdrop-filter: blur(3px);
}

.consultation-modal__content {
  position: relative;
}

.page-uas .consultation-modal__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4f6fb;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.consultation-modal__close span::before,
.consultation-modal__close span::after {
  position: absolute;
  top: 17px;
  left: 10px;
  width: 16px;
  height: 1.5px;
  background: #222427;
  content: '';
}

.consultation-modal__close span::before {
  transform: rotate(45deg);
}

.consultation-modal__close span::after {
  transform: rotate(-45deg);
}

.consultation-modal h2 {
  margin: 0;
  padding-right: 42px;
  color: #222427;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Отступы текста модального окна имеют приоритет над общим сбросом абзацев. */
.page-forensics .consultation-modal__description {
  margin: 10px 0 0;
  padding-right: 24px;
  color: #8790a6;
  font-size: 16px;
  line-height: 1.4;
}

.consultation-modal__form {
  width: 100%;
  margin: 24px 0 0;
  gap: 12px;
}

.consultation-modal .consultation-form__fields {
  gap: 16px;
  /* Вместе с gap формы даёт 18 px до первого согласия. */
  margin-bottom: 6px;
}

.consultation-modal .consultation-form__consent {
  width: 100%;
  margin: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: #54607a;
  font-size: 14px;
  line-height: 1.35;
}

.consultation-modal .consultation-form__consent input {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1.5px solid #8790a6;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  box-shadow: none;
}

.consultation-modal .consultation-form__consent input:checked {
  border-color: #1460e1;
  background: #1460e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% 75% no-repeat;
}

.consultation-modal .consultation-form__consent:focus-within {
  background: transparent;
}

.consultation-modal .consultation-form__submit {
  margin: 0;
  color: #fff;
  background: #1460e1;
}

.consultation-modal .consultation-form__submit:hover {
  background: #0f50bf;
}

.consultation-modal [hidden] {
  display: none !important;
}

/* Модальное окно: мобильная версия */
@media (max-width: 767px) {
  .consultation-modal {
    max-width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 28px 18px 22px;
    border-radius: 16px;
  }

  .page-uas .consultation-modal__close {
    top: -16px;
    right: -6px;
  }

  .page-forensics .consultation-modal__description {
    padding-right: 16px;
  }
}

/* Футер СНТА: единый белый логотип академии */
body.page-forensics footer .logo {
  width: 267px;
  max-width: 100%;
  height: 81px;
  max-height: none;
}

body.page-forensics footer .logo > a {
  display: block;
  width: 267px;
  max-width: 100%;
}

body.page-forensics footer .forensics-footer-logo {
  display: block;
  width: 267px;
  max-width: 100%;
  height: auto;
}

/* Сетка и типографика лендинга */
body.page-forensics {
  --content-width: 1200px;
  --page-gutter: 32px;
  --section-gap: 76px;
  --text-color: #222427;
  --accent-color: #1460e1;
  --surface: #f5f5f5;
  --soft-blue: #eaf1ff;
  --muted-color: #737d94;
  --orange-color: #ff5e2c;
  margin: 0;
  background: #fff;
  color: var(--text-color);
  font: 400 16px/1.4 Roboto, Arial, sans-serif;
}

.page-forensics :where(.site-header, .forensics-main, .consultation-modal, .consultation-bar),
.page-forensics :where(.site-header, .forensics-main, .consultation-modal, .consultation-bar) * {
  box-sizing: border-box;
}

.page-forensics :where(.forensics-main, .consultation-modal) :is(h1, h2, h3, p, ul, ol) {
  margin: 0;
}

.page-forensics :where(.forensics-main, .consultation-modal) :is(h1, h2, h3) {
  font-family: inherit;
  font-weight: 700;
  color: inherit;
}

.page-forensics :where(.site-header, .forensics-main, .consultation-modal, .consultation-bar) img {
  display: block;
}

.page-forensics :where(.forensics-main, .consultation-modal) [hidden],
.page-forensics .consultation-bar[hidden] {
  display: none !important;
}

.page-forensics .skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--text-color);
  transform: translateY(-160%);
}

.page-forensics .skip-link:focus {
  transform: none;
}

.forensics-container {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content-width));
  margin-inline: auto;
}

.forensics-main {
  display: flow-root;
  padding-bottom: var(--section-gap);
}

.forensics-section {
  margin-top: var(--section-gap);
  scroll-margin-top: 106px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.section-heading h2,
.credential h2 {
  font-size: 38px;
  line-height: 1.36;
}

.section-heading > p {
  max-width: min(100%, 800px);
  font-size: 18px;
  line-height: 24px;
}

@media (min-width: 1024px) {
  .page-forensics .site-header {
    position: sticky;
    top: 0;
    transition: transform 240ms ease, opacity 240ms ease;
  }

  .page-forensics .site-header.is-offscreen:not(:focus-within) {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }
}

.forensics-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 18px;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  background: var(--accent-color);
  color: #fff;
  font: 500 16px/1.2 Roboto, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.forensics-button:hover {
  border-color: #0f50bf;
  background: #0f50bf;
  color: #fff;
  text-decoration: none;
}

.forensics-button--outline {
  background: transparent;
  color: var(--accent-color);
}

.forensics-button--outline:hover {
  border-color: var(--accent-color);
  background: var(--soft-blue);
  color: var(--accent-color);
}

/* Первый экран */
.page-forensics .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.272fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(26px, 4.48vw, 86px);
  margin-top: 50px;
  padding: 24px 36px 24px 24px;
  border-radius: 16px;
  background: var(--surface);
}

.hero__copy,
.hero__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hero__copy {
  gap: 32px;
  padding: 0 12px 22px 0;
}

.hero__partners {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #00234c;
  font-size: 11.821px;
  line-height: 1.1;
}

.hero__partners img {
  width: 164px;
  max-width: 100%;
  height: 32px;
  object-fit: cover;
}

.hero__text {
  gap: 12px;
}

.hero__text h1 {
  font-size: 42px;
  line-height: 52px;
  overflow-wrap: break-word;
}

.hero__lead,
.hero__description {
  line-height: 24px;
}

.hero__lead {
  font-size: 20px;
}

.hero__description {
  color: var(--muted-color);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 18px;
}

.hero__primary {
  width: 286px;
}

.hero__actions .forensics-button--outline {
  width: 220px;
}

.hero__image {
  overflow: hidden;
  aspect-ratio: 464 / 420;
  border-radius: 16px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Аудитория и задачи специалиста */
.forensics-main :is(.audience__grid, .challenges__grid, .outcomes__list, .learning-format__facts, .learning-format__grid) {
  list-style: none;
  padding: 0;
}

.forensics-main .audience__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.audience__card {
  display: flex;
  min-height: 316px;
  flex-direction: column;
  gap: 16px;
  padding: 12px 12px 22px;
  border-radius: 16px;
  background: var(--surface);
  color: #000;
  line-height: 24px;
  overflow-wrap: break-word;
}

.audience__card img {
  width: 100%;
  height: 170px;
  border-radius: 16px;
  object-fit: cover;
}

.audience__requirements {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--soft-blue);
  font-size: 18px;
  line-height: 24px;
}

.audience__requirements h3,
.challenges__text h3,
.learning-format__card h3,
.registration__offer h3 {
  font-size: 20px;
  line-height: 24px;
}

.challenges .section-heading h2 {
  max-width: min(100%, 901px);
  line-height: 1.18;
}

.challenges .section-heading p:first-of-type {
  font-size: 20px;
}

.forensics-main .challenges__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.challenges__card {
  display: flex;
  min-height: 220px;
  grid-column: span 2;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  line-height: 24px;
}

.challenges__card:nth-child(n + 4) {
  min-height: 162px;
  grid-column: span 3;
}

.challenges__number {
  color: var(--accent-color);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.challenges__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.challenges__text h3 {
  line-height: normal;
}

/* Заявки на консультацию и регистрацию */
.consultation {
  display: grid;
  grid-template-columns: minmax(0, 1.224fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4.59vw, 88px);
  padding: 26px 20px;
  border-radius: 16px;
  background: var(--accent-color);
  color: #fff;
}

.consultation__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 21px;
  line-height: 1.45;
}

.consultation__copy h2 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.application-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  color: var(--text-color);
}

.application-card h3 {
  font-size: 26px;
  line-height: 1.45;
}

.application-card .consultation-form__consent {
  width: 100%;
  margin: 0;
  line-height: 1.45;
}

.consultation-form--registration .consultation-form__submit {
  background: var(--orange-color);
}

.consultation-form--registration .consultation-form__field input {
  height: 59px;
}

.registration .consultation-form__consent {
  font-size: 13px;
}

.consultation-form--registration .consultation-form__submit:hover,
.consultation-form--registration .consultation-form__submit:focus-visible {
  background: #d64215;
}

.registration {
  padding-block: 42px;
  background: var(--accent-color);
  color: #fff;
}

.registration__body {
  display: grid;
  grid-template-columns: minmax(0, 1.332fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 76px);
}

.registration__copy,
.registration__offer {
  display: flex;
  flex-direction: column;
}

.registration__copy {
  gap: 28px;
}

.registration__copy h2 {
  font-size: 36px;
  line-height: 1.17;
}

.registration__offer {
  gap: 12px;
  padding: 22px 20px;
  border-radius: 16px;
  background: #3073e5;
}

.registration__offer ul {
  max-width: 548px;
  padding-left: 24px;
  list-style: disc;
  line-height: 1.3;
}

.registration__divider {
  display: flex;
  height: 1px;
  align-items: center;
  margin-block: 8px;
  overflow: hidden;
}

.registration__divider img {
  max-width: none;
}

.registration__price {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 20px;
}

.registration__price p {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.registration__price span {
  padding: 6px 14px;
  border-radius: 100px;
  background: #aeecbd;
  color: #057720;
  font-weight: 500;
  line-height: 1.2;
}

.consultation-bar {
  display: none;
}

/* Результаты курса, программа и форматы занятий */
.outcomes .section-heading h2 {
  line-height: 45px;
}

.outcomes__body {
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(0, 62fr);
  align-items: start;
  gap: 20px;
  margin-top: 40px;
}

.outcomes__image {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 490;
  border-radius: 16px;
  object-fit: cover;
}

.outcomes__list {
  display: flex;
  max-width: 559px;
  flex-direction: column;
}

.outcomes__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  font-size: 17px;
  line-height: 24px;
}

.outcomes__list img {
  flex: 0 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 40px;
}

.faq__item {
  overflow: hidden;
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq__question {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-color);
  font: 500 20px/1.4 Roboto, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq__question:focus {
  outline: none;
  box-shadow: none;
}

.faq__arrow {
  display: flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
}

.faq__arrow img {
  transform: rotate(90deg);
  transition: transform 300ms ease;
}

.faq__item.is-open .faq__arrow img {
  transform: rotate(-90deg);
}

.faq__answer {
  display: grid;
  max-width: calc(100% - 76px);
  grid-template-rows: 0fr;
  color: var(--muted-color);
  font-size: 16px;
  line-height: 1.4;
  opacity: 0;
  transition: grid-template-rows 300ms ease, opacity 250ms ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__answer-inner ul {
  padding: 18px 0 0 24px;
  list-style: disc;
}

.faq__answer-inner ol {
  padding-left: 20px;
  list-style: lower-alpha;
}

.learning-format .section-heading p {
  line-height: 1.2;
}

.forensics-main .learning-format__facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 40px;
}

.learning-format__facts li {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.learning-format__facts .learning-format__practice {
  background: var(--text-color);
  color: #fff;
}

.learning-format__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.learning-format__card {
  min-height: 343px;
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--surface);
  font-size: 18px;
  line-height: 24px;
}

.learning-format__card img {
  width: 100%;
  height: 143px;
  margin-bottom: 24px;
  border-radius: 16px;
  object-fit: cover;
}

.learning-format__card h3 {
  margin-bottom: 12px;
}

.credential {
  display: grid;
  grid-template-columns: minmax(0, 72fr) minmax(0, 42fr);
  align-items: start;
  gap: clamp(20px, 3.125vw, 60px);
}

.credential__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: 1.2;
}

.credential h2 {
  line-height: 1.2;
}

.credential h3 {
  font-size: 25px;
  line-height: 1.2;
}

.credential__license {
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 500;
}

.credential__image {
  width: 100%;
  height: auto;
  aspect-ratio: 420 / 299;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 1023px) {
  body.page-forensics {
    --page-gutter: 24px;
    --section-gap: 72px;
  }

  .page-forensics .header-burger {
    position: relative;
  }

  .page-forensics .header-burger img {
    position: absolute;
    inset: 0;
  }

  .page-forensics .header-burger:not(.is-open) span,
  .page-forensics .header-burger.is-open img {
    visibility: hidden;
  }

  .forensics-section {
    scroll-margin-top: 20px;
  }

  .page-forensics .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding: 24px;
  }

  .hero__copy {
    padding-right: 0;
  }

  .hero__partners img {
    width: 90px;
  }

  .hero__text h1 {
    font-size: 36px;
    line-height: 48px;
  }

  .hero__image {
    aspect-ratio: 672 / 401;
  }

  .audience .section-heading p {
    max-width: min(100%, 558px);
  }

  .audience .section-heading h2 {
    font-size: 32px;
    line-height: 52px;
  }

  .forensics-main .audience__grid {
    width: calc(100% - 8px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(316px, auto) minmax(292px, auto);
  }

  .audience__card {
    min-height: 0;
  }

  .challenges .section-heading h2 {
    font-size: 32px;
  }

  .challenges .section-heading {
    gap: 19px;
  }

  .challenges .section-heading p:first-of-type {
    max-width: min(100%, 497px);
  }

  .forensics-main .challenges__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
  }

  .challenges__card,
  .challenges__card:nth-child(n + 4) {
    min-height: 220px;
    grid-column: auto;
  }

  .consultation,
  .registration__body,
  .credential {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .consultation {
    padding: 24px;
  }

  .registration {
    padding-block: 36px;
  }

  .registration__copy {
    gap: 30px;
  }

  .registration .application-card h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .registration__offer ul {
    max-width: 100%;
  }

  .registration__divider {
    height: 4px;
  }

  .registration__price {
    padding-top: 0;
  }

  .outcomes__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 32px;
  }

  .outcomes__image {
    aspect-ratio: 720 / 316;
  }

  .outcomes .section-heading h2 {
    min-height: 55px;
  }

  .outcomes__list {
    max-width: none;
    padding-block: 12px;
  }

  .outcomes__list li {
    gap: 12px;
    padding: 12px 0;
  }

  .faq__list {
    margin-top: 32px;
  }

  .forensics-main .learning-format__facts {
    margin-block: 28px;
    gap: 8px;
  }

  .learning-format .section-heading {
    gap: 6px;
  }

  .learning-format .section-heading h2 {
    min-height: 55px;
    font-size: 32px;
    line-height: 1.4;
  }

  .learning-format .section-heading p {
    min-height: 75px;
  }

  .learning-format__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .learning-format__card {
    min-height: 315px;
    padding: 20px;
  }

  .credential {
    gap: 10px;
  }

  .credential__copy {
    gap: 12px;
  }

  .credential__copy > p:nth-of-type(2) {
    min-height: 55px;
  }

  .credential__image {
    aspect-ratio: 720 / 299;
  }

  .consultation-bar {
    position: fixed;
    z-index: 9;
    inset: auto 0 0;
    display: block;
    padding: 12px 20px calc(18px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -4px 20px rgba(34, 36, 39, 0.15);
  }

  .consultation-bar .forensics-button {
    width: 100%;
    min-height: 52px;
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .page-forensics .hero {
    row-gap: 0;
  }

  .hero__image img {
    object-position: center 92%;
  }

  .hero + .audience {
    margin-top: 54px;
  }

  .audience__card:nth-child(n + 4) {
    gap: 14px;
    padding-bottom: 0;
  }
}

@media (max-width: 719px) {
  body.page-forensics {
    --page-gutter: 20px;
    --section-gap: 50px;
  }

  .section-heading h2,
  .credential h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .page-forensics .hero {
    margin-top: 24px;
    padding: 24px 20px;
  }

  .hero__copy {
    width: max(0px, calc(100% - 16px));
  }

  .hero__partners img {
    width: 163px;
  }

  .hero__text h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__description {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions .forensics-button {
    width: 100%;
    min-height: 50px;
  }

  .hero__image {
    aspect-ratio: 294 / 260;
  }

  .forensics-main .audience__grid,
  .forensics-main .challenges__grid,
  .learning-format__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .forensics-main .audience__grid,
  .forensics-main .challenges__grid,
  .outcomes__body,
  .faq__list {
    margin-top: 30px;
  }

  .forensics-main .audience__grid {
    width: 100%;
    grid-template-rows: none;
    gap: 22px;
  }

  .audience .section-heading h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .audience .section-heading p,
  .challenges .section-heading p,
  .challenges .section-heading p:first-of-type {
    font-size: 16px;
  }

  .audience__card {
    min-height: auto;
    gap: 16px;
    padding: 12px;
  }

  .audience__card img {
    height: 156px;
  }

  .audience__requirements {
    padding: 20px 12px;
    font-size: 16px;
  }

  .challenges .section-heading h2 {
    font-size: 28px;
    line-height: 33px;
  }

  .challenges .section-heading {
    gap: 20px;
  }

  .forensics-main .challenges__grid {
    width: calc(100% - 8px);
    gap: 20px;
  }

  .challenges__card,
  .challenges__card:nth-child(n + 4) {
    min-height: 0;
    gap: 22px;
    padding: 16px;
  }

  .consultation {
    gap: 30px;
    padding: 24px 20px;
  }

  .consultation__copy,
  .consultation .application-card {
    width: calc(100% - 8px);
  }

  .consultation__copy {
    gap: 16px;
    font-size: 16px;
  }

  .consultation__copy h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .consultation__break {
    display: none;
  }

  .application-card {
    padding: 28px 20px;
  }

  .consultation .application-card {
    padding-inline: 12px;
  }

  .application-card h3 {
    font-size: 20px;
    line-height: 32px;
  }

  .outcomes .section-heading h2 {
    min-height: 0;
    line-height: 34px;
  }

  .outcomes__body {
    gap: 20px;
  }

  .outcomes__image {
    aspect-ratio: 350 / 230;
  }

  .outcomes__list li {
    padding: 8px 0;
    font-size: 16px;
    line-height: 23px;
  }

  .outcomes__list {
    padding-block: 0;
  }

  .program .section-heading h2 {
    font-size: 26px;
  }

  .faq__list {
    gap: 12px;
  }

  .faq__item {
    padding: 22px 20px;
  }

  .faq__question {
    gap: 10px;
  }

  .faq__arrow {
    display: none;
  }

  .faq__answer {
    max-width: 100%;
  }

  .learning-format .section-heading {
    gap: 20px;
  }

  .learning-format .section-heading h2 {
    min-height: 0;
    font-size: 28px;
  }

  .learning-format .section-heading p {
    min-height: 0;
    line-height: normal;
  }

  .forensics-main .learning-format__facts {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px;
    margin-block: 30px;
  }

  .learning-format__facts li {
    min-height: 34px;
    padding: 8px 16px;
    font-size: 15px;
    line-height: 20px;
  }

  .learning-format__facts li:first-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .learning-format__grid {
    gap: 20px;
  }

  .learning-format__card {
    min-height: 0;
    padding: 20px;
  }

  .learning-format__card img {
    margin-bottom: 20px;
  }

  .registration {
    padding-block: 24px;
  }

  .registration__body {
    gap: 30px;
  }

  .registration__copy {
    gap: 20px;
  }

  .registration__copy h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .registration__price p {
    font-size: 28px;
  }

  .registration__price {
    padding-top: 20px;
  }

  .registration__divider {
    height: 2px;
  }

  .registration__price span {
    font-size: 14px;
  }

  .credential {
    width: min(calc(100% - 48px), var(--content-width));
    gap: 30px;
  }

  .credential__copy {
    gap: 18px;
    font-size: 16px;
  }

  .credential h3 {
    font-size: 22px;
    line-height: 26px;
  }

  .credential__copy > p:nth-of-type(2) {
    min-height: 0;
  }

  .credential__image {
    aspect-ratio: 342 / 243;
  }

  .consultation-bar {
    padding-inline: 12px;
  }

  .consultation-bar .forensics-button {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-forensics .site-header,
  .forensics-button,
  .faq__arrow img,
  .faq__answer {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

