:root{
  --bg:#f7f8fb;
  --surface:#ffffff;
  --surface-2:#f0f4ff;
  --text:#0f172a;
  --muted:#475569;
  --muted-2:#64748b;
  --border:#e2e8f0;
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --radius:16px;
  --radius-sm:12px;
  --brand:#2563eb;
  --brand-2:#0ea5e9;
  --success:#16a34a;
  --warn:#f59e0b;
  --danger:#ef4444;

  --container:1160px;
  --gutter:20px;
}

*{box-sizing:border-box}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

html{scroll-behavior:smooth}
body{
  margin:0;
  font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:radial-gradient(1200px 600px at 20% -10%, rgba(37,99,235,.12), transparent 60%),
             radial-gradient(900px 500px at 90% 0%, rgba(14,165,233,.10), transparent 55%),
             var(--bg);
}
a{color:inherit}
a:hover{text-decoration:none}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background:var(--text);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  z-index:999;
}
.skip-link:focus{left:12px}
:focus-visible{outline:3px solid rgba(37,99,235,.55); outline-offset:2px; border-radius:10px}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none !important; animation:none !important}
}

.container{max-width:var(--container); margin:0 auto; padding:0 var(--gutter)}

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(120%) blur(14px);
  background:rgba(247,248,251,.78);
  border-bottom:1px solid rgba(226,232,240,.85);
}
.header-inner{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:14px;
  align-items:center;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand img{display:block; height:42px; width:auto}
.brand .tag{
  font-size:12px;
  color:var(--muted-2);
  border:1px solid var(--border);
  background:rgba(255,255,255,.6);
  padding:4px 8px;
  border-radius:999px;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.navlinks{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.navlinks a, .navlinks button{
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font:inherit;
}
.navlinks a:hover, .navlinks button:hover{background:rgba(37,99,235,.08); color:var(--text)}
.navlinks a.active{color:var(--text); background:rgba(37,99,235,.10)}

.search{
  position:relative;
  min-width:280px;
  max-width:560px;
  width:100%;
}
.search input{
  width:100%;
  padding:11px 12px 11px 40px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  box-shadow:0 1px 0 rgba(2,6,23,.03);
}
.search .icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  opacity:.55;
}
.search-results{
  position:absolute;
  inset:auto 0 0 0;
  transform:translateY(calc(100% + 10px));
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.search-results[hidden]{display:none}
.search-results a{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 12px;
  text-decoration:none;
}
.search-results a:hover{background:rgba(37,99,235,.06)}
.search-results small{color:var(--muted-2)}

.hero{
  padding:34px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9));
  border:1px solid rgba(226,232,240,.9);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card.pad{padding:18px}
.hero h1{
  font-size:44px;
  line-height:1.02;
  margin:8px 0 10px;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.hero p{color:var(--muted); margin:0 0 14px}
.kicker{display:flex; gap:8px; flex-wrap:wrap; color:var(--muted-2); font-size:13px}
.kicker span{border:1px solid var(--border); background:rgba(255,255,255,.75); padding:4px 8px; border-radius:999px}

.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:10px 14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.85);
  text-decoration:none;
  font-weight:600;
}
.btn.primary{background:var(--brand); border-color:rgba(37,99,235,.25); color:#fff}
.btn.primary:hover{filter:brightness(.98)}
.btn.ghost:hover{background:rgba(37,99,235,.08)}

.modes{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.mode{
  border:1px solid var(--border);
  background:rgba(240,244,255,.7);
  border-radius:14px;
  padding:12px 12px;
}
.mode strong{display:block; font-size:14px}
.mode span{display:block; color:var(--muted-2); font-size:13px; margin-top:2px}

.ad{
  border-radius:16px;
  border:1px dashed rgba(148,163,184,.85);
  background:rgba(255,255,255,.7);
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.ad .label{
  font-size:12px;
  color:var(--muted-2);
  letter-spacing:.06em;
  text-transform:uppercase;
}
.ad img{display:block; width:100%; height:auto; border-radius:12px}

.section{padding:22px 0}
.section h2{font-size:20px; margin:0 0 12px}

.grid-3{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px}
.grid-2{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px}

.tile{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
}
.tile h3{margin:0 0 6px; font-size:16px}
.tile p{margin:0; color:var(--muted); font-size:14px}

.regions a{display:block; text-decoration:none}
.regions a:hover .tile{box-shadow:0 10px 26px rgba(2,6,23,.08)}

.article-card h3{font-size:16px; margin:0}
.article-card p{font-size:14px}

.footer{
  padding:28px 0 60px;
  color:var(--muted-2);
}
.footer .small{font-size:13px}

/* Destinations overlay */
.overlay{
  position:fixed;
  inset:0;
  z-index:100;
  background:rgba(2,6,23,.55);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:18px;
}
.overlay[hidden]{display:none}
.overlay-panel{
  width:min(1120px, 100%);
  margin-top:70px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.overlay-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px;
  background:linear-gradient(180deg, rgba(240,244,255,.9), rgba(255,255,255,.92));
  border-bottom:1px solid var(--border);
}
.overlay-head strong{font-size:14px}
.overlay-close{
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}

.overlay-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap:0;
}
.overlay-col{
  border-right:1px solid var(--border);
  min-height:380px;
}
.overlay-col:last-child{border-right:0}
.overlay-col h4{margin:0; padding:12px 14px; font-size:13px; color:var(--muted-2); border-bottom:1px solid var(--border)}
.list{padding:8px; display:flex; flex-direction:column; gap:6px}
.list button, .list a{
  text-align:left;
  width:100%;
  border:1px solid transparent;
  background:transparent;
  padding:10px 10px;
  border-radius:12px;
  cursor:pointer;
  font:inherit;
  color:var(--text);
  text-decoration:none;
}
.list button:hover, .list a:hover{background:rgba(37,99,235,.06)}
.list button.active{background:rgba(37,99,235,.10); border-color:rgba(37,99,235,.20)}
.list small{display:block; color:var(--muted-2); margin-top:2px}

/* Pages */
.page{
  padding:22px 0 50px;
}
.breadcrumb{color:var(--muted-2); font-size:13px; margin-bottom:10px}
.page h1{font-size:34px; line-height:1.05; margin:0 0 10px; text-wrap:balance}
.page .lede{color:var(--muted); max-width:70ch}

.content-grid{
  display:grid;
  grid-template-columns: 1.1fr .55fr;
  gap:16px;
  align-items:start;
}

.prose{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
}
.prose p{max-width:74ch}
.prose p:first-of-type::first-letter{
  float:left;
  font-size:58px;
  line-height:.92;
  padding-right:10px;
  padding-top:2px;
  font-weight:700;
  color:var(--brand);
}
.prose figure{margin:18px 0}
.prose figcaption{color:var(--muted-2); font-size:13px; margin-top:6px}

.kit{
  background:rgba(240,244,255,.75);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
}
.kit h3{margin:0 0 8px; font-size:14px}
.kit ul{margin:0; padding-left:18px; color:var(--muted)}

.map-shell{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.map-top{padding:12px 14px; border-bottom:1px solid var(--border); display:flex; gap:10px; align-items:center; justify-content:space-between}
.map-top strong{font-size:14px}
.map-body{display:grid; grid-template-columns: .6fr 1fr; min-height:520px}
.map-panel{border-right:1px solid var(--border); padding:12px; overflow:auto}
.map-panel .chiprow{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.chip{border:1px solid var(--border); background:#fff; padding:6px 10px; border-radius:999px; font-size:13px; color:var(--muted); cursor:pointer}
.map-canvas{background:linear-gradient(180deg, rgba(14,165,233,.14), rgba(37,99,235,.06)); display:flex; align-items:center; justify-content:center; color:rgba(15,23,42,.55); font-weight:600}

@media (max-width: 980px){
  .header-inner{grid-template-columns: 1fr}
  .navbar{flex-direction:column; align-items:stretch}
  .search{max-width:none}
  .hero-grid{grid-template-columns:1fr}
  .content-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .modes{grid-template-columns:1fr}
  .overlay-panel{margin-top:14px}
  .overlay-grid{grid-template-columns:1fr}
  .overlay-col{border-right:0; border-bottom:1px solid var(--border)}
  .overlay-col:last-child{border-bottom:0}
  .map-body{grid-template-columns:1fr}
  .map-panel{border-right:0; border-bottom:1px solid var(--border)}
}
