@charset "UTF-8";
/* ==========================================================================
   Grace Travel Consultancy: design system
   Brand: light blue + orange (from logo)
   Slogan: "Traveling is good but traveling with style is divine"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand: light blue */
  --blue-50:  #EFF5FE;
  --blue-100: #DCE9FD;
  --blue-200: #BBD4FA;
  --blue-300: #8DB7F6;
  --blue-400: #5B99F5;
  --blue-500: #3B7DE0;
  --blue-600: #2965BF;
  --blue-700: #1F4C90;
  --blue-800: #205BB4;
  --blue-900: #1C54A8;

  /* Brand: orange */
  --orange-50:  #FFAE3D;
  --orange-100: #FFAE3D;
  --orange-200: #FFAE3D;
  --orange-300: #FFA21F;
  --orange-400: #F7A32E;
  --orange-500: #EF9921;
  --orange-600: #B56F0D;
  --orange-700: #885308;

  /* Semantic (light) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F9FE;
  --surface-3: #EAF2FD;
  --ink: #23272F;
  --ink-soft: #575C68;
  --ink-faint: #79808F;
  --line: color-mix(in srgb, var(--blue-500) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--blue-500) 30%, transparent);
  --brand: var(--blue-500);
  --brand-ink: var(--blue-700);
  --accent: var(--orange-500);
  --accent-ink: var(--orange-700);
  --on-brand: #FFFFFF;
  --on-accent: #3D2400;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(35,39,47, .06), 0 2px 6px rgba(35,39,47, .04);
  --shadow-md: 0 6px 16px rgba(35,39,47, .07), 0 2px 6px rgba(35,39,47, .04);
  --shadow-lg: 0 22px 48px rgba(35,39,47, .12), 0 6px 14px rgba(35,39,47, .06);
  --shadow-brand: 0 14px 32px color-mix(in srgb, var(--blue-500) 26%, transparent);
  --shadow-accent: 0 14px 32px color-mix(in srgb, var(--orange-500) 34%, transparent);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #1B4A90;
  --surface: #1D4E97;
  --surface-2: #1D509B;
  --surface-3: #16294280;
  --ink: #E9F0FB;
  --ink-soft: #A5B5CE;
  --ink-faint: #7F8694;
  --line: color-mix(in srgb, var(--blue-300) 20%, transparent);
  --line-strong: color-mix(in srgb, var(--blue-300) 34%, transparent);
  --brand: var(--blue-400);
  --brand-ink: var(--blue-300);
  --accent: var(--orange-400);
  --accent-ink: var(--orange-300);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 54px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 92px;
  -webkit-text-size-adjust: 100%;
  /* clips the off-canvas drawer so it never widens the page */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

body.nav-open { overflow: hidden; }
/* Scroll lock while the photograph viewer is open. */
body.lb-open { overflow: hidden; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -.015em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--blue-400) 32%, transparent); }

.mono {
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 500;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; inset-block-start: -100px;
  z-index: 200; background: var(--accent); color: var(--on-accent);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700;
  text-decoration: none; transition: inset-block-start .2s var(--ease);
}
.skip-link:focus { inset-block-start: 12px; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-y); }
.tint { background: var(--surface-2); }
.tint-blue {
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--blue-200) 55%, transparent), transparent 60%),
    var(--surface-2);
}

.sec-head { max-width: 66ch; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-ink); margin-bottom: 14px;
}
.sec-eyebrow::before {
  content: ""; inline-size: 26px; block-size: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}
.sec-head.center .sec-eyebrow { justify-content: center; }
.sec-head h1, .sec-head h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem); }
.sec-head p { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; min-block-size: 48px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .94rem; font-weight: 650; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { inline-size: 18px; block-size: 18px; flex: none; }

.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn-accent:hover { --btn-bg: var(--orange-400); }
.btn-brand { box-shadow: var(--shadow-brand); }
.btn-brand:hover { --btn-bg: var(--blue-400); }
.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { --btn-bg: var(--surface-3); border-color: var(--brand); }
.btn-on-dark {
  --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(8px);
}
.btn-on-dark:hover { --btn-bg: rgba(255, 255, 255, .2); }
.btn-wa { --btn-bg: #25D366; --btn-fg: #05270F; box-shadow: 0 12px 28px rgba(37, 211, 102, .32); }
.btn-wa:hover { --btn-bg: #1FBF5B; }
.btn-sm { padding: 10px 18px; min-block-size: 40px; font-size: .86rem; }
.btn-block { inline-size: 100%; }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand-ink); font-weight: 650; text-decoration: none; font-size: .95rem;
}
.link-arrow::after { content: "→"; transition: transform .22s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 90;
  border-block-end: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
/* The frosted background lives on a pseudo-element, not on .site-header
   itself. A backdrop-filter on the header would make it the containing block
   for the position:fixed mobile nav drawer, which pins the drawer to the
   header box instead of the viewport, so the drawer ends up off-screen once
   the page is scrolled. Keeping the filter on ::before preserves the look
   without trapping the drawer. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { block-size: 46px; inline-size: auto; }
.brand-text { display: none; line-height: 1.1; }
.brand-text b { font-family: var(--font-display); font-size: 1.02rem; display: block; color: var(--ink); }
.brand-text span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  position: relative; text-decoration: none; color: var(--ink-soft);
  font-size: .93rem; font-weight: 550; padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  inline-size: 0; block-size: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: inline-size .25s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { inline-size: 100%; }
.nav .btn::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* --- language switcher --- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--r-pill);
  background: var(--surface-3); border: 1px solid var(--line);
}
.lang-switch a {
  padding: 5px 9px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-faint); text-decoration: none; line-height: 1;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.lang-switch a::after { display: none; }
.lang-switch a:hover { color: var(--ink); background: var(--surface); }
.lang-switch a[aria-current="true"] {
  background: var(--brand); color: #fff;
}
/* Flags inside the switcher */
.lang-switch a { padding: 5px 7px; display: inline-flex; }
.lang-switch .lang-flag {
  display: block; inline-size: 26px; block-size: 17px;
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.lang-switch a[aria-current="true"] .lang-flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); }
@media (max-width: 900px) {
  .nav .lang-switch .lang-flag { inline-size: 34px; block-size: 22px; }
}


@media (max-width: 900px) {
  /* In the drawer the switcher sits on its own row, full width. */
  .nav .lang-switch {
    margin-top: 18px; justify-content: center;
    border-block-end: none; padding: 5px;
  }
  .nav .lang-switch a { padding: 9px 14px; font-size: .82rem; border-block-end: none; }
}

.icon-btn {
  display: inline-grid; place-items: center;
  inline-size: 42px; block-size: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-3); color: var(--brand-ink); border-color: var(--line-strong); }
