:root {
  --ink: #151925;
  --ink-2: #252b39;
  --dim: #555a7a;
  --mute: #6b7288;
  --line: #e9ecf2;
  --bg: #fff;
  --gray-0: #f8f9fa;
  --gray-1: #f1f3f5;
  --indigo-0: #edf2ff;
  --green: #128a4a;
  --green-9: #2b8a3e;
  --green-soft: #e7f7ed;
  --blue: #228be6;
  --blue-3: #74c0fc;
  --header-h: 84px;
  --wrap: 1234px;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(21, 25, 37, .04);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head: Manrope, Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px;
}
.skip:focus { top: .8rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 992px) {
  .wrap { width: min(var(--wrap), calc(100% - 96px)); }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 28px;
}
@media (min-width: 992px) {
  .header-bar { padding-inline: 48px; }
}
.logo {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo-mark {
  width: 36px; height: 36px; flex-shrink: 0;
}
.logo-word {
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.04em;
  line-height: 1;
}
.logo-word span { color: var(--green); }
.nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.search-btn, .burger {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; color: var(--ink-2);
}
.search-btn:hover, .burger:hover { background: var(--gray-0); }
.burger { display: inline-flex; flex-direction: column; gap: 5px; }
.burger span {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
@media (min-width: 992px) {
  .nav { display: flex; }
  .burger { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0;
  background: #fff; z-index: 39;
  padding: 24px 28px;
  flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--head);
  font-size: 1.25rem; font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 474px;
  margin: 0 0 8px;
}
@media (min-width: 992px) {
  .hero { height: 530px; margin: 16px 48px 0; }
}
.hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-shade {
  position: absolute; inset: auto 0 0;
  height: 80%;
  background: linear-gradient(180deg, transparent 0, rgba(0,0,0,.78));
  pointer-events: none;
}
@media (min-width: 992px) {
  .hero-shade { height: 48%; }
}
.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
@media (min-width: 992px) {
  .hero-inner { padding: 28px 32px; }
}
.hero-badge {
  align-self: flex-start;
  background: rgba(12, 18, 32, .46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 20px 28px 22px;
}
.hero h1 {
  margin: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
}
.hero-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
@media (min-width: 992px) {
  .hero-links { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.hero-links a {
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.hero-links a:hover { color: var(--blue-3); }

.page-hero {
  padding: 28px 0 8px;
}
.page-hero h1 {
  margin: 0 0 8px;
  font-family: var(--head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.page-hero p {
  margin: 0;
  color: var(--dim);
  max-width: 52ch;
}

/* Sections */
.section { padding-top: 28px; }
@media (min-width: 992px) {
  .section { padding: 28px 0 8px; }
}
.section h2, .block-title {
  margin: 0 0 14px;
  font-family: var(--head);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}
#popular-directions { scroll-margin-top: 100px; padding: 32px 0 48px; }

/* Transport */
.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 992px) {
  .transport-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 181px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  transition: color .15s ease;
}
.t-card:hover { color: var(--blue); }
.t-card svg {
  position: absolute;
  top: 22px; left: 16px;
  width: 118px; height: auto;
  opacity: .95;
}
.t-car { background: #fff5f5; }
.t-plane { background: #f8f0fc; }
.t-train { background: #e6fcf5; }
.t-cruise { background: #e7f5ff; }

/* Editorial split */
.split {
  display: grid;
  gap: 16px;
}
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.feature-card {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.feature-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78));
}
.feature-card span {
  position: relative; z-index: 2;
  padding: 24px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .feature-card { min-height: 420px; }
}
@media (min-width: 992px) {
  .feature-card { min-height: 0; }
  .feature-card span { padding: 32px; font-size: 1.35rem; }
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  grid-auto-rows: minmax(181px, auto);
}
@media (min-width: 768px) {
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-grid .article-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--gray-0);
  color: inherit;
  transition: background-color .15s ease;
}
.article-card:hover { background: var(--indigo-0); }
.article-card .tag {
  color: var(--green-9);
  font-family: var(--head);
  font-size: .75rem;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.article-card .meta-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.article-card h3 {
  margin: 0;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color .15s ease;
}
.article-card:hover h3 { color: var(--blue); }
.article-card time, .article-card .read {
  color: var(--dim);
  font-size: .75rem;
  line-height: 16px;
}

/* Countries */
.country-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .country-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .country-grid { grid-template-columns: repeat(4, 1fr); }
}
.country-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--gray-0);
  overflow: hidden;
  transition: background-color .15s ease;
}
.country-card:hover { background: var(--gray-1); }
.country-card img {
  width: 40px; height: 30px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.country-card h3 {
  margin: 0;
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 700;
}
@media (min-width: 992px) {
  .country-card {
    flex-direction: column;
    align-items: flex-start;
    height: 257px;
    padding: 16px 20px 20px;
  }
  .country-card img { width: 56px; height: 42px; }
  .country-card .grow { flex: 1; }
  .country-card h3 { font-size: 1.25rem; }
}
.country-card.hidden { display: none; }
@media (min-width: 992px) {
  .country-card.hidden { display: none; }
}
body.show-all .country-card.hidden { display: flex; }

.more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.more-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--dim);
  font-weight: 600;
}
.more-btn:hover { background: #d3f0de; }
body.show-all .more-btn { display: none; }

/* Article page */
.crumbs {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: .875rem; color: var(--dim); margin: 20px 0 12px;
}
.crumbs a:hover { color: var(--blue); }
.article-head h1 {
  margin: 0 0 10px;
  font-family: var(--head);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.article-head .byline {
  color: var(--dim);
  font-size: .9rem;
  margin-bottom: 22px;
}
.lead {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 68ch;
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-family: var(--head);
  font-size: 1.4rem;
  margin: 2rem 0 .75rem;
  letter-spacing: -.02em;
}
.prose h3 {
  font-family: var(--head);
  font-size: 1.1rem;
  margin: 1.4rem 0 .5rem;
}
.prose p { margin: 0 0 1rem; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-2); }
.prose li { margin: .3rem 0; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}
.fact {
  background: var(--gray-0);
  border-radius: 16px;
  padding: 16px;
}
.fact dt {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--green-9);
  font-weight: 700;
  font-family: var(--head);
}
.fact dd { margin: 6px 0 0; font-weight: 600; }

.cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px 0 28px;
  max-height: 420px;
}
.cover img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.related {
  margin: 48px 0 24px;
}

/* Search */
.search-modal {
  display: none;
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 18, 32, .45);
  padding: 10vh 16px 16px;
}
.search-modal.open { display: block; }
.search-box {
  width: min(640px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,18,32,.25);
}
.search-box input {
  width: 100%;
  border: 0;
  padding: 18px 20px;
  font-size: 1rem;
  outline: none;
}
.search-results {
  max-height: 50vh;
  overflow: auto;
  border-top: 1px solid var(--line);
}
.search-results a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.search-results a:hover { background: var(--indigo-0); }
.search-results small { display: block; color: var(--dim); font-size: .75rem; }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}
.notfound .code {
  font-family: var(--head);
  font-size: 5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin: 0;
}
.back-home {
  display: inline-flex;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
}

@media (max-width: 640px) {
  .header-bar { padding-inline: 16px; }
  .logo-word { font-size: 1.15rem; }
  .hero { border-radius: 0; }
  .wrap { width: min(var(--wrap), calc(100% - 24px)); }
}

/* City guide */
.city-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin: 8px 0 28px;
}
.city-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}
.city-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-gallery figure:first-child {
  grid-row: 1 / span 2;
}
.city-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}
@media (max-width: 720px) {
  .city-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }
  .city-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gray-0);
  color: var(--ink-2);
  font-size: .85rem;
  font-weight: 600;
}
.toc a:hover { background: var(--green-soft); color: var(--green-9); }

