/* NOMAN RMNN public site.
   One committed dark "space" look shared with the globe (spec §2). Mobile first: the base rules are the
   phone layout, and the min-width queries add the desktop columns. */

:root {
  --bg: #02060d;
  --bg-2: #061322;
  --panel: #0b2133;
  --panel-2: #0e2a40;
  --line: #20405a;
  --ink: #f1f6fa;
  --muted: #93abc0;
  --accent: #ff9a3d;
  --accent-ink: #1a0e02;
  --accent-2: #ef7a1a;
  --teal: #5fd0e6;
  --sky: #58d2ff;
  --ok: #3ccf91;
  --warn: #ffcc4d;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 28px rgba(0, 0, 0, .5);
  --display: "Sora", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --text: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --header-h: 64px;
  --gutter-l: max(16px, env(safe-area-inset-left));
  --gutter-r: max(16px, env(safe-area-inset-right));
  --line-soft: rgba(32, 64, 90, .6);
  color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Every scroll into view (section links, and the browser bringing a focused control into view, Shift+Tab
     included) stops below the sticky header, never under it. Sections need no scroll-margin of their own:
     the two would add up. */
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 8px);
  /* keeps the layout still when a dialog locks the page scroll and the scrollbar goes away */
  scrollbar-gutter: stable;
}
/* a dialog or the menu is open: the page behind it stays put */
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  /* Soft glow near the top, over the --bg painted by <html>. It sits top-left and fades out before the
     globe column, so it adds no step at the globe frame's edges (they fade to plain --bg). The running 3D globe
     paints its own sky in the frame, a little lighter, with a Milky Way band that turns with it: the short edge
     fades soften that but cannot hide it, and wider ones would dim the globe's own buttons near its edges. */
  background: radial-gradient(46vw 60vh at 8% -6%, rgba(10, 29, 48, .95) 0%, rgba(10, 29, 48, .5) 45%, rgba(2, 6, 13, 0) 100%) no-repeat;
  position: relative;
  isolation: isolate; /* lets the fixed star field sit behind the content but above <html>'s colour */
  -webkit-font-smoothing: antialiased;
}

