@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #10283f;
  --blue: #176d91;
  --blue-hover: #125573;
  --ice: #edf5f8;
  --white: #fff;
  --ink: #202c35;
  --muted: #667784;
  --aqua: #40b8c4;
  --line: #dce6eb;
  --error: #c74747;
  --radius: 16px;
  --font-h1: 60px;
  --font-h2: 44px;
  --font-h3: 26px;
  --font-h4: 20px;
  --font-lead: 20px;
  --font-body: 16px;
  --font-button: 16px;
  --section-space: 112px;
  --space-after-heading: 40px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  font: 400 16px/1.55 "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

body.modal-open {
  overflow: hidden;
}

button {
  color: inherit;
}

a {
  text-decoration: none;
}

a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  color: var(--navy);
  overflow-wrap: break-word;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--font-h1);
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  font-size: var(--font-h2);
  line-height: 1.15;
  font-weight: 700;
}

h3 {
  font-size: var(--font-h3);
  line-height: 1.15;
  font-weight: 600;
}

.container {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.content-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.section--ice {
  background: var(--ice);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.muted {
  color: var(--muted);
}

.section--dark .muted,
.section--dark .eyebrow {
  color: #bed0de;
}

.lead {
  font-size: var(--font-lead);
  line-height: 1.55;
}

.small {
  font-size: 14px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  flex: 0 0 20px;
  background: var(--aqua);
}

.main-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--font-button);
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s;
}

.main-btn:hover {
  background: var(--blue-hover);
  text-decoration: none;
}

.main-btn--secondary {
  background: var(--ice);
  color: var(--navy);
}

.main-btn--secondary:hover {
  background: #dcebf1;
}

.main-btn--outline {
  background: var(--ice);
  border-color: var(--blue);
  color: var(--navy);
}

.main-btn--outline:hover {
  background: #dcebf1;
}

.main-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.text-link {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.icon {
  flex: 0 0 auto;
  align-self: flex-start;
}

picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actions {
  display: flex;
  gap: 16px;
}

.main-head {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.head-logo {
  display: flex;
  flex-direction: column;
  line-height: normal;
  flex-shrink: 0;
}

.head-logo strong {
  font-size: 26px;
  letter-spacing: 1.04px;
  font-weight: 800;
  color: var(--navy);
}

.head-logo span {
  font-size: 12px;
  color: var(--muted);
}

.head-logo:hover {
  text-decoration: none;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.head-nav a:nth-child(4) {
  max-width: 88px;
}

.head-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: normal;
}

.head-contact > span {
  font-weight: 600;
  color: var(--navy);
}

.head-contact button {
  color: var(--blue);
}

[data-header-apply] {
  width: 152px;
  flex-shrink: 0;
}

.mobile-actions {
  display: none;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 688px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 40, 63, 0.98) 0%, rgba(16, 40, 63, 0.91) 43%, rgba(16, 40, 63, 0.125) 75%, rgba(16, 40, 63, 0.031) 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-block: 80px 48px;
}

.hero-offer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}

.hero-offer .lead {
  max-width: 540px;
}

.hero .actions .main-btn:first-child {
  width: 200px;
}

.hero .actions .main-btn:last-child {
  width: 272px;
}

.hero-tags,
.hero-bottom {
  font-size: 14px;
  color: #bed0de;
  line-height: normal;
}

