:root {
  --navy: #0F173E;
  --navy-2: #1d2a63;
  --navy-3: #2a3a7c;
  --gold: #BD922F;
  --gold-2: #d6b15a;
  --gold-soft: #f6efdd;
  --gold-ink: #7d5f14;
  --navy-0: #0a1030;
  --ink: #1b2142;
  --muted: #535b7c;
  --line: #e2e5f0;
  --bg: #f3f4f9;
  --bg-soft: #eceef6;
  --bg-warm: #faf6ec;
  --ok: #1f7a4d;
  --bad: #b3261e;
  --warn: #8a5a00;
  --pin-w: #0F173E;
  --pin-e: #BD922F;
  --pin-a: #1f7a8c;
  --grad-navy: linear-gradient(135deg, #0F173E 0%, #1d2a63 60%, #2a3a7c 100%);
  --grad-gold: linear-gradient(135deg, #b48a28 0%, #BD922F 45%, #d6b15a 100%);
  --grad-line: linear-gradient(90deg, #0F173E 0%, #2a3a7c 45%, #BD922F 100%);
  --grad-deep: linear-gradient(180deg, #0a1030 0%, #0F173E 55%, #16205a 100%);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 62, .05), 0 6px 20px rgba(15, 23, 62, .07);
  --shadow-lg: 0 2px 6px rgba(15, 23, 62, .06), 0 24px 60px rgba(15, 23, 62, .16);
  --dots: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--navy-3); text-underline-offset: 2px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: Outfit, Inter, system-ui, sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
small { color: var(--muted); font-size: .85em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 560px; }
.narrow-l { max-width: 860px; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; }
.hint { font-size: .88rem; color: var(--muted); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--gold-ink); margin-bottom: .3em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.2 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: filter .15s, background .15s, color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn-sm { padding: 7px 15px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--grad-gold); color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .14); box-shadow: 0 6px 16px rgba(189, 146, 47, .3); }
.btn-gold:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 8px 22px rgba(189, 146, 47, .4); transform: translateY(-1px); }
.btn-navy { background: var(--grad-navy); color: #fff; box-shadow: 0 6px 16px rgba(15, 23, 62, .2); }
.btn-navy:hover { color: #fff; filter: brightness(1.15); transform: translateY(-1px); }
.btn-line { background: #fff; color: var(--navy); border-color: #c9cde0; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.linkish { background: none; border: 0; padding: 0; color: var(--navy-3); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.linkish:hover { color: var(--gold); }

/* header: menu on both sides, logo in the middle */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(10, 16, 48, .95); backdrop-filter: saturate(1.3) blur(10px); color: #fff; }
.site-head::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, rgba(189, 146, 47, 0) 0%, rgba(214, 177, 90, .7) 50%, rgba(189, 146, 47, 0) 100%); }
.head-in { max-width: 1220px; margin: 0 auto; padding: 0 24px; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 58px; width: auto; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 26px; }
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right > a:not(.btn) { color: #e4e7f4; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-left a:hover, .nav-right > a:not(.btn):hover, .nav-left a.on, .nav-right a.on { border-bottom-color: var(--gold-2); color: #fff; }
.site-head .btn-navy { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.site-head .btn-navy:hover { background: rgba(255, 255, 255, .16); filter: none; }
.nav-toggle, .head-acc { display: none; }
.nav-drawer { border-top: 1px solid rgba(255, 255, 255, .1); background: var(--navy-0); padding: 10px 24px 18px; }
.nav-drawer a, .nav-drawer .linkish { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #e4e7f4; font-weight: 600; text-decoration: none; }
.nav-drawer a:hover, .nav-drawer .linkish:hover { color: var(--gold-2); }
.nav-drawer .btn { margin-top: 14px; color: #fff; border: 0; }
.nav-drawer form { margin: 0; }

/* notes */
.note { padding: 12px 16px; border-radius: 8px; margin: 16px 0; border-left: 4px solid; font-size: .95rem; }
.note-ok { background: #eaf6ef; border-color: var(--ok); }
.note-error { background: #fcecea; border-color: var(--bad); }
.note-info { background: #edf0fa; border-color: var(--navy-3); }
.note-warn { background: var(--gold-soft); border-color: var(--gold); }
.err { color: var(--bad); font-size: .87rem; margin: -6px 0 12px; }

/* home, first screen: the world map on deep navy */
.atlas { position: relative; background: radial-gradient(760px 340px at 50% 8%, rgba(189, 146, 47, .14) 0%, rgba(189, 146, 47, 0) 70%), var(--grad-deep); color: #c9cee3; padding: 26px 0 112px; overflow: hidden; }
.atlas::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .2) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .2) 100%); pointer-events: none; }
.atlas .wrap { position: relative; }
.atlas-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 22px; margin-bottom: 8px; }
.atlas-title { margin: 0; font: 600 1.25rem/1.2 Outfit, Inter, sans-serif; color: #fff; }
.atlas-sub { margin: 0; font-size: .93rem; color: #c9cee3; }
.atlas-sub a, .atlas-sub a:hover { color: var(--gold-2); }
.atlas-key { margin: 0; display: flex; align-items: center; gap: 9px; font-size: .85rem; color: #c9cee3; white-space: nowrap; }
.key-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(214, 177, 90, .25); }
.world-box { position: relative; max-width: 1080px; margin: 0 auto; border-radius: 18px; overflow: hidden; }
.world-map { display: block; width: 100%; height: auto; overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.world-map.zoomed { touch-action: none; }
.world-map:active { cursor: grabbing; }
.wm-sphere { fill: rgba(255, 255, 255, .06); }
.wm-grat { stroke: rgba(255, 255, 255, .07); stroke-width: .6; vector-effect: non-scaling-stroke; }
.wm-cont path { stroke: #0F173E; stroke-width: .5; vector-effect: non-scaling-stroke; transition: fill .15s; }
.wm-cont[data-cont="NA"] path { fill: #3d4d93; }
.wm-cont[data-cont="SA"] path { fill: #4b5ba1; }
.wm-cont[data-cont="EU"] path { fill: #5565ab; }
.wm-cont[data-cont="AF"] path { fill: #44549a; }
.wm-cont[data-cont="AS"] path { fill: #36468b; }
.wm-cont[data-cont="OC"] path { fill: #5a6ab0; }
.wm-cont[data-cont="AN"] path { fill: #6575b8; }
.wm-tiny { fill: #97a2c9; stroke: #0F173E; stroke-width: .8; vector-effect: non-scaling-stroke; }
.wm-cont.hot path { fill: #7d8bc7; }
.wm-c:hover path, .wm-c:focus path, .wm-c:hover .wm-tiny, .wm-c:focus .wm-tiny { fill: var(--gold); }
.wm-c:focus { outline: none; }
.wm-ctrl { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.wm-ctrl button { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 16, 48, .78); color: #fff; font: 600 1.25rem/1 Outfit, Inter, sans-serif; cursor: pointer; }
.wm-ctrl .wm-reset { font-size: .78rem; font-family: Inter, sans-serif; }
.wm-ctrl button:hover, .wm-ctrl button:focus-visible { border-color: var(--gold-2); color: var(--gold-2); }
.wm-ctrl button:disabled { opacity: .45; cursor: default; color: #fff; border-color: rgba(255, 255, 255, .25); }
.wm-tip { position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); background: #fff; color: var(--navy); padding: 6px 11px; border-radius: 8px; font-size: .86rem; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wm-hint { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; pointer-events: none; background: rgba(10, 16, 48, .88); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: .9rem; }
.wm-label[hidden] { display: none; }
.wm-core { fill: var(--gold-2); stroke: #0F173E; stroke-width: 1.2; }
.wm-halo { fill: rgba(214, 177, 90, .3); transform-box: fill-box; transform-origin: center; animation: wm-pulse 2.8s ease-out infinite; pointer-events: none; }
.wm-dot:hover .wm-core, .wm-dot:focus .wm-core { fill: #fff; }
@keyframes wm-pulse { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.wm-label { position: absolute; transform: translate(-50%, -50%); background: rgba(10, 16, 48, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 6px 13px; text-decoration: none; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); text-align: center; line-height: 1.25; white-space: nowrap; transition: border-color .2s, transform .2s; }
.wm-label b { display: block; font-family: Outfit, sans-serif; font-size: 1rem; font-weight: 600; }
.wm-label span { font-size: .75rem; color: #c9cee3; }
.wm-label:hover, .wm-label.hot { border-color: var(--gold-2); color: #fff; transform: translate(-50%, -50%) scale(1.04); }
.wm-label:hover b, .wm-label.hot b { color: var(--gold-2); }
.cont-list { display: none; list-style: none; padding: 0; margin: 16px 0 0; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cont-list a { display: block; height: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); text-decoration: none; color: #c9cee3; background: rgba(255, 255, 255, .06); }
.cont-list a:hover { border-color: var(--gold-2); color: #c9cee3; }
.cont-list b { display: block; font-family: Outfit, sans-serif; color: #fff; font-size: 1.02rem; font-weight: 600; }
.cont-list span { font-size: .84rem; }

/* home, the card under the map */
.intro { position: relative; z-index: 2; margin-top: -86px; padding-bottom: 18px; }
.intro-card { max-width: 1040px; margin: 0 auto; background: #fff linear-gradient(90deg, #0F173E 0%, #2a3a7c 45%, #BD922F 100%) top / 100% 4px no-repeat; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 42px 48px 32px; text-align: center; }
.intro-card h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); max-width: 820px; margin: 0 auto .35em; letter-spacing: -.02em; }
.intro-card .lead { margin: 0 auto 26px; }
.search-box { display: grid; grid-template-columns: 1.6fr 1.1fr 1fr 1.2fr auto; gap: 0; max-width: 980px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 8px; text-align: left; }
.search-box label { display: flex; flex-direction: column; padding: 6px 14px; border-right: 1px solid var(--line); min-width: 0; }
.search-box label span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.search-box input[type=search], .search-box select { border: 0; margin: 0; border-radius: 0; padding: 4px 0; font: 500 1rem Inter, sans-serif; color: var(--ink); background: transparent; width: 100%; min-width: 0; }
.search-box input[type=search]:focus, .search-box select:focus { outline: none; }
.search-box label:focus-within { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(15, 23, 62, .08); }
.search-box .btn { margin: 4px; padding: 0 30px; }
.stats { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0; padding: 0; margin: 26px 0 0; color: var(--muted); }
.stats li { padding: 0 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { color: var(--navy); font-family: Outfit, sans-serif; font-size: 1.45rem; margin-right: 5px; }

/* sections */
section.world, section.how, section.latest, section.cats { padding: 56px 0; }
.how { background: linear-gradient(180deg, var(--bg) 0%, #e8ebf5 100%); }
.latest.alt { background: var(--bg-warm); }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); letter-spacing: -.01em; }
.sec-head p { color: var(--muted); max-width: 720px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sec-head.row a { font-weight: 600; white-space: nowrap; }

/* how */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.how-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-navy); }
.how-card-e::before { background: var(--grad-gold); }
.how-card-a::before { background: linear-gradient(135deg, #145d6b, #1f7a8c); }
.how-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.how-card p { color: var(--muted); }
.how-card .btn { margin-top: auto; align-self: flex-start; }
.how-ico { display: block; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px; background: var(--grad-navy); position: relative; box-shadow: 0 8px 18px rgba(15, 23, 62, .18); }
.how-ico::after { content: ""; position: absolute; inset: 14px; background: #fff; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.how-w { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M3 22c1-5 5-8 9-8s8 3 9 8z'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 2px var(--gold), 0 8px 18px rgba(15, 23, 62, .18); }
.how-e { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V9l6-4v4l6-4v4h6v12z'/%3E%3C/svg%3E"); background: var(--grad-gold); }
.how-a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='7' cy='8' r='3'/%3E%3Ccircle cx='17' cy='8' r='3'/%3E%3Cpath d='M1 20c.6-4 3-6 6-6s5.4 2 6 6zM11 20c.6-4 3-6 6-6s5.4 2 6 6z'/%3E%3C/svg%3E"); background: linear-gradient(135deg, #145d6b, #1f7a8c); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15, 23, 62, .04), 0 4px 14px rgba(15, 23, 62, .05); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #d9c48f; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.card h3 { margin: 0; font-size: 1.12rem; }
.card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.card-title { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.card-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--gold-ink); margin: 0 0 4px; }
.card-text { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.ava { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font: 600 1.3rem Outfit, sans-serif; box-shadow: 0 6px 14px rgba(15, 23, 62, .16); }
.ava-e { background: var(--grad-gold); }
.ava-a { background: linear-gradient(135deg, #145d6b, #1f7a8c); }
.logo-sq { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.facts { list-style: none; padding: 0; margin: 10px 0 0; font-size: .9rem; color: var(--ink); }
.facts li { display: flex; gap: 8px; align-items: center; margin: 3px 0; }
.i { flex: none; width: 15px; height: 15px; background: var(--gold); -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; display: inline-block; vertical-align: -2px; }
.i-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.i-exp { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6a2 2 0 0 1 2 2v2h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3V5a2 2 0 0 1 2-2zm0 4h6V5H9z'/%3E%3C/svg%3E"); }
.i-cat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z'/%3E%3C/svg%3E"); }
.i-cal { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-3V2h-2v2H9V2zM4 10h16v10H4z'/%3E%3C/svg%3E"); }
.i-pay { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6h20v12H2zm10 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E"); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: .78rem; padding: 3px 9px; border-radius: 99px; background: #eef0f7; color: var(--navy); font-weight: 500; white-space: nowrap; }
/* chips and the view count share one wrapping row: chips fill the line, the count sits at the end of the last line */
.card-foot { flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px; }
.card-foot .chips { display: contents; }
.card-foot .views { flex: 0 0 auto; margin-left: auto; }
.chip-g { background: var(--gold-soft); color: #6d5212; }
.views { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.badge-v { display: inline-flex; align-items: flex-start; gap: 7px; font-size: .82rem; line-height: 1.35; font-weight: 600; color: #6d5212; background: var(--gold-soft); border: 1px solid #ead9ad; border-radius: 10px; padding: 4px 11px 4px 8px; margin: 0 0 6px; align-self: flex-start; }
.badge-v::before { content: ""; flex: 0 0 14px; margin-top: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/10px no-repeat; }
.badge-lg { font-size: .9rem; }
.rep { font-size: .85rem; color: var(--muted); margin: 8px 0 0; position: relative; z-index: 2; }
.rep a { position: relative; z-index: 2; }

/* category grid */
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-grid a { position: relative; display: block; padding: 16px 44px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); height: 100%; transition: background .2s, border-color .2s, box-shadow .2s; }
.cat-grid a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%237d5f14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .2s; }
.cat-grid a:hover { background: var(--grad-navy); border-color: transparent; box-shadow: var(--shadow); }
.cat-grid a:hover::after { transform: translateX(3px); }
.cat-grid b { display: block; color: var(--navy); font-weight: 600; }
.cat-grid span { font-size: .85rem; color: var(--muted); }
.cat-grid a:hover b { color: #fff; }
.cat-grid a:hover span { color: #c9cee3; }

/* call to action */
.cta { position: relative; background: radial-gradient(600px 260px at 88% 50%, rgba(189, 146, 47, .22) 0%, rgba(189, 146, 47, 0) 70%), var(--grad-navy); color: #fff; padding: 56px 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 22px 22px; pointer-events: none; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: #fff; font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); }
.cta p { color: #d4d8ea; margin: 0; max-width: 620px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* page heads */
.page-head { background: radial-gradient(640px 220px at 88% 0%, rgba(189, 146, 47, .13) 0%, rgba(189, 146, 47, 0) 70%), linear-gradient(180deg, #e6e9f5 0%, var(--bg) 100%); padding: 32px 0 28px; }
.page-head .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .87rem; margin-bottom: 10px; color: var(--muted); }
.crumbs a::after, .crumbs > span:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b6bbd0; }
.crumbs a { text-decoration: none; }

/* continent */
.cont-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 50px; align-items: start; }
.cont-box { background: #f3f5fb; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.cont-map { display: block; width: 100%; height: auto; }
.cont-map .ctx { fill: #e2e5ef; stroke: #fff; stroke-width: .6; }
.cont-map a path { fill: #97a2c9; stroke: #fff; stroke-width: .6; transition: fill .15s; }
.cont-map a:hover path, .cont-map a:focus path { fill: var(--gold); }
.cont-map .cm-tiny { fill: #97a2c9; stroke: #fff; stroke-width: 1.5; }
.cont-map a:hover .cm-tiny, .cont-map a:focus .cm-tiny { fill: var(--gold); }
.cont-map .cm-sea { fill: var(--bg); stroke: var(--line); }
.country-list h2 { font-size: 1.25rem; }
.country-list h3 { font-size: 1rem; margin-top: 22px; color: var(--muted); }
.cl { list-style: none; padding: 0; margin: 0; }
.cl-has a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; text-decoration: none; color: var(--ink); background: #fff; }
.cl-has a:hover { border-color: var(--gold); }
.cl-has b { display: block; color: var(--navy); }
.cl-has span { font-size: .84rem; color: var(--muted); }
.cl-empty { columns: 2; column-gap: 18px; font-size: .9rem; }
.cl-empty li { break-inside: avoid; padding: 2px 0; }

/* results */
.results { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; padding-top: 22px; padding-bottom: 56px; align-items: start; }
.tabs { grid-column: 1 / -1; display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 10px 18px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--navy); border-bottom-color: var(--gold); }
.filters { position: sticky; top: 100px; }
.filters form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.filters label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.filters input[type=search], .filters input[type=text], .filters select { margin-top: 4px; }
.filters-toggle { display: none; }
.filter-btns { display: flex; gap: 8px; margin-top: 6px; }
.filter-btns .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
.res-main { min-width: 0; }
.map-wrap { margin-bottom: 20px; }
.map { width: 100%; height: 420px; border-radius: 18px; border: 1px solid var(--line); background: #e9edf5; z-index: 0; box-shadow: var(--shadow); }
.map-sm { height: 260px; }
.map-pick { height: 320px; cursor: crosshair; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 10px; font-size: .88rem; }
.legend label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.legend-note { color: var(--muted); margin-left: auto; font-size: .82rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.dot-w { background: var(--pin-w); }
.dot-e { background: var(--pin-e); }
.dot-a { background: var(--pin-a); }
.empty { text-align: center; padding: 40px 20px; border: 1px dashed #cdd2e3; border-radius: 12px; }
.empty-s { color: var(--muted); padding: 20px 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; }
.pager a { font-weight: 600; }

/* leaflet pins and popups */
.la-pin svg { display: block; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.leaflet-popup-content { margin: 12px 14px; font: 14px/1.4 Inter, sans-serif; }
.leaflet-popup-content b { display: block; color: var(--navy); }
.leaflet-popup-content a { font-weight: 600; }
.pop-v { color: #6d5212; font-size: .8rem; font-weight: 600; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(189, 146, 47, .35); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--navy); color: #fff; font: 600 12px Inter, sans-serif; }

/* detail pages */
.ph-profile { padding-bottom: 30px; }
.prof-head { display: flex; gap: 22px; align-items: center; }
.prof-ava, .prof-photo { flex: none; width: 112px; height: 112px; border-radius: 50%; }
.prof-ava { background: var(--grad-navy); color: #fff; display: grid; place-items: center; font: 600 2.8rem Outfit, sans-serif; }
.prof-photo { object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.prof-logo { border-radius: 14px; object-fit: contain; background: #fff; }
.prof-head h1 { margin-bottom: .15em; }
.prof-title { font-size: 1.15rem; color: var(--navy-3); font-weight: 500; margin-bottom: .4em; }
.prof-meta { color: var(--muted); font-size: .93rem; margin-bottom: .6em; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.detail-wide { display: block; }
.block { margin-bottom: 34px; }
.block h2 { font-size: 1.3rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.detail-side { position: sticky; top: 100px; }
.side-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); }
.side-box h2 { font-size: 1.25rem; }
.side-box h3 { margin-top: 18px; font-size: 1rem; }
.side-logo { max-height: 70px; width: auto; margin-bottom: 10px; }
.price { font: 700 2rem Outfit, sans-serif; color: var(--navy); margin: 16px 0; }
.price span { display: block; font: 500 .85rem Inter, sans-serif; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 10px 0; }
.ticks li { padding-left: 24px; position: relative; margin: 6px 0; font-size: .94rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/11px no-repeat; }
.dl { margin: 0; }
.dl dt { font-weight: 600; color: var(--navy); font-size: .88rem; }
.dl dd { margin: 0 0 12px; }
.dl-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; }
.dl-grid dd { margin: 0; }
.dl-contacts dd { word-break: break-word; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.timeline h3 { margin-bottom: 2px; }
.tl-meta { font-size: .87rem; color: var(--muted); margin-bottom: 6px; }
.quals { list-style: none; padding: 0; margin: 0; }
.quals li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.q-kind { display: inline-block; min-width: 92px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-ink); font-weight: 700; }

/* forms */
.form label, .form .label-like { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 14px; }
.form .label-like { margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=date], input[type=month], select, textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #cdd1e1; border-radius: 10px; font: 400 1rem Inter, sans-serif; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-3); outline: 2px solid rgba(42, 58, 124, .2); outline-offset: 0; }
[aria-invalid=true] { border-color: var(--bad); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--ink) !important; }
.check input { margin-top: 4px; width: 17px; height: 17px; flex: none; accent-color: var(--navy); }
.checks { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 10px; }
.checks .check { margin-bottom: 6px; }
.row2, .row3, .row4 { display: grid; gap: 0 16px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: repeat(3, 1fr); }
.row4 { grid-template-columns: 1fr 2fr 2fr 1fr; }
.form-sub { font-family: Outfit, sans-serif; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; }
.form-wide fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px 8px; margin: 0 0 22px; background: #fff; }
.form-wide legend { font: 600 1.15rem Outfit, sans-serif; color: var(--navy); padding: 0 8px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.row-item { border: 1px dashed #cdd1e1; border-radius: 10px; padding: 14px 14px 4px; margin-bottom: 12px; position: relative; }
.row-del { position: absolute; top: 8px; right: 12px; font-size: .85rem; }
.file-now { display: flex; align-items: center; gap: 14px; }
.file-now img { border-radius: 8px; object-fit: cover; }
.field-map { margin-bottom: 14px; }
.cf-turnstile { margin: 6px 0 16px; }
.auth { padding-top: 40px; padding-bottom: 60px; }
.auth h1 { font-size: 2rem; }
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.choose-card { display: block; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.choose-card:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.choose-card h2 { font-size: 1.15rem; }
.choose-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.msg-page { padding: 70px 24px; text-align: center; }
.msg-page .btn { margin: 4px; }

/* checkout */
.checkout { padding-top: 30px; padding-bottom: 60px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.co-order, .co-pay { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.co-item { font-weight: 600; color: var(--navy); }
.co-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.co-total b { font: 700 1.6rem Outfit, sans-serif; color: var(--navy); }

/* account */
.acc { padding-top: 30px; padding-bottom: 60px; }
.acc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.acc-nav a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.acc-nav a.on { color: var(--navy); border-bottom-color: var(--gold); }
.acc-nav form { margin: 0 0 0 auto; }
.acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 18px; }
.acc-grid .panel { margin: 0; }
.panel h2 { font-size: 1.2rem; }
.stat-big { font: 700 2.2rem Outfit, sans-serif; color: var(--navy); margin: 8px 0; line-height: 1; }
.stat-big span { display: block; font: 500 .85rem Inter, sans-serif; color: var(--muted); margin-top: 6px; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: #e3f3ea; color: var(--ok); }
.pill-warn { background: var(--gold-soft); color: var(--warn); }
.pill-bad { background: #fbe6e4; color: var(--bad); }
.pill-muted { background: #eef0f5; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 6px 0 6px 28px; position: relative; font-size: .94rem; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c6cadb; }
.checklist li.done { color: var(--ink); }
.checklist li.done::before { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/11px no-repeat; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.table th { text-align: left; background: var(--bg-soft); color: var(--navy); font-weight: 600; padding: 10px 14px; white-space: nowrap; }
.table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table td input[type=text] { margin: 0; }
.table .actions { white-space: nowrap; }
.table .actions > * { display: inline-block; margin-right: 12px; }
.table .actions form { margin: 0; }
.row-off td { opacity: .6; }

/* admin */
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
.admin-side { position: sticky; top: 100px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.admin-who { margin: 0 0 12px; }
.admin-who b { display: block; color: var(--navy); }
.admin-who span { font-size: .82rem; color: var(--gold-ink); font-weight: 600; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; }
.admin-side nav a.on, .admin-side nav a:hover { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(15, 23, 62, .08); }
.admin-side form { margin: 12px 10px 0; }
.count { background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 99px; padding: 1px 8px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 26px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--ink); background: #fff; }
.kpi b { display: block; font: 700 1.8rem Outfit, sans-serif; color: var(--navy); }
.kpi span { font-size: .87rem; color: var(--muted); }
.kpi-act { border-left: 4px solid var(--gold); }
.kpi-act:hover { border-color: var(--gold); }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 22px; align-items: start; }
.review-grid .panel h2 { margin-top: 18px; font-size: 1.1rem; }
.decide-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.decide label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 12px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.inline-form input, .inline-form select { width: auto; flex: 1 1 220px; margin: 0; }
.msg-head { font-size: .9rem; color: var(--muted); }
.msg-done { opacity: .6; }
.mail-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 12px; background: #f3f4f8; }
.mc-box[hidden] { display: none; }

/* text pages */
.doc { padding-top: 36px; padding-bottom: 60px; }
.doc h2 { margin-top: 1.6em; font-size: 1.3rem; }
.doc li { margin-bottom: 6px; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 36px; padding-bottom: 64px; }
.about-text { max-width: 720px; }
.about-text h2 { margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--gold); }
.about-text h2:first-child { margin-top: 0; }
.about-side { position: sticky; top: 24px; background: var(--grad-navy); color: #c9cee3; border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; }
.about-side-k { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--gold-2); }
.about-nums { list-style: none; margin: 0 0 8px; padding: 0; }
.about-nums li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.about-nums b { display: block; font: 700 1.7rem/1.1 Outfit, Inter, sans-serif; color: #fff; }
.about-side .btn { justify-content: center; }
.how-page { padding-top: 36px; padding-bottom: 60px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; position: relative; box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-gold); color: #fff; font: 700 1.1rem Outfit, sans-serif; margin-bottom: 12px; }
.how-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 30px; }
.how-row { background: var(--bg-soft); border-radius: 14px; padding: 22px 24px; }
.how-row li { margin-bottom: 6px; }

/* footer */
.site-foot { background: linear-gradient(180deg, #0F173E 0%, #0a1030 100%); color: #c9cee3; margin-top: 0; position: relative; }
.site-foot::before { content: ""; display: block; height: 1px; background: linear-gradient(90deg, rgba(189, 146, 47, 0) 0%, rgba(214, 177, 90, .7) 50%, rgba(189, 146, 47, 0) 100%); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-top: 46px; padding-bottom: 30px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 12px; }
.foot-brand p { font-size: .92rem; max-width: 330px; }
.site-foot h2 { color: var(--gold-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-foot a { display: block; color: #e3e6f2; text-decoration: none; font-size: .93rem; padding: 3px 0; }
.site-foot a:hover { color: var(--gold-2); }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; padding-bottom: 24px; font-size: .84rem; display: flex; justify-content: space-between; gap: 24px; }
.foot-legal p { margin: 0; max-width: 760px; }
.foot-legal p:last-child { white-space: nowrap; }
.foot-legal a { display: inline; color: var(--gold-2); }
.foot-legal .foot-credit { color: inherit; font-size: inherit; padding: 0; }

/* back to top: round button with the pin from the logo */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-navy); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(15, 23, 62, .3); border: 2px solid var(--gold); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; text-decoration: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top img { width: 30px; height: 30px; margin-top: 2px; }
.to-top svg { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--gold); color: #fff; }
.to-top:hover { color: #fff; filter: brightness(1.15); }

/* responsive */
@media (max-width: 1100px) {
  .nav-left, .nav-right { gap: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .detail { grid-template-columns: minmax(0, 1fr) 300px; }
  .search-box { grid-template-columns: 1fr 1fr 1fr; }
  .search-box .sb-q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .search-box .sb-c { border-right: 0; }
  .search-box .btn { grid-column: 1 / -1; padding: 13px; }
}
@media (max-width: 980px) {
  .head-in { grid-template-columns: 44px 1fr 44px; height: 66px; gap: 10px; padding: 0 16px; }
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand { justify-self: center; }
  .brand img { height: 48px; }
  .head-acc { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
  .row4 { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters-toggle { display: inline-flex; margin-bottom: 10px; }
  .filters form { display: none; }
  .filters.open form { display: block; }
  .detail, .cont-wrap, .review-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; order: -1; }
  .how-grid, .choose, .steps { grid-template-columns: 1fr; }
  .atlas-head { grid-template-columns: minmax(0, 1fr); }
  .atlas-key { white-space: normal; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .admin { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: static; }
  .admin-side nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .how-rows { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-side { position: static; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .wm-label { padding: 4px 8px; }
  .wm-label span { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-grid, .co-grid { grid-template-columns: 1fr; }
  .row2, .row3, .row4 { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; gap: 2px; }
  .dl-grid dd { margin-bottom: 10px; }
  .map { height: 340px; }
  .prof-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .prof-ava, .prof-photo { width: 88px; height: 88px; }
  .prof-ava { font-size: 2.2rem; }
  .foot-legal { flex-direction: column; }
  .legend-note { margin-left: 0; width: 100%; }
  .atlas { padding: 20px 0 78px; }
  .intro { margin-top: -58px; }
  .intro-card { padding: 30px 20px 24px; border-radius: 20px; }
  .cont-list { display: grid; }
  .world-box { margin: 0 -16px; border-radius: 0; }
  .wm-ctrl { top: auto; bottom: 6px; right: 8px; flex-direction: row; gap: 4px; }
  .wm-ctrl button { min-width: 32px; height: 32px; font-size: 1.1rem; border-radius: 8px; }
  section.world, section.how, section.latest, section.cats { padding: 38px 0; }
  .wm-label { display: none; }
  .acc-nav form { margin-left: 0; }
  .form-wide fieldset { padding: 16px 14px 4px; }
}
@media (max-width: 520px) {
  .search-box { grid-template-columns: 1fr; }
  .search-box label { border-right: 0; border-bottom: 1px solid var(--line); }
  .tabs { gap: 0; }
  .tabs a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; padding: 10px 6px; white-space: normal; text-align: center; line-height: 1.25; }
  .cat-grid, .foot-grid { grid-template-columns: 1fr; }
  .intro-card { padding: 26px 14px 20px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; }
  .stats li, .stats li:first-child { padding: 0 6px; border-left: 0; }
  .cl-empty { columns: 1; }
  .stats { gap: 8px 0; }
  .to-top { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .wm-halo { animation: none; transform: scale(.7); opacity: .6; }
  .card:hover, .how-card:hover, .btn:hover { transform: none; }
}

.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; }