/* Faint star field, drawn with CSS only. Fixed and on its own layer so it never repaints on scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(1px 1px at 18px 26px, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(1px 1px at 120px 84px, rgba(255, 255, 255, .45), transparent 70%),
    radial-gradient(1px 1px at 196px 160px, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(1px 1px at 60px 200px, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(1px 1px at 230px 40px, rgba(255, 255, 255, .4), transparent 70%),
    radial-gradient(1.4px 1.4px at 90px 310px, rgba(255, 255, 255, .6), transparent 70%),
    radial-gradient(1px 1px at 300px 230px, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(1.6px 1.6px at 340px 120px, rgba(190, 225, 255, .65), transparent 70%),
    radial-gradient(1px 1px at 410px 380px, rgba(255, 255, 255, .45), transparent 70%),
    radial-gradient(1.8px 1.8px at 480px 60px, rgba(255, 220, 190, .5), transparent 70%),
    radial-gradient(1px 1px at 520px 470px, rgba(255, 255, 255, .4), transparent 70%);
  background-size:
    260px 260px, 260px 260px, 260px 260px, 260px 260px, 260px 260px,
    390px 390px, 390px 390px, 390px 390px,
    570px 570px, 570px 570px, 570px 570px;
}

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #8fe0f0; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
[tabindex="-1"]:focus { outline: none; }

.icon { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 15px var(--display);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(1200px + 32px);
  margin-inline: auto;
  padding-inline: var(--gutter-l) var(--gutter-r);
}

/* ---------- buttons, chips, pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: 700 15px/1.2 var(--display);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--panel-2); border-color: #2d5878; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffad61; border-color: #ffad61; color: var(--accent-ink); }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.btn-icon { width: 44px; padding: 0; }
/* WhatsApp green, dark enough for white text (5.4:1) */
.btn-wa { background: #1a7a48; border-color: #1a7a48; color: #fff; }
.btn-wa:hover { background: #156b3e; border-color: #156b3e; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: 700 14px/1.2 var(--display);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--panel-2); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip-count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(2, 6, 13, .45);
  font-size: 12px;
  text-align: center;
}
.chip[aria-pressed="true"] .chip-count { background: rgba(26, 14, 2, .16); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(11, 33, 51, .6);
  color: var(--ink);
  font: 700 14px/1.2 var(--display);
  text-decoration: none;
}
.pill .icon { width: 18px; height: 18px; color: var(--accent); }
.pill:hover { background: var(--panel-2); color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(2, 6, 13, .35);
  color: var(--muted);
  font: 700 12.5px/1.3 var(--display);
}

/* category badge sits on photos, so it always has its own dark plate */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(2, 6, 13, .86);
  border: 1px solid rgba(255, 255, 255, .08);
  font: 800 12px/1.2 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-umrah { color: var(--teal); }
.badge-tour { color: var(--sky); }
.badge-land { color: var(--ok); }
.badge-visa { color: var(--warn); }

/* ---------- form controls ---------- */

.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field-label {
  font: 700 14px/1.3 var(--display);
  color: var(--ink);
}
.optional { font-weight: 600; color: var(--muted); }
.req { color: var(--accent); font-weight: 800; }

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--ink);
  font: 400 16px/1.4 var(--text); /* 16px keeps phones from zooming into the field */
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #6f8aa1; }
input:hover, select:hover, textarea:hover { border-color: #2d5878; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
/* Chrome's month field has a third Tab stop, its calendar button, where the input no longer matches
   :focus-visible (or :focus): :focus-within still does, so the ring stays on all three stops */
input[type="month"]:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393abc0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  cursor: pointer;
}
select option, select optgroup { background: var(--bg-2); color: var(--ink); }
/* no filter: with color-scheme: dark the calendar icon (and its focus ring) is already drawn light; inverting it
   turned both near-black on the dark field */
input[type="month"]::-webkit-calendar-picker-indicator { cursor: pointer; }
[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { color: var(--muted); font-size: 14px; }
.field-error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  color: #ff9c9c;
  font: 600 14px/1.4 var(--text);
}
.field-error .icon { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  background: rgba(2, 6, 13, .82);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: grid; gap: 3px; min-width: 0; }
.brand-name { font: 800 17px/1 var(--display); letter-spacing: .07em; white-space: nowrap; }
.brand-tag {
  font: 700 10.5px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 2px; list-style: none; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font: 700 14.5px var(--display);
  text-decoration: none;
}
.site-nav a:hover { background: var(--panel); color: var(--ink); }
.header-cta { padding-inline: 16px; }
.header-cta .icon { width: 18px; height: 18px; }

@media (min-width: 900px) {
  .site-nav { display: block; }
  .menu-btn { display: none; }
}
@media (max-width: 419px) {
  /* phones: the globe right below is the logo, so the small mark gives its room to the button's words */
  .site-header .brand-mark { display: none; }
  .brand-name { font-size: 16px; letter-spacing: .06em; }
  .header-cta { padding-inline: 14px; font-size: 14.5px; gap: 6px; }
}
/* The menu button keeps its 44 px when a WhatsApp number makes the header button wider ("WhatsApp" is
   longer than "Enquire"): on 350-379 px phones that button gets a little tighter instead. */
