@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #07070a;
  --panel: #0f0f14;
  --panel-2: #14141b;
  --border: #1f1f2a;
  --text: #f5f5f5;
  --muted: #a0a0b0;
  --accent: #ff1a1a;
  --accent-2: #ff1a1a;
  --shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

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

.top-strip {
  background: rgba(255, 26, 26, 0.12);
  border-bottom: 1px solid rgba(255, 26, 26, 0.25);
  color: var(--text);
  font-size: 13px;
}

.top-strip .container {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

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

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 26, 26, 0.35);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.nav-toggle-label span + span {
  margin-top: 0;
}

.hero {
  padding: 80px 0 56px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 12px;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #ff1a1a);
  color: #ffffff;
}

.btn-outline {
  border-color: rgba(255, 26, 26, 0.4);
  color: var(--text);
  background: transparent;
}

.btn-ghost {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 28px;
  margin: 0 0 18px;
}

.section-divider {
  height: 2px;
  width: 44px;
  background: var(--accent);
  border-radius: 999px;
  margin: 6px 0 18px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: block;
  transition: 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 26, 26, 0.4);
}

.banner {
  background: radial-gradient(circle at top right, rgba(255, 26, 26, 0.28), transparent),
    linear-gradient(120deg, rgba(255, 26, 26, 0.2), transparent);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  min-height: 180px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 26, 26, 0.2);
  color: #ff1a1a;
}

.grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-2);
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 26, 26, 0.18);
  color: #ff1a1a;
  font-weight: 600;
  font-size: 15px;
}

.center {
  text-align: center;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.meta-chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 26, 26, 0.35);
  background: rgba(255, 26, 26, 0.08);
  font-size: 12.5px;
  color: var(--text);
}

.meta-chip--fee {
  background: rgba(255, 26, 26, 0.18);
  border-color: rgba(255, 26, 26, 0.5);
  color: #ffffff;
}

.schedule-panel {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 26, 26, 0.25);
  background: radial-gradient(circle at top right, rgba(255, 26, 26, 0.18), transparent),
    linear-gradient(120deg, rgba(255, 26, 26, 0.12), transparent);
}

.schedule-panel .panel-header {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.schedule-panel .card {
  background: #0c0d13;
}

.card .btn {
  margin-top: 14px;
}

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

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.policy {
  max-width: 860px;
}

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery img {
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 220px;
  width: 100%;
}

.branch-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.branch-modal:target {
  display: flex;
}

.branch-modal-content {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.branch-modal-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

body.page-home::before,
body.page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/home-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 16px;
    top: 62px;
    background: #0c0d13;
    border: 1px solid rgba(255, 26, 26, 0.25);
    border-radius: 12px;
    padding: 16px 18px;
    flex-direction: column;
    gap: 12px;
    width: min(240px, 90vw);
    box-shadow: var(--shadow);
    z-index: 20;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
  }
}
