* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #0a0a0a;
    color: #e8e4dc;
    font-family: Inter, system-ui, sans-serif;
}

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

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

button,
input,
textarea {
    font: inherit;
}

/* Layout */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #2a2520;
}

.site-header__inner,
.site-footer__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.site-logo__name {
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8a020;
}

.site-logo--footer .site-logo__name {
    font-size: 18px;
    letter-spacing: 1px;
    color: #ff9f0a;
}

.site-logo__tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 16px;
    color: #6b6560;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "JetBrains Mono", monospace;
    white-space: nowrap;
}

.site-nav__num {
    font-size: 12px;
    color: #6b6560;
}

.site-nav__label {
    font-size: 14px;
    color: #9a9490;
}

.site-nav__item:hover .site-nav__label,
.site-nav__item.is-active .site-nav__label {
    color: #e8a020;
}

.site-nav__dot {
    width: 4px;
    height: 4px;
    border-radius: 99px;
    background: #e8a020;
}

.site-nav-toggle {
    display: none;
    border: 1px solid #27272a;
    background: transparent;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.site-content {
    padding: 40px 0 80px;
    min-height: calc(100vh - 64px - 319px);
}

.site-footer {
    background: #111;
    border-top: 1px solid #2a2520;
    padding: 80px 0 40px;
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.site-footer__brand {
    max-width: 400px;
}

.site-footer__lead {
    margin: 24px 0 0;
    color: #9a9490;
    line-height: 22px;
}

.site-footer__cols {
    display: flex;
    gap: 80px;
}

.site-footer__heading {
    margin: 0 0 16px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.site-footer__cols p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #a1a1aa;
}

.site-footer__cols a {
    font-size: 14px;
    color: #a1a1aa;
}

.site-footer__social {
    color: #ff9f0a !important;
}

.site-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #27272a;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #52525b;
}

.site-footer__legal p {
    margin: 0;
}

/* Hall page */

.hall-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hall-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 48px;
    align-items: start;
}

.hall-main {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hall-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hall-gallery__hero {
    height: 500px;
    overflow: hidden;
    border: 1px solid #2a2520;
    background: #111;
}

.hall-gallery__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hall-gallery__thumb {
    height: 120px;
    overflow: hidden;
    border: 1px solid #2a2520;
    padding: 0;
    background: #111;
    cursor: pointer;
}

.hall-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-gallery__thumb.is-active {
    border-color: #e8a020;
}

.hall-title {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    color: #e8e4dc;
}

.hall-title__accent {
    color: #e8a020;
}

.hall-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 16px;
}

.hall-stats__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "JetBrains Mono", monospace;
}

.hall-stats__label {
    font-size: 12px;
    color: #6b6560;
}

.hall-stats__value {
    font-size: 18px;
    color: #e8e4dc;
}

.hall-stats__value.is-gold {
    color: #e8a020;
}

.hall-stats__divider {
    width: 1px;
    height: 32px;
    background: #2a2520;
}

.hall-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hall-info__rule {
    height: 1px;
    background: #2a2520;
}

.hall-kicker {
    margin: 0 0 16px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    color: #6b6560;
    text-transform: uppercase;
}

.hall-about {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: #9a9490;
}

.hall-acoustic {
    background: #111;
    border: 1px solid #2a2520;
    padding: 20px;
}

.hall-acoustic__title {
    margin: 0 0 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #e8a020;
}

.hall-acoustic p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: #e8e4dc;
}

.hall-equip__title,
.hall-rules__title {
    margin: 0 0 24px;
    font-family: "JetBrains Mono", monospace;
    font-size: 18px;
    color: #e8e4dc;
}

.hall-equip__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hall-equip__card,
.hall-rule {
    background: #111;
    border: 1px solid #2a2520;
    padding: 24px;
}

.hall-equip__card h3,
.hall-rule h3 {
    margin: 0 0 16px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 400;
    color: #6b6560;
    text-transform: uppercase;
}

.hall-equip__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hall-equip__card li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #e8e4dc;
}

.hall-equip__card li img {
    flex: 0 0 14px;
}

.hall-rules {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hall-rule p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    color: #9a9490;
}