.menu-btn { flex: none; }
@media (max-width: 379px) {
  .header-cta { padding-inline: 11px; }
}
@media (max-width: 349px) {
  /* very small phones: the WhatsApp/Enquire button keeps its icon, its words go to screen readers only */
  .header-cta { width: 44px; padding: 0; }
  .header-cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* menu sheet (phones) */
dialog.sheet {
  margin: 0 0 0 auto;
  padding: 0;
  width: min(86vw, 360px);
  max-width: none;
  height: 100%;
  max-height: none;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .55);
}
dialog.sheet::backdrop { background: rgba(1, 4, 9, .66); }
.sheet-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: max(14px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 18px;
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-title { font: 800 13px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet-links { list-style: none; display: grid; gap: 4px; }
.sheet-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: 700 18px var(--display);
  text-decoration: none;
}
.sheet-links a:hover { background: var(--panel); }
.sheet-cta { margin-top: auto; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 0 0 36px; overflow-x: clip; }
.hero-grid { display: grid; gap: 22px; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 2.4vw + 18px, 50px); line-height: 1.06; }
.hero .lead {
  margin-top: 16px;
  max-width: 54ch;
  color: #b7c9d8;
  font-size: clamp(17px, .5vw + 15px, 20px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 559px) { .hero-actions .btn { width: 100%; } }
/* the 3D globe cannot run on this device (site.js adds .no-globe): no planner, so no buttons that open it */
.no-globe [data-globe-plan], .no-globe .fly-btn { display: none; }

.finder {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .72);
  box-shadow: var(--shadow);
}
.finder-title {
  margin-bottom: 12px;
  font: 800 13px/1.2 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.finder-row { display: grid; gap: 12px; }
.finder-row .btn { width: 100%; }
@media (min-width: 560px) {
  .finder-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
  .finder-row .btn { width: auto; min-height: 46px; }
}

.service-pills { display: none; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }

/* The globe: full width on phones, with real page above (the header) and below (the labels) so a finger
   can always scroll the page outside the frame — the globe itself takes every touch inside it.
   It comes first in the HTML too (phones show it first), so the Tab order follows the screen. */
.hero-globe {
  position: relative;
  margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));
}
.globe-frame {
  position: relative;
  height: min(64vh, 115vw);
  height: min(64svh, 115vw);
  min-height: 300px;
  background: radial-gradient(circle at 50% 36%, #0a1d30 0%, var(--bg) 58%);
}
.globe-frame iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
/* soft edges so the frame melts into the page instead of ending in a hard line */
.globe-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--bg) 0, rgba(2, 6, 13, 0) 14px),
    linear-gradient(to top, var(--bg) 0, rgba(2, 6, 13, 0) 14px);
}
.globe-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: var(--muted);
  font: 700 13px var(--display);
  letter-spacing: .08em;
  transition: opacity .6s ease;
}
.globe-loading img { width: 100%; height: 100%; object-fit: contain; }
.globe-loading span { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; }
.globe-loading.gone { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .globe-loading { transition: none; } }

/* phones: a tidy 2 × 2 grid right under the globe; tablets: one centred row */
.globe-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px var(--gutter-r) 0 var(--gutter-l);
}
.globe-labels .globe-label { justify-content: center; }
@media (min-width: 560px) and (max-width: 1023px) {
  .globe-labels { display: flex; flex-wrap: wrap; justify-content: center; }
}
.globe-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 33, 51, .9);
  color: var(--ink);
  font: 700 14px/1.2 var(--display);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.globe-label:hover { background: var(--panel-2); border-color: #2d5878; color: var(--ink); }
.gl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 154, 61, .18);
}
.gl-visa .gl-dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(255, 204, 77, .18); }
.gl-umrah .gl-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(95, 208, 230, .18); }
.gl-tours .gl-dot { background: var(--sky); box-shadow: 0 0 0 4px rgba(88, 210, 255, .18); }
.gl-land .gl-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(60, 207, 145, .18); }

/* toast near the globe ("Landed in …") */
.globe-toast {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  border: 1px solid #2d5878;
  border-radius: var(--radius);
  background: rgba(6, 19, 34, .96);
  box-shadow: var(--shadow);
  animation: toast-in .3s ease both;
}
.globe-toast p { flex: 1; min-width: 0; font: 700 14.5px/1.35 var(--display); }
.globe-toast .btn { flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px); } }

