:root {
  --ink: #111111;
  --muted: #6b7280;
  --faint: #9ca3af;
  --paper: #ffffff;
  --wash: #f7f7f7;
  --panel: #ffffff;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --accent: #73bdf3;
  --accent-dark: #2f7fb8;
  --accent-soft: #edf7ff;
  --blue-soft: #eef6ff;
  --rose-soft: #fff0f3;
  --amber-soft: #fff6e7;
  --violet-soft: #f4efff;
  --shadow: 0 18px 50px rgba(18, 31, 24, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(115, 189, 243, 0.14), transparent 34rem),
    linear-gradient(#fff 0, #fff 460px, var(--wash) 461px);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  line-height: 1.55;
}

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

button,
input {
  font: inherit;
}

.is-hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: #050505;
  border: 1px solid #111827;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-actions,
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-tab {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.top-tab::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  content: "";
}

.top-tab:hover,
.top-tab.is-active {
  color: var(--ink);
}

.top-tab.is-active::after {
  opacity: 1;
}

.language-menu {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.language-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 176px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.language-menu.is-open .language-list {
  display: grid;
  gap: 2px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option.is-active {
  color: var(--ink);
  background: var(--wash);
}

.home-blueprint,
.site-intro,
.product-switcher,
.section-subnav,
.hero,
.workspace,
.watchlist,
.sources,
.country-detail-page {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(18px, 4vw, 32px);
  padding-right: clamp(18px, 4vw, 32px);
}

.home-blueprint {
  padding-top: clamp(54px, 8vw, 90px);
  padding-bottom: 34px;
}

.home-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-copy h1,
.hero h1,
.section-heading h2,
.site-intro h2,
.sources h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: 0;
}

.home-copy h1 {
  max-width: 850px;
  font-size: clamp(42px, 7vw, 84px);
}

.home-copy p:not(.eyebrow),
.hero p:not(.eyebrow),
.section-heading p,
.sources p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.home-search {
  display: grid;
  width: min(100%, 560px);
  gap: 8px;
  margin-top: 12px;
  position: relative;
}

.home-search span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-search input {
  min-height: 58px;
  padding: 0 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  text-align: center;
}

.home-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(115, 189, 243, 0.16), 0 18px 48px rgba(17, 24, 39, 0.08);
}

.home-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 15;
  display: none;
  max-height: 320px;
  padding: 6px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-search-suggestions.is-visible {
  display: grid;
  gap: 2px;
}

.home-search-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.home-search-option:hover,
.home-search-option.is-active {
  background: var(--wash);
}

.home-search-option strong {
  font-size: 14px;
}

.home-search-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.home-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.home-badges span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-badges span::before {
  color: var(--accent-dark);
  content: "✓ ";
}

.blueprint-shell {
  position: relative;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.blueprint-map {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
  overflow: hidden;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(17, 24, 39, 0.08);
}

.folium-map-frame {
  display: block;
  width: 100%;
  height: 680px;
  background: #f7f8fa;
  border: 0;
}

.globe-stage {
  position: relative;
  display: grid;
  width: min(72vw, 500px);
  aspect-ratio: 1;
  place-items: center;
}

.globe {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 28%, #fff 0 12%, #f7f7f7 34%, #e5e7eb 72%, #d1d5db 100%);
  border: 1px solid #d8dde3;
  border-radius: 50%;
  box-shadow:
    inset -34px -22px 60px rgba(0, 0, 0, 0.08),
    inset 18px 20px 44px rgba(255, 255, 255, 0.95),
    0 36px 90px rgba(17, 24, 39, 0.14);
}

.globe-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.13) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.08) 0 1px, transparent 1px 42px);
  border-radius: 50%;
  opacity: 0.36;
  animation: globeSpin 13s linear infinite;
}