.hall-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.hall-crumbs a:hover {
    color: #e8a020;
}

.hall-alert {
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid #e8a020;
    color: #ffb3b3;
    font-size: 14px;
}

.hall-alert--ok {
    border-color: #3d9a4a;
    color: #b8f0c0;
}

/* Booking widgets */

.hall-aside {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.book-card {
    background: #111;
    border: 1px solid #2a2520;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.book-card__title {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 400;
    font-size: 20px;
    color: #e8e4dc;
}

.book-card__hours {
    font-size: 36px;
    color: #e8a020;
}

.book-card__month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 16px;
}

.book-card__nav {
    display: flex;
    gap: 12px;
}

.book-card__nav a,
.book-card__nav span {
    display: flex;
    padding: 6px;
    border: 1px solid #2a2520;
    border-radius: 4px;
}

.book-card__nav img {
    width: 14px;
    height: 14px;
}

.book-card__nav span {
    opacity: 0.35;
}

.book-week {
    display: flex;
    gap: 8px;
}

.book-week__day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 0;
    border: 1px solid #3d352e;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: "JetBrains Mono", monospace;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
}

.book-day {
    display: none;
}

.book-day.is-active {
    display: block;
}

.book-week__wd {
    font-size: 11px;
    color: #6b6560;
}

.book-week__num {
    font-size: 16px;
    font-weight: 700;
    color: #e8e4dc;
}

.book-week__day.is-active {
    background: rgba(232, 160, 32, 0.1);
    border-color: #e8a020;
}

.book-week__day.is-active .book-week__wd,
.book-week__day.is-active .book-week__num {
    color: #e8a020;
}

.book-week__day.is-empty {
    opacity: 0.4;
    background: #0a0a0a;
    border-color: #2a2520;
}

.book-card__divider {
    height: 1px;
    background: #2a2520;
}

.book-slots__label {
    margin: 0 0 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 17px;
    color: #6b6560;
    text-transform: uppercase;
}

.book-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.book-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    border: 1px solid #3d352e;
    background: #111;
    color: #e8e4dc;
    cursor: pointer;
    text-align: left;
}

.book-slot__time {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
}

.book-slot__dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #e8a020;
}

.book-slot__price {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 14px;
}

.book-slot.is-selected {
    background: #e8a020;
    border-color: #e8a020;
    color: #000;
}

.book-slot:hover .book-slot__dot,
.book-slot.is-selected .book-slot__dot {
    background: #000;
}

.book-slot--busy {
    opacity: 0.35;
    cursor: default;
    border-color: #2a2520;
}

.book-slot--busy:hover {
    background: #111;
    border-color: #2a2520;
    color: #e8e4dc;
}

.book-slot--busy .book-slot__dot {
    background: #6b6560;
}

.book-slot--busy .book-slot__time,
.book-slot--busy .book-slot__price {
    color: #6b6560;
}

.book-slot--call {
    align-items: flex-start;
    opacity: 0.55;
}

.book-slot--call .book-slot__price {
    max-width: 52%;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
}

.book-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.book-total__label {
    font-size: 14px;
    color: #9a9490;
}

.book-total__value {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 22px;
    color: #e8a020;
}

.book-submit {
    width: 100%;
    padding: 16px;
    border: 0;
    background: #e8a020;
    color: #0a0a0a;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

.book-submit:disabled {
    opacity: 0.45;
    cursor: default;
}

.book-note {
    margin: 0;
    font-size: 12px;
    color: #6b6560;
    text-align: center;
}

.book-tz {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.book-tz a,
.book-tz span {
    padding: 4px 8px;
    border: 1px solid #2a2520;
    color: #9a9490;
}

.book-tz .is-active {
    border-color: #e8a020;
    color: #e8a020;
}

.book-form {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.book-form.is-open {
    display: flex;
}

.book-form label {
    display: block;
    margin-bottom: 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.book-form input,
.book-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #3d352e;
    background: #0a0a0a;
    color: #e8e4dc;
}

.book-form .help-block,
.book-form .invalid-feedback {
    margin-top: 6px;
    color: #ff6b6b;
    font-size: 12px;
}

.book-form .form-group {
    margin: 0;
}

.book-form .has-error input,
.book-form .has-error textarea {
    border-color: #ff6b6b;
}

.site-content:has(.rehearsal-page) {
    padding-top: 0;
}

.rehearsal-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.rehearsal-hero__bg {
    position: absolute;
    inset: 0;
    width: 90%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;

}

.rehearsal-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.65) 50%, rgba(10, 10, 10, 0) 100%);
}