@media (min-width: 1024px) {
  .hero { padding: 0; }
  .hero-grid {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: 28px;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }
  /* text on the left, globe on the right (the globe is first in the HTML) */
  .hero-copy { grid-column: 1; grid-row: 1; padding-block: 32px; }
  .service-pills { display: flex; }
  .hero-globe { grid-column: 2; grid-row: 1; margin: 0; align-self: stretch; display: flex; align-items: center; }
  .globe-frame {
    width: 100%;
    height: min(calc(100vh - var(--header-h)), 860px);
    height: min(calc(100svh - var(--header-h)), 860px);
    min-height: 560px;
  }
  .globe-frame::after {
    background:
      linear-gradient(to right, var(--bg) 0, rgba(2, 6, 13, 0) 22px),
      linear-gradient(to left, var(--bg) 0, rgba(2, 6, 13, 0) 22px),
      linear-gradient(to bottom, var(--bg) 0, rgba(2, 6, 13, 0) 18px),
      linear-gradient(to top, var(--bg) 0, rgba(2, 6, 13, 0) 18px);
  }
  /* labels float around the globe, at its edges, away from the globe's own top and bottom controls */
  .globe-labels { position: absolute; inset: 0; padding: 0; display: block; pointer-events: none; }
  .globe-label { position: absolute; pointer-events: auto; animation: float 6s ease-in-out infinite; }
  .gl-visa { top: 21%; left: 2%; }
  .gl-umrah { top: 29%; right: 2%; animation-delay: -1.5s; }
  .gl-tours { top: 47%; left: 0; animation-delay: -3s; }
  .gl-land { top: 54%; right: 0; animation-delay: -4.5s; }
  /* while the globe is in use (its trip planner or guide open), the labels would cover them: step aside */
  .globe-label { transition: opacity .2s ease, visibility 0s linear 0s; }
  .globe-in-use .globe-label { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
}
@keyframes float { 50% { transform: translateY(-4px); } }
/* a target that moves is harder to hit: the label holds still under the pointer or keyboard focus */
.globe-label:hover, .globe-label:focus-visible { animation-play-state: paused; }

/* ---------- sections ---------- */

.section {
  padding-block: clamp(48px, 6vw, 80px);
}
.section-alt {
  background: linear-gradient(to bottom, rgba(6, 19, 34, 0), rgba(6, 19, 34, .78) 12%, rgba(6, 19, 34, .78) 88%, rgba(6, 19, 34, 0));
}
.section-head { max-width: 760px; margin-bottom: 28px; }
.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font: 800 13px/1.2 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(28px, 2.4vw + 16px, 42px); }
.section-lead { margin-top: 12px; max-width: 64ch; color: var(--muted); font-size: 17.5px; }

.loading-card, .empty-state {
  grid-column: 1 / -1;
  list-style: none;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}
.empty-state { display: grid; gap: 12px; justify-items: center; padding: 34px 24px; background: rgba(11, 33, 51, .35); }
.empty-state h3 { font-size: 20px; color: var(--ink); }
.empty-state p { max-width: 52ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }

/* ---------- services ---------- */

