@font-face {
  font-family: 'Klara Heading';
  src: url('шрифты/geometricslab703bt_bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Klara Body';
  src: url('шрифты/Bahnschrift.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --bg-raised: #161513;
  --text-primary: #fafafa;
  --text-secondary: #c9c9c9;
  --accent: #e8873b;
  --accent-dark: #3a1a00;
  --border: #2a2926;
  --maroon: #6e2a3d;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Klara Body', 'Segoe UI', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Klara Heading', Georgia, serif;
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}

p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 27px;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header img {
  height: 44px;
  width: auto;
  display: block;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-secondary);
}

.site-header nav a:hover {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 20px;
  padding: 6px 12px;
  cursor: pointer;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  text-align: center;
  background: var(--bg);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 135, 59, 0.18), transparent 60%),
    rgba(11, 11, 11, 0.72);
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero img.logo {
  width: 140px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 18px;
}

.hero p.lead {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 17px;
}

.hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* sections */
section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

section .section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

section h2 {
  font-size: 28px;
}

/* about / floors */
.floors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.floor-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.floor-card .floor-num {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.floor-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  justify-content: center;
}

.occasions span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.gallery figure {
  margin: 0;
  position: relative;
}

.gallery figcaption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.55);
  padding: 3px 8px;
  border-radius: 4px;
}

/* menu */
.menu-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.menu-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.menu-tab.active {
  background: var(--accent);
  color: var(--accent-dark);
  border-color: var(--accent);
  font-weight: 700;
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-panel img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

.menu-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* events */
.events {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.event-card {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-raised);
}

.event-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.event-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.event-card p {
  font-size: 13px;
  margin: 0;
}

/* booking */
.booking {
  background: var(--bg-raised);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.booking h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.booking form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}

.booking input::placeholder {
  color: #7a7a7a;
}

.booking .btn {
  margin-top: 4px;
}

.form-note {
  font-size: 12px;
  color: #7a7a7a;
  margin-top: -6px;
}

.form-status {
  font-size: 14px;
  min-height: 20px;
}

.form-status.ok {
  color: #8fce9a;
}

/* contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-line {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
}

.contact-line .label {
  color: var(--text-secondary);
  min-width: 90px;
  flex-shrink: 0;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  text-decoration: none;
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}

.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
}

/* footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer img {
  height: 28px;
  margin-bottom: 12px;
}

footer p {
  font-size: 13px;
  margin: 0;
}

/* mobile first: base styles above are already narrow-friendly for text,
   below widens layout for larger screens where needed, and collapses
   multi-column grids back down under 860px */
@media (max-width: 860px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 18px;
  }

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

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .floors,
  .gallery,
  .events,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .booking {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  section {
    padding: 56px 0;
  }
}