.info-block {
  margin: 0 0 40px;
  scroll-margin-top: 100px;
}
.info-block > h2 {
  font-family: var(--head);
  font-size: 1.55rem;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.info-block > .sub {
  margin: 0 0 18px;
  color: var(--dim);
  max-width: 68ch;
}
.info-block > h3, .health-hiv-title {
  font-family: var(--head);
  font-size: 1.2rem;
  margin: 22px 0 6px;
  letter-spacing: -.02em;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: var(--gray-0);
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 18px;
  vertical-align: top;
  border-bottom: 1px solid #fff;
}
.info-table th {
  width: 34%;
  font-family: var(--head);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--green-9);
  font-weight: 700;
}
.info-table td { color: var(--ink-2); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { padding-bottom: 0; }
  .info-table td { padding-top: 6px; }
}

.visa-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 20px;
  background: #e7f7ed;
  border: 1px solid #92d6ab;
  margin: 0 0 16px;
}
.visa-banner .mark {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #128a4a;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.1rem;
}
.visa-banner h3 { margin: 0 0 6px; font-family: var(--head); font-size: 1.15rem; }
.visa-banner p { margin: 0; color: var(--ink-2); }
.note {
  font-size: .9rem;
  color: var(--dim);
  margin: 0 0 1rem;
}

