:root {
  --ink: #141414;
  --muted: #6a6a6a;
  --faint: #8a8a8a;
  --paper: #ffffff;
  --wash: #f4f2ee;
  --canvas: #e9e7e2;
  --max: 1280px;
  --pad: 48px;
  --font-display: "Quicksand", "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-script: "Marck Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  background: var(--paper);
  overflow: hidden;
}

.header, .nav-mobile, main > section:not(.hero), .footer {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 48px 30px;
  gap: 24px;
}
.brand {
  text-decoration: none;
  line-height: 0.9;
  color: #141414;
  width: 184px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.brand-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 35px;
  line-height: 1;
  text-align: center;
  margin-top: -2px;
  color: #141414;
}
.brand-city {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-top: 9px;
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
.nav a:hover,
.nav a:focus-visible { border-bottom-color: #141414; }
.ig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #141414;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.nav-mobile {
  display: none;
  padding: 8px 48px 28px;
  border-bottom: 1.5px solid var(--ink);
}
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20,20,20,.12);
}
body.menu-open .nav-mobile { display: block !important; }

.hero {
  --hero-slide-width: min(1040px, 78vw);
  position: relative;
  width: 100%;
  height: calc(var(--hero-slide-width) * 9 / 16);
  overflow: hidden;
  background: var(--wash);
}
.hero-track {
  display: flex;
  gap: 18px;
  height: 100%;
  will-change: transform;
}
.hero-slide {
  flex: 0 0 var(--hero-slide-width);
  aspect-ratio: 16 / 9;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.hero-btn.prev { left: 26px; }
.hero-btn.next { right: 26px; }
.hero-btn:hover { background: #fff; }

.intro {
  text-align: center;
  padding: 64px 40px 56px;
}
.intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.intro p {
  margin: 22px auto 0;
  max-width: 540px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.section {
  padding: 20px 48px 72px;
}
.section h2,
.equip h2,
.book h2,
.about-copy h2,
.contacts-copy h2 {
  text-align: center;
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.halls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hall-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .45s ease;
}
.hall-card:hover { transform: translateY(-8px); }
.hall-photo {
  overflow: hidden;
  position: relative;
  height: 460px;
  background: var(--wash);
}
.hall-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,0,.1,1);
}
.hall-card:hover img { transform: scale(1.07); }
.hall-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1.5px solid #141414;
  padding-top: 10px;
}
.hall-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}
.hall-tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
}

.equip {
  padding: 56px 48px 72px;
  background: var(--wash);
}
.equip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.equip-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.equip-photo {
  overflow: hidden;
  height: 260px;
  background: #e8e4dc;
}
.equip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,0,.1,1);
}
.equip-card:hover img { transform: scale(1.06); }
.equip-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}
.equip-note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.book {
  text-align: center;
  padding: 80px 48px;
}
.book h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.book p {
  margin: 18px auto 30px;
  max-width: 460px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.btn {
  display: inline-block;
  background: #141414;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 20px 52px;
  text-decoration: none;
}
.btn:hover { background: #000; }
.btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid #141414;
}
.about-photo {
  min-height: 520px;
  background: var(--wash);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}
.about-copy {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy h2 { text-align: left; margin: 0 0 22px; }
.about-copy p {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
}
.about-copy p:last-child { margin: 0; }

.contacts {
  padding: 64px 48px;
  border-top: 1.5px solid #141414;
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: stretch;
}
.contacts-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}
.contacts-copy h2 {
  text-align: left;
  margin: 0 0 8px;
}
.label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}
.value a { text-decoration: none; border-bottom: 1px solid transparent; }
.value a:hover { border-bottom-color: var(--ink); }
.map {
  min-height: 360px;
  background: var(--wash);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.footer {
  background: #141414;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.footer-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: #9a9a9a;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .header { padding: 28px 28px 24px; }
  .brand { width: auto; }
  .brand-name { font-size: 42px; }
  .nav { gap: 18px; }
  .nav a { font-size: 13px; letter-spacing: 0.1em; }
  .intro h1 { font-size: 46px; }
  .hall-photo { height: 340px; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .about-copy { padding: 40px 32px; }
  .section, .equip, .book, .contacts { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 760px) {
  body { background: var(--paper); }
  .header { padding: 22px 20px; }
  .nav { display: none; }
  .burger { display: block; }
  .nav-mobile { padding-left: 20px; padding-right: 20px; }
  .brand-name { font-size: 34px; }
  .brand-script { font-size: 28px; }
  .hero { --hero-slide-width: 100vw; }
  .hero-track { gap: 0; }
  .hero-btn { width: 44px; height: 44px; }
  .hero-btn.prev { left: 12px; }
  .hero-btn.next { right: 12px; }
  .intro { padding: 40px 20px 32px; }
  .intro h1 { font-size: 32px; }
  .section, .equip, .book, .contacts { padding-left: 20px; padding-right: 20px; }
  .section h2, .equip h2, .about-copy h2, .contacts-copy h2 {
    font-size: 32px;
    margin-bottom: 28px;
  }
  .book h2 { font-size: 34px; }
  .halls-grid, .equip-grid, .about, .contacts-grid {
    grid-template-columns: 1fr;
  }
  .hall-photo { height: 280px; }
  .hall-meta { flex-direction: column; gap: 6px; }
  .hall-tag { text-align: left; }
  .about-photo, .about-photo img { min-height: 320px; }
  .btn { padding: 18px 28px; font-size: 14px; }
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 28px 20px;
  }
}
