.map-main {
  max-width: var(--landing-container);
  margin: 0 auto;
  padding: 72px 0 120px;
}

.map-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.map-title {
  margin: 0;
  font: 600 48px/48px Inter, sans-serif;
}

.map-title .accent {
  color: var(--landing-accent);
}

.map-subtitle {
  margin: 16px 0 0;
  max-width: 520px;
  font: 400 16px/24px Inter, sans-serif;
  color: var(--landing-muted);
}

.map-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.map-popout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgba(22, 22, 25, 0.5);
  color: #fff;
  font: 500 14px/20px Inter, sans-serif;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.map-popout:hover {
  border-color: rgba(87, 13, 121, 0.5);
  color: var(--landing-accent-soft);
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgba(22, 22, 25, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.map-embed {
  position: relative;
  z-index: 0;
  min-height: min(78vh, 900px);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: min(78vh, 900px);
  min-height: 560px;
  border: 0;
  background: #0a0a0f;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 48px 32px;
  text-align: center;
}

.map-placeholder-inner {
  max-width: 520px;
}

.map-placeholder-title {
  margin: 0 0 12px;
  font: 600 24px/32px Inter, sans-serif;
  color: #fff;
}

.map-placeholder-text {
  margin: 0;
  font: 400 16px/24px Inter, sans-serif;
  color: var(--landing-muted);
}

.map-placeholder code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 500 13px/20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 1280px) {
  .map-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-actions {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .map-main {
    padding-top: 48px;
  }

  .map-title {
    font-size: clamp(2rem, 8vw, 48px);
    line-height: 1.1;
  }

  .map-embed,
  .map-embed iframe {
    min-height: 420px;
    height: 65vh;
  }
}