.globe-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 30% 24%, transparent 0 24%, rgba(255,255,255,0.28) 38%, transparent 54%),
    linear-gradient(115deg, transparent 0 48%, rgba(0, 0, 0, 0.08) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.globe-landmass,
.globe-dot {
  position: absolute;
  z-index: 2;
  background: #111;
  opacity: 0.82;
  animation: globeSpin 13s linear infinite;
}

.globe-landmass {
  border-radius: 48% 52% 44% 56%;
  filter: blur(0.2px);
}

.globe-landmass-one {
  left: 14%;
  top: 28%;
  width: 27%;
  height: 18%;
  transform: rotate(-18deg);
}

.globe-landmass-two {
  left: 42%;
  top: 22%;
  width: 38%;
  height: 23%;
  transform: rotate(11deg);
}

.globe-landmass-three {
  left: 31%;
  top: 53%;
  width: 22%;
  height: 26%;
  transform: rotate(20deg);
}

.globe-landmass-four {
  left: 62%;
  top: 58%;
  width: 18%;
  height: 12%;
  transform: rotate(-11deg);
}

.globe-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(115, 189, 243, 0.18);
}

.globe-dot-one {
  left: 38%;
  top: 39%;
}

.globe-dot-two {
  left: 61%;
  top: 34%;
}

.globe-dot-three {
  left: 54%;
  top: 65%;
}

.globe-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 50%;
}

.globe-orbit-one {
  transform: rotateX(65deg) rotateZ(-18deg);
}

.globe-orbit-two {
  transform: rotateX(65deg) rotateZ(38deg);
}

@keyframes globeSpin {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-34px);
  }
}

.map-tooltip {
  position: fixed;
  z-index: 40;
  display: none;
  width: min(306px, calc(100vw - 28px));
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(18, 31, 24, 0.16);
  pointer-events: none;
}

.map-tooltip.is-visible {
  display: grid;
  gap: 10px;
}

.tooltip-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tooltip-flag,
.flag {
  display: grid;
  place-items: center;
  background: var(--wash);
  border-radius: 8px;
}

.tooltip-flag {
  width: 38px;
  height: 38px;
  font-size: 23px;
}

.tooltip-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.tooltip-code {
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
}

.tooltip-section {
  display: grid;
  gap: 7px;
}

.tooltip-section > span,
.intro-cards span,
.notice-tag {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tooltip-tags,
.country-summary,
.detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-intro {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 58px;
}

.site-intro h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.intro-cards,
.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.intro-cards article,
.notice-grid article,
.sources {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-cards article,
.notice-grid article {
  min-height: 190px;
  padding: 22px;
}

.intro-cards h3,
.notice-grid h3 {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.2;
}

.intro-cards p,
.notice-grid p {
  margin: 0;
  color: var(--muted);
}

.product-switcher {
  display: flex;
  gap: 8px;
  padding-top: 30px;
}

.product-tab,
.filter-pill,
.section-subnav a,
.back-button,
.detail-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.product-tab.is-active,
.product-tab:hover,
.filter-pill.is-active,
.filter-pill:hover,
.section-subnav a:hover,
.detail-button:hover,
.back-button:hover {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.section-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 104px;
  padding-top: 0;
  padding-bottom: 0;
}

.section-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 28px;
  align-items: end;
  padding-top: 58px;
  padding-bottom: 34px;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 72px);
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
}

.status-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-panel div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  background: var(--wash);
  border-radius: 8px;
}

.status-number {
  color: var(--accent-dark);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.status-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.visa-passport-panel {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 20px;
}

.visa-passport-picker,
.visa-passport-stats {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 31, 24, 0.05);
}

.visa-passport-picker {
  display: grid;
  gap: 10px;
}

.visa-passport-picker span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.visa-passport-picker select {
  width: 100%;
  min-height: 52px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.visa-passport-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 10px;
}

.visa-stat {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
  background: var(--wash);
  border-radius: 8px;
}

.visa-stat strong {
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
}

