/* ========================================
   Top bar / header
   ========================================= */
.topbar {
  position: fixed;
  top: var(--topbar-offset);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--page-max));
  z-index: 1000;
}

.topbar-shell {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(30, 21, 17, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.brand {
  width: 72px;
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 100%;
  max-width: 56px;
  object-fit: contain;
}

.outlet-switcher {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(20, 12, 9, 0.5);
}

.outlet-btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 500;
  transition: 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.outlet-btn.active {
  background: var(--accent);
  color: #1b120d;
}

.outlet-btn:not(.active):hover {
  color: var(--text);
  background: rgba(234, 206, 169, 0.06);
}

/* ========================================
   Generic section shell
   ========================================= */
.content-section {
  width: min(calc(100% - 24px), var(--page-max));
  margin: 0 auto;
  padding: 26px 0 0;
}

.content-section.content-wide {
  width: min(calc(100% - 24px), var(--page-wide));
}

.content-section+.content-section {
  padding-top: 34px;
}

.section-inner {
  width: 100%;
}

.section-title {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-link {
  color: var(--accent);
  font-size: 1rem;
  white-space: nowrap;
}

.section-link::after {
  content: " ›";
}

/* ========================================
   Shared action buttons / contact controls
   ========================================== */
.contact-layout {
    display: grid;
    gap: 28px;
    align-items: start;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-side {
    margin-top: 6px;
}

.action-btn {
  min-height: 58px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--accent);
  font-size: 1.05rem;
}

.action-btn.wide {
  flex: 1;
  justify-content: flex-start;
  gap: 8px;
}

.action-btn.outline {
  min-width: 110px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}

/* ========================================
   Bottom nav
   ========================================= */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: var(--bottomnav-offset);
  transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--page-max));
  z-index: 1000;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 112px);
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--accent-2);
  border-radius: 4px;
  background: rgba(26, 16, 11, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.bottom-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.bottom-nav-item {
  min-width: 72px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(234, 206, 169, 0.54);
  font-size: 0.82rem;
  text-align: center;
  border-radius: 8px;
}

.bottom-nav-item.active {
  color: var(--text);
}