.rehearsal-hero__inner,
.rehearsal-body {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.rehearsal-hero__inner {
    padding-top: 24px;
    padding-bottom: 64px;
}

.rehearsal-kicker {
    display: inline-block;
    margin: 0;
    padding: 3px 9px;
    border: 1px solid #2a2520;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.rehearsal-hero__title {
    margin: 16px 0 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: 72px;
    line-height: 0.95;
    letter-spacing: -1.8px;
}

.rehearsal-hero__title span {
    color: #e8a020;
}

.rehearsal-hero__text {
    max-width: 900px;
    margin-top: 24px;
    color: #9a9490;
    font-size: 16px;
    line-height: 24px;
}

.rehearsal-hero__text p {
    margin: 0 0 16px;
}

.rehearsal-hero__text ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.rehearsal-hero__text li {
    margin-bottom: 8px;
}

.rehearsal-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 32px 0 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 19px;
    color: #6b6560;
}

.rehearsal-hero__sep {
    color: #2a2520;
}

.rehearsal-body {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 80px;
    padding-bottom: 40px;
}

.rehearsal-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rehearsal-section__head {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.rehearsal-section__head i {
    flex: 1;
    height: 1px;
    background: #2a2520;
}

.rehearsal-section__head b {
    font-weight: 400;
    padding: 3px 9px;
    border: 1px solid #2a2520;
}

.rehearsal-tabs {
    display: flex;
    border-bottom: 1px solid #2a2520;
}

.rehearsal-tabs__item {
    padding: 12px 24px 14px;
    font-family: "JetBrains Mono", monospace;
    font-size: 20px;
    color: #6b6560;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.rehearsal-tabs__item.is-active {
    color: #e8a020;
    border-bottom-color: #e8a020;
}

.rehearsal-hall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.rehearsal-hall__photo {
    background: #111;
    height: 395px;
    overflow: hidden;
}

.rehearsal-hall__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rehearsal-hall__acoustic {
    margin-top: 24px;
    padding: 25px;
    border: 1px solid #2a2520;
}

.rehearsal-hall__acoustic p:first-child {
    margin: 0 0 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.rehearsal-hall__acoustic p:last-child {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: #e8e4dc;
}

.rehearsal-hall__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 24px;
    background: #2a2520;
}

.rehearsal-hall__stats > div {
    background: #0a0a0a;
    padding: 16px;
}

.rehearsal-hall__stats span {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.rehearsal-hall__stats strong {
    display: block;
    margin-top: 4px;
    font-weight: 400;
    font-size: 14px;
    color: #e8e4dc;
}

.rehearsal-rider {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #2a2520;
}

.rehearsal-rider__group {
    background: #0a0a0a;
    padding: 24px;
}

.rehearsal-rider__group > p {
    margin: 0 0 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
}

.rehearsal-rider__group ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rehearsal-rider__group li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #e8e4dc;
}

.rehearsal-book #booking-form {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.book-sessions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.rehearsal-book #booking-fields {
    width: 100%;
}

.rehearsal-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #2a2520;
}

.rehearsal-feats article {
    background: #0a0a0a;
    min-height: 235px;
    padding: 32px;
}

.rehearsal-feats span {
    display: block;
    color: #e8a020;
    font-size: 24px;
    line-height: 32px;
}

.rehearsal-feats h3 {
    margin: 16px 0 8px;
    font-size: 16px;
    font-weight: 400;
    color: #e8e4dc;
}

.rehearsal-feats p {
    margin: 0;
    font-size: 14px;
    line-height: 23px;
    color: #6b6560;
}

.rehearsal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 41px;
    border: 1px solid #2a2520;
}

.rehearsal-cta__title {
    margin: 0;
    font-size: 18px;
    color: #e8e4dc;
}

