:root {
  color-scheme: dark;
  --bg: #0f0f12;
  --panel: #17171d;
  --text: #f5f5f7;
  --muted: #b8b8c3;
  --accent: #f1c40f;
  --accent-2: #f39c12;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--bg), #1a1a20);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
}

/* ---------- Topbar ---------- */

.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 1rem;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.est {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nav-cta {
  color: #111 !important;
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(241, 196, 15, 0.22);
}

/* ---------- Dropdown menu ---------- */

.menu {
  position: relative;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.menu-icon {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  transform: rotate(180deg);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  z-index: 20;
}

.menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-panel a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* ---------- Layout ---------- */

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

main {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

section {
  background: rgba(23, 23, 29, 0.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.logo {
  width: 160px;
  margin: 0 auto 1rem;
  border-radius: 16px;
}

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

h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  line-height: 1.2;
}

.stats {
  margin: 1.2rem 0;
}

.stat-card {
  display: inline-block;
  padding: 1rem 1.2rem;
  background: rgba(241, 196, 15, 0.12);
  border: 1px solid rgba(241, 196, 15, 0.3);
  border-radius: 14px;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(241, 196, 15, 0.22);
}

.gallery {
  display: grid;
  gap: 1rem;
}

.gallery img {
  border-radius: 16px;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 280px;
}

/* ---------- Form ---------- */

form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea,
button {
  font: inherit;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111217;
  color: var(--text);
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.menu-toggle:focus-visible,
.nav-cta:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #111;
  font-weight: 700;
  border: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(241, 196, 15, 0.22);
}

.footer {
  text-align: center;
  padding: 0 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .hero,
  .location-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 1.25rem;
  }

  .nav-cta {
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