.hero-bottom {
  padding-top: 32px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-bottom a {
  display: inline-flex;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.course-card {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--ice);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.course-photo {
  height: 176px;
  width: 100%;
  background: var(--white);
}

.course-photo img {
  object-fit: contain;
}

.course-card h3 {
  min-height: calc(var(--font-h3) * 1.15 * 3);
}

.course-description {
  min-height: calc(var(--font-body) * 1.55 * 5);
}

.course-price {
  margin-top: auto;
  font-size: var(--font-h3);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

.course-actions {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.course-actions .main-btn {
  flex: 1;
  min-width: 0;
  padding-inline: 12px;
}

.course-help {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.course-help .main-btn {
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 536px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.about-photo {
  height: 608px;
}

figcaption {
  color: var(--blue);
  margin-top: 16px;
}

.advantages {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.advantage > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advantage p:first-child {
  color: var(--navy);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.step-number {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
}

.step-line {
  height: 1px;
  background: var(--line);
  flex: 1;
}

.step-card h3 {
  min-height: 64px;
}

.enrollment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 488px;
  gap: 120px;
  align-items: center;
}

.enrollment-card {
  border: 1px solid rgba(255, 255, 255, 0.1882352941);
  padding: 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.enrollment-card h3 {
  margin-top: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.practice-photos,
.practice-videos {
  display: grid;
  gap: 24px;
  width: 100%;
  align-items: start;
}

.practice-photos {
  grid-template-columns: 1.5fr 1.333333fr 1.333333fr;
}

.practice-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 584px;
  align-self: center;
}

.practice-photo,
.practice-video {
  min-width: 0;
  margin: 0;
}

.practice-photo img,
.practice-video video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--ice);
}

.practice-photo figcaption,
.practice-video figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .practice-photos {
    grid-template-columns: 1fr;
  }
  .practice-videos {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}
.gallery-main {
  height: 512px;
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.gallery-class {
  height: 244px;
}

.gallery-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-detail {
  height: 244px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 384px minmax(0, 1fr);
  gap: 104px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding-block: 24px;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

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

.faq-item p {
  margin-top: 16px;
}

.faq-symbol {
  display: inline-flex;
  flex-shrink: 0;
}

.faq-symbol .icon--minus,
.faq-item[open] .icon--plus {
  display: none;
}

.faq-item[open] .icon--minus {
  display: block;
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 536px;
  gap: 120px;
  align-items: center;
}

.consultation-note {
  padding-top: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.application-form {
  background: var(--ice);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--navy);
}

input:not([type=checkbox]),
select {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: white;
}

input::placeholder {
  color: var(--muted);
  opacity: 1;
}

select {
  appearance: none;
  background: white url("../img/icons/873c9.svg") no-repeat right 16px center;
  padding-right: 44px;
}

input:focus,
select:focus {
  border-color: var(--blue);
}

[aria-invalid=true] {
  border-color: var(--error) !important;
}

.field-error {
  color: #a72f2f;
  font-size: 14px;
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.consent-row input {
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  background: white;
  border: 1px solid var(--muted);
  border-radius: 4px;
  cursor: pointer;
}

.consent-row input:checked {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 4px white;
}

.consent-row .text-link {
  color: var(--blue);
  text-decoration: underline;
}

.consent-group .field-error {
  margin-top: 8px;
}

.form-status {
  padding: 16px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: var(--navy);
}

.ui-footer {
  padding-block: 80px 32px;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 384px minmax(0, 1fr);
  gap: 120px;
}

.contacts-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacts-content > div:not(.section-intro) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-placeholder {
  height: 392px;
  padding: 32px;
  background: #17364d;
  border: 1px solid rgba(255, 255, 255, 0.1882352941);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-placeholder .icon {
  align-self: center;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1490196078);
}

.footer-grid {
  display: grid;
  grid-template-columns: 384px 220px minmax(0, 1fr);
  gap: 104px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand a {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1.28px;
  line-height: normal;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.info-dialog {
  width: min(600px, 100% - 32px);
  max-height: calc(100dvh - 48px);
  border: none;
  border-radius: 20px;
  padding: 0;
  color: var(--ink);
  background: white;
}

.info-dialog::backdrop {
  background: rgba(16, 40, 63, 0.7019607843);
}

.dialog-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
}

.dialog-body h2 {
  font-size: 32px;
  padding-right: 24px;
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-content ul {
  margin: 0;
  padding-left: 20px;
}

.dialog-content li + li {
  margin-top: 8px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: white;
  color: var(--navy);
  z-index: 20;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

@media (max-width: 1199px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root {
    --section-space: 80px;
    --space-after-heading: 32px;
  }
  .main-head {
    gap: 16px;
  }
  .head-contact {
    display: none;
  }
  .section {
    padding-block: var(--section-space);
  }
  .about-grid {
    grid-template-columns: 45% minmax(0, 1fr);
    gap: 32px;
  }
  .enrollment-grid,
  .application-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .faq-grid,
  .contacts-grid {
    grid-template-columns: 32% minmax(0, 1fr);
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  .course-actions {
    flex-wrap: wrap;
  }
  .course-actions .main-btn {
    flex-basis: 100%;
  }
}
@media (max-width: 900px) {
  :root {
    --font-h2: 36px;
  }
  .head-nav {
    gap: 12px;
  }
  [data-header-apply] {
    width: auto;
    padding-inline: 16px;
  }
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .course-actions {
    flex-wrap: nowrap;
  }
  .course-actions .main-btn {
    flex-basis: auto;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
  .about-photo {
    height: 520px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .application-grid {
    gap: 32px;
  }
  .application-form {
    padding: 24px;
  }
  h2 {
    font-size: var(--font-h2);
  }
}
@media (max-width: 700px) {
  .main-head {
    height: 72px;
  }
  .head-logo strong {
    font-size: 24px;
    letter-spacing: 0.96px;
  }
  .head-logo span,
  [data-header-apply] {
    display: none;
  }
  .mobile-actions {
    display: flex;
    gap: 8px;
  }
  .head-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 24px 16px;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(16, 40, 63, 0.0784313725);
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .head-nav.is-open {
    display: flex;
  }
  .head-nav a {
    padding: 12px;
    font-size: 16px;
  }
  .head-nav a:nth-child(4) {
    max-width: none;
  }
}
@media (max-width: 600px) {
  :root {
    --font-h1: 36px;
    --font-h2: 30px;
    --font-h3: 22px;
    --font-h4: 18px;
    --font-lead: 18px;
    --font-button: 15px;
    --section-space: 64px;
    --space-after-heading: 24px;
  }
  .container {
    width: calc(100% - 32px);
  }
  h1 {
    font-size: var(--font-h1);
  }
  h2 {
    font-size: var(--font-h2);
  }
  h3 {
    font-size: var(--font-h3);
  }
  .section {
    padding-block: var(--section-space);
  }
  .section-stack {
    gap: 32px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-block: 40px 24px;
  }
  .hero::after,
  .hero-bottom {
    display: none;
  }
  .hero-body {
    padding: 0;
    gap: 24px;
  }
  .hero-photo {
    position: static;
    order: 2;
    height: 248px;
    margin: 24px 16px 0;
    border-radius: var(--radius);
  }
  .hero-offer .lead {
    font-size: var(--font-lead);
  }
  .hero .actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .hero .actions .main-btn {
    width: 100%;
  }
  .hero-tags {
    line-height: normal;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .course-card h3,
  .course-description {
    min-height: 0;
  }
  .course-card h3 {
    font-size: var(--font-h3);
  }
  .course-photo {
    height: 204px;
  }
  .course-actions .main-btn {
    padding-inline: 12px;
  }
  .course-help {
    padding: 24px;
  }
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .about-content {
    order: -1;
  }
  .about-grid figure {
    width: 100%;
  }
  .about-photo {
    height: 300px;
  }
  .about-grid figcaption,
  .course-help {
    display: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 16px;
  }
  .step-number {
    grid-row: 1/3;
    flex-direction: column;
    gap: 16px;
  }
  .step-line {
    width: 1px;
    min-height: 128px;
  }
  .step-card:last-child .step-line {
    display: none;
  }
  .step-card .muted {
    grid-column: 2;
  }
  .step-card h3 {
    min-height: 0;
    font-size: var(--font-h3);
  }
  .enrollment-grid,
  .application-grid,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .enrollment-card {
    padding: 24px;
  }
  .enrollment-card h3 {
    font-size: var(--font-h3);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-main {
    height: 264px;
  }
  .gallery-side,
  .gallery-details {
    gap: 16px;
  }
  .gallery-class {
    height: 224px;
  }
  .gallery-detail {
    height: 168px;
  }
  .faq-grid {
    gap: 24px;
  }
  .application-form {
    padding: 24px;
  }
  .application-form .main-btn {
    width: 100%;
  }
  .ui-footer {
    padding-block: 64px 24px;
  }
  .footer-stack {
    gap: 40px;
  }
  .map-placeholder {
    height: 280px;
    padding: 24px;
  }
  .map-placeholder h3 {
    font-size: var(--font-h3);
  }
  .footer-grid {
    gap: 40px;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    gap: 16px 24px;
  }
  .dialog-body {
    padding: 32px 24px;
  }
}
.hero--brand {
  min-height: 640px;
  padding: 0;
  display: block;
  background: var(--ice);
  color: var(--navy);
}

.hero--brand::after {
  display: none;
}

.hero--brand .hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.hero--brand .hero-photo img {
  object-position: center;
}

.brand-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  min-height: 640px;
  padding-block: 48px 64px;
}

.brand-hero-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.brand-hero-identity .eyebrow {
  color: var(--navy);
}

.brand-hero-identity .eyebrow::before {
  display: none;
}

.brand-hero-logo {
  width: 304px;
  height: auto;
  max-width: 100%;
}

.brand-hero-caption {
  font-size: var(--font-body);
  max-width: 400px;
  text-wrap: balance;
}

.brand-hero-identity .main-btn {
  margin-top: 8px;
  padding-inline: 28px;
}

.brand-hero-phones,
.brand-hero-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand-hero-label {
  font-size: var(--font-h4);
  font-weight: 600;
  line-height: 1.2;
}

.brand-hero-phones > a:not(.brand-hero-email) {
  font-size: var(--font-h3);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-hero-email {
  font-size: var(--font-h4);
  font-weight: 600;
}

.brand-hero-address address {
  font-style: normal;
  text-wrap: pretty;
}

.brand-hero-map {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.head-phone {
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 1099px) {
  .brand-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-block: 40px;
  }
  .brand-hero-identity {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .brand-hero-logo {
    width: 264px;
  }
  .brand-hero-phones,
  .brand-hero-address {
    align-self: start;
  }
  .brand-hero-phones {
    justify-self: end;
    padding-right: 24px;
  }
  .brand-hero-address {
    max-width: 320px;
  }
  .hero--brand .hero-photo img {
    opacity: 0.6;
  }
}
@media (max-width: 600px) {
  .hero--brand {
    min-height: auto;
  }
  .brand-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 32px 40px;
  }
  .brand-hero-identity {
    gap: 16px;
    grid-column: auto;
  }
  .brand-hero-logo {
    width: 224px;
  }
  .brand-hero-identity .eyebrow {
    font-size: 12px;
  }
  .brand-hero-caption {
    font-size: 14px;
    max-width: 340px;
  }
  .brand-hero-phones,
  .brand-hero-address {
    align-items: center;
    justify-self: stretch;
    padding: 0;
    max-width: none;
    text-align: center;
    gap: 8px;
  }
  .brand-hero-phones {
    padding-top: 24px;
    border-top: 1px solid rgba(16, 40, 63, 0.15);
  }
  .brand-hero-phones > a:not(.brand-hero-email) {
    font-size: var(--font-h3);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .brand-hero-address address {
    max-width: 340px;
  }
  .brand-hero-email {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero--brand .hero-photo {
    height: 360px;
  }
  .hero--brand .hero-photo img {
    opacity: 0.5;
    object-fit: cover;
  }
  .hero--brand .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 65%, var(--ice));
  }
}
.ui-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: transparent;
  transition: background-color 200ms, box-shadow 200ms;
}

.ui-header .main-head {
  height: 80px;
}

.ui-header .head-logo,
.ui-header [data-header-apply] {
  display: none;
}

.ui-header .head-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px minmax(0, 1fr);
  width: 100%;
  gap: 24px;
}

.nav-half {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-half--right {
  grid-column: 3;
}

.head-nav .nav-half a {
  max-width: none;
}

.nav-half button {
  font: inherit;
  text-align: left;
  color: var(--blue);
}

.ui-header.is-scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.ui-header.is-scrolled .main-head {
  height: 72px;
}

.ui-header.is-scrolled .head-logo {
  display: flex;
}

.ui-header.is-scrolled .head-nav {
  display: flex;
  width: auto;
  gap: 24px;
}

.ui-header.is-scrolled .nav-half {
  gap: 24px;
}

.hero--brand .brand-hero-grid {
  min-height: 424px;
  padding-block: 88px 24px;
}

@media (min-width: 1100px) {
  .brand-hero-phones,
  .brand-hero-address {
    align-self: start;
    padding-top: 96px;
  }
}
.hero--brand .brand-hero-logo {
  width: 264px;
}

.brand-hero-offer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-bottom: 48px;
}

.brand-hero-offer h1 {
  max-width: 1100px;
}

.brand-hero-offer .lead {
  max-width: 760px;
}

.brand-hero-offer .main-btn {
  padding-inline: 28px;
}

.brand-hero-tags {
  font-size: 14px;
}

.hero--brand .hero-photo {
  height: 500px;
}

.hero--brand .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 65%, var(--ice));
}

.admin-bar .ui-header {
  top: 32px;
}

@media (max-width: 1199px) and (min-width: 701px) {
  .ui-header .head-nav {
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
    gap: 16px;
  }
  .ui-header .nav-half {
    gap: 16px;
  }
  .ui-header.is-scrolled .head-logo span {
    display: none;
  }
  .ui-header.is-scrolled .head-nav,
  .ui-header.is-scrolled .nav-half {
    gap: 16px;
  }
  .ui-header.is-scrolled .head-logo strong {
    font-size: 20px;
  }
}
@media (max-width: 1099px) {
  .hero--brand .brand-hero-grid {
    padding-block: 104px 32px;
    gap: 32px;
  }
  .brand-hero-offer h1 {
    font-size: 44px;
  }
}
@media (max-width: 782px) {
  .admin-bar .ui-header {
    top: 46px;
  }
}
@media (max-width: 700px) {
  .ui-header .main-head,
  .ui-header.is-scrolled .main-head {
    height: 64px;
  }
  .ui-header .main-head {
    justify-content: flex-end;
  }
  .ui-header.is-scrolled .main-head {
    justify-content: space-between;
  }
  .ui-header .head-nav,
  .ui-header.is-scrolled .head-nav {
    display: none;
    width: auto;
    top: 64px;
    gap: 0;
  }
  .ui-header .head-nav.is-open {
    display: flex;
  }
  .ui-header .nav-half {
    display: contents;
  }
  .ui-header .nav-half button {
    padding: 12px;
    font-size: 16px;
  }
  .hero--brand .brand-hero-grid {
    padding-top: 80px;
  }
  .brand-hero-offer h1 {
    font-size: var(--font-h1);
  }
  .brand-hero-offer {
    gap: 24px;
    padding-bottom: 40px;
  }
  .brand-hero-offer .lead {
    font-size: var(--font-lead);
  }
  .admin-bar .ui-header.is-scrolled {
    top: 0;
  }
}
@media (max-width: 600px) {
  .hero--brand {
    display: flex;
    flex-direction: column;
  }
  .hero--brand .hero-photo {
    height: 360px;
  }
  .hero--brand .brand-hero-grid {
    display: contents;
  }
  .hero--brand .brand-hero-logo {
    width: 224px;
  }
  .brand-hero-identity {
    order: 0;
    margin: 80px 16px 0;
    position: relative;
    z-index: 1;
  }
  .brand-hero-offer {
    order: 1;
    margin-top: 32px;
    padding-bottom: 32px;
  }
  .brand-hero-phones {
    order: 2;
    margin: 0 16px;
    align-self: stretch;
    position: relative;
    z-index: 1;
  }
  .brand-hero-address {
    order: 3;
    margin: 24px 16px 32px;
    align-self: stretch;
    position: relative;
    z-index: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
.site-logo {
  width: 64px;
  height: 58px;
  object-fit: contain;
}

.site-logo--footer {
  width: 144px;
  height: auto;
  filter: brightness(0) invert(1);
}

.course-photo {
  height: auto !important;
  aspect-ratio: 2/1;
  overflow: hidden;
  background: transparent;
}

.course-photo img {
  object-fit: contain;
  transform: scale(1.4);
  mix-blend-mode: normal;
}

.intake-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
}

.intake-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intake-address {
  border-left: 3px solid var(--aqua);
  padding-left: 24px;
  display: grid;
  gap: 8px;
}

.intake-address .small {
  color: var(--aqua);
}

.intake-date {
  background: var(--ice);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 24px;
}

.intake-date-label {
  color: var(--blue);
  font-weight: 600;
}

.intake-calendar {
  display: flex;
  align-items: center;
  gap: 24px;
}

.intake-calendar > strong {
  font-size: 96px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.intake-calendar > div > p:first-child {
  font-size: var(--font-h4);
  font-weight: 600;
}

.intake-period {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  gap: 8px;
}

.intake-period .small {
  color: var(--muted);
}

.intake-period > p:last-child {
  font-weight: 600;
}

.intake-date .main-btn {
  width: 100%;
}

@media (max-width: 900px) {
  .intake-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intake-date {
    max-width: 520px;
    width: 100%;
  }
  .intake-calendar > strong {
    font-size: 80px;
  }
}
@media (max-width: 600px) {
  .intake-date {
    padding: 24px;
  }
  .intake-calendar {
    gap: 16px;
  }
  .intake-calendar > strong {
    font-size: 72px;
  }
  .site-logo {
    width: 56px;
    height: 50px;
  }
}
.intake-panel > * {
  min-width: 0;
}

.intake-calendar {
  flex-wrap: wrap;
}

.contacts-grid > * {
  min-width: 0;
}

.map-loaded iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  display: block;
}

.hero-motion {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  mask-image: linear-gradient(#000 65%, transparent);
  transition: opacity 250ms;
}

.hero-motion.is-playing {
  opacity: 1;
}

.hero-motion-toggle {
  position: absolute;
  right: 24px;
  bottom: 16px;
  z-index: 2;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--ice);
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.hero-motion-toggle[hidden] {
  display: none;
}

.course-help {
  justify-content: flex-start;
  padding: 16px;
  gap: 24px;
}

.course-help h3 {
  margin-top: auto;
}

.course-help .main-btn {
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .hero-motion {
    height: 360px;
    opacity: 0;
  }
  .hero-motion.is-playing {
    opacity: 0.5;
  }
  .hero-motion-toggle {
    right: 16px;
    bottom: 8px;
  }
  .course-help {
    padding: 16px;
  }
}
.brand-hero-phones > a:not(.brand-hero-email),
.brand-hero-phones > .brand-hero-email,
.brand-hero-address address,
.brand-hero-address > .brand-hero-map {
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
}

.brand-hero-identity {
  transform: translateY(-24px);
}

.brand-hero-caption {
  font-size: 14px;
}

.hero--brand .brand-hero-offer h1 {
  font-size: var(--font-h2);
  line-height: 1.15;
  font-weight: 700;
  max-width: 1100px;
}

@media (max-width: 600px) {
  .brand-hero-caption {
    font-size: 12px;
  }
}
.practice-mixed {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.practice-mixed .practice-videos {
  max-width: none;
  align-self: start;
}

.practice-sidephotos {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
  contain: size;
}

.practice-sidephoto {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--ice);
  border-radius: var(--radius);
}

.practice-sidephoto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .practice-mixed {
    grid-template-columns: 1fr;
  }
  .practice-sidephotos {
    contain: none;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .practice-sidephoto img {
    height: auto;
  }
}
@media (max-width: 600px) {
  .practice-mixed .practice-videos {
    max-width: 320px;
    justify-self: center;
  }
  .practice-sidephotos {
    grid-template-columns: 1fr;
  }
}
.practice-videos {
  align-items: stretch;
}

.practice-video video {
  aspect-ratio: 9/16;
  object-fit: contain;
}

.ui-header.is-scrolled .head-logo {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ui-header .head-logo .header-org {
  display: none;
}

.ui-header.is-scrolled .head-logo .header-org {
  display: block;
  max-width: 232px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--navy);
}

@media (min-width: 701px) and (max-width: 1099px) {
  .ui-header.is-scrolled .mobile-actions {
    display: flex;
  }
  .ui-header.is-scrolled .head-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 24px 32px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .ui-header.is-scrolled .head-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .ui-header.is-scrolled .nav-half {
    display: contents;
  }
  .ui-header.is-scrolled .head-nav a,
  .ui-header.is-scrolled .head-nav button {
    padding: 12px;
  }
}
@media (max-width: 700px) {
  .ui-header.is-scrolled .main-head {
    gap: 8px;
  }
  .ui-header.is-scrolled .head-logo {
    gap: 8px;
  }
  .ui-header.is-scrolled .head-logo .site-logo {
    width: 44px;
    height: 40px;
  }
  .ui-header.is-scrolled .head-logo .header-org {
    font-size: 9px;
    max-width: 124px;
    line-height: 1.25;
  }
}
.hero-offer-subtitle {
  font-size: var(--font-h3);
  font-weight: 400;
  line-height: 1.4;
  color: var(--navy);
  max-width: 1000px;
  text-wrap: balance;
}

#application .application-form {
  color: var(--ink);
}

#application .application-form .muted {
  color: var(--muted);
}

#application .application-form .form-status {
  color: var(--ink);
}

@media (min-width: 601px) and (max-width: 1099px) {
  .brand-hero-address {
    justify-self: end;
    padding-right: 24px;
  }
  .brand-hero-phones {
    justify-self: start;
    padding-right: 0;
    max-width: 320px;
  }
}
@media (max-width: 600px) {
  .brand-hero-address {
    order: 2;
    margin: 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 40, 63, 0.15);
  }
  .brand-hero-phones {
    order: 3;
    margin: 24px 16px 32px;
    padding-top: 0;
    border-top: 0;
  }
}
.application-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.hero-motion-toggle {
  display: none !important;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand .site-logo--footer {
  width: 160px;
  height: auto;
  max-width: none;
}

.footer-organization {
  font-size: 14px;
  line-height: 1.5;
  max-width: 230px;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.made-by img {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

.mobile-menu-contacts {
  display: none;
}

@media (max-width: 700px) {
  .ui-header {
    position: fixed;
    background: var(--white);
    box-shadow: 0 1px 0 var(--line);
  }
  .ui-header .head-logo {
    display: flex;
  }
  .ui-header .main-head {
    justify-content: space-between;
  }
  .ui-header .head-logo .header-org,
  .ui-header.is-scrolled .head-logo .header-org {
    display: none;
  }
  .hero .brand-hero-address,
  .hero .brand-hero-phones {
    display: none;
  }
  .ui-header .head-nav {
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  .mobile-menu-contacts {
    display: grid;
    gap: 24px;
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding: 24px 12px 8px;
  }
  .mobile-menu-contacts .brand-hero-address,
  .mobile-menu-contacts .brand-hero-phones {
    display: flex;
    align-items: flex-start;
    text-align: left;
    order: initial;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 8px;
  }
  .mobile-menu-contacts h2 {
    font-size: 18px;
  }
  .ui-header .mobile-menu-contacts a {
    padding: 4px 0;
    min-height: 36px;
    font-size: 16px;
    white-space: normal;
  }
  .mobile-menu-contacts address {
    font-size: 14px;
  }
  .footer-identity {
    gap: 16px;
  }
  .footer-brand .site-logo--footer {
    width: 120px;
  }
  .footer-organization {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero--brand {
    padding-top: 16px;
  }
}
@media (max-width: 700px) {
  .hero--brand .hero-photo,
  .hero-motion {
    height: 100%;
  }
  .hero--brand .hero-photo img,
  .hero-motion {
    object-position: center center;
  }
}
.about-photo {
  height: auto !important;
  aspect-ratio: auto;
  display: block;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .ui-header .head-logo .header-org,
  .ui-header.is-scrolled .head-logo .header-org {
    display: block;
    font-size: 9px;
    line-height: 1.25;
    max-width: 124px;
  }
}
@media (max-width: 700px) {
  .ui-header.is-scrolled .head-logo,
  .ui-header .head-logo {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .ui-header.is-scrolled .head-logo .header-org,
  .ui-header .head-logo .header-org {
    flex: 1;
    max-width: none;
    min-width: 0;
  }
  .ui-header .mobile-actions {
    flex-shrink: 0;
  }
  .ui-header .head-logo .site-logo {
    flex-shrink: 0;
  }
}
.legal-page {
  padding-block: 112px 80px;
  background: var(--white);
}

.legal-container {
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-container > h1,
.legal-container > .wp-block-post-title {
  font-size: var(--font-h2);
  max-width: 900px;
}

.legal-copy {
  width: 100%;
  max-width: 800px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.legal-copy p {
  margin-block: 16px;
}

.legal-copy h2 {
  font-size: var(--font-h3);
  margin-block: 40px 16px;
}

.legal-copy ul {
  list-style: disc;
  padding-left: 24px;
  margin-block: 16px;
}

.legal-copy li {
  margin-block: 8px;
}

.legal-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.document-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 24px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.document-card h2 {
  font-size: var(--font-h3);
}

.document-card .text-link {
  margin-top: auto;
}

.cookie-document-controls {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding: 24px;
  background: var(--ice);
  border-radius: var(--radius);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: min(560px, 100% - 32px);
  max-height: calc(100dvh - 96px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(16, 40, 63, 0.0784313725);
}

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

.cookie-banner h2 {
  font-size: var(--font-h4);
  margin-bottom: 16px;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
  margin-block: 12px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cookie-actions .main-btn {
  font-size: 14px;
  padding-inline: 16px;
  min-width: 0;
}

.cookie-settings {
  min-height: 44px;
  color: inherit;
  font-size: 14px;
}

.legal-view .ui-header {
  background: var(--white);
}

@media (max-width: 900px) {
  .document-cards {
    grid-template-columns: 1fr;
  }
  .document-card {
    min-height: 180px;
  }
}
@media (max-width: 600px) {
  .legal-page {
    padding-block: 96px 64px;
  }
  .legal-container {
    gap: 24px;
  }
  .cookie-banner {
    bottom: 16px;
    right: 16px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions .main-btn {
    width: 100%;
  }
  .cookie-document-controls {
    align-items: stretch;
    flex-direction: column;
  }
}
.map-loaded iframe[hidden],
.map-gate[hidden] {
  display: none;
}

.map-gate {
  padding: 24px;
  text-align: center;
}

.school-page {
  padding-top: 80px;
}

.school-page .wp-block-group {
  box-sizing: border-box;
}

.school-page p {
  margin: 0;
}

.school-page .section-intro {
  margin-bottom: var(--space-after-heading);
}

.school-page .content-stack .section-intro {
  margin-bottom: 0;
}

.school-breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px !important;
}

.school-hero-grid,
.school-practice-grid,
.school-license-grid,
.school-directions-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.school-hero-copy {
  display: grid;
  gap: 24px;
}

.school-lead {
  font-size: var(--font-lead);
  line-height: 1.55;
}

.school-portrait {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 400px;
}

.school-page figure a {
  display: block;
}

.school-page figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.school-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.school-actions p {
  max-width: 100%;
}

.school-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 64px;
}

.school-fact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.school-section-lead {
  max-width: 800px;
  margin-bottom: 40px !important;
  font-size: var(--font-lead);
}

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

.school-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.school-card-index {
  color: var(--blue);
  font-size: 14px;
}

.school-card h3 {
  font-size: var(--font-h4);
  line-height: 1.2;
}

.school-hours {
  margin-top: 32px;
  padding: 24px;
  border-left: 3px solid var(--aqua);
}

.school-practice-photo {
  margin: 0;
}

.school-license-grid {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  align-items: start;
}

.school-license-image {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
}

.school-license-image img {
  border-radius: 0 !important;
}

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

.school-document-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 32px;
}

.school-document-card > p:last-child {
  margin-top: auto;
}

.school-requisites-list {
  border-top: 1px solid var(--line);
}

.school-requisite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.school-requisite p {
  overflow-wrap: anywhere;
}

.school-requisite a {
  color: var(--blue);
}

.school-office-card {
  padding: 40px;
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.school-office-phone {
  font-size: var(--font-h3);
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 1024px) {
  .school-hero-grid,
  .school-practice-grid,
  .school-license-grid,
  .school-directions-grid {
    gap: 32px;
  }
  .school-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .school-card,
  .school-document-card {
    padding: 24px;
  }
  .school-facts {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .school-page {
    padding-top: 64px;
  }
  .school-breadcrumb {
    margin-bottom: 32px !important;
  }
  .school-hero-grid,
  .school-practice-grid,
  .school-license-grid,
  .school-directions-grid,
  .school-card-grid,
  .school-document-grid,
  .school-requisite {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .school-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
  }
  .school-fact {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .school-fact:last-child {
    border: 0;
    padding-bottom: 0;
  }
  .school-portrait {
    justify-self: center;
  }
  .school-office-card {
    padding: 24px;
  }
  .school-requisite {
    gap: 8px;
  }
  .school-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .school-actions .main-btn {
    width: 100%;
  }
  .school-card-grid {
    gap: 12px;
  }
}
.school-page .section--light {
  background: var(--ice);
}

.school-page .wp-block-image {
  content-visibility: visible;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
  font-size: var(--font-h3);
}

.success-dialog .dialog-body h2 {
  font-size: var(--font-h3);
}

.success-message {
  margin: 0;
  font-size: var(--font-body);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .success-dialog .dialog-body {
    padding: 32px 24px;
  }
}