.rehearsal-cta__note {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6b6560;
}

.rehearsal-cta__actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.rehearsal-cta__actions a {
    padding: 13px 25px;
    border: 1px solid #2a2520;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    color: #9a9490;
}

.rehearsal-cta__vk {
    background: #e8a020;
    border-color: #e8a020 !important;
    color: #0a0a0a !important;
}

.rehearsal-empty {
    color: #9a9490;
}

.booking-index,
.booking-success {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.booking-index h1,
.booking-success h1 {
    margin: 0 0 12px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: 48px;
}

.booking-index p,
.booking-success p {
    color: #9a9490;
    line-height: 1.6;
}

.booking-halls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.booking-halls__card {
    display: block;
    background: #111;
    border: 1px solid #2a2520;
    overflow: hidden;
}

.booking-halls__card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.booking-halls__body {
    padding: 24px;
}

.booking-halls__name {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 22px;
    color: #e8e4dc;
}

.booking-halls__meta {
    display: block;
    margin-top: 8px;
    color: #6b6560;
    font-size: 14px;
}

.booking-halls__card:hover {
    border-color: #e8a020;
}

.page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    color: #9a9490;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .hall-split {
        grid-template-columns: 1fr;
    }

    .hall-aside {
        position: static;
        gap: 24px;
    }

    .site-footer__top {
        flex-direction: column;
    }

    .site-footer__cols {
        gap: 32px;
        flex-wrap: wrap;
    }

    .rehearsal-hall,
    .book-sessions,
    .rehearsal-feats {
        grid-template-columns: 1fr;
    }

    .rehearsal-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .rehearsal-hero__title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .site-logo__tag {
        display: none;
    }

    .site-nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #0a0a0a;
        border-bottom: 1px solid #2a2520;
        padding: 8px 16px 16px;
    }

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

    .site-nav__item {
        padding: 12px 0;
        border-bottom: 1px solid #2a2520;
    }

    .site-content {
        padding: 0 0 40px;
    }

    .hall-page {
        padding: 0;
    }

    .hall-gallery,
    .hall-gallery__thumbs,
    .hall-crumbs {
        display: none;
    }

    .hall-title {
        font-size: 32px;
        line-height: 34px;
        padding: 16px;
    }

    .hall-stats,
    .hall-info,
    .hall-equip,
    .hall-rules {
        padding: 0 16px;
    }

    .hall-equip__grid {
        grid-template-columns: 1fr;
    }

    .book-card {
        margin: 0 16px;
        padding: 20px;
        border-radius: 8px;
    }

    .book-card__hours {
        font-size: 22px;
    }

    .book-week {
        overflow-x: auto;
    }

    .booking-halls {
        grid-template-columns: 1fr;
    }

    .booking-index h1,
    .booking-success h1 {
        font-size: 32px;
    }

    .rehearsal-hero__title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .rehearsal-hall,
    .book-sessions,
    .rehearsal-feats,
    .rehearsal-cta,
    .rehearsal-hall__stats {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .rehearsal-cta {
        align-items: flex-start;
    }

    .rehearsal-cta__actions {
        flex-wrap: wrap;
    }

    .rehearsal-tabs__item {
        font-size: 25px;
        padding: 12px 16px;
    }

    .rehearsal-hall__photo {
        height: 240px;
    }

    .rehearsal-body {
        gap: 48px;
        padding-top: 48px;
    }

    .site-footer {
        padding: 40px 0 24px;
        background: #121212;
    }

    .site-footer__legal {
        flex-direction: column;
        margin-top: 32px;
    }

    .site-footer__cols {
        flex-direction: column;
        gap: 24px;
    }
}

.site-content:has(.home-page),
.site-content:has(.cms-page) {
    padding-top: 0;
}

.cms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    appearance: none;
}

.cms-btn--gold {
    background: #ff9f0a;
    color: #0a0a0a;
}

.cms-btn--dark {
    background: #1a1a1a;
    color: #fff;
}

.cms-btn--outline {
    width: 100%;
    border-color: #ff9f0a;
    background: transparent;
    color: #fff;
}

.cms-btn--sm {
    padding: 10px 18px;
    font-size: 12px;
}

