:root {
  --bg: #0f1012;
  --bg-soft: #17191d;
  --card: #1f2329;
  --text: #f2f4f7;
  --muted: #b6bfca;
  --accent: #c4a35a;
  --accent-strong: #d6b772;
  --border: #2d333b;
  --ok: #44b36a;
  --danger: #b23a3a;
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 11, 13, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 40px;
  height: 40px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before {
  top: -6px;
}

.menu-toggle-bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

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

.hero-visual {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  line-height: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  max-width: 65ch;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 11px 16px;
  color: var(--bg);
  background: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-strong);
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 48px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 36px;
}

.gallery figure {
  margin: 0;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery figcaption {
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.section-centered .card-grid {
  text-align: left;
}

.section-centered .gallery {
  text-align: left;
}

.section-centered {
  text-align: center;
}

.section-centered .lead,
.section-centered > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 60ch;
}

.section-centered .btn-row {
  justify-content: center;
}

.section-centered .info-list {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.details {
  margin: 34px auto;
  max-width: 900px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.section-centered .details-grid .card {
  text-align: center;
}

.section-centered .details-grid .card h3 {
  text-align: center;
}

.section-centered .details-grid .card p {
  margin-left: auto;
  margin-right: auto;
  max-width: 42ch;
  text-align: center;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  margin-bottom: 8px;
}

.faq {
  margin: 34px 0 50px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq.section-centered {
  margin-left: auto;
  margin-right: auto;
}

details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--bg-soft);
  text-align: left;
}

summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
}

details p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
}

.contact-panel {
  margin: 40px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  max-width: var(--max-width);
}

iframe.map {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 10px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 34px;
  padding: 24px 0 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}

.modal-overlay.visible {
  display: flex;
}

.modal {
  width: min(94vw, 520px);
  background: #15171b;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.modal h2 {
  margin-bottom: 10px;
}

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

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.small-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.page-header {
  padding: 44px 0 20px;
}

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .gallery,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    align-items: center;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 12px;
    border-top: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}