.map-panel {
  background: var(--gray-0);
  border-radius: 24px;
  padding: 18px;
  overflow: hidden;
}
.map-panel svg, .map-panel img { width: 100%; height: auto; border-radius: 16px; background: #fff; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 12px;
  font-size: .85rem;
  color: var(--dim);
}
.map-legend i {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}

.warn-list {
  display: grid;
  gap: 12px;
}
.warn-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff5f5;
}
.warn-card h3 {
  margin: 0 0 8px;
  font-family: var(--head);
  font-size: 1.05rem;
  color: #c92a2a;
}
.warn-card p, .warn-card ul { margin: 0; color: var(--ink-2); }
.warn-card ul { padding-left: 1.15rem; }

.useful-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.useful-card {
  background: var(--gray-0);
  border-radius: 20px;
  padding: 20px;
}
.useful-card h3 {
  margin: 0 0 8px;
  font-family: var(--head);
  font-size: 1.08rem;
}
.useful-card p, .useful-card ul { margin: 0; color: var(--ink-2); }
.useful-card ul { padding-left: 1.15rem; }
@media (max-width: 720px) {
  .useful-grid { grid-template-columns: 1fr; }
}

.embassy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: #edf2ff;
}
.embassy h3 { margin: 0 0 8px; font-family: var(--head); }
.embassy p { margin: 0 0 6px; color: var(--ink-2); }
.embassy a { color: var(--blue); font-weight: 600; }
@media (max-width: 720px) {
  .embassy { grid-template-columns: 1fr; }
}

.city-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.city-mini {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-0);
  color: inherit;
}
.city-mini img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.city-mini div { padding: 14px 16px 16px; }
.city-mini h3 {
  margin: 0 0 6px;
  font-family: var(--head);
  font-size: 1.05rem;
}
.city-mini p { margin: 0; color: var(--dim); font-size: .9rem; }
@media (max-width: 992px) {
  .city-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .city-cards { grid-template-columns: 1fr; }
  .city-mini img { height: 180px; }
}

.city-live-map {
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  z-index: 1;
  background: #dce8dc;
}
.city-live-map .leaflet-container {
  height: 100%;
  width: 100%;
  font-family: inherit;
}
.city-live-hint {
  margin: 10px 0 0;
  font-size: .82rem;
  color: var(--dim);
}
.life-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 16px;
}
@media (max-width: 720px) {
  .life-grid { grid-template-columns: 1fr; }
  .city-live-map { height: 360px; }
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 18px;
}
.stat-card {
  background: var(--gray-0);
  border-radius: 18px;
  padding: 18px 16px;
}
.stat-card .num {
  font-family: var(--head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-9);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.stat-card .lbl {
  display: block;
  font-size: .82rem;
  color: var(--dim);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