.visa-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.workspace,
.watchlist,
.sources,
.country-detail-page {
  padding-top: 34px;
  padding-bottom: 44px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 30px;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  box-shadow: 0 8px 20px rgba(18, 31, 24, 0.04);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(115, 189, 243, 0.18);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading h2,
.sources h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading p {
  max-width: 520px;
  font-size: 15px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  align-items: start;
}

.country-card {
  overflow: visible;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.country-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.country-toggle {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 16px;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.flag {
  width: 42px;
  height: 42px;
  font-size: 25px;
}

.passport-photo {
  position: relative;
  display: grid;
  width: 56px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  color: var(--faint);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
}

.passport-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.passport-photo span {
  display: none;
  padding: 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.passport-photo.is-missing span {
  display: block;
}

.country-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.country-meta {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.country-card.is-open .chevron {
  transform: rotate(225deg);
}

.country-summary {
  padding: 0 16px 14px;
}

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.passport-access-tag {
  cursor: default;
  outline: none;
}

.tag-flyout {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  display: none;
  width: min(280px, 74vw);
  max-height: 320px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
  transform: translateX(-50%);
  overflow: auto;
}

.tag-flyout::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.passport-access-tag:hover .tag-flyout,
.passport-access-tag:focus .tag-flyout {
  display: grid;
  gap: 9px;
}

.tag-flyout strong {
  font-size: 13px;
}

.tag-flyout-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-flyout-grid span,
.tag-flyout-grid a {
  min-height: 24px;
  padding: 3px 8px;
  color: var(--muted);
  background: var(--wash);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tag.business {
  color: #8a560f;
  background: var(--amber-soft);
}

.tag.study {
  color: #245b89;
  background: var(--blue-soft);
}

.tag.family {
  color: #9b3e50;
  background: var(--rose-soft);
}

.tag.work {
  color: #5f3f91;
  background: var(--violet-soft);
}

.tag.visaFree {
  color: #1e6b9b;
  background: var(--blue-soft);
}

.tag.eTA {
  color: #4c4387;
  background: var(--violet-soft);
}

.tag.visaOnArrival {
  color: #8a560f;
  background: var(--amber-soft);
}

.tag.eVisa {
  color: #245b89;
  background: #eef6ff;
}

.tag.visaRequired {
  color: #9b3e50;
  background: var(--rose-soft);
}

.tag.reviewRequired {
  color: #65707c;
  background: var(--wash);
}

.country-detail {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows 0.24s ease, border-color 0.24s ease;
}

.country-card.is-open .country-detail {
  grid-template-rows: 1fr;
  border-color: var(--line);
}

.detail-inner {
  overflow: hidden;
}

.detail-content {
  padding: 16px;
}

.detail-content h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: #3f4f4b;
  font-size: 14px;
}

.detail-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.detail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 12px;
}

.source-link.is-disabled {
  color: var(--muted);
  background: var(--wash);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.detail-button {
  display: inline-flex;
  align-items: center;
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.sources {
  margin-bottom: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.country-detail-page {
  padding-top: 34px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.detail-main,
.detail-side,
.detail-section-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-main {
  padding: clamp(24px, 4vw, 36px);
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.detail-title-row .flag {
  width: 58px;
  height: 58px;
  font-size: 34px;
}

.detail-main h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.detail-main p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.detail-side {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.detail-stat {
  padding: 18px;
  background: #fff;
}

.detail-stat span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

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

.detail-section-card {
  padding: 22px;
}

.detail-section-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-option-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-option-list li {
  padding: 12px;
  background: var(--wash);
  border-radius: 8px;
}

.detail-option-list strong {
  display: block;
  margin-bottom: 5px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.site-disclaimer {
  flex: 1 0 100%;
  margin: 0;
  max-width: 920px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header,
  .home-copy,
  .site-intro,
  .hero,
  .toolbar,
  .visa-passport-panel,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .blueprint-map {
    min-height: 540px;
  }

  .folium-map-frame {
    height: 540px;
  }

  .intro-cards,
  .notice-grid,
  .detail-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links,
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .home-copy h1 {
    font-size: 38px;
  }

  .blueprint-map {
    min-height: 430px;
  }

  .folium-map-frame {
    height: 430px;
  }

  .filter-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-pill,
  .product-tab {
    width: 100%;
  }

  .product-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
