@font-face { font-family: Oswald; src: url("fonts/oswald-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: Oswald; src: url("fonts/oswald-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B4, U+2122, U+2212; }
@font-face { font-family: Inter; src: url("fonts/inter-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face {
  font-family: "Dela Gothic One";
  src: url("fonts/dela-gothic-one-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #F6F5F1;
  --fg: #14161A;
  --paper: #FFF;
  --surface: #EFEEE9;
  --muted: #555A63;
  --line: #D7D8D4;
  --blue: #1C4FA0;
  --blue-hover: #143C7C;
  --red: #D8232A;
  --red-hover: #B91623;
  --yellow: #FFD400;
  --hero-bg: #17171B;
  --hero-ink: #17171BE0;
  --hero-dim: #17171B37;
  --inverted-text: #E9ECF2;
  --inverted-line: #FFFFFF60;
  --display: "Dela Gothic One", Inter, sans-serif;
  --condensed: Oswald, "Arial Narrow", sans-serif;
  --body: Inter, system-ui, sans-serif;
  --gutter: clamp(20px, 5.1vw, 84px);
  --section-gap: clamp(58px, 6.1vw, 98px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
html.is-locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--body); }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--fg); }
.skip { position: fixed; z-index: 12; top: 8px; left: 8px; padding: 12px 16px; background: var(--paper); translate: 0 -150%; }
.skip:focus { translate: 0; }

.wrap { width: min(1296px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-block: var(--section-gap); }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 12px 32px; align-items: end; margin-bottom: 28px; }
.sec-head > p { max-width: 36ch; color: var(--muted); }
h2 {
  font: 400 clamp(26px, 4vw, 54px)/1.15 var(--display);
  letter-spacing: -.028em;
  text-wrap: balance;
}
mark { background: var(--yellow); color: var(--fg); padding: .13em .35em; box-decoration-break: clone; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 17px;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--fg);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--red { color: var(--paper); background: var(--red); }
.btn--red:hover { background: var(--red-hover); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { color: var(--paper); background: var(--blue); }
.btn--light { border-color: var(--inverted-line); color: var(--paper); background: transparent; }
.btn--light:hover { color: var(--fg); background: var(--paper); }
.btn--yellow { color: var(--fg); background: var(--yellow); }
.btn--yellow:hover { background: var(--paper); }
.action-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.action-link:hover, .hall__tel:hover { text-decoration: underline; text-underline-offset: .2em; }
.icon-btn {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--fg);
}

.hdr { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr__inner { display: flex; gap: 8px; justify-content: space-between; align-items: center; min-height: 68px; }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--blue);
  font: 900 italic clamp(16px, 2vw, 25px)/.98 var(--body);
  letter-spacing: -.028em;
  text-decoration: none;
}
.wordmark span { margin-top: 4px; color: var(--red); font: 800 9px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.hdr__cab { margin-left: auto; min-height: 44px; padding-inline: 12px; }
.hdr__burger { display: none; flex: none; gap: 5px; }
.hdr__burger span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .18s ease; }
.hdr__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hdr__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.hdr__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.hdr__nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .35em; }

.hero { margin-top: 16px; }
.hero__billboard {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 568px;
  background: var(--hero-bg);
  color: var(--paper);
}
.hero__photo, .hero__billboard::after { position: absolute; inset: 0; z-index: -1; width: 100%; }
.hero__photo { height: 75%; object-fit: cover; object-position: 62% 25%; }
.hero__billboard::after {
  content: "";
  background: linear-gradient(180deg, var(--hero-dim) 0%, var(--hero-dim) 16%, var(--hero-ink) 53%, var(--hero-bg) 77%);
}
.hero__body { display: grid; justify-items: start; gap: 16px; min-width: 0; padding: 23px 20px 26px; }
.hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--inverted-text);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__location::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }
.hero h1 { font: 400 clamp(32px, 8.85vw, 66px)/1.08 var(--display); letter-spacing: -.028em; }
.hero__lead { max-width: 35ch; color: var(--inverted-text); font-size: clamp(14px, 1.35vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.hero__actions .btn { min-height: 50px; }
.hero :focus-visible, .cab :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }
.hero__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 20px;
  min-height: 44px;
  background: var(--yellow);
  color: var(--fg);
}
.hero__strip p:first-child { font: 700 clamp(14px, 1.6vw, 21px)/1.2 var(--condensed); letter-spacing: .04em; text-transform: uppercase; }
.hero__strip p:last-child { display: none; font-size: 12px; font-weight: 700; }