.service-grid {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 42, 64, .9), rgba(11, 33, 51, .75));
  transition: border-color .15s ease, transform .15s ease;
}
.service-card:hover { border-color: #2d5878; transform: translateY(-2px); }
.service-card:focus-within { border-color: var(--teal); }
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: rgba(255, 154, 61, .12);
  color: var(--accent);
}
.service-icon .icon, .service-icon.icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; }
.service-card p { color: var(--muted); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 4px;
  color: var(--accent);
  font: 800 14.5px var(--display);
  text-decoration: none;
}
.service-link .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.service-link:hover { color: #ffb878; }
.service-card:hover .service-link .icon { transform: translateX(3px); }
/* the whole card is the link target, for easy tapping */
.service-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
@media (max-width: 639px) {
  /* phones: icon beside the text, so six services do not turn into a long scroll */
  .service-card { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: none; column-gap: 14px; row-gap: 4px; padding: 18px; }
  .service-icon { grid-row: 1 / span 3; margin: 0; width: 44px; height: 44px; }
  .service-card > :not(.service-icon) { grid-column: 2; }
  .service-card p { font-size: 15.5px; }
  .service-link { min-height: 32px; margin-top: 2px; }
}

/* ---------- cards (packages, visas, destinations) ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field-inline { min-width: min(100%, 240px); }
.filter-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
}
.link-btn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--teal);
  font: 700 14.5px var(--display);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: #8fe0f0; }

.card-grid {
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card-grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .2s ease;
}
.card:hover { border-color: #2d5878; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-media .badge { position: absolute; left: 12px; top: 12px; }
.card-media .ribbon {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 11.5px/1.2 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 18px 20px; }
.card-title { font-size: 19px; line-height: 1.25; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14.5px; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .icon { width: 16px; height: 16px; color: var(--teal); }
.card-summary { color: #b7c9d8; font-size: 15.5px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-foot { margin-top: auto; display: grid; gap: 14px; padding-top: 6px; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price { font: 800 20px/1.2 var(--display); color: var(--ink); }
.price-ask { color: var(--accent); }
.price-note { color: var(--muted); font-size: 14px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card-actions .btn { flex: 1 1 auto; }
.card-facts { display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }
.card-facts div { display: flex; gap: 8px; align-items: flex-start; }
.card-facts .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--teal); }
.card-facts b { color: var(--ink); font-weight: 700; }

/* photo placeholder when a package or place has no photo yet */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(95, 208, 230, .16), rgba(95, 208, 230, 0) 60%),
    radial-gradient(80% 100% at 0% 100%, rgba(255, 154, 61, .14), rgba(255, 154, 61, 0) 60%),
    linear-gradient(140deg, hsl(var(--hue, 205) 45% 21%), #061322 72%);
  color: rgba(241, 246, 250, .9);
}
/* a faint ring and meridians, like the globe, behind the country code */
.ph::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(241, 246, 250, .08);
  box-shadow: inset 0 0 0 18px rgba(241, 246, 250, .02);
}
.ph-code { position: relative; font: 800 clamp(44px, 9vw, 72px)/1 var(--display); letter-spacing: .08em; color: rgba(241, 246, 250, .2); }
.ph .icon { position: absolute; right: 16px; bottom: 14px; width: 28px; height: 28px; color: rgba(255, 154, 61, .7); }

.clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.tag-more { color: var(--teal); border-color: rgba(95, 208, 230, .3); }
.more-row { grid-column: 1 / -1; list-style: none; display: flex; justify-content: center; padding-top: 6px; }

.visa-card-head { display: flex; align-items: center; gap: 14px; }
.code-medal {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(241, 246, 250, .14);
  background: radial-gradient(circle at 35% 30%, hsl(var(--hue, 205) 50% 32%), hsl(var(--hue, 205) 45% 16%) 70%);
  color: var(--ink);
  font: 800 15px/1 var(--display);
  letter-spacing: .06em;
  box-shadow: 0 0 0 4px rgba(11, 33, 51, .9), 0 0 0 5px var(--line);
}
.visa-region { margin-top: 3px; color: var(--muted); font: 700 13px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.visa-card .card-body { padding-top: 20px; }
.visa-card .tag { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mini-list { list-style: none; display: grid; gap: 4px; font-size: 14.5px; color: #b7c9d8; }
.mini-list li { position: relative; padding-left: 16px; }
.mini-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.visa-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .6);
}
.visa-picker .field { flex: 1 1 260px; }

/* ---------- how it works ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.step {
  counter-increment: step;
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .55);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 18px;
  top: 14px;
  font: 800 34px/1 var(--display);
  color: rgba(147, 171, 192, .2);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: rgba(95, 208, 230, .12);
  color: var(--teal);
}
.step-icon .icon, .step-icon.icon { width: 24px; height: 24px; }
.step h3 { font-size: 18px; padding-right: 36px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- about ---------- */

.about-grid { display: grid; gap: 28px; align-items: start; }
.about-copy { display: grid; gap: 14px; }
.about-copy .eyebrow { margin-bottom: -4px; }
.about-copy h2 { font-size: clamp(28px, 2.4vw + 16px, 42px); }
.about-intro { font-size: 19px; color: var(--ink); }
/* body copy only: the eyebrow and the licence line keep their own colours */
.about-copy p:not(.eyebrow):not(.licence):not(.about-intro) { max-width: 64ch; color: #b7c9d8; }
.licence {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: 700 14px var(--display);
}
.about-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .6);
}
.about-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.about-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.about-list strong { color: var(--ink); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; } }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; }
@media (min-width: 960px) {
  /* questions on the right, the heading stays in view on the left */
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 48px; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .6);
  transition: border-color .15s ease;
}
.faq-item[open] { border-color: #2d5878; background: var(--panel); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font: 700 16.5px/1.35 var(--display);
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer { display: grid; gap: 10px; padding: 0 18px 18px; color: #b7c9d8; max-width: 70ch; }

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; } }
.enquiry {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 16px; align-items: start; }
.form-grid .field { align-content: start; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .field-full { grid-column: 1 / -1; }
}
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.form-note { font-size: 14.5px; }
.form-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; }