.icon-btn svg { inline-size: 19px; block-size: 19px; }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

.nav-toggle { display: none; }
.nav-toggle .bars { position: relative; inline-size: 20px; block-size: 14px; }
.nav-toggle .bars i {
  position: absolute; inset-inline: 0; block-size: 2px; border-radius: 2px;
  background: currentColor; transition: transform .3s var(--ease-out), opacity .2s var(--ease);
}
.nav-toggle .bars i:nth-child(1) { inset-block-start: 0; }
.nav-toggle .bars i:nth-child(2) { inset-block-start: 6px; }
.nav-toggle .bars i:nth-child(3) { inset-block-start: 12px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(27,74,144, .5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 70% at 8% 0%, #4C8DEE 0%, transparent 55%),
    radial-gradient(70% 60% at 96% 12%, color-mix(in srgb, var(--orange-500) 70%, transparent) 0%, transparent 58%),
    linear-gradient(165deg, #2965BF 0%, #1A4C96 45%, #1C54A8 100%);
  padding-block: clamp(36px, 5vw, 64px) 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 72%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  color: #fff; font-size: .78rem; font-weight: 550; letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero-badge .pip {
  display: inline-grid; place-items: center;
  inline-size: 22px; block-size: 22px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: .7rem;
}

.hero h1 { font-size: clamp(2.1rem, 1.1rem + 4.6vw, 4rem); max-width: 16ch; }
.hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, var(--orange-300), #FFAE3D);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-slogan {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; max-width: 42ch;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.02rem, .9rem + .7vw, 1.4rem); line-height: 1.4;
  color: #FFAE3D;
}
.hero-slogan::before {
  content: ""; flex: none; inline-size: 3px; align-self: stretch;
  border-radius: 3px; background: linear-gradient(180deg, var(--orange-300), transparent);
}

.hero-lede { max-width: 56ch; margin-top: 20px; font-size: 1.06rem; color: #CBDBF2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Lean hero: one short subline, one bold CTA + a quiet text link */
.hero-sub {
  margin-top: 16px; max-width: 46ch;
  font-size: clamp(1.04rem, .96rem + .5vw, 1.28rem); line-height: 1.5; color: #DCE8FB;
}
.hero-actions-lean { align-items: center; gap: 10px 20px; margin-top: 24px; }
.btn.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.hero-textlink {
  display: inline-flex; align-items: center; gap: 5px;
  color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none;
  opacity: .9; transition: opacity .18s var(--ease), gap .18s var(--ease-out);
}
.hero-textlink::after { display: none; }
.hero-textlink:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; gap: 9px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-top: 40px;
  border-block-start: 1px solid rgba(255, 255, 255, .16); padding-block-start: 28px;
}
.hero-stat b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #fff;
}
.hero-stat span { font-size: .8rem; color: #A9BFE0; }

/* flight route flourish */
.route-stage { position: relative; block-size: clamp(90px, 14vw, 150px); margin-top: 18px; }
.route-stage svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.route-path { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 1.6; stroke-dasharray: 6 9; }
.route-path.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease-out) forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-node { fill: #fff; }
.route-node.accent { fill: var(--orange-300); }

/* Slogan + full intro band, sitting just under the lean hero */
.intro-band { padding-block: clamp(28px, 4vw, 44px); background: var(--surface-2); border-block-end: 1px solid var(--line); }
.intro-band .wrap { max-inline-size: 760px; text-align: center; }
.intro-slogan {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 1rem + .9vw, 1.55rem); line-height: 1.35; color: var(--brand-ink);
}
.intro-lede { margin-block-start: 12px; font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft); }