.cms-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
}

.cms-head span,
.cms-head b {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
}

.cms-head span {
    color: #52525b;
}

.cms-head i {
    flex: 1;
    height: 1px;
    background: #27272a;
}

.cms-head b {
    padding: 2px 8px;
    border: 1px solid #27272a;
    font-weight: 400;
    font-size: 12px;
    color: #a1a1aa;
    text-transform: uppercase;
}

.cms-block {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.cms-body {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.cms-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.cms-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.cms-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.7) 55%, rgba(10, 10, 10, 0.15) 100%);
}

.cms-hero__inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.cms-hero__title {
    margin: 16px 0 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.cms-hero__title span {
    color: #e8a020;
}

.cms-hero__text {
    max-width: 512px;
    margin-top: 24px;
    color: #9a9490;
    font-size: 16px;
    line-height: 24px;
}

.cms-hero__text--wide {
    max-width: 900px;
}

.home-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.home-hero__inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px;
}

.home-hero__kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 14px;
    color: #ff9f0a;
    text-transform: uppercase;
}

.home-hero__kicker span {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #ff9f0a;
}

.home-hero__title {
    max-width: 960px;
    margin: 32px 0 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    font-size: 64px;
    line-height: 1.1;
    color: #fff;
}

.home-hero__title span {
    color: #ff9f0a;
}