.halls, .plans { display: grid; gap: 10px; }
.halls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hall, .plan { background: var(--paper); border: 1px solid var(--line); }
.hall { display: flex; flex-direction: column; align-items: start; gap: 8px; padding: 13px 11px 7px; }
.hall h3 { display: flex; align-items: baseline; gap: 7px; color: var(--blue); font: 700 16px/1 var(--condensed); text-transform: uppercase; }
.hall h3 span { font-size: clamp(29px, 3.5vw, 48px); letter-spacing: -.045em; }
.hall__address { font-weight: 700; font-size: 13px; line-height: 1.35; }
.hall__address span { display: block; margin-top: 3px; color: var(--muted); font-size: .9em; font-weight: 500; }
.hall__hours { margin-top: auto; color: var(--muted); font-size: 12px; }
.hall__hours span { display: block; }
.hall__tel {
  display: flex;
  min-height: 44px;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  gap: 0 3px;
  padding-top: 3px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.training { display: grid; gap: 24px; align-items: start; }
.training__figure { position: relative; }
.training__figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.training__figure figcaption { position: absolute; bottom: 0; left: 0; padding: 6px 10px; color: var(--paper); background: var(--hero-bg); font-size: 11px; }
.training__list { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.training__list li { padding: 13px 0 2px; border-bottom: 1px solid var(--line); }
.training__list h3, .trial h3 { font-size: 19px; letter-spacing: -.035em; line-height: 1.25; }
.training__list p { margin-top: 3px; color: var(--muted); font-size: 14px; }

.plan { display: grid; align-content: start; gap: 10px; padding: 18px; }
.plan h3 { font-weight: 750; font-size: 15px; }
.plan__price { font: 700 clamp(38px, 4.5vw, 64px)/1.05 var(--condensed); color: var(--blue); letter-spacing: -.035em; }
.plan__price span { font: 700 13px/1 var(--body); letter-spacing: normal; }
.plan p:last-child { max-width: 38ch; color: var(--muted); font-size: 14px; }
.plan--highlight { border-top: 4px solid var(--blue); padding-top: 15px; }
.plan-link { margin-top: 13px; }

.booker { padding: 14px; background: var(--paper); border: 1px solid var(--line); }
.booker__toolbar { display: grid; gap: 10px; max-width: 650px; }
label { display: grid; gap: 5px; color: var(--fg); font-size: 13px; font-weight: 650; min-width: 0; }
select, input { width: 100%; min-width: 0; min-height: 46px; padding: 7px 10px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 0; font-size: 16px; }
.booker__note, .booker__example { margin-top: 10px; font-size: 13px; color: var(--muted); }
.booker__days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 16px; }
.day {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  min-height: 57px;
  padding: 4px 2px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
}
.day:hover { border-color: var(--blue); }
.day b { font-size: 14px; }
.day span { color: var(--muted); font-size: 11px; }
.day[aria-selected="true"] { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.day[aria-selected="true"] span { color: var(--inverted-text); }
.booker__date { margin: 19px 0 7px; color: var(--blue); font-size: 14px; font-weight: 750; }
.booker__list { border-top: 1px solid var(--line); }
.booker__empty { padding: 16px 0 5px; color: var(--muted); }
.booker__mine { margin-top: 13px; font-size: 13px; color: var(--blue); font-weight: 650; }
.slot {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 13px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.slot__time { align-self: start; font: 700 23px/1.3 var(--condensed); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slot__main h3 { font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.slot__main p, .slot__cap, .slot__state { color: var(--muted); font-size: 12px; }
.slot__cap { grid-column: 2; }
.slot__act { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.slot__act .btn { min-height: 44px; }
.slot--mine .slot__state { color: var(--blue); font-weight: 750; }

.cab { display: grid; align-items: center; gap: 26px; background: var(--blue); color: var(--paper); padding: clamp(24px, 5vw, 68px); }
.cab__body { display: grid; justify-items: start; gap: 13px; }
.cab__body p { max-width: 40ch; color: var(--inverted-text); }
.cab__body h2 { text-wrap: wrap; }
.cab__features { display: grid; border-top: 1px solid var(--inverted-line); }
.cab__features button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
  min-height: 49px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--inverted-line);
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  font-weight: 650;
}
.cab__features button:hover { color: var(--yellow); }
.sec--contacts { padding-top: 0; }
.contacts { display: grid; gap: 12px; }
.contact, .trial { border: 1px solid var(--line); background: var(--paper); padding: clamp(16px, 3vw, 34px); }
.contact__details { margin-top: 16px; }
.contact__details .hall__address { font-size: 17px; }
.contact__details .hall__hours { margin-top: 4px; font-size: 14px; }
.contact__details .hall__tel { width: max-content; margin-top: 3px; padding-right: 7px; border: 0; font-size: 15px; }
.trial { display: grid; justify-items: start; align-content: start; gap: 10px; }
.trial > p { color: var(--muted); font-size: 14px; }
.trial__fields { display: grid; gap: 9px; width: 100%; }
.trial .trial__error { color: var(--red-hover); }
.trial [role="status"] { color: var(--blue); }
.foot { background: var(--hero-bg); color: var(--paper); }
.foot__inner { display: grid; gap: 15px 20px; padding-block: 24px; }
.foot .wordmark { justify-self: start; color: var(--paper); }
.foot .wordmark span { color: var(--yellow); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.foot nav a { display: flex; min-height: 44px; align-items: center; text-decoration: none; font-size: 13px; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot p { border-top: 1px solid var(--inverted-line); padding-top: 14px; color: var(--inverted-text); font-size: 12px; }
.foot p span { display: inline-block; font-weight: 700; }

dialog { color: var(--fg); background: var(--paper); border: 1px solid var(--line); }
dialog::backdrop { background: var(--hero-ink); }
.drawer, .modal { width: min(100% - 24px, 525px); max-height: calc(100% - 24px); padding: clamp(12px, 4vw, 26px); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dialog__head h2 { font-size: clamp(17px, 5.5vw, 31px); }
.close { flex: none; position: relative; }
.close::before, .close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 17px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dialog__note { margin: 7px 0 10px; color: var(--muted); font-size: 13px; }
.phone__app { display: block; width: 100%; height: clamp(250px, calc(100dvh - 220px), 655px); background: var(--surface); border: 1px solid var(--line); }
.drawer__links, .book__btns { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.modal__x { margin-left: auto; }
.book { display: grid; gap: 11px; }
.book h3 { font: 400 clamp(19px, 4vw, 30px)/1.2 var(--display); letter-spacing: -.04em; }
.book dl { border-top: 1px solid var(--line); }
.book dl div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.book dt, .book__note { color: var(--muted); }
.book__note { font-size: 13px; }
.toast {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  right: 16px;
  max-width: calc(100% - 32px);
  padding: 11px 14px;
  background: var(--blue);
  color: var(--paper);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.toast.is-on { opacity: 1; }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 819px) {
  .js .hdr__burger { display: grid; }
  .hdr__inner { flex-wrap: wrap; }
  .hdr__nav { order: 4; width: 100%; }
  .js .hdr__nav { display: none; }
  .js .hdr__nav.is-open {
    display: grid;
    gap: 0;
    padding-bottom: 13px;
    border-top: 1px solid var(--line);
  }
  .hdr__nav a { padding: 0 2px; }
}
@media (min-width: 480px) {
  .hero__body { padding-inline: 30px; }
  .hero__strip { padding-inline: 30px; }
  .hero__strip p:last-child { display: block; }
  .hall { padding: 19px 19px 9px; }
  .hall__address { font-size: 15px; }
  .hall__tel { font-size: 14px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booker { padding: 22px; }
  .booker__toolbar, .trial__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booker__days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .slot { grid-template-columns: 70px minmax(0, 1fr) minmax(105px, max-content); }
  .slot__act { grid-column: 3; grid-row: 1 / span 2; justify-content: end; }
}
@media (min-width: 820px) {
  .hdr__inner { min-height: 76px; gap: 20px; }
  .hdr__nav { margin-left: auto; gap: clamp(16px, 2.4vw, 32px); }
  .hdr__cab { margin-left: 0; padding-inline: 20px; }
  .hero { margin-top: 24px; }
  .hero__billboard { align-items: center; min-height: clamp(520px, 43vw, 660px); }
  .hero__photo { inset: 0 0 0 auto; width: 75%; height: 100%; object-position: center; mask-image: linear-gradient(to right, transparent, var(--hero-bg) 27%); }
  .hero__billboard::after { background: linear-gradient(90deg, var(--hero-bg) 5%, var(--hero-ink) 24%, var(--hero-ink) 37%, var(--hero-dim) 70%); }
  .hero__body { gap: 22px; padding: 48px clamp(36px, 4.3vw, 70px); }
  .hero__location { font-size: 13px; }
  .hero h1 { font-size: clamp(52px, 5.65vw, 96px); }
  .hero__strip { min-height: 53px; padding-inline: clamp(36px, 4.3vw, 70px); }
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(235px, 29%); margin-bottom: 30px; }
  .halls { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .hall { min-height: 179px; }
  .training { grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
  .training__figure img { height: 100%; aspect-ratio: 8 / 5; }
  .training__list { grid-template-rows: repeat(4, 1fr); }
  .training__list li { padding-inline: 3px; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .plan { padding: 24px; min-height: 185px; }
  .plan--highlight { padding-top: 21px; }
  .booker { padding: 28px; }
  .slot { grid-template-columns: 84px minmax(0, 1fr) minmax(96px, .35fr) minmax(135px, max-content); gap: 16px; padding: 12px 0; }
  .slot__time { align-self: center; }
  .slot__cap, .slot__act { grid-area: auto; }
  .cab { grid-template-columns: 1fr minmax(221px, .4fr); gap: clamp(24px, 7vw, 110px); }
  .contacts { grid-template-columns: 1fr 1.3fr; }
  .foot__inner { grid-template-columns: 1fr auto; padding-block: 30px; }
  .foot p { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