/* page hero for sub-pages */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding-block: clamp(52px, 7vw, 88px);
  background:
    radial-gradient(80% 100% at 88% 0%, color-mix(in srgb, var(--orange-500) 55%, transparent), transparent 60%),
    linear-gradient(160deg, #2965BF, #1D5AB4);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent);
}
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.2rem); max-width: 20ch; }
.page-hero p { margin-top: 16px; max-width: 62ch; color: #CBDBF2; font-size: 1.04rem; }
.page-hero .hero-actions { margin-top: 26px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .8rem; color: #A9BFE0; }
.crumbs a { color: #DCE8FA; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li { list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; opacity: .5; }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .93rem; }

.card-icon {
  display: grid; place-items: center;
  inline-size: 46px; block-size: 46px; margin-bottom: 16px;
  border-radius: 13px; font-size: 1.3rem;
  background: linear-gradient(150deg, var(--blue-100), var(--blue-50));
  color: var(--brand-ink);
}
[data-theme="dark"] .card-icon { background: color-mix(in srgb, var(--blue-500) 24%, transparent); }
.card-icon.warm { background: linear-gradient(150deg, var(--orange-100), var(--orange-50)); color: var(--accent-ink); }
[data-theme="dark"] .card-icon.warm { background: color-mix(in srgb, var(--orange-500) 24%, transparent); }

/* feature list */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .tick {
  flex: none; display: grid; place-items: center;
  inline-size: 30px; block-size: 30px; border-radius: 50%;
  background: linear-gradient(140deg, var(--blue-400), var(--blue-600));
  color: #fff; font-size: .82rem; font-weight: 700;
}
.feature .tick.warm { background: linear-gradient(140deg, var(--orange-300), var(--orange-500)); color: var(--on-accent); }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--ink-soft); }

/* boarding-pass service ticket */
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr 78px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.ticket:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ticket-body { padding: clamp(20px, 2.2vw, 26px); }
.ticket-body .icon { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.ticket-body h3 { font-size: 1.06rem; margin-bottom: 6px; }
.ticket-body p { color: var(--ink-soft); font-size: .9rem; }
.ticket-stub {
  position: relative; display: grid; place-items: center; padding: 14px 6px;
  background: linear-gradient(180deg, var(--blue-50), var(--surface-3));
  border-inline-start: 2px dashed var(--line-strong);
}
[data-theme="dark"] .ticket-stub { background: color-mix(in srgb, var(--blue-500) 14%, transparent); }
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; inline-size: 16px; block-size: 16px;
  background: var(--bg); border-radius: 50%; inset-inline-start: -9px;
}
.ticket-stub::before { inset-block-start: -8px; }
.ticket-stub::after { inset-block-end: -8px; }
.ticket-stub .code {
  font-family: var(--font-mono); font-size: .95rem; font-weight: 600;
  color: var(--brand-ink); writing-mode: vertical-rl; letter-spacing: .16em;
}

/* Photographic service cards */
.svc-grid {
  display: grid; gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .25s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.svc-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.svc-card-img img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.svc-card:hover .svc-card-img img { transform: scale(1.06); }
.svc-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,74,144, .34));
}
.svc-card-code {
  position: absolute; inset-block-end: 10px; inset-inline-start: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  color: #fff; text-transform: uppercase;
}
.svc-card-body { padding: 15px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.svc-card-body h3 { font-size: 1.04rem; color: var(--ink); }
.svc-card-body p { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }

/* Per-country page hero with a landmark backdrop */
.country-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(48px, 8vw, 96px);
  color: #fff;
}
.country-hero-img {
  position: absolute; inset: 0; z-index: -2;
  inline-size: 100%; block-size: 100%; object-fit: cover;
}
.country-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(27,74,144, .86) 0%, rgba(27,74,144, .68) 48%, rgba(27,74,144, .42) 100%);
}
.country-hero .crumbs a, .country-hero .crumbs { color: rgba(255, 255, 255, .8); }
.country-hero h1 { color: #fff; margin-block: 10px 14px; }
.country-hero p { color: rgba(255, 255, 255, .9); max-inline-size: 62ch; font-size: 1.05rem; }
.country-hero .hero-actions { margin-block-start: 26px; }

/* Country cards (study-abroad grid) with landmark imagery */
.country-grid {
  display: grid; gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.country-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .25s var(--ease);
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.country-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); text-decoration: none; }
.country-card-img img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.country-card:hover .country-card-img img { transform: scale(1.06); }
.country-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(27,74,144, .68)); }
.country-name {
  position: absolute; inset-inline: 14px; inset-block-end: 12px; z-index: 1;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
}
.country-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.country-card-body p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
.country-card-actions { display: flex; gap: 10px; margin-block-start: auto; }
.country-card-actions .btn { flex: 1; justify-content: center; }
.country-card-ask { justify-content: center; text-align: center; border-style: dashed; }
.country-card-ask .country-card-body { justify-content: center; }
.country-card-ask h3 { font-size: 1.1rem; margin-block-end: 8px; }

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 17px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); font-size: .88rem; font-weight: 550;
  text-decoration: none;
  transition: transform .2s var(--ease-out), border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--orange-50); }
[data-theme="dark"] .chip:hover { background: color-mix(in srgb, var(--orange-500) 18%, transparent); }
.chip.solid { background: var(--brand); color: #fff; border-color: transparent; }

/* destination postcard */
.postcard {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg); aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff; text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.postcard:hover { transform: translateY(-5px) scale(1.012); box-shadow: var(--shadow-lg); }
.postcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(195deg, rgba(25,76,153, .1), rgba(25,76,153, .78));
}
/* Emoji flags render as flags on mobile/macOS and as a 2-letter country code on
   Windows. The pill makes both look deliberate rather than broken. */
.postcard .flag {
  position: absolute; z-index: 1;
  inset-block-start: 14px; inset-inline-end: 14px;
  display: grid; place-items: center;
  min-inline-size: 42px; block-size: 30px; padding-inline: 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; line-height: 1;
}
.postcard .mono { opacity: .92; font-size: .66rem; }
.postcard h3 { font-size: 1.32rem; font-weight: 500; margin-top: 4px; }
.postcard p { font-size: .84rem; color: rgba(255, 255, 255, .82); margin-top: 6px; }