.home-hero__lead {
    max-width: 957px;
    margin: 32px 0 0;
    color: #a1a1aa;
    font-size: 18px;
    line-height: 1.5;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.home-body {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.home-about {
    display: grid;
    grid-template-columns: minmax(0, 515px) minmax(0, 1fr);
    gap: 32px;
}

.home-about h2 {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-about h2 span {
    color: #ff9f0a;
}

.home-about p {
    margin: 0 0 24px;
    color: #a1a1aa;
    font-size: 16px;
    line-height: 1.6;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #27272a;
}

.home-stats article {
    background: #121212;
    min-height: 126px;
    padding: 32px 20px;
}

.home-stats strong {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-size: 20px;
    color: #ff9f0a;
    text-transform: uppercase;
}

.home-stats span {
    display: block;
    margin-top: 8px;
    color: #a1a1aa;
    font-size: 12px;
}

.home-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.home-services article {
    overflow: hidden;
    background: #121212;
    border: 1px solid #27272a;
    border-radius: 6px;
}

.home-services__photo {
    height: 360px;
    overflow: hidden;
}

.home-services__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-services__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}

.home-services h3 {
    margin: 0 0 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 20px;
}

.home-services p {
    margin: 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.5;
}

.studio-strip {
    border-bottom: 1px solid #2a2520;
}

.studio-strip__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.studio-strip article {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.studio-strip strong,
.studio-strip span {
    display: block;
}

.studio-strip strong {
    font-size: 14px;
}

.studio-strip span {
    margin-top: 4px;
    color: #6b6560;
    font-size: 12px;
}

.studio-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.studio-prices article {
    padding: 24px;
    border: 1px solid #2a2520;
    background: #111;
}

.studio-prices header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.studio-prices h3 {
    margin: 0;
    font-size: 18px;
}

.studio-prices header span {
    color: #e8a020;
    font-family: "JetBrains Mono", monospace;
    white-space: nowrap;
}

.studio-prices p {
    margin: 16px 0 0;
    color: #9a9490;
    line-height: 1.5;
}

.studio-gear {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.studio-gear__list article {
    padding: 20px;
    border: 1px solid #2a2520;
    border-bottom: 0;
}

.studio-gear__list article:last-child {
    border-bottom: 1px solid #2a2520;
}

.studio-gear__list h3 {
    margin: 0;
    font-size: 14px;
    color: #9a9490;
}

.studio-gear__list p {
    margin: 8px 0 0;
    font-size: 16px;
}

.studio-gear__gallery img:first-child {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.studio-gear__gallery div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.studio-gear__gallery div img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

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

.studio-works img {
    width: 100%;
    height: 333px;
    object-fit: cover;
}

.studio-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.studio-steps article {
    padding: 24px;
    border: 1px solid #2a2520;
    background: #111;
}

.studio-steps span {
    font-family: "JetBrains Mono", monospace;
    font-size: 32px;
    color: #e8a020;
}

.studio-steps h3 {
    margin: 16px 0 8px;
}

.studio-steps p {
    margin: 0;
    color: #9a9490;
    font-size: 14px;
    line-height: 1.5;
}

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

.rehearsal-hero__meta-link {
    color: inherit;
}

.rehearsal-hero__meta-link:hover,
.rehearsal-hero__meta-link.is-active {
    color: #e8a020;
}

.rental-grid article {
    overflow: hidden;
    border: 1px solid #2a2520;
    background: #121212;
}

.rental-grid__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #111;
}

.rental-grid__photo--portrait {
    aspect-ratio: 3 / 4;
}

.rental-grid__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rental-grid__body {
    padding: 24px;
}

.rental-grid h3 {
    margin: 0;
    font-size: 18px;
}

.rental-grid p {
    margin: 8px 0 0;
    min-height: 36px;
    color: #9a9490;
    font-size: 14px;
    line-height: 1.4;
}

.rental-grid__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.rental-grid__foot strong {
    display: block;
    font-size: 20px;
    color: #ff9f0a;
}

.rental-grid__foot span {
    font-size: 12px;
    color: #6b6560;
}

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

.rental-benefits article {
    padding: 24px;
    border: 1px solid #2a2520;
    background: #111;
}

.rental-benefits h3 {
    margin: 16px 0 8px;
}

.rental-benefits p {
    margin: 0;
    color: #9a9490;
    font-size: 14px;
    line-height: 1.5;
}

.contacts-hero {
    width: 100%;
    max-width: 1280px;
    margin: 40px auto 0;
    padding: 0 24px;
}

.contacts-hero img {
    width: 100%;
    height: 474px;
    object-fit: cover;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contacts-grid article {
    padding: 24px;
    border: 1px solid #2a2520;
    background: #111;
}

.contacts-grid span {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
    text-transform: uppercase;
}

.contacts-grid h2 {
    margin: 8px 0 0;
    font-size: 22px;
}

.contacts-grid p {
    margin: 8px 0 0;
    color: #9a9490;
}

.contacts-grid a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #ff9f0a;
}

.contacts-map__title {
    margin: 0;
    font-size: 22px;
}

.contacts-map img {
    width: 100%;
    height: 710px;
    object-fit: cover;
    margin-top: 16px;
}

.contacts-guide {
    padding: 40px;
    border: 1px solid #2a2520;
    background: #121212;
}

.contacts-guide h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 32px;
    font-size: 22px;
}

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

.contacts-guide span {
    font-family: "JetBrains Mono", monospace;
    color: #e8a020;
}

.contacts-guide p {
    margin: 12px 0 0;
    color: #9a9490;
    line-height: 1.5;
}

.events-formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.events-formats article {
    overflow: hidden;
    border: 1px solid #2a2520;
    background: #121212;
}

.events-formats img {
    width: 100%;
    height: 313px;
    object-fit: cover;
}

.events-formats div {
    padding: 24px;
}

.events-formats header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.events-formats h3 {
    margin: 0;
}

.events-formats header span {
    padding: 2px 8px;
    border: 1px solid #2a2520;
    font-size: 12px;
    color: #a1a1aa;
}

.events-formats p {
    margin: 12px 0 0;
    color: #9a9490;
    line-height: 1.5;
}

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

.events-why article {
    padding: 32px 24px;
    background: #121212;
    border: 1px solid #2a2520;
}

.events-why h3 {
    margin: 0 0 8px;
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
}

.events-why p {
    margin: 0;
    color: #9a9490;
    line-height: 1.5;
}

.events-rates {
    display: grid;
    grid-template-columns: 583px minmax(0, 1fr);
    gap: 32px;
}

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

.events-rates__cards article {
    padding: 32px;
    border: 1px solid #2a2520;
    background: #111;
}

.events-rates__cards h3 {
    margin: 0;
}

.events-rates__price {
    margin: 8px 0 24px;
    font-family: "JetBrains Mono", monospace;
    font-size: 36px;
    color: #ff9f0a;
}

.events-rates__price span {
    font-size: 14px;
    color: #9a9490;
}

.events-rates ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.events-rates li {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    color: #c4c0b8;
}

.events-rates aside {
    padding: 40px;
    background: #121212;
    border: 1px solid #2a2520;
}

.events-rates aside h3 {
    margin: 0 0 24px;
}

.events-rates dt {
    color: #e8e4dc;
}

.events-rates dd {
    margin: 4px 0 16px;
    color: #9a9490;
}

.events-rates aside > p {
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid #27272a;
    color: #6b6560;
    font-size: 14px;
}

.events-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.events-form h2 {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
}

.events-form p {
    margin: 24px 0;
    color: #9a9490;
    line-height: 1.6;
}

.events-form a {
    font-size: 20px;
    color: #ff9f0a;
}

.events-form .form-group {
    margin: 0 0 16px;
}

.events-form label {
    display: block;
    margin-bottom: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
    text-transform: uppercase;
}

.events-form input,
.events-form select {
    width: 100%;
    height: 45px;
    padding: 0 14px;
    border: 1px solid #2a2520;
    background: #0a0a0a;
    color: #e8e4dc;
}

.events-form button {
    width: 100%;
}

.events-form__note {
    margin: 16px 0 0 !important;
    font-size: 12px !important;
}

.events-form__ok {
    color: #ff9f0a !important;
}

@media (max-width: 1100px) {
    .home-about,
    .home-services,
    .studio-prices,
    .studio-gear,
    .studio-strip__inner,
    .rental-grid,
    .rental-benefits,
    .contacts-grid,
    .events-formats,
    .events-why,
    .events-rates,
    .events-form,
    .contacts-guide__steps {
        grid-template-columns: 1fr;
    }

    .home-stats,
    .studio-works,
    .studio-steps {
        grid-template-columns: 1fr 1fr;
    }

    .home-hero__title,
    .cms-hero__title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .home-stats,
    .studio-works,
    .studio-steps {
        grid-template-columns: 1fr;
    }

    .home-hero__title {
        font-size: 32px;
    }

    .rental-dialog #rental-equipment-list {
        grid-template-columns: 1fr;
    }

    .cms-hero__title {
        font-size: 36px;
    }

    .contacts-hero img,
    .contacts-map img,
    .home-services__photo,
    .studio-works img,
    .events-formats img {
        height: 220px;
    }

    .cms-body,
    .home-body {
        padding: 48px 16px;
        gap: 48px;
    }
}

.rental-request__ok {
    margin: 0 0 24px;
    color: #e8a020;
}

.rental-dialog {
    width: calc(100% - 32px);
    max-width: 760px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 0;
    border: 0;
    background: transparent;
    color: #e8e4dc;
    overflow: hidden;
}

.rental-dialog[open] {
    display: flex;
    flex-direction: column;
}

.rental-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.rental-dialog__card {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: env(safe-area-inset-bottom);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rental-dialog__card::-webkit-scrollbar {
    display: none;
}

.rental-dialog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rental-dialog__head .book-card__title {
    text-transform: uppercase;
}

.rental-dialog__close {
    margin: -8px -8px 0 0;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: #6b6560;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.rental-dialog .book-form {
    display: flex;
}

.rental-dialog #rental-equipment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rental-dialog #rental-equipment-list .book-slot {
    position: relative;
    width: auto;
    min-width: 0;
}

.rental-dialog .book-form label:not(.book-slot) {
    display: block;
    margin-bottom: 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #6b6560;
    text-transform: none;
}

.rental-dialog .book-slot__time {
    flex: 1;
    white-space: normal;
    line-height: 1.3;
}

.rental-pick__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rental-dialog .book-form input:not([type="checkbox"]),
.rental-dialog .book-form textarea {
    width: 100%;
    height: auto;
    padding: 10px 12px;
    border: 1px solid #3d352e;
    background: #0a0a0a;
    color: #e8e4dc;
}

.rental-dialog .book-form textarea {
    min-height: 90px;
    resize: vertical;
}

.rental-dialog .hint-block {
    margin-top: 6px;
    color: #6b6560;
    font-size: 12px;
}
