.atlas-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #38bdf8 100%);
  color: #fff;
  padding: 72px 0 64px;
}

.atlas-hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.atlas-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.atlas-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.atlas-hero p {
  max-width: 720px;
  font-size: 1.08rem;
  opacity: 0.92;
}

.atlas-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.atlas-hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px;
}

.atlas-hero-stat strong {
  display: block;
  font-size: 1.35rem;
}

.atlas-hero-stat span {
  display: block;
  font-size: 13px;
  opacity: 0.84;
}

.atlas-intro {
  padding: 36px 0 18px;
}

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

.atlas-intro-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.atlas-intro-card h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.atlas-intro-card p {
  color: var(--text-muted);
}

.atlas-jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.atlas-jump-row button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.atlas-jump-row button:hover {
  border-color: var(--blue-light);
  color: var(--blue-dark);
}

.atlas-layout {
  padding: 12px 0 60px;
}

.atlas-section-head {
  margin-bottom: 18px;
}

.atlas-section-head h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.atlas-section-head p {
  color: var(--text-muted);
  max-width: 720px;
}

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

.atlas-card {
  min-height: 100%;
}

.atlas-card-button {
  width: 100%;
  height: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.atlas-card-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}

.atlas-card.active .atlas-card-button {
  border-color: var(--blue);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}

.atlas-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.atlas-region {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.atlas-card h2 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.atlas-compare-tag,
.atlas-detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--gray-light);
  color: var(--text-muted);
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 800;
}

.atlas-map-card,
.atlas-detail-map {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 14px;
  margin: 18px 0;
}

.atlas-map-card svg,
.atlas-detail-map svg {
  width: 100%;
  height: auto;
}

.atlas-detail-map {
  padding: 18px;
}

.atlas-map-shape {
  fill: #bfdbfe;
  stroke: #2563eb;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.atlas-map-city circle {
  fill: #0f172a;
  stroke: #fff;
  stroke-width: 1.8;
}

.atlas-map-city text {
  fill: #0f172a;
  font-size: 4.5px;
  font-weight: 700;
}

.atlas-card-summary,
.atlas-panel p,
.atlas-detail-head p {
  color: var(--text-muted);
}

.atlas-stat-grid,
.atlas-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.atlas-stat,
.atlas-detail-stat {
  background: var(--gray-bg);
  border-radius: 14px;
  padding: 12px;
}

.atlas-stat span,
.atlas-detail-stat span,
.atlas-mini-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.atlas-stat strong,
.atlas-detail-stat strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.atlas-city-preview {
  margin-top: 16px;
}

.atlas-city-preview strong {
  display: block;
  margin-bottom: 8px;
}

.atlas-city-preview ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atlas-city-preview li {
  background: #eff6ff;
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.atlas-hook {
  margin-top: 16px;
  font-weight: 600;
  color: var(--text);
}

.atlas-card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 800;
}

.atlas-detail {
  margin-top: 28px;
}

.atlas-detail-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.atlas-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.atlas-detail-head h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.atlas-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.atlas-detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.atlas-panel {
  background: var(--gray-bg);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.atlas-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.atlas-panel-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.08));
}

.atlas-bullet-list {
  padding-left: 18px;
  margin-top: 12px;
}

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

.atlas-city-list {
  display: grid;
  gap: 12px;
}

.atlas-city-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.atlas-city-item strong {
  display: block;
  margin-bottom: 4px;
}

.atlas-city-item span {
  color: var(--text-muted);
  font-size: 14px;
}

.atlas-lens-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.atlas-inline-list {
  padding-left: 18px;
}

.atlas-inline-list li {
  margin-bottom: 6px;
}

@media (max-width: 820px) {
  .atlas-detail-grid,
  .atlas-detail-sections {
    grid-template-columns: 1fr;
  }

  .atlas-detail-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .atlas-hero {
    padding: 60px 0 52px;
  }

  .atlas-card-button,
  .atlas-detail-shell {
    padding: 18px;
  }

  .atlas-stat-grid,
  .atlas-detail-stats {
    grid-template-columns: 1fr;
  }
}