/* process timeline */
.process { display: grid; gap: clamp(26px, 3vw, 40px); position: relative; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { position: relative; padding-inline-end: 18px; }
.step .num {
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px; margin-bottom: 18px;
  border-radius: 50%; font-family: var(--font-mono); font-size: .84rem; font-weight: 600;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: #fff; box-shadow: var(--shadow-brand); position: relative; z-index: 2;
}
.step:nth-child(even) .num { background: linear-gradient(145deg, var(--orange-400), var(--orange-600)); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.step h3 { font-size: 1.04rem; margin-bottom: 7px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* deals rail */
.rail {
  display: flex; gap: 16px; overflow-x: auto; padding-block-end: 12px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.rail > * { scroll-snap-align: start; flex: none; inline-size: min(78vw, 250px); }
.deal {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 24px; color: #fff; min-block-size: 172px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(155deg, var(--blue-500), var(--blue-700));
  text-decoration: none; box-shadow: var(--shadow-md);
  transition: transform .28s var(--ease-out);
}
.deal:nth-child(even) { background: linear-gradient(155deg, var(--orange-400), var(--orange-600)); color: var(--on-accent); }
.deal:hover { transform: translateY(-4px); }
.deal .tag {
  align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .22); font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.deal h3 { font-size: 1.1rem; font-weight: 500; }

/* --------------------------------------------------------------------------
   7b. Partner marquee
   Pure CSS loop: the list is duplicated in the markup and the track moves by
   exactly -50%, so the seam is invisible. No JavaScript involved.
   -------------------------------------------------------------------------- */
.partner-band { margin-block: clamp(28px, 4vw, 48px); }
.partner-band-title {
  font-size: 1.05rem; margin-bottom: 6px; text-align: center;
}
.partner-band-intro {
  text-align: center; color: var(--ink-soft); font-size: .93rem;
  max-width: 60ch; margin: 0 auto clamp(20px, 3vw, 30px);
}

.marquee {
  position: relative; overflow: hidden;
  padding-block: 6px;
  /* Fade the edges so logos enter and leave softly rather than being cut. */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; align-items: stretch; gap: 14px; inline-size: max-content;
  animation: marquee calc(var(--marquee-count, 8) * 3.4s) linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.marquee.is-static { mask-image: none; -webkit-mask-image: none; }
.marquee.is-static .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; inline-size: 100%; }
.marquee.is-static .marquee-item[aria-hidden="true"] { display: none; }

.marquee-item { flex: none; }

.partner-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; text-decoration: none;
  inline-size: 190px; min-block-size: 104px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease);
}
a.partner-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand);
}
.partner-card img {
  max-block-size: 62px; max-inline-size: 100%; inline-size: auto; block-size: auto;
  object-fit: contain;
  /* Many logos are supplied on white; this keeps them readable in dark mode
     without washing out coloured marks. */
  mix-blend-mode: multiply;
}
[data-theme="dark"] .partner-card img { mix-blend-mode: normal; }
[data-theme="dark"] .partner-card {
  background: color-mix(in srgb, #fff 92%, transparent);
}
.partner-name {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  line-height: 1.25; color: var(--ink);
}
[data-theme="dark"] .partner-name { color: #23272F; }
.partner-country {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
[data-theme="dark"] .partner-country { color: #575C68; }

@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   7c. Destination hero, photo grid, feature rows and lightbox
   -------------------------------------------------------------------------- */
.dest-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-block-size: clamp(340px, 52vh, 560px);
  display: flex; align-items: flex-end;
  padding-block: clamp(40px, 7vw, 80px);
}
.dest-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  inline-size: 100%; block-size: 100%; object-fit: cover;
  animation: dest-drift 18s ease-out both;
}
@keyframes dest-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.dest-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(25,76,153,.28) 0%, rgba(25,76,153,.62) 55%, rgba(25,76,153,.88) 100%);
}
.dest-hero-inner { position: relative; z-index: 1; }
.dest-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); }
.dest-tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, .9rem + .8vw, 1.4rem);
  color: var(--orange-300); margin-top: 12px; max-width: 44ch;
}
.dest-hero .crumbs a { color: #E6EEFA; }

/* --- photo grid --- */
.photo-grid {
  display: grid; gap: clamp(10px, 1.4vw, 16px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.photo-cell {
  position: relative; overflow: hidden; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--r-lg); background: var(--surface-3);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.photo-cell img {
  inline-size: 100%; block-size: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out), filter .3s var(--ease);
}
.photo-cell::after {
  content: "⤢"; position: absolute; inset-block-end: 12px; inset-inline-end: 14px;
  inline-size: 34px; block-size: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(25,76,153,.55); color: #fff;
  backdrop-filter: blur(4px); font-size: .95rem;
  opacity: 0; transform: translateY(6px); transition: all .28s var(--ease-out);
}
.photo-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo-cell:hover img { transform: scale(1.07); }
.photo-cell:hover::after, .photo-cell:focus-visible::after { opacity: 1; transform: translateY(0); }

/* --- photo card: a postcard backed by a real photograph --- */
.photo-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  text-decoration: none; color: #fff; box-shadow: var(--shadow-md);
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}
.photo-card > img {
  position: absolute; inset: 0; z-index: -2;
  inline-size: 100%; block-size: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.photo-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(25,76,153,.06) 30%, rgba(25,76,153,.78) 100%);
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.photo-card:hover > img { transform: scale(1.07); }
.photo-card .flag {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px;
  display: grid; place-items: center; min-inline-size: 42px; block-size: 30px;
  padding-inline: 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); font-size: 1.05rem; font-weight: 700; line-height: 1;
}
.photo-card-body {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  display: flex; flex-direction: column; gap: 3px; padding: 20px;
}
.photo-card-body .mono { font-size: .64rem; opacity: .92; }
.photo-card-body strong {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15;
}
.photo-card-body em {
  font-style: normal; font-size: .84rem; color: rgba(255,255,255,.85); line-height: 1.4;
}

/* --- alternating feature rows --- */
.site-list { display: grid; gap: clamp(34px, 5vw, 64px); }
.site-row {
  display: grid; gap: clamp(20px, 3vw, 44px); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.site-media { overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.site-media img {
  inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .6s var(--ease-out);
}
.site-row:hover .site-media img { transform: scale(1.04); }
.site-body h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); margin: 8px 0 12px; }
.site-body p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.72; }
@media (min-width: 761px) { .site-row.flip .site-media { order: 2; } }

/* --- lightbox --- */
dialog.lightbox {
  padding: 0; border: 0; max-inline-size: 100vw; max-block-size: 100vh;
  inline-size: 100vw; block-size: 100vh; background: transparent; overflow: hidden;
}
dialog.lightbox::backdrop { background: rgba(27,73,141, .93); backdrop-filter: blur(6px); }
dialog.lightbox[open] { display: grid; place-items: center; }
dialog.lightbox[open] .lb-figure { animation: lb-in .32s var(--ease-out) both; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }

.lb-figure {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-inline-size: min(1200px, 94vw); max-block-size: 90vh;
}
.lb-figure img {
  max-inline-size: 100%; max-block-size: 78vh;
  object-fit: contain; border-radius: var(--r-md);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
/* The swap between photographs, driven from JS */
.lb-figure img.swapping { opacity: 0; transform: translateX(var(--lb-dir, 0)) scale(.98); }
.lb-figure img { transition: opacity .26s var(--ease), transform .26s var(--ease-out); }

.lb-figure figcaption { text-align: center; color: #E6EEFA; font-size: .95rem; }
.lb-figure figcaption small { display: block; margin-top: 5px; color: #93A7C4; font-size: .76rem; }

.lb-close, .lb-nav {
  position: fixed; z-index: 2; display: grid; place-items: center;
  inline-size: 52px; block-size: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.12);
  color: #fff; cursor: pointer; backdrop-filter: blur(8px);
  transition: background-color .2s var(--ease), transform .2s var(--ease-out);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.26); transform: scale(1.06); }
.lb-close { inset-block-start: 18px; inset-inline-end: 18px; font-size: 1.8rem; line-height: 1; }
.lb-nav { inset-block-start: 50%; translate: 0 -50%; font-size: 2rem; line-height: 1; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }

@media (max-width: 600px) {
  .lb-nav { inline-size: 44px; block-size: 44px; }
  .lb-prev { inset-inline-start: 8px; }
  .lb-next { inset-inline-end: 8px; }
  .lb-figure img { max-block-size: 66vh; }
}

@media (prefers-reduced-motion: reduce) {
  .dest-hero-bg { animation: none; }
  .photo-cell:hover img, .site-row:hover .site-media img { transform: none; }
  dialog.lightbox[open] .lb-figure { animation: none; }
}

/* --------------------------------------------------------------------------
   8. Reviews
   -------------------------------------------------------------------------- */
.reviews-head {
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.rating-summary {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.rating-summary .score {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  line-height: 1; color: var(--brand-ink);
}
.rating-summary small { display: block; color: var(--ink-soft); font-size: .82rem; margin-top: 4px; }

.stars { display: inline-flex; gap: 2px; color: var(--accent); font-size: 1rem; letter-spacing: 1px; line-height: 1; }
.stars[data-empty] { color: var(--ink-faint); }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 22px); }
.review {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review blockquote {
  margin: 0; font-size: .98rem; line-height: 1.65; color: var(--ink);
  position: relative;
}
.review blockquote::before {
  content: "\201C"; font-family: var(--font-display); font-size: 3rem; line-height: 0;
  color: color-mix(in srgb, var(--accent) 45%, transparent);
  position: absolute; inset-block-start: 14px; inset-inline-start: -6px; z-index: -1;
}
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .avatar {
  flex: none; display: grid; place-items: center;
  inline-size: 40px; block-size: 40px; border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-600));
  color: #fff; font-weight: 700; font-size: .95rem;
}
.review:nth-child(3n+2) .avatar { background: linear-gradient(145deg, var(--orange-300), var(--orange-500)); color: var(--on-accent); }
.review cite { font-style: normal; font-weight: 650; font-size: .92rem; display: block; }
.review .meta { font-size: .78rem; color: var(--ink-faint); }
.badge-src {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 650; letter-spacing: .04em;
  padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--ink-soft);
}
.badge-src.fb { background: color-mix(in srgb, #1A70F0 15%, transparent); color: #1A70F0; }
.badge-src.site { background: color-mix(in srgb, var(--orange-500) 18%, transparent); color: var(--accent-ink); }

.review-empty {
  grid-column: 1 / -1; text-align: center; padding: 44px 24px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-soft);
}

/* Horizontal review slideshow */
.review-slider { position: relative; }
.review-track {
  display: flex; gap: clamp(16px, 2vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track > .review {
  flex: 0 0 auto; inline-size: min(360px, 82vw); scroll-snap-align: start;
}
.review-arrow {
  position: absolute; inset-block-start: calc(50% - 8px); transform: translateY(-50%); z-index: 2;
  inline-size: 44px; block-size: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), opacity .2s var(--ease);
}
.review-arrow svg { inline-size: 22px; block-size: 22px; }
.review-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.review-arrow.prev { inset-inline-start: -8px; }
.review-arrow.next { inset-inline-end: -8px; }
.review-arrow[hidden] { display: none; }
@media (max-width: 640px) { .review-arrow { display: none; } }
.review-write { max-inline-size: 640px; margin: 40px auto 0; }

/* star rating input */
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.star-input label {
  cursor: pointer; font-size: 1.75rem; line-height: 1; color: var(--ink-faint);
  transition: transform .15s var(--ease-out), color .15s var(--ease);
  margin: 0;
}
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--accent); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* dialog */
dialog.modal {
  inline-size: min(560px, calc(100vw - 32px)); max-block-size: 88dvh;
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: auto;
}
dialog.modal::backdrop { background: rgba(27,74,144, .6); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modal-in .3s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 24px 0;
}
.modal-head h2 { font-size: 1.35rem; }
.modal-head p { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }
.modal-body { padding: 20px 24px 24px; }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px);
}
.field { margin-bottom: 18px; }
.field > label, .field-label {
  display: block; font-size: .82rem; font-weight: 650;
  color: var(--ink-soft); margin-bottom: 7px;
}
.field-label .req { color: var(--accent); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="url"], select, textarea {
  inline-size: 100%; padding: 13px 15px; min-block-size: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-block-size: 118px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536480' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-inline-end: 42px;
}
[dir="rtl"] select { background-position: left 14px center; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin-bottom: 18px; }
.consent input { inline-size: 18px; block-size: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-note { font-size: .78rem; color: var(--ink-faint); margin-top: 14px; line-height: 1.55; }

.form-status {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm);
  font-size: .9rem; border: 1px solid transparent;
}
.form-status.show { display: block; }
.form-status.ok { background: color-mix(in srgb, #16A34A 12%, transparent); border-color: #16A34A; color: #15803D; }
.form-status.err { background: color-mix(in srgb, #DC2626 10%, transparent); border-color: #DC2626; color: #B91C1C; }
.form-status.info { background: var(--surface-3); border-color: var(--line-strong); color: var(--ink-soft); }
[data-theme="dark"] .form-status.ok { color: #6EE7A0; }
[data-theme="dark"] .form-status.err { color: #FCA5A5; }

/* server-rendered flash messages */
.flash {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 48px 16px 18px; margin-bottom: 16px;
  border-radius: var(--r-md); border: 1px solid transparent;
  font-size: .95rem; line-height: 1.55;
  animation: flash-in .35s var(--ease-out);
}
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } }
.flash-icon { flex: none; font-size: 1.05rem; line-height: 1.5; }
.flash-success {
  background: color-mix(in srgb, #16A34A 12%, var(--surface));
  border-color: color-mix(in srgb, #16A34A 45%, transparent);
  color: #14532D;
}
.flash-error {
  background: color-mix(in srgb, #DC2626 10%, var(--surface));
  border-color: color-mix(in srgb, #DC2626 45%, transparent);
  color: #7F1D1D;
}
[data-theme="dark"] .flash-success { color: #86EFAC; }
[data-theme="dark"] .flash-error { color: #FCA5A5; }
.flash-close {
  position: absolute; inset-block-start: 8px; inset-inline-end: 8px;
  inline-size: 32px; block-size: 32px; border: 0; border-radius: 50%;
  background: transparent; color: inherit; font-size: 1.3rem; line-height: 1;
  cursor: pointer; opacity: .6;
}
.flash-close:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }

/* progress bar for multi-step apply form */
.steps-bar { display: flex; gap: 8px; margin-bottom: 26px; }
.steps-bar .seg { flex: 1; block-size: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-bar .seg.done { background: var(--brand); }
.steps-bar .seg.active { background: var(--accent); }

/* --------------------------------------------------------------------------
   10. Contact & misc panels
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 52px); align-items: start; }

.info-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-row .ic {
  flex: none; display: grid; place-items: center;
  inline-size: 42px; block-size: 42px; border-radius: 12px;
  background: var(--surface-3); font-size: 1.1rem;
}
.info-row h3 { font-size: .82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .07em; font-family: var(--font-body); font-weight: 650; margin-bottom: 3px; }
.info-row p, .info-row a { font-size: .97rem; color: var(--ink); }
.info-row a { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.info-row a:hover { text-decoration: underline; }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { inline-size: 100%; block-size: 240px; border: 0; display: block; }

/* CTA banner */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px);
  color: #fff; display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center;
  background: linear-gradient(140deg, var(--blue-600), var(--blue-800));
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset-block-start: -40%; inset-inline-end: -12%;
  inline-size: 420px; block-size: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange-500) 60%, transparent), transparent 68%);
}
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.2rem); }
.cta-band p { color: #CBDBF2; margin-top: 12px; }
.cta-band .hero-actions { margin-top: 0; }

/* eligibility checker */
.checker { display: grid; gap: 14px; }
.checker .result {
  display: none; padding: 16px; border-radius: var(--r-sm); font-size: .9rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
}
.checker .result.show { display: block; }
.cta-band .checker select,
.cta-band .checker input { background-color: rgba(255,255,255,.96); color: #23272F; border-color: transparent; }

/* accordion / FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.faq details + details { border-block-start: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background-color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex: none; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--surface-2); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); font-size: .95rem; }

/* pill list (documents required etc.) */
.checklist { display: grid; gap: 12px; }
.checklist li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; flex: none; display: grid; place-items: center;
  inline-size: 22px; block-size: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand-ink); font-size: .72rem; font-weight: 700; margin-top: 2px;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(175deg, #1C54A8, #184D9C);
  color: #9FB3D0; padding-block: clamp(48px, 6vw, 72px) 24px;
  margin-block-start: 0;
}
.foot-grid {
  display: grid; gap: 36px;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  padding-block-end: 36px; border-block-end: 1px solid rgba(255, 255, 255, .1);
}
.foot-brand img { block-size: 54px; inline-size: auto; margin-bottom: 14px; }
.foot-slogan {
  font-family: var(--font-display); font-style: italic;
  color: var(--orange-300); font-size: 1rem; line-height: 1.5; max-width: 30ch; margin-bottom: 18px;
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer nav a, .site-footer .col a {
  display: block; color: #9FB3D0; text-decoration: none; font-size: .92rem;
  margin-bottom: 11px; transition: color .2s var(--ease), transform .2s var(--ease-out);
}
.site-footer nav a:hover, .site-footer .col a:hover { color: var(--orange-300); transform: translateX(3px); }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  display: grid; place-items: center; inline-size: 40px; block-size: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
  color: #fff; margin: 0; transition: background-color .2s var(--ease), transform .2s var(--ease-out);
}
.social-row a:hover { background: var(--orange-500); color: var(--on-accent); transform: translateY(-3px); }
.social-row svg { inline-size: 18px; block-size: 18px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  padding-block-start: 22px; font-size: .8rem;
}
/* Deliberately understated: staff need it, visitors do not. */
.foot-bottom .staff-link {
  color: #7C8392; text-decoration: none;
  transition: color .2s var(--ease);
}
.foot-bottom .staff-link:hover { color: var(--orange-300); text-decoration: underline; }

/* --------------------------------------------------------------------------
   12. Floating actions
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; inset-block-end: calc(22px + env(safe-area-inset-bottom)); inset-inline-end: 22px;
  z-index: 80; display: grid; place-items: center;
  inline-size: 58px; block-size: 58px; border-radius: 50%;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { inline-size: 30px; block-size: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }

.mobile-bar {
  display: none;
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 82;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-block-start: 1px solid var(--line);
  gap: 8px;
}
.mobile-bar .btn { flex: 1; padding-inline: 10px; font-size: .82rem; }

/* --------------------------------------------------------------------------
   13. Motion / reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in.d1 { transition-delay: .07s; }
.reveal.in.d2 { transition-delay: .14s; }
.reveal.in.d3 { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .route-path.draw { stroke-dashoffset: 0; }
}

/* View Transitions for cross-page navigation (progressive enhancement) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .32s var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 421px) { .brand-text { display: block; } }

@media (min-width: 761px) {
  .process::before {
    content: ""; position: absolute; inset-block-start: 21px; inset-inline: 8% 8%;
    border-block-start: 2px dashed var(--line-strong); z-index: 0;
  }
}

/* The desktop nav is a single row, so each item added has to earn its space.
   Between 901px and 1080px there is not room for all of them: .nav-secondary
   marks the ones to drop first (Reviews is an anchor on the homepage and is
   also in the footer, so it is the cheapest to lose). Below 901px the nav
   becomes a full-height drawer where space is not scarce, so the rule is
   scoped to stop before that and everything comes back.

   Replaces .nav-mobile-hide, which was defined here but never used on any
   element, and would have hidden the item inside the mobile drawer too. */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav .nav-secondary { display: none; }
}

/* Keep every menu label on one line ("Study Abroad", not "Study / Abroad").
   Desktop only: the mobile drawer has room and is left as it was. On
   narrower laptop screens the gap tightens so the row still fits. */
@media (min-width: 901px) {
  .nav a { white-space: nowrap; }
  /* The flags must never be squeezed to make room for the labels. */
  .nav .lang-switch,
  .nav .lang-switch a,
  .nav .lang-switch .lang-flag { flex: none; }
}
@media (min-width: 901px) and (max-width: 1400px) {
  .nav { gap: clamp(10px, 1.1vw, 18px); }
  .nav a { font-size: .9rem; }
  .nav .lang-switch a { padding: 4px 5px; }
  .nav .lang-switch .lang-flag { inline-size: 22px; block-size: 15px; }
}

@media (max-width: 900px) {
  html { scroll-padding-block-start: 80px; }

  .nav {
    position: fixed; z-index: 95;
    top: 0; bottom: 0; right: 0;
    block-size: 100dvh;
    inline-size: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 92px 26px calc(32px + env(safe-area-inset-bottom));
    background: var(--bg); border-inline-start: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(102%); visibility: hidden;
    transition: transform .34s var(--ease-out), visibility .34s;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav a { font-size: 1.05rem; padding-block: 14px; border-block-end: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; border-block-end: none; justify-content: center; }
  .nav-toggle { display: inline-grid; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .reviews-head { align-items: flex-start; }
  body { padding-block-end: 72px; }
  .mobile-bar { display: flex; }
  .wa-float { inset-block-end: calc(84px + env(safe-area-inset-bottom)); inline-size: 50px; block-size: 50px; }
  .wa-float svg { inline-size: 26px; block-size: 26px; }
}

/* medium screens: brand on its own row, three even link columns */
@media (max-width: 900px) and (min-width: 561px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .ticket { grid-template-columns: 1fr 60px; }
  .ticket-stub .code { font-size: .82rem; }
  .hero-actions .btn { inline-size: 100%; }
  .rating-summary { inline-size: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   14. AI receptionist
   Sits in the same corner the WhatsApp bubble used to, and lifts above the
   sticky mobile bar on small screens so the two never overlap.
   -------------------------------------------------------------------------- */
.chat-dock {
  position: fixed; inset-block-end: calc(22px + env(safe-area-inset-bottom));
  inset-inline-end: 22px; z-index: 84;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

/* A single round icon at every screen size: the label is there for screen
   readers and as a hover tooltip, but never takes up room on the page. */
.chat-launcher {
  display: grid; place-items: center;
  inline-size: 56px; block-size: 56px;
  padding: 0; border: 0; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  cursor: pointer; box-shadow: var(--shadow-brand);
  transition: transform .25s var(--ease-out), background .2s;
}
.chat-launcher:hover { transform: scale(1.07); background: var(--blue-600); }
.chat-launcher svg { inline-size: 26px; block-size: 26px; }
.chat-dock.open .chat-launcher { display: none; }

.chat-panel {
  /* The panel is a <section>, and the global `section { padding-block }` rule
     was adding the site's full section spacing inside it, which left a huge
     empty band above the header and below the note. */
  padding: 0;
  inline-size: min(340px, calc(100vw - 28px));
  block-size: min(468px, calc(100dvh - 150px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  animation: chatIn .28s var(--ease-out);
}
/* `display: flex` above outranks the browser's own rule for the hidden
   attribute, so the panel has to be told to stay closed until it is opened. */
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.chat-head {
  display: flex; align-items: center; gap: 10px; padding: 11px 11px 11px 14px;
  background: var(--brand); color: var(--on-brand);
}
.chat-avatar {
  inline-size: 36px; block-size: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .2);
  font: 700 1rem/1 var(--font-display);
}
.chat-head-text { display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.chat-head-text strong { font-size: .96rem; }
.chat-head-text span { font-size: .76rem; opacity: .82; }
.chat-close {
  margin-inline-start: auto; flex: none; border: 0; cursor: pointer;
  inline-size: 32px; block-size: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: inherit;
}
.chat-close:hover { background: rgba(255, 255, 255, .18); }
.chat-close svg { inline-size: 18px; block-size: 18px; }

.chat-log {
  flex: 1 1 auto; min-block-size: 148px; overflow-y: auto; padding: 13px;
  display: flex; flex-direction: column; gap: 9px;
  background: var(--surface-2);
  overscroll-behavior: contain;
}

.chat-msg {
  max-inline-size: 88%; padding: 9px 12px; border-radius: var(--r-md);
  font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere;
}
.chat-msg.from-bot {
  align-self: flex-start; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-end-start-radius: 4px;
}
.chat-msg.from-you {
  align-self: flex-end; background: var(--brand); color: var(--on-brand);
  border-end-end-radius: 4px;
}
.chat-msg.from-you a { color: inherit; }
.chat-msg a { color: var(--brand-ink); text-underline-offset: 2px; }

.chat-typing { display: flex; gap: 4px; align-items: center; padding: 14px 15px; }
.chat-typing span {
  inline-size: 6px; block-size: 6px; border-radius: 50%;
  background: var(--ink-faint); animation: chatDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .18s; }
.chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.chat-chips {
  flex: 0 0 auto; max-block-size: 96px; overflow-y: auto;
  display: flex; flex-wrap: wrap; gap: 7px; padding: 0 13px 11px;
  background: var(--surface-2);
}
.chat-chips button {
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 7px 13px; cursor: pointer; font: 500 .78rem/1.3 var(--font-body);
  background: var(--surface); color: var(--brand-ink);
}
.chat-chips button:hover { background: var(--surface-3); }

/* Leave-your-details form, shown when the assistant offers a call back. */
.chat-lead {
  display: flex; flex-direction: column; gap: 7px;
  padding: 12px 14px 14px; background: var(--surface-3);
  border-block-start: 1px solid var(--line);
}
.chat-lead[hidden] { display: none; }
.chat-lead-intro { margin: 0 0 2px; font-size: .78rem; color: var(--ink-soft); }
.chat-lead input,
.chat-lead textarea {
  inline-size: 100%; padding: 9px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink);
  font: 400 .85rem/1.4 var(--font-body); resize: vertical;
}
.chat-lead input:focus-visible,
.chat-lead textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.chat-lead button { align-self: flex-start; }

.chat-form {
  display: flex; gap: 8px; padding: 11px; border-block-start: 1px solid var(--line);
  background: var(--surface);
}
.chat-form input {
  flex: 1; min-inline-size: 0; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--bg); color: var(--ink);
  font: 400 .9rem/1.3 var(--font-body);
}
.chat-form input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.chat-form input:disabled { opacity: .55; }
.chat-form button {
  flex: none; inline-size: 42px; block-size: 42px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
}
.chat-form button:hover { background: var(--orange-400); }
.chat-form button:disabled { opacity: .5; cursor: default; }
.chat-form button svg { inline-size: 18px; block-size: 18px; }

.chat-note {
  margin: 0; padding: 0 12px 11px; background: var(--surface);
  font-size: .67rem; line-height: 1.45; color: var(--ink-faint);
}
.chat-note a { color: var(--brand-ink); white-space: nowrap; }

@media (max-width: 900px) {
  .chat-dock { inset-block-end: calc(84px + env(safe-area-inset-bottom)); inset-inline-end: 14px; }
  .chat-launcher { inline-size: 50px; block-size: 50px; }
  .chat-launcher svg { inline-size: 23px; block-size: 23px; }
  .chat-panel { block-size: min(430px, calc(100dvh - 200px)); }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel { animation: none; }
}

@media print {
  .site-header, .mobile-bar, .wa-float, .nav-scrim, .site-footer,
  .chat-dock { display: none !important; }
  body { padding: 0; }
}

/* --------------------------------------------------------------------------
   15. Registration table (About page)
   A plain two-column record of the company's legal details. Deliberately
   quiet: it is there to be read and checked, not to be sold. Collapses to
   stacked label-over-value on narrow screens, where a two-column table
   would otherwise squeeze the RCCM number onto three lines.
   -------------------------------------------------------------------------- */
.reg-table {
  inline-size: 100%; border-collapse: collapse; margin: 24px 0 20px;
  font-size: .97rem;
}
.reg-table th,
.reg-table td {
  text-align: start; vertical-align: top; padding: 12px 14px;
  border-block-end: 1px solid var(--line);
}
.reg-table th {
  inline-size: 34%; white-space: nowrap;
  font-family: var(--font-body); font-weight: 650; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint);
}
.reg-table td { color: var(--ink); }
.reg-table tr:last-child th,
.reg-table tr:last-child td { border-block-end: 0; }

@media (max-width: 620px) {
  .reg-table, .reg-table tbody, .reg-table tr { display: block; }
  .reg-table th, .reg-table td {
    display: block; inline-size: auto; white-space: normal;
    border-block-end: 0; padding: 0 0 2px;
  }
  .reg-table tr { padding-block: 12px; border-block-end: 1px solid var(--line); }
  .reg-table td { padding-block-end: 0; }
}

/* Registration line under the footer's bottom bar. Quiet by design: it is
   there to be found when someone goes looking, not to shout. */
.foot-legal {
  padding-block-start: 12px; font-size: .74rem; line-height: 1.6;
  color: #7C8392;
}
.foot-legal a { color: #7C8392; text-decoration: none; }
.foot-legal a:hover { color: var(--orange-300); text-decoration: underline; }

/* Secondary line under a value in the Verify page's channel table. */
.chan-note { display: inline-block; margin-block-start: 3px; font-size: .84rem; color: var(--ink-faint); }


/* 2026-11-19: the desktop menu had grown wider than the screen, which pushed the
   language flags and the Apply button out of view. Below these widths the less
   used links are hidden from the top bar (they stay in the footer and the mobile menu). */
@media (min-width: 901px) {
  .site-header .nav { gap: 16px; }
}
@media (min-width: 901px) and (max-width: 1900px) {
  .site-header .nav > a[href*="verify.php"],
  .site-header .nav > a[href*="find-us"],
  .site-header .nav > a[href*="#reviews"],
  .site-header .nav > a[href*="crs-calculator"] { display: none; }
}
@media (min-width: 901px) and (max-width: 1600px) {
  .site-header .nav > a[href*="contact.php"] { display: none; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .site-header .nav > a[href*="destinations.php"],
  .site-header .nav > a[href*="canada.php"] { display: none; }
}
@media (min-width: 901px) and (max-width: 1020px) {
  .site-header .nav > a[href*="nurses-abroad"] { display: none; }
}