.status-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.status-box h3 { display: flex; gap: 10px; align-items: center; font-size: 19px; }
.status-box h3 .icon { width: 24px; height: 24px; }
.status-box p { color: #b7c9d8; }
.status-ok { border-color: rgba(60, 207, 145, .55); }
.status-ok h3 .icon { color: var(--ok); }
.status-error { border-color: rgba(255, 107, 107, .55); }
.status-error h3 .icon { color: var(--danger); }
.status-info h3 .icon { color: var(--teal); }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ref {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(255, 154, 61, .14);
  color: var(--accent);
  font: 800 17px/1.5 var(--display);
  letter-spacing: .04em;
}
.copy-box { display: grid; gap: 8px; }
.copy-box textarea { min-height: 170px; font-size: 14.5px; background: var(--panel); }

.contact-aside {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .6);
}
.contact-aside h3 { font-size: 19px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.contact-list .c-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(95, 208, 230, .1);
  color: var(--teal);
}
.contact-list .c-icon .icon { width: 21px; height: 21px; }
.contact-list .c-body { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.contact-list .c-label { color: var(--muted); font: 700 12.5px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
/* call, WhatsApp and email are the agency's main tap targets: 44px tall like every other control */
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.contact-list .c-value { color: var(--ink); }
.contact-empty { color: #b7c9d8; }

/* ---------- follow ---------- */

.social-grid {
  list-style: none;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .social-grid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.social-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
a.social-tile:hover { border-color: #2d5878; background: var(--panel-2); color: var(--ink); transform: translateY(-2px); }
.social-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}
.social-icon .icon { width: 24px; height: 24px; }
.social-text { display: grid; gap: 2px; min-width: 0; }
.social-name { font: 800 15px/1.2 var(--display); }
.social-sub { color: var(--muted); font-size: 13.5px; }
.social-tile.is-soon { border-style: dashed; background: rgba(11, 33, 51, .35); }
.social-tile.is-soon .social-icon { opacity: .45; }
.s-facebook .social-icon { color: #6ea8ff; }
.s-instagram .social-icon { color: #ff7eb3; }
.s-youtube .social-icon { color: #ff6b6b; }
.s-tiktok .social-icon { color: #e9f3f8; }
.s-x .social-icon { color: #e9f3f8; }
.s-whatsappChannel .social-icon { color: #3ccf91; }
.s-telegram .social-icon { color: #58d2ff; }
.s-linkedin .social-icon { color: #5fa8e6; }
.s-snapchat .social-icon { color: #ffe066; }

.videos { margin-top: 34px; }
.videos-title { font-size: 20px; margin-bottom: 14px; }
.video-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(2, 6, 13, .55), rgba(2, 6, 13, 0) 60%);
}
.video-play span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 107, 107, .92);
  color: #fff;
}
.video-play .icon { width: 26px; height: 26px; margin-left: 3px; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 44px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 6, 13, .72);
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.footer-name { display: flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); letter-spacing: .07em; }
.c-address { white-space: pre-line; }
.footer-tag { margin-top: 8px; color: var(--muted); font: 700 12px var(--display); letter-spacing: .16em; text-transform: uppercase; }
.footer-line { margin-top: 12px; color: var(--muted); }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.footer-nav a, .footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font: 700 14.5px var(--display);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--accent); }
.footer-heading { margin-bottom: 8px; color: var(--muted); font: 800 12.5px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a {
  justify-content: center;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
}
.footer-social a:hover { background: var(--panel-2); }
.footer-social .icon { width: 20px; height: 20px; }
.footer-social-note { color: var(--muted); font-size: 15px; }
.footer-credits { margin-top: 28px; }
.footer-credits details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(11, 33, 51, .35);
}
.footer-credits summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--ink);
  font: 700 14.5px var(--display);
}
.credits-note { padding: 0 16px; color: var(--muted); font-size: 14px; }
.credits-list {
  list-style: none;
  display: grid;
  gap: 8px 24px;
  padding: 12px 16px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (min-width: 800px) { .credits-list { grid-template-columns: 1fr 1fr; } }
.credits-list a { color: #9edff0; }
.footer-bottom { margin-top: 24px; color: var(--muted); font-size: 14.5px; }

/* ---------- floating WhatsApp button ---------- */

.wa-float {
  position: fixed;
  z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: #1a7a48;
  color: #fff;
  font: 800 15px var(--display);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .15s ease, background-color .15s ease;
}
.wa-float:hover { background: #156b3e; color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
@media (max-width: 599px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* leave room at the end of the page so the button never covers the last line */
body.has-wa .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- notice toast ---------- */

.notice {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid #2d5878;
  border-radius: 999px;
  background: rgba(6, 19, 34, .97);
  box-shadow: var(--shadow);
  font: 700 14.5px/1.35 var(--display);
  text-align: center;
}

/* ---------- details dialog (packages and visas) ---------- */

dialog.detail {
  padding: 0;
  width: min(940px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
  overflow: hidden;
}
dialog.detail[open] { display: flex; flex-direction: column; }
dialog.detail::backdrop { background: rgba(1, 4, 9, .74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.detail-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.detail-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  background: rgba(2, 6, 13, .78);
  border-color: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.detail-close:hover { background: rgba(14, 42, 64, .95); }
.detail-media { position: relative; aspect-ratio: 21 / 9; max-height: 340px; width: 100%; background: var(--panel); overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, var(--bg-2), rgba(6, 19, 34, 0)); }
.detail-media .badge { position: absolute; z-index: 1; left: 18px; top: 16px; }
.detail-media.is-ph { aspect-ratio: auto; height: 132px; }
.detail-media.is-ph .ph-code { font-size: 56px; }
.detail-content { padding: 6px clamp(18px, 3.5vw, 32px) 30px; display: grid; gap: 22px; }
.detail-head { display: grid; gap: 10px; }
.detail-kicker { color: var(--accent); font: 800 13px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.detail-head h2 { font-size: clamp(25px, 2vw + 16px, 34px); padding-right: 30px; }
.detail-grid { display: grid; gap: 24px; }
@media (min-width: 820px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; }
  /* the aside is first in the HTML (phones show it first): here it goes to the right-hand column */
  .detail-main { grid-column: 1; grid-row: 1; }
  .detail-aside { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
}
.detail-main { display: grid; gap: 24px; min-width: 0; }
.detail-head .detail-summary { margin-top: 4px; max-width: 70ch; }
/* phones: price and actions right after the summary, and once more at the end of the plan */
.detail-end { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.detail-end .btn { flex: 1 1 220px; }
@media (min-width: 820px) { .detail-end { display: none; } }
.detail-main > p, .detail-summary { color: #c5d5e2; font-size: 17px; }
.detail-section { display: grid; gap: 12px; }
.detail-section h3 { font-size: 17px; letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.detail-section h3 .icon { width: 20px; height: 20px; color: var(--accent); }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: #c5d5e2; }
.check-list .icon { width: 18px; height: 18px; margin-top: 4px; }
.check-list.is-yes .icon { color: var(--ok); }
.check-list.is-no .icon { color: var(--danger); }
.check-list.is-tip .icon { color: var(--warn); }
.check-list.is-doc .icon { color: var(--teal); }
.two-col { display: grid; gap: 20px; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }

.itinerary { list-style: none; display: grid; gap: 0; }
.itinerary li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding-bottom: 18px; }
.itinerary li:last-child { padding-bottom: 0; }
/* the line that joins the days */
.itinerary li::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 40px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(var(--line), rgba(32, 64, 90, .2));
}
.itinerary li:last-child::before { display: none; }
.day-label {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #2d5878;
  border-radius: 12px;
  background: var(--panel);
  color: var(--accent);
  font: 800 13px/1.1 var(--display);
  text-align: center;
  white-space: nowrap;
}
.day-body { display: grid; gap: 4px; padding-top: 8px; min-width: 0; }
.day-body h4 { font-size: 16px; }
.day-body p { color: #b7c9d8; font-size: 15.5px; }

.price-block {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #2d5878;
  border-radius: var(--radius);
  background: var(--panel);
}
.price-label { color: var(--muted); font: 800 12px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.price-block .price { font-size: 26px; }
.price-help { color: var(--muted); font-size: 14.5px; }
.aside-actions { display: grid; gap: 10px; margin-top: 10px; }
.aside-actions .btn { width: 100%; }

.visa-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(255, 204, 77, .45);
  border-radius: var(--radius-sm);
  background: rgba(255, 204, 77, .08);
  color: #f3e4b8;
  font-size: 15.5px;
}
.visa-note .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--warn); }
.visa-types { display: grid; gap: 12px; }
.visa-type {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.visa-type h4 { font-size: 16.5px; }
.visa-type dl { margin: 0; display: grid; gap: 8px; }
.visa-type dl div { display: grid; gap: 2px; }
@media (min-width: 640px) { .visa-type dl div { grid-template-columns: 150px 1fr; gap: 12px; } }
.visa-type dt { color: var(--muted); font: 700 13.5px/1.5 var(--display); }
.visa-type dd { margin: 0; color: #d5e2ec; font-size: 15.5px; }
.link-list { list-style: none; display: grid; gap: 6px; }
.link-list a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; overflow-wrap: anywhere; }
.link-list .icon { width: 15px; height: 15px; flex: none; }
.official-link { justify-content: flex-start; text-align: left; }
.checked-on { color: var(--muted); font-size: 14px; }

@media (max-width: 639px) {
  /* phones: details fill the screen; the back button or the close button returns to the page */
  dialog.detail { width: 100%; height: 100%; max-height: 100%; border: 0; border-radius: 0; }
  .detail-media { aspect-ratio: 16 / 10; }
}

.noscript { position: fixed; inset: auto 16px 16px; padding: 14px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .globe-label { animation: none !important; }
  .card:hover .card-media img, .service-card:hover, a.social-tile:hover, .wa-float:hover { transform: none; }
}

/* ---------- country guides (data/guides.json) ---------- */
/* the whole card is one link to country.html#<id> */
.guide-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.guide-link:hover { color: inherit; }
.guide-link:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: var(--radius); }
.guide-card:hover { border-color: var(--accent); }
.guide-local { display: block; margin-top: 4px; color: var(--muted); font: 600 15px/1.3 system-ui, sans-serif; }
.guide-what { margin: 0; color: var(--muted); font-size: 14px; }
.guide-cta { align-self: flex-start; margin-top: auto; }
