/* Polar Education website. Colours come from the logo: blue #00aef0 and orange #f1592a. */
:root {
  --blue: #00aef0;
  --blue-dark: #0088c0;
  --blue-soft: #e6f6fd;
  --orange: #f1592a;
  --orange-dark: #d4461a;
  --orange-soft: #fff0ea;
  --navy: #0b1f3a;
  --navy-2: #12315a;
  --ink: #12233a;
  --ink-2: #4b5d72;
  --ink-3: #74859a;
  --line: #e3ebf3;
  --paper: #ffffff;
  --canvas: #f6f9fc;
  --ring: 0 0 0 3px rgb(0 174 240 / 0.35);
  --shadow-sm: 0 1px 2px rgb(11 31 58 / 0.06);
  --shadow: 0 1px 2px rgb(11 31 58 / 0.05), 0 18px 40px -20px rgb(11 31 58 / 0.25);
  --shadow-lg: 0 30px 70px -30px rgb(11 31 58 / 0.45);
  --radius: 20px;
  --wrap: 1200px;
  --header: 76px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --display: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(34px, 5.2vw, 66px); line-height: 0.98; letter-spacing: -0.045em; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-dark); }
.eyebrow .n { color: var(--orange); }
.eyebrow .n::after { content: " —"; color: var(--ink-3); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.grad { color: var(--blue); }
.grad.warm { color: var(--orange); }
section { padding: 104px 0; position: relative; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 52px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 28px -12px rgb(241 89 42 / 0.75); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -12px rgb(0 174 240 / 0.7); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgb(255 255 255 / 0.35); color: #fff; background: rgb(255 255 255 / 0.04); }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 0.1); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--paper); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* header: brand, a scroll ruler with the current section, the button and a menu */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgb(6 18 36 / 0.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: rgb(255 255 255 / 0.08); }
.bar { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; flex: none; }
.brand img { border-radius: 50%; background: #fff; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); margin-top: 6px; }
.ruler { flex: 1 1 auto; max-width: 440px; display: grid; justify-items: center; gap: 6px; }
.ticks-row { position: relative; width: 100%; height: 18px; display: flex; align-items: flex-end; justify-content: space-between; }
.ticks-row i { width: 1px; height: 7px; background: rgb(255 255 255 / 0.28); }
.ticks-row i.major { height: 14px; background: rgb(255 255 255 / 0.55); }
.ticks-row i.done { background: var(--blue); }
.ticks-row .needle { position: absolute; bottom: 0; left: 0; width: 2px; height: 18px; background: var(--orange); border-radius: 2px; transform: translateX(var(--x, 0)); transition: transform .15s linear; }
.ruler-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); white-space: nowrap; }
.bar-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.05); color: #fff; font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, border-color .2s; }
.menu-btn:hover { background: rgb(255 255 255 / 0.12); }
.burger { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.burger i { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 12px; }
.burger i:last-child { top: 18px; }
.menu-open .burger i:first-child { top: 15px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 15px; transform: rotate(-45deg); }
.nav { position: fixed; inset: 0; z-index: 1; background: #061224; padding: calc(var(--header) + 24px) 0 40px; overflow-y: auto; visibility: hidden; opacity: 0; clip-path: circle(0 at calc(100% - 60px) 38px); transition: clip-path .7s var(--ease), opacity .3s, visibility 0s .7s; }
.menu-open .nav { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 60px) 38px); transition: clip-path .7s var(--ease), opacity .2s, visibility 0s; }
.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; min-height: 100%; }
.nav ol { list-style: none; margin: 0; padding: 0; }
.nav li { border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.nav ol a { display: flex; align-items: baseline; gap: 22px; padding: 14px 0; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.045em; transition: color .25s, padding-left .35s var(--ease); }
.nav ol a small { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--orange); }
.nav ol a:hover, .nav ol a.active { color: var(--blue); padding-left: 10px; }
.nav-aside { display: grid; gap: 22px; color: #9fb3c9; padding-bottom: 14px; }
.nav-aside b { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / 0.5); margin-bottom: 6px; }
.nav-aside a { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; }
.nav-aside a:hover { color: var(--blue); }
.nav-aside .btn { justify-self: start; }

/* hero */
.hero { min-height: min(100vh, 920px); display: flex; align-items: center; padding: calc(var(--header) + 56px) 0 96px; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.mesh span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.mesh span:nth-child(1) { width: 640px; height: 640px; background: var(--blue); top: -220px; right: -160px; }
.mesh span:nth-child(2) { width: 520px; height: 520px; background: var(--orange); bottom: -260px; left: -180px; opacity: .4; animation-duration: 26s; }
.mesh span:nth-child(3) { width: 360px; height: 360px; background: #2b6cff; top: 40%; left: 45%; opacity: .25; animation-duration: 30s; }
.mesh::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(90px, 60px) scale(1.12); }
  66% { transform: translate(-60px, 90px) scale(.94); }
  100% { transform: translate(40px, -50px) scale(1.06); }
}
#heroFx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; width: 100%; }
.hero-grid > * { min-width: 0; }
.visual .where { margin-top: -34px; position: relative; z-index: 2; }
.pill-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); font-size: 14px; font-weight: 600; color: #d8eefa; }
.pill-eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); }
.pill-eyebrow .dot svg { width: 12px; height: 12px; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(46px, 7vw, 96px); font-weight: 700; letter-spacing: -0.055em; margin: 24px 0 22px; line-height: 0.95; }
.hero h1 > span:first-child { display: block; }
.rotator { display: grid; overflow: hidden; height: 1.08em; padding-bottom: .04em; }
.rotator span { grid-area: 1 / 1; color: var(--blue); transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); white-space: nowrap; padding-right: .08em; }
.rotator span.on { transform: none; opacity: 1; }
.rotator span.out { transform: translateY(-105%); opacity: 0; }
.hero .lead { color: #c9dcee; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #c9dcee; font-size: 15px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--blue); }

/* hero visual: the logo with countries around it, and the "where" card */
.visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 26px; }
.orbit { position: relative; width: min(390px, 82vw); aspect-ratio: 1; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgb(255 255 255 / 0.2); }
.orbit .ring.inner { inset: 17%; border-style: solid; border-color: rgb(255 255 255 / 0.1); }
.orbit .chips { position: absolute; inset: 0; }
.orbit .core { position: absolute; inset: 31%; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(255 255 255 / 0.06), 0 0 0 22px rgb(255 255 255 / 0.03), 0 30px 80px -10px rgb(0 174 240 / 0.6); }
.orbit .core img { width: 88%; height: 88%; border-radius: 50%; object-fit: cover; }
.orbit .chip { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; box-shadow: 0 12px 26px -8px rgb(0 0 0 / 0.6), 0 0 0 3px rgb(255 255 255 / 0.9); will-change: left, top; }
.orbit .chip svg { width: 100%; height: 100%; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.where { width: 100%; max-width: 460px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); border-radius: 24px; padding: 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.where h3 { color: #fff; font-family: var(--body); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.where-pick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 -4px 14px; padding-inline: 4px; }
.where-pick::-webkit-scrollbar { display: none; }
.where-pick button { flex: none; border: 1px solid rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.06); color: #e2f2fb; border-radius: 999px; padding: 8px 14px; min-height: 40px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s; }
.where-pick button:hover { border-color: rgb(255 255 255 / 0.5); }
.where-pick button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.where-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.where-info div { background: rgb(255 255 255 / 0.07); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.where-info span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8fcbe8; }
.where-info b { display: block; font-size: 15px; color: #fff; margin-top: 3px; font-weight: 600; }
.where-info .wide { grid-column: 1 / -1; }
.where .btn { width: 100%; margin-top: 14px; }

/* marquee */
.marquee { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink-3); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--orange)); margin-left: 36px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* destinations */
.destinations { background: var(--canvas); }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest { text-align: left; position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); cursor: pointer; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.dest::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--c1, var(--blue)) 0%, transparent 70%); opacity: .08; transition: opacity .35s, transform .35s var(--ease); }
.dest:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.dest:hover::after { opacity: .16; transform: scale(1.2); }
.dest .code { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .05em; color: #fff; margin-bottom: 8px; box-shadow: 0 10px 22px -10px rgb(11 31 58 / 0.6); }
.dest h3 { font-size: 23px; }
.dest p { color: var(--ink-2); font-size: 15px; }
.dest .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.dest .meta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.dest:hover .meta svg { transform: translateX(4px); }
.dest.ask { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border-color: transparent; color: #fff; }
.dest.ask h3 { color: #fff; }
.dest.ask p { color: #c9dcee; }
.dest.ask .code { background: rgb(255 255 255 / 0.12); }
.code.flag { overflow: hidden; width: 66px; height: 44px; border-radius: 8px; padding: 0; background: #fff; box-shadow: 0 0 0 1px rgb(11 31 58 / 0.08), 0 12px 24px -12px rgb(11 31 58 / 0.55); }
.code.flag svg { width: 100%; height: 100%; display: block; }
.dest.ask .meta { border-color: rgb(255 255 255 / 0.15); color: #8fdcff; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); margin-bottom: 20px; box-shadow: 0 12px 24px -12px rgb(0 136 192 / 0.8); }
.svc:nth-child(even) .ico { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 12px 24px -12px rgb(212 70 26 / 0.8); }
.svc .ico svg { width: 26px; height: 26px; }
.svc p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.svc .num { position: absolute; right: 22px; top: 18px; font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--canvas); line-height: 1; }

/* IELTS */
.ielts { background: linear-gradient(180deg, var(--paper), var(--blue-soft)); }
.ielts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { grid-template-columns: 1fr 1fr; margin-top: 26px; gap: 12px 20px; }
.feature-list li { font-weight: 600; color: var(--ink); font-size: 15px; }
.schedule { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.schedule span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 999px; background: var(--paper); color: var(--navy); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.schedule svg { width: 16px; height: 16px; color: var(--orange); }
.ielts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.modules { position: relative; display: grid; gap: 16px; }
.band-card { position: relative; overflow: hidden; border-radius: 26px; padding: 30px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2)); display: grid; gap: 4px; box-shadow: var(--shadow-lg); isolation: isolate; }
.band-card::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -80px; top: -120px; border-radius: 50%; background: var(--blue); filter: blur(50px); opacity: .5; }
.band-card::after { content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; left: -60px; bottom: -120px; border-radius: 50%; background: var(--orange); filter: blur(50px); opacity: .4; }
.band-label { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .14em; padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.14); }
.band-card b { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1.1; margin-top: 8px; }
.band-card span:last-child { color: #c9dcee; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 28px; color: #fff; background: linear-gradient(150deg, var(--navy), var(--navy-2)); display: grid; gap: 14px; align-content: space-between; min-height: 230px; box-shadow: var(--shadow-lg); }
.offer::after { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(0 174 240 / 0.45), transparent 65%); z-index: -1; }
.offer.alt { background: linear-gradient(150deg, var(--orange), #c63b12); }
.offer.alt::after { background: radial-gradient(circle, rgb(255 255 255 / 0.25), transparent 65%); }
.offer b { font-family: var(--display); font-size: clamp(52px, 6vw, 76px); line-height: .9; letter-spacing: -0.06em; }
.offer h3 { color: #fff; font-size: 21px; letter-spacing: -0.02em; }
.offer p { margin: 6px 0 0; color: rgb(255 255 255 / 0.82); font-size: 15px; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module { padding: 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); margin-bottom: 14px; }
.module:nth-child(2) .ico, .module:nth-child(3) .ico { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.module .ico svg { width: 22px; height: 22px; }
.module h3 { font-size: 19px; }
.module p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* custom cursor: a dot and a ring that follows it (computers only; phones keep their own) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
.cursor-dot, .cursor-ring { position: fixed; inset: auto; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .25s; padding: 0; overflow: visible; color: inherit; }
.cursor-ring { background: transparent; }
.cursor-dot { border: 0; }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px; background: var(--orange); }
.cursor-ring { width: 38px; height: 38px; margin: -19px; border: 1.5px solid var(--blue); transition: opacity .25s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s; }
html.has-cursor.cursor-on .cursor-dot, html.has-cursor.cursor-on .cursor-ring { opacity: 1; }
.cursor-ring.hover { width: 62px; height: 62px; margin: -31px; background: rgb(0 174 240 / 0.12); border-color: rgb(0 174 240 / 0.6); }
.cursor-ring.down { width: 30px; height: 30px; margin: -15px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

/* process */
.process { background: var(--navy); color: #fff; overflow: hidden; }
.process::before { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgb(0 174 240 / 0.25), transparent 65%); }
.process h2 { color: #fff; }
.process .lead { color: #c9dcee; }
.process .eyebrow { color: #7fd6f7; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps .track { position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: rgb(255 255 255 / 0.12); border-radius: 2px; overflow: hidden; }
.steps .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width 1.4s var(--ease); }
.steps.seen .track i { width: 100%; }
.steps li { position: relative; display: grid; gap: 10px; justify-items: start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 20px; color: #fff; background: var(--navy-2); border: 2px solid rgb(255 255 255 / 0.18); position: relative; z-index: 1; transition: background-color .5s, border-color .5s; }
.steps.seen li::before { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-color: transparent; }
.steps.seen li:nth-child(odd)::before { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.steps h3 { color: #fff; font-size: 20px; margin-top: 6px; }
.steps p { color: #c9dcee; font-size: 15px; }

/* stories */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { padding: 28px; border-radius: var(--radius); background: var(--canvas); display: grid; gap: 18px; align-content: space-between; }
.story blockquote { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.45; color: var(--navy); }
.story .who { display: flex; align-items: center; gap: 12px; }
.story .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.story .who b { display: block; color: var(--navy); }
.story .who span { font-size: 14px; color: var(--ink-2); }
.social-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 36px; border-radius: 28px; background: linear-gradient(120deg, var(--blue-soft), var(--orange-soft)); border: 1px solid var(--line); }
.social-band .badge { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow); }
.social-band .badge svg { width: 32px; height: 32px; color: var(--orange); }
.social-band p { color: var(--ink-2); margin-top: 6px; }
.social-band .links { display: flex; gap: 10px; flex-wrap: wrap; }

/* faq */
.faq { background: var(--canvas); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 16px; }
.faq-side .btn { justify-self: start; margin-top: 8px; }
.qa { background: var(--paper); border-radius: 18px; margin-bottom: 12px; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.qa[open] { box-shadow: var(--shadow); border-color: transparent; }
.qa summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 17px; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); transition: transform .3s var(--ease), background-color .3s, color .3s; font-style: normal; font-size: 20px; line-height: 1; }
.qa[open] summary i { transform: rotate(45deg); background: var(--orange); color: #fff; }
.qa p { padding: 0 24px 22px; color: var(--ink-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start; }
.card { border-radius: 26px; padding: 34px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card > p { color: var(--ink-2); margin-bottom: 22px; }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--canvas); border: 1.5px solid var(--line); border-radius: 14px; min-height: 52px; padding: 0 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; width: 100%; min-width: 0; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234b5d72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
textarea { padding: 14px 16px; min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background-color: var(--paper); box-shadow: var(--ring); }
input[aria-invalid="true"] { border-color: var(--orange); }
.error { color: var(--orange-dark); font-size: 14px; font-weight: 700; min-height: 1.3em; }
.form-note { font-size: 13px; color: var(--ink-3); text-align: center; }
form .btn { width: 100%; }
/* contact: compact, so the title and the whole form fit on one screen */
.contact { padding: 88px 0; }
.contact .head { margin-bottom: 28px; gap: 10px; }
.contact h2 { font-size: clamp(30px, 4.2vw, 52px); }
.contact .lead { font-size: 17px; }
.form-card { padding: 26px; }
.form-card form { gap: 12px; }
.form-card label { gap: 6px; }
.form-card input, .form-card select { min-height: 48px; }
.form-card textarea { min-height: 72px; }
.form-card .error:empty { min-height: 0; margin: -6px 0 0; }
.info { display: grid; gap: 4px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.info-row a, .info-row span { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.info-row a:hover { color: var(--blue-dark); text-decoration: underline; }
.phones { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.open { color: #1f8a4c; background: #e5f6ec; }
.status.closed { color: var(--orange-dark); background: var(--orange-soft); }
.map { margin-top: 18px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--canvas); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* call to action band */
.cta-band { padding: 0 0 104px; }
.cta-inner { position: relative; overflow: hidden; border-radius: 32px; padding: 64px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-inner h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.cta-inner p { color: #c9dcee; margin-top: 12px; font-size: 18px; }
.cta-inner .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: #071629; color: #9fb3c9; padding: 72px 0 32px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #9fb3c9; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-about { margin-top: 18px; max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgb(255 255 255 / 0.06); transition: background-color .2s, transform .2s var(--ease); }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.copy { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }

/* WhatsApp button (computers) and action bar (phones) */
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); } 100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); } }
.action-bar { display: none; }

/* destination dialog */
dialog.sheet { border: 0; padding: 0; border-radius: 28px; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
dialog.sheet::backdrop { background: rgb(7 22 41 / 0.6); backdrop-filter: blur(4px); }
dialog.sheet[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet-top { padding: 30px 30px 24px; color: #fff; position: relative; }
.sheet-top .code { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; background: rgb(255 255 255 / 0.18); margin-bottom: 14px; }
.sheet-top h3 { color: #fff; font-size: 30px; }
.sheet-top p { color: rgb(255 255 255 / 0.85); margin-top: 8px; }
.sheet-close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.18); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sheet-close svg { width: 20px; height: 20px; }
.sheet-body { padding: 24px 30px 30px; display: grid; gap: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts div { background: var(--canvas); border-radius: 14px; padding: 12px 14px; }
.facts span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts b { display: block; color: var(--navy); font-size: 15px; margin-top: 2px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--blue); }
.sheet-body .btn { width: 100%; }
.sheet-note { font-size: 13px; color: var(--ink-3); text-align: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- tablets ---------- */
@media (max-width: 1080px) {
  .ruler { display: none; }
  .nav-inner { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .hero-grid, .ielts-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .ielts-grid { gap: 40px; }
  .hero { min-height: 0; }
  .visual { order: 2; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps .track { top: 30px; bottom: 30px; left: 29px; right: auto; width: 2px; height: auto; }
  .steps .track i { width: 100%; height: 0; transition: height 1.4s var(--ease); }
  .steps.seen .track i { height: 100%; width: 100%; }
  .steps li { grid-template-columns: 60px 1fr; column-gap: 20px; justify-items: stretch; }
  .steps li::before { grid-row: span 2; }
  .steps h3 { margin-top: 12px; }
  .faq-side { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; padding: 48px; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  :root { --header: 66px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .head { margin-bottom: 34px; }
  .lead, .hero .lead { font-size: 17px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 10px; letter-spacing: .1em; }
  .bar-actions .btn { display: none; }
  .menu-btn { padding: 0 5px 0 14px; }
  .nav ol a { font-size: clamp(30px, 9vw, 40px); gap: 16px; padding: 12px 0; }
  .hero { padding: calc(var(--header) + 32px) 0 64px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 50px); margin: 20px 0 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { gap: 10px 18px; font-size: 14px; }
  .orbit { width: min(300px, 78vw); }
  .orbit .chip { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; box-shadow: 0 12px 26px -8px rgb(0 0 0 / 0.6), 0 0 0 3px rgb(255 255 255 / 0.9); will-change: left, top; }
.orbit .chip svg { width: 100%; height: 100%; display: block; }
  .where { padding: 18px; border-radius: 20px; }
  .dest-grid, .svc-grid, .stories-grid { grid-template-columns: 1fr; gap: 14px; }
  .dest { padding: 20px; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .dest .code { grid-row: span 2; margin: 0; }
  .dest h3 { font-size: 20px; align-self: end; }
  .dest p, .dest .meta { grid-column: 1 / -1; }
  .svc { padding: 24px; }
  .feature-list { grid-template-columns: 1fr; }
  .ielts-actions .btn { flex: 1 1 100%; }
  .module-grid { grid-template-columns: 1fr; gap: 12px; }
  .offers { grid-template-columns: 1fr; }
  .offer { min-height: 0; padding: 24px; }
  .social-band { grid-template-columns: 1fr; padding: 26px; text-align: left; }
  .social-band .links .btn { flex: 1 1 auto; }
  .qa summary { padding: 18px; font-size: 16px; }
  .qa p { padding: 0 18px 18px; }
  .card { padding: 22px; border-radius: 22px; }
  .row2 { gap: 10px; }
  .contact { padding: 56px 0; }
  .contact .head { margin-bottom: 18px; gap: 8px; }
  .contact h2 { font-size: clamp(28px, 8vw, 36px); }
  .contact .lead { font-size: 15px; }
  .form-card { padding: 16px; border-radius: 20px; }
  .form-card label { font-size: 13px; }
  .form-card input, .form-card select { min-height: 46px; padding: 0 12px; font-size: 16px; }
  .form-card textarea { min-height: 64px; padding: 10px 12px; }
  .form-card .btn { min-height: 50px; }
  .form-card .form-note { font-size: 12px; margin: 0; }
  .cta-band { padding-bottom: 72px; }
  .cta-inner { padding: 34px 22px; border-radius: 24px; }
  .cta-inner .actions .btn { flex: 1 1 100%; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .copy { flex-direction: column; margin-top: 36px; }
  .wa-float { display: none; }
  .wa-widget { right: 0; left: 0; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 0 8px; justify-items: stretch; }
  .wa-panel { width: 100%; border-radius: 22px; }
  .wa-teaser { justify-self: end; margin-right: 8px; }
  .wa-body { max-height: 38dvh; }
  .code.flag { width: 60px; height: 40px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgb(11 31 58 / 0.4); }
  .action-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 15px; }
  .action-bar svg { width: 20px; height: 20px; }
  .action-bar .call { background: var(--canvas); color: var(--navy); border: 1px solid var(--line); }
  .action-bar .wa { background: #25d366; color: #fff; }
  .action-bar .go { background: var(--orange); color: #fff; }
  dialog.sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92dvh; }
  dialog.sheet[open] { animation: rise .4s var(--ease); }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } }
  .sheet-top { padding: 26px 20px 20px; }
  .sheet-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rotator span { transition: none; }
}

/* 404 page: night sky, orbiting plane, departure board */
.nf-page { min-height: 100svh; margin: 0; background: radial-gradient(120% 80% at 50% 0%, #0d2a4d 0%, #061224 55%, #030a16 100%); color: #fff; display: grid; grid-template-rows: auto 1fr; position: relative; overflow-x: hidden; isolation: isolate; }
#nfSky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.nf-glow { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.nf-glow span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(110px); opacity: .32; animation: float 20s ease-in-out infinite alternate; }
.nf-glow span:first-child { background: var(--blue); left: -20vmax; bottom: -30vmax; }
.nf-glow span:last-child { background: var(--orange); right: -25vmax; top: -30vmax; opacity: .2; animation-delay: -8s; }
.nf-top { padding-top: 22px; padding-bottom: 10px; }
.nf-top .brand-name, .nf-top .brand-name small { color: #fff; }
.nf { display: grid; justify-items: center; align-content: center; text-align: center; gap: 20px; padding-top: 10px; padding-bottom: 64px; }
.nf-eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: #7fd6f7; padding: 8px 16px; border-radius: 999px; border: 1px solid rgb(127 214 247 / 0.25); background: rgb(127 214 247 / 0.06); }
.nf-code { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 18px); font-family: var(--display); font-weight: 800; font-size: clamp(120px, 22vw, 250px); line-height: .9; letter-spacing: -0.06em; }
.nf-digit { background: linear-gradient(170deg, #fff 25%, #7fd6f7 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: nfIn .9s var(--ease) both; }
.nf-digit:last-child { animation-delay: .12s; }
@keyframes nfIn { from { opacity: 0; transform: translateY(.2em) scale(.9); filter: blur(8px); } }
.nf-orbit { position: relative; width: 1em; height: 1em; display: grid; place-items: center; }
.nf-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgb(127 214 247 / 0.35); animation: spin 40s linear infinite; }
.nf-ring.r2 { inset: .13em; border: 1px solid rgb(255 255 255 / 0.08); animation: none; }
.nf-orb { width: .62em; height: .62em; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 .05em rgb(255 255 255 / 0.08), 0 30px 80px -10px rgb(0 174 240 / 0.7); animation: bob 5s ease-in-out infinite; }
.nf-orb img { width: 86%; height: 86%; border-radius: 50%; }
.nf-plane { position: absolute; inset: 0; animation: spin 7s linear infinite; }
.nf-plane svg { position: absolute; top: -.07em; left: 50%; width: .15em; height: .15em; margin-left: -.075em; color: #fff; transform: rotate(90deg); filter: drop-shadow(0 0 8px rgb(0 174 240 / 0.9)); }
@keyframes bob { 50% { transform: translateY(-.05em); } }
.nf-board { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: #050b14; border: 1px solid rgb(255 255 255 / 0.08); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 30px 60px -30px rgb(0 0 0 / 0.9); max-width: 100%; overflow: hidden; }
.nf-row { display: grid; grid-template-columns: 70px auto; align-items: center; gap: 12px; text-align: left; }
.nf-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #6f8aa6; }
.nf-v { display: flex; gap: 3px; flex-wrap: nowrap; }
.nf-v i { font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 15px; width: 1.25em; height: 1.65em; display: grid; place-items: center; border-radius: 4px; background: linear-gradient(180deg, #16263a 50%, #0f1d2e 50%); color: #ffd36b; box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.6); }
.nf-v i.set { animation: flap .25s ease-out; }
.nf-row.hot .nf-v i { color: #7ff0a8; }
@keyframes flap { from { transform: rotateX(80deg); } }
.nf h1 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -0.04em; max-width: 720px; margin-top: 8px; }
.nf-text { margin: 0; max-width: 520px; color: #b6c8da; font-size: 17px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.nf-actions [hidden] { display: none; }
.nf-wa { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.22); display: inline-flex; align-items: center; gap: 10px; }
.nf-wa svg { width: 20px; height: 20px; color: #25d366; }
.nf-wa:hover { background: #25d366; border-color: #25d366; }
.nf-wa:hover svg { color: #fff; }
@media (max-width: 640px) {
  .nf { gap: 16px; }
  .nf-actions { width: 100%; }
  .nf-actions .btn { flex: 1 1 100%; justify-content: center; }
  .nf-text { font-size: 16px; }
  .nf-row { grid-template-columns: 1fr; gap: 4px; }
  .nf-v i { font-size: 12px; width: 1.3em; }
}
@media (prefers-reduced-motion: reduce) { .nf-plane, .nf-ring, .nf-orb, .nf-glow span, .nf-digit { animation: none; } }

/* ---------- WhatsApp chat box ---------- */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; justify-items: end; gap: 12px; pointer-events: none; }
.wa-widget > * { pointer-events: auto; }
.wa-float { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 16px; border: 0; border-radius: 999px; background: #25d366; color: #fff; font: 800 16px var(--body); cursor: pointer; box-shadow: 0 16px 36px -12px rgb(37 211 102 / 0.8); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float .ping { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(37 211 102 / 0.6); animation: ping 2.4s infinite; }
.wa-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--orange); color: #fff; font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.wa-badge[hidden] { display: none; }
.wa-teaser { position: relative; max-width: 260px; padding: 14px 34px 14px 16px; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); cursor: pointer; animation: pop .5s var(--ease); }
.wa-teaser[hidden] { display: none; }
.wa-teaser-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: none; color: var(--ink-3); font-size: 18px; cursor: pointer; border-radius: 50%; }
.wa-panel { width: min(370px, calc(100vw - 32px)); border-radius: 24px; overflow: hidden; background: #efeae2; box-shadow: 0 40px 90px -30px rgb(11 31 58 / 0.6), 0 0 0 1px rgb(11 31 58 / 0.08); transform-origin: bottom right; animation: waIn .4s var(--ease); display: grid; }
.wa-panel[hidden] { display: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075e54; color: #fff; }
.wa-head img { border-radius: 50%; background: #fff; }
.wa-head div { flex: 1; min-width: 0; display: grid; }
.wa-head b { font-size: 16px; }
.wa-head span { font-size: 12.5px; color: rgb(255 255 255 / 0.8); display: inline-flex; align-items: center; gap: 6px; }
.wa-head span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #b0b8c0; }
.wa-head span.on::before { background: #4ee07d; box-shadow: 0 0 0 3px rgb(78 224 125 / 0.3); }
.wa-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-close svg { width: 18px; height: 18px; }
.wa-body { min-height: 150px; max-height: 260px; overflow-y: auto; padding: 16px 14px 8px; display: grid; gap: 8px; align-content: start; background-color: #efeae2; background-image: radial-gradient(rgb(7 94 84 / 0.07) 1.2px, transparent 1.2px); background-size: 16px 16px; }
.wa-msg { max-width: 82%; padding: 8px 12px 6px; border-radius: 4px 14px 14px 14px; background: #fff; color: #111b21; font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / 0.08); justify-self: start; white-space: pre-line; animation: pop .35s var(--ease); }
.wa-msg time { display: block; text-align: right; font-size: 10.5px; color: #667781; margin-top: 2px; }
.wa-msg.me { justify-self: end; background: #d9fdd3; border-radius: 14px 4px 14px 14px; }
.wa-msg.me time { color: #53bdeb; }
.wa-msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.wa-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ab; animation: blink 1s infinite; }
.wa-msg.typing i:nth-child(2) { animation-delay: .15s; }
.wa-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.wa-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 14px 10px; background: #efeae2; }
.wa-replies button { border: 1px solid #c9e9d0; background: #fff; color: #075e54; font: 700 13.5px var(--body); padding: 8px 12px; min-height: 38px; border-radius: 999px; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.wa-replies button:hover { background: #d9fdd3; transform: translateY(-1px); }
.wa-compose { display: flex; gap: 8px; padding: 10px 12px; background: #f0f2f5; }
.wa-compose input { min-height: 46px; border-radius: 999px; background: #fff; border-color: transparent; }
.wa-compose button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-compose button svg { width: 20px; height: 20px; }
.wa-foot { margin: 0; padding: 0 12px 10px; background: #f0f2f5; font-size: 11.5px; color: #667781; text-align: center; }
.menu-open .wa-widget { display: none; }

/* ---------- cursor themes per section ---------- */
.cursor-ring { display: grid; place-items: center; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: transparent; }
html[data-cursor="light"] .cursor-ring { border-color: var(--navy); }
html[data-cursor="light"] .cursor-dot { background: var(--blue); }
html[data-cursor="warm"] .cursor-ring { border-color: var(--orange); border-style: dashed; animation: spin 8s linear infinite; }
html[data-cursor="warm"] .cursor-dot { background: var(--navy); width: 9px; height: 9px; margin: -4.5px; }
html[data-cursor="light"] .cursor-ring.hover { background: rgb(11 31 58 / 0.08); border-color: var(--navy); }
html[data-cursor="warm"] .cursor-ring.hover { background: rgb(241 89 42 / 0.12); }
.cursor-ring.labelled { width: 76px; height: 76px; margin: -38px; background: var(--orange) !important; border-color: var(--orange) !important; border-style: solid !important; color: #fff; animation: none !important; }
html[data-cursor="dark"] .cursor-ring.labelled { background: var(--blue) !important; border-color: var(--blue) !important; }
.cursor-ring.labelled.wa { background: #25d366 !important; border-color: #25d366 !important; }
.cursor-dot:has(~ .cursor-ring.labelled) { opacity: 0 !important; }
.cursor-ring.typing { opacity: 0 !important; }

/* ---------- moving backgrounds ---------- */
.fx-aurora { position: relative; isolation: isolate; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .22; animation: float 24s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--blue); top: -18%; left: -10%; }
.aurora i:nth-child(2) { background: var(--orange); bottom: -25%; right: -8%; opacity: .16; animation-duration: 30s; }
.aurora i:nth-child(3) { background: #7b5cff; top: 30%; left: 40%; opacity: .1; animation-duration: 36s; animation-direction: alternate-reverse; }
.services { background: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 15% 20%, rgb(0 174 240 / 0.09), transparent 70%), radial-gradient(35% 45% at 85% 80%, rgb(241 89 42 / 0.08), transparent 70%); background-size: 200% 200%; animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 0%, 100% 100%; } to { background-position: 100% 60%, 0% 40%; } }
.svc, .dest, .module, .qa { isolation: isolate; }
.svc::before, .dest::before, .module::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(260px circle at var(--mx, -300px) var(--my, -300px), rgb(0 174 240 / 0.12), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover::before, .dest:hover::before, .module:hover::before { opacity: 1; }
.ielts { position: relative; isolation: isolate; overflow: hidden; }
.big-word { position: absolute; left: 0; bottom: 18px; z-index: -1; display: flex; width: max-content; animation: marquee 60s linear infinite; pointer-events: none; }
.big-word span { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 14vw, 200px); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgb(0 136 192 / 0.13); padding-right: .3em; }
.process { position: relative; isolation: isolate; }
.process .stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fx-grid { position: relative; isolation: isolate; overflow: hidden; }
.fx-grid::before { content: ""; position: absolute; inset: -60px 0 0; z-index: -1; background-image: linear-gradient(rgb(11 31 58 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(11 31 58 / 0.05) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); animation: gridMove 14s linear infinite; }
@keyframes gridMove { to { transform: translateY(60px); } }
.cta-inner::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, var(--navy), #0d4b7a, var(--blue), var(--navy) 40%, #7a2c16, var(--orange), var(--navy) 75%); animation: spin 18s linear infinite; opacity: .55; }
.cta-inner::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 30px; background: radial-gradient(120% 140% at 0% 0%, rgb(11 31 58 / 0.65), rgb(11 31 58 / 0.92)); }
.wordmark { overflow: hidden; margin: 48px 0 0; user-select: none; }
.wordmark span { display: block; font-family: var(--display); font-weight: 800; font-size: var(--wm, 120px); line-height: .9; padding-bottom: .06em; letter-spacing: -0.06em; white-space: nowrap; background: linear-gradient(100deg, rgb(255 255 255 / 0.08) 20%, rgb(0 174 240 / 0.7) 40%, rgb(241 89 42 / 0.6) 55%, rgb(255 255 255 / 0.08) 75%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 9s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.dest.ask { text-decoration: none; }
select:has(option[value=""]:checked) { color: var(--ink-3); }

/* ---------- phones (repeated here so it wins over the rules above) ---------- */
@media (max-width: 640px) {
  .wa-float { display: none; }
  .wa-widget { right: 0; left: 0; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 0 8px; justify-items: stretch; }
  .wa-panel { width: 100%; border-radius: 22px; }
  .wa-teaser { justify-self: end; margin-right: 8px; }
  .wa-body { max-height: 38dvh; }
  .code.flag { width: 60px; height: 40px; }
}
@media (max-height: 820px) {
  .contact .lead { display: none; }
  .contact .head { margin-bottom: 18px; }
  .form-card { padding: 20px 22px; }
  .form-card form { gap: 10px; }
  .form-card textarea { min-height: 60px; }
}
@media (max-width: 640px) and (max-height: 780px) {
  .form-card form { gap: 8px; }
  .form-card label { gap: 4px; }
  .form-card input, .form-card select { min-height: 44px; }
  .form-card textarea { min-height: 52px; }
  .form-card .form-note { display: none; }
  .contact h2 { font-size: 26px; }
}
@media (max-width: 359px) { .row2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .aurora i, .services::before, .big-word, .fx-grid::before, .cta-inner::before, .wordmark span, .nf-orb, .nf-orb img { animation: none !important; }
}

/* =====================================================================
   Lower sections, dark editorial look (overrides the earlier light cards)
   ===================================================================== */
.dark-band, .destinations, .faq { --ink: #e8f1fa; --ink-2: #a9bdd1; --ink-3: #7d93aa; --line: rgb(255 255 255 / 0.1); }

/* moving strip: big outlined words */
.marquee { background: #061224; border-block: 1px solid rgb(255 255 255 / 0.08); padding: 26px 0; }
.marquee-track { gap: 34px; animation-duration: 46s; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -0.03em; text-transform: none; color: #fff; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgb(127 214 247 / 0.75); }
.marquee-track span::after { width: 12px; height: 12px; margin-left: 34px; background: var(--orange); box-shadow: 0 0 18px rgb(241 89 42 / 0.8); }

/* destinations: dark, a globe behind the heading, glass cards */
.destinations { background: radial-gradient(90% 70% at 85% 0%, #0b2a52 0%, #061224 60%); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.destinations .globe { position: absolute; z-index: -1; right: max(-60px, calc(50% - 700px)); top: 10px; width: min(660px, 54vw); aspect-ratio: 1; pointer-events: none; }
.destinations h2, .faq h2 { color: #fff; }
.destinations .head { min-height: 470px; align-content: center; max-width: 600px; }
.destinations .eyebrow, .faq .eyebrow { color: #7fd6f7; }
.dest { background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dest::after { opacity: .18; }
.dest:hover { border-color: rgb(127 214 247 / 0.45); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(127 214 247 / 0.2); }
.dest h3 { color: #fff; }
.dest p { color: #a9bdd1; }
.dest .meta { border-color: rgb(255 255 255 / 0.1); color: #7fd6f7; }
.dest::before { background: radial-gradient(240px circle at var(--mx, -300px) var(--my, -300px), rgb(0 174 240 / 0.18), transparent 70%); }
.dest.ask { background: linear-gradient(150deg, var(--orange), #b8360f); }
.dest.ask .meta { color: #fff; border-color: rgb(255 255 255 / 0.25); }
.dest.ask p { color: rgb(255 255 255 / 0.85); }

/* services: a big numbered list, each row fills with colour on hover */
.services .head.center { text-align: left; justify-items: start; margin-inline: 0; }
.svc-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 70px 58px minmax(0, 1fr) minmax(0, 1.1fr) 40px; align-items: center; gap: 24px; padding: 30px 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none !important; transform: none !important; overflow: hidden; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--navy), #0d3a66); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc:hover::after { transform: scaleY(1); }
.svc .num { position: static; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--orange); }
.svc .ico { margin: 0; width: 52px; height: 52px; border-radius: 16px; transition: transform .5s var(--ease); }
.svc:hover .ico { transform: rotate(-8deg) scale(1.08); }
.svc h3 { font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -0.035em; transition: color .4s, transform .5s var(--ease); }
.svc p { margin: 0; transition: color .4s; }
.svc:hover h3 { color: #fff; transform: translateX(8px); }
.svc:hover p { color: #c9dcee; }
.svc .go-ico { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background-color .4s, color .4s, transform .5s var(--ease), border-color .4s; }
.svc .go-ico svg { width: 18px; height: 18px; }
.svc:hover .go-ico { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(-45deg); }

/* IELTS: warm paper */
.ielts { background: linear-gradient(180deg, #fffaf4, #fdf0e4); }
.big-word span { -webkit-text-stroke: 1.5px rgb(241 89 42 / 0.16); }

/* how it works: a plane flies along the line */
.steps .plane { position: absolute; top: 17px; left: 10%; z-index: 2; width: 28px; height: 28px; color: #fff; transform: rotate(90deg); filter: drop-shadow(0 0 10px rgb(0 174 240 / 0.9)); transition: left 1.6s var(--ease); }
.steps .plane svg { width: 100%; height: 100%; }
.steps.seen .plane { left: calc(90% - 28px); animation: hover-y 3s ease-in-out 1.6s infinite; }
@keyframes hover-y { 50% { translate: 0 -5px; } }
.steps .track { background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.2) 0 8px, transparent 8px 16px); }
.steps li { padding: 0 6px; }
.steps li h3, .steps li p { transition: transform .4s var(--ease); }
.steps li:hover h3 { transform: translateY(-3px); color: #7fd6f7; }

/* questions: dark glass */
.faq { background: #061224; color: #fff; }
.faq .lead { color: #a9bdd1; }
.faq-side .btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.25); }
.faq-side .btn-outline:hover { background: rgb(255 255 255 / 0.08); }
.fx-grid::before { background-image: linear-gradient(rgb(127 214 247 / 0.07) 1px, transparent 1px), linear-gradient(90deg, rgb(127 214 247 / 0.07) 1px, transparent 1px); }
.qa { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.1); }
.qa[open] { background: rgb(255 255 255 / 0.07); border-color: rgb(127 214 247 / 0.3); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8); }
.qa summary { color: #fff; }
.qa summary i { background: rgb(127 214 247 / 0.12); color: #7fd6f7; }
.qa p { color: #a9bdd1; }

/* stories band and contact stay light, with soft moving colour */
#stories { background: #fff; }

@media (max-width: 1080px) {
  .destinations .globe { width: 90vw; right: -20vw; top: -60px; opacity: .55; }
  .destinations .head { min-height: 0; }
  .svc { grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 6px 16px; padding: 22px 8px; }
  .svc .num { display: none; }
  .svc .ico { grid-row: span 2; align-self: start; }
  .svc h3 { grid-column: 2; }
  .svc p { grid-column: 2; }
  .svc .go-ico { grid-column: 3; grid-row: 1 / span 2; }
  .steps .plane { display: none; }
}
@media (max-width: 640px) {
  .destinations .globe { width: 120vw; right: -45vw; top: -30px; opacity: .45; }
  .marquee { padding: 18px 0; }
  .svc .ico { width: 44px; height: 44px; border-radius: 14px; }
  .svc .go-ico { width: 34px; height: 34px; }
  .svc h3 { font-size: 20px; }
  .svc p { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .steps .plane { transition: none; animation: none; } }

/* menu: smaller links; the one under the mouse grows and the rest fade back */
.nav ol a { font-size: clamp(26px, 3.4vw, 42px); padding: 12px 0; transform-origin: left center; transition: transform .5s var(--ease), color .35s, opacity .35s; }
.nav ol a small { transition: color .35s, transform .5s var(--ease); }
.nav ol:hover a, .nav ol:focus-within a { opacity: .35; }
.nav ol a:hover, .nav ol a:focus-visible { opacity: 1; color: var(--blue); padding-left: 0; transform: scale(1.32); }
.nav ol a:hover small, .nav ol a:focus-visible small { color: #fff; }
.nav ol a.active { padding-left: 0; }
.nav li { transition: border-color .35s; }
@media (max-width: 640px) {
  .nav ol a { font-size: clamp(24px, 7.4vw, 32px); padding: 10px 0; }
  .nav ol a:hover, .nav ol a:focus-visible { transform: scale(1.14); }
}
.nav-inner { align-items: center; align-content: center; }

/* clean corners: no white showing at rounded edges of flags and the country pop-up */
.code.flag { background: transparent; clip-path: inset(0 round 8px); box-shadow: none; filter: drop-shadow(0 10px 16px rgb(0 0 0 / 0.35)); }
.code.flag svg { border-radius: 8px; }
.sheet-top .code.flag { width: 72px; height: 48px; border-radius: 8px; background: transparent; }
dialog.sheet { background: transparent; box-shadow: none; overflow: hidden; display: none; }
dialog.sheet[open] { display: flex; flex-direction: column; }
.sheet-top { flex: none; border-radius: 28px 28px 0 0; }
.sheet-body { flex: 1 1 auto; overflow-y: auto; background: var(--paper); border-radius: 0 0 28px 28px; }
dialog.sheet[open] { filter: drop-shadow(0 30px 60px rgb(7 22 41 / 0.55)); }
@media (max-width: 640px) {
  .sheet-top { border-radius: 26px 26px 0 0; }
  .sheet-body { border-radius: 0; }
}

.cursor-ring.wa.hover { background: rgb(37 211 102 / 0.18) !important; border-color: #25d366 !important; }
dialog.sheet { box-sizing: border-box; }
.sheet-top, .sheet-body { min-width: 0; width: 100%; box-sizing: border-box; }
.sheet-body .btn, .where .btn, .offer .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
.facts > div { min-width: 0; }

/* scroll focus: same look as hover */
.svc.focus::after { transform: scaleY(1); }
.svc.focus h3 { color: #fff; transform: translateX(8px); }
.svc.focus p { color: #c9dcee; }
.svc.focus .ico { transform: rotate(-8deg) scale(1.08); }
.svc.focus .go-ico { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(-45deg); }
.svc-grid:hover .svc.focus:not(:hover)::after { transform: scaleY(0); }
.svc-grid:hover .svc.focus:not(:hover) h3 { color: var(--navy); transform: none; }
.svc-grid:hover .svc.focus:not(:hover) p { color: var(--ink-2); }
.svc-grid:hover .svc.focus:not(:hover) .ico { transform: none; }
.svc-grid:hover .svc.focus:not(:hover) .go-ico { background: transparent; border-color: var(--line); color: var(--navy); transform: none; }
.steps li.focus h3 { transform: translateY(-3px); color: #7fd6f7; }
.steps li::before { transition: background-color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s; }
.steps li.focus::before { transform: scale(1.12); box-shadow: 0 0 0 8px rgb(127 214 247 / 0.12), 0 0 30px rgb(0 174 240 / 0.45); }
@media (min-width: 641px) { .copy { padding-right: 220px; } }
/* keep the "where" card clear of the flags circling the logo */
.visual { gap: 44px; }
.visual .where { margin-top: 0; }
.orbit { width: min(350px, 72vw); }
@media (max-width: 640px) { .visual { gap: 36px; } .orbit { width: min(280px, 70vw); } }

/* ---------- social cards ---------- */
.social-band { grid-template-columns: auto 1fr; row-gap: 26px; }
.social-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.social-card { --brand: var(--navy); position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, color .4s; }
.social-card.facebook { --brand: #1877f2; }
.social-card.tiktok { --brand: #111; }
.social-card.instagram { --brand: #d62976; }
.social-card.youtube { --brand: #ff0033; }
.social-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: translateY(101%); transition: transform .5s var(--ease); }
.social-card.tiktok::before { background: linear-gradient(120deg, #111 55%, #25f4ee 80%, #fe2c55); }
.social-card.instagram::before { background: linear-gradient(120deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.social-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgb(11 31 58 / 0.5); border-color: transparent; color: #fff; }
.social-card:hover::before { transform: none; }
.sc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; transition: background-color .4s, transform .5s var(--ease); }
.social-card.tiktok .sc-ico { box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset; }
.sc-ico svg { width: 24px; height: 24px; }
.social-card:hover .sc-ico { background: rgb(255 255 255 / 0.18); transform: rotate(-8deg) scale(1.05); }
.sc-text { display: grid; gap: 2px; min-width: 0; }
.sc-text b { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; }
.sc-text small { font-family: var(--mono); font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .4s; }
.sc-text em { font-style: normal; font-size: 13.5px; color: var(--ink-2); transition: color .4s; }
.social-card:hover small, .social-card:hover em { color: rgb(255 255 255 / 0.85); }
.sc-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; padding: 9px 14px; border-radius: 999px; background: var(--canvas); color: var(--navy); transition: background-color .4s, color .4s; }
.sc-go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.social-card:hover .sc-go { background: #fff; color: var(--brand); }
.social-card.instagram:hover .sc-go { color: #d62976; }
.social-card:hover .sc-go svg { transform: translateX(3px) rotate(-45deg); }
/* menu: icon chips */
.nav-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-aside .nav-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.18); font-size: 15px; transition: background-color .25s, border-color .25s; }
.nav-socials a svg { width: 18px; height: 18px; }
.nav-aside .nav-socials a:hover { color: #fff; background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.35); }
.socials a.facebook:hover { background: #1877f2; }
.socials a.tiktok:hover { background: #111; box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset; }

/* ---------- back to top: round button, turning words, ring fills as you scroll ---------- */
.copy { align-items: center; }
.to-top { position: relative; width: 104px; height: 104px; flex: none; display: grid; place-items: center; color: #fff; text-decoration: none; border-radius: 50%; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.to-top-ring text { font: 600 10.5px var(--mono); letter-spacing: .32em; fill: rgb(255 255 255 / 0.6); transition: fill .3s; }
.to-top-ring text { transform-origin: 60px 60px; animation: spin 16s linear infinite; }
.to-top-ring .track { fill: none; stroke: rgb(255 255 255 / 0.08); stroke-width: 2; }
.to-top-ring .fill { fill: none; stroke: url(#none) var(--orange); stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset .2s linear; }
.to-top-core { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14); transition: background-color .35s, transform .5s var(--ease), border-color .35s; }
.to-top-core svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.to-top:hover .to-top-core { background: var(--orange); border-color: var(--orange); transform: scale(1.08); }
.to-top:hover .to-top-core svg { transform: translateY(-3px); }
.to-top:hover text { fill: #fff; animation-duration: 5s; }
@media (max-width: 640px) {
  .social-cards { grid-template-columns: 1fr; }
  .social-card { padding: 14px 16px; gap: 12px; }
  .sc-ico { width: 44px; height: 44px; border-radius: 14px; }
  .sc-text em { display: none; }
  .copy { flex-direction: row; justify-content: space-between; }
  .to-top { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) { .to-top-ring text { animation: none; } }

/* "where do you want to study?" card: wider, and fixed heights so changing country never adds a row */
.where { max-width: 540px; }
.where-info { grid-template-columns: 1.45fr 1fr; }
.where-info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where-info .wide b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.7em; line-height: 1.35; }
.where-info > div { min-width: 0; }
/* back-to-top words a touch larger */
.to-top-ring text { font-size: 11.5px; letter-spacing: .26em; }
@media (max-width: 640px) { .where-info { grid-template-columns: 1fr; } .where-info > div:nth-child(2) { display: none; } }
@media (max-width: 640px) { .where .btn { min-height: 68px; } }

/* counselling: form and contact card the same height; the map fills what is left */
.contact-grid { align-items: stretch; }
.info-card { display: flex; flex-direction: column; padding: 22px 26px; }
.info-card .info { gap: 0; }
.info-card .info-row { padding: 12px 0; gap: 14px; }
.info-card .info-row .ico { width: 40px; height: 40px; border-radius: 12px; }
.info-card .map { flex: 1 1 auto; aspect-ratio: auto; min-height: 150px; margin-top: 14px; }
.info-card .map iframe { width: 100%; height: 100%; display: block; border: 0; }
@media (max-width: 1080px) { .info-card .map { flex: none; height: 240px; } }

/* phones: no bottom bar; only "Book free counselling" in the first screen; WhatsApp is a small round button */
@media (max-width: 640px) {
  .action-bar { display: none !important; }
  body { padding-bottom: 0; }
  .hero-actions .btn-ghost { display: none; }
  .wa-widget { left: auto; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 0; justify-items: end; }
  .wa-float { display: inline-grid; place-items: center; width: 58px; height: 58px; padding: 0; gap: 0; }
  .wa-float .wa-label { display: none; }
  .wa-float svg { width: 30px; height: 30px; }
  .wa-panel { width: calc(100vw - 28px); }
  .wa-teaser { margin-right: 0; max-width: 230px; }
  .copy { padding-right: 76px; }
}

/* phones: footer links in two columns, smaller back-to-top */
@media (max-width: 640px) {
  .foot { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .foot > div:first-child, .foot > div:last-child { grid-column: 1 / -1; }
  .foot h4 { margin-bottom: 10px; }
  .foot ul { gap: 6px; }
  .to-top { width: 64px; height: 64px; }
  .to-top-core { width: 36px; height: 36px; }
  .to-top-core svg { width: 16px; height: 16px; }
  .to-top-ring text { font-size: 13px; letter-spacing: .18em; }
  .copy { margin-top: 28px; gap: 10px; font-size: 13px; }
}
@media (max-width: 640px) {
  .site-footer { padding-bottom: 92px; }
  .copy { padding-right: 0; flex-wrap: nowrap; align-items: center; }
  .copy > span { flex: 1 1 auto; min-width: 0; }
  .to-top { width: 56px; height: 56px; }
  .to-top-ring text { display: none; }
  .to-top-ring .track, .to-top-ring .fill { stroke-width: 3; }
}

/* back to top, clean: a small circle with a progress ring, and the words beside it */
.to-top { width: auto; height: auto; display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.14); color: #fff; font-weight: 700; font-size: 14px; transition: background-color .3s, border-color .3s; }
.to-top:hover { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.28); }
.to-top-core { position: relative; width: 40px; height: 40px; border: 0; background: rgb(255 255 255 / 0.06); }
.to-top-core .to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.to-top-ring .track { stroke-width: 2.5; }
.to-top-ring .fill { stroke-width: 2.5; transform-origin: 24px 24px; }
.to-top-arrow { width: 18px; height: 18px; position: relative; transition: transform .4s var(--ease); }
.to-top:hover .to-top-core { background: var(--orange); transform: none; }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }
@media (max-width: 640px) {
  .to-top { width: auto; height: auto; padding: 4px 4px; border: 0; }
  .to-top-label { display: none; }
  .to-top-core { width: 44px; height: 44px; }
}
.to-top:hover .to-top-core .to-top-ring { transform: none; }

/* ---------- map: buttons on the small map, and the large pop-up ---------- */
.map { position: relative; }
.map-actions { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.map-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.96); color: var(--ink); font: 700 13.5px var(--body); text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px -8px rgb(11 31 58 / 0.45), 0 0 0 1px rgb(11 31 58 / 0.08); transition: transform .25s var(--ease), background .25s, color .25s; }
.map-btn svg { width: 16px; height: 16px; flex: none; }
.map-btn:hover, .map-btn:focus-visible { transform: translateY(-2px); background: var(--navy); color: #fff; }
dialog.map-sheet { border: 0; padding: 0; width: min(1080px, calc(100vw - 48px)); height: min(760px, calc(100dvh - 48px)); max-width: none; max-height: none; border-radius: 24px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgb(7 22 41 / 0.7); }
dialog.map-sheet[open] { display: flex; flex-direction: column; animation: pop .35s var(--ease); }
dialog.map-sheet::backdrop { background: rgb(7 22 41 / 0.66); backdrop-filter: blur(4px); }
.map-sheet-head { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.map-sheet-head > div { flex: 1; min-width: 0; display: grid; }
.map-sheet-head b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.map-sheet-head > div > span { font-size: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-sheet-go { flex: none; min-height: 44px; padding-inline: 18px; white-space: nowrap; }
.map-sheet-x.sheet-close { position: static; flex: none; background: var(--canvas); color: var(--ink); }
#mapBig { flex: 1 1 auto; width: 100%; border: 0; display: block; }
@media (max-width: 640px) {
  .map-btn { flex: 1 1 0; justify-content: center; padding: 0 10px; font-size: 13px; }
  dialog.map-sheet { width: 100vw; height: 88dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  dialog.map-sheet[open] { animation: rise .4s var(--ease); }
  .map-sheet-head { flex-wrap: wrap; padding: 14px 14px 14px 18px; }
  .map-sheet-go { order: 3; flex: 1 1 100%; }
}

/* menu: only the hovered item turns blue; the current section just keeps its number bright */
.nav ol a.active { color: #fff; }
.nav ol a.active small { color: var(--orange); }
.nav ol a:hover, .nav ol a:focus-visible { color: var(--blue); }

/* how it works: the plane and the coloured line move with the scroll (--fly from 0 to 1, set in app.js) */
.steps { --fly: 0; }
.steps .track i, .steps.seen .track i { width: calc(var(--fly) * 100%); transition: none; }
.steps .plane, .steps.seen .plane { left: calc(10% + (80% - 28px) * var(--fly)); transition: none; animation: none; }
@media (max-width: 1080px) {
  .steps .track i, .steps.seen .track i { width: 100%; height: calc(var(--fly) * 100%); }
  .steps .plane, .steps.seen .plane { display: block; left: 16px; top: calc(30px + (100% - 88px) * var(--fly)); transform: rotate(180deg); width: 26px; height: 26px; }
}

/* phones: smaller WhatsApp button */
@media (max-width: 640px) {
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* questions: answer sits close under its question */
.qa[open] summary { padding-bottom: 8px; }
.qa p { margin: 0; padding-top: 0; }

/* 404: sky fills the whole page; nothing wider than the phone */
html:has(.nf-page) { background: #030a16; }
.nf-page { background-attachment: fixed; }
.nf, .nf-top { max-width: 100%; box-sizing: border-box; min-width: 0; }
.nf { grid-template-columns: minmax(0, 1fr); width: 100%; }
.nf > * { max-width: 100%; }
@media (max-width: 640px) { .nf-code { font-size: min(30vw, 130px); } }

/* map pop-up button text stays white; phone map buttons stay on one line */
.map-sheet-go, .map-sheet-go:hover { color: #fff; }
@media (max-width: 640px) {
  .map-actions { left: 8px; right: 8px; bottom: 8px; gap: 6px; }
  .map-btn { gap: 6px; padding: 0 8px; font-size: 12px; white-space: nowrap; min-height: 44px; }
  .map-btn svg { width: 14px; height: 14px; }
}

/* destinations globe: grab and turn it with the mouse */
.destinations.globe-hover { cursor: grab; }
.destinations.globe-drag { cursor: grabbing; user-select: none; }
/* the ring cursor opens up over the globe and tightens while dragging */
html.on-globe .cursor-ring { width: 74px; height: 74px; margin: -37px; border-style: dashed; border-color: rgb(127 214 247 / 0.8); background: rgb(0 174 240 / 0.08); }
html.globe-dragging .cursor-ring { width: 48px; height: 48px; margin: -24px; border-style: solid; border-color: var(--orange); }

/* globe: soft round edge so it melts into the dark background */
.destinations .globe { -webkit-mask-image: radial-gradient(circle closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 84%, transparent 100%); }

/* 404: the two 4s sit level with the logo */
.nf-digit { position: relative; top: var(--nf-lift, -0.16em); }
@media (max-width: 640px) { .nf-digit { --nf-lift: -0.135em; } }

/* ---------- country pop-up: flag panel on the left, details on the right (bottom sheet on phones) ---------- */
dialog.dest-modal { border: 0; padding: 0; width: min(920px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); border-radius: 26px; overflow: hidden; background: #0a1a30; color: #fff; box-shadow: 0 50px 120px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.08); }
dialog.dest-modal[open] { display: grid; grid-template-columns: 0.9fr 1.1fr; animation: dmIn .45s var(--ease); }
dialog.dest-modal::backdrop { background: rgb(3 10 22 / 0.72); backdrop-filter: blur(6px); }
@keyframes dmIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.dm-side { position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; overflow: hidden; isolation: isolate; }
.dm-flag { position: absolute; inset: 0; z-index: -2; }
.dm-flag svg { width: 100%; height: 100%; display: block; transform: scale(1.08); animation: dmDrift 14s ease-in-out infinite alternate; }
@keyframes dmDrift { to { transform: scale(1.16) translate(-2%, 1%); } }
.dm-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 26 48 / 0.05) 0%, rgb(10 26 48 / 0.35) 40%, rgb(10 26 48 / 0.96) 100%); }
.dm-side::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: rgb(255 255 255 / 0.08); }
.dm-side-text { display: grid; gap: 10px; }
.dm-count { font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / 0.75); }
.dm-side h3 { margin: 0; color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.2vw, 50px); line-height: .98; letter-spacing: -0.045em; text-wrap: balance; }
.dm-side h3 small { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0; color: #7fd6f7; margin-bottom: 8px; font-family: var(--body); }
.dm-where { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: rgb(255 255 255 / 0.7); }
.dm-nav { display: flex; gap: 8px; margin-top: 22px; }
.dm-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.06); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.dm-arrow svg { width: 18px; height: 18px; }
.dm-arrow:hover, .dm-arrow:focus-visible { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }
.dm-main { position: static; display: flex; flex-direction: column; gap: 22px; padding: 34px 32px 26px; overflow-y: auto; min-width: 0; }
.dm-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.14); background: rgb(255 255 255 / 0.05); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s, transform .3s var(--ease); }
.dm-close svg { width: 18px; height: 18px; }
.dm-close:hover, .dm-close:focus-visible { background: var(--orange); border-color: var(--orange); transform: rotate(90deg); }
.dm-blurb { margin: 0; padding-right: 48px; font-size: 18px; line-height: 1.5; color: #dbe7f3; font-weight: 500; }
.dm-facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 16px; overflow: hidden; }
.dm-facts div { padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.dm-facts div + div { border-left: 1px solid rgb(255 255 255 / 0.1); }
.dm-facts span, .dm-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #6f8aa6; }
.dm-facts b { font-size: 15.5px; font-weight: 700; color: #fff; }
.dm-why { display: grid; gap: 10px; }
.dm-why ol { list-style: none; margin: 0; padding: 0; display: grid; }
.dm-why li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgb(255 255 255 / 0.07); color: #dbe7f3; font-size: 15.5px; }
.dm-why li:last-child { border-bottom: 0; }
.dm-why li i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--orange); }
.dm-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: auto; }
.dm-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.25; padding-block: 13px; min-height: 50px; }
.dm-wa { background: #25d366; color: #fff; border: 0; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -14px rgb(37 211 102 / 0.8); }
.dm-wa svg { width: 20px; height: 20px; flex: none; }
.dm-wa:hover { background: #1ebe5b; }
.dm-book { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.22); }
.dm-book:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.4); }
.dm-note { margin: 0; font-size: 12.5px; color: #6f8aa6; text-align: center; }
@media (max-width: 720px) {
  dialog.dest-modal { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  dialog.dest-modal[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); animation: rise .4s var(--ease); }
  .dm-side { min-height: 210px; padding: 20px; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; }
  .dm-side::after { display: none; }
  .dm-side h3 { font-size: 32px; }
  .dm-nav { margin-top: 0; flex: none; }
  .dm-arrow { width: 44px; height: 44px; }
  .dm-main { padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); gap: 18px; }
  .dm-close { top: 14px; right: 14px; z-index: 2; background: rgb(10 26 48 / 0.55); backdrop-filter: blur(6px); }
  .dm-blurb { padding-right: 0; font-size: 16px; }
  .dm-facts { grid-template-columns: 1fr; }
  .dm-facts div + div { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.1); }
}
@media (prefers-reduced-motion: reduce) { .dm-flag svg { animation: none; } dialog.dest-modal[open] { animation: none; } }
.nf > .nf-text { max-width: 540px; }
.dm-main > * { flex-shrink: 0; }
@media (max-width: 720px) { .dm-side { min-height: 230px; padding-top: 64px; } .dm-side h3 small { margin-bottom: 4px; } }

/* WhatsApp box: no light line at the rounded corners (green behind the header, grey behind the footer, clean clip) */
.wa-panel { background: linear-gradient(180deg, #075e54 0 50%, #f0f2f5 50% 100%); box-shadow: 0 40px 90px -30px rgb(11 31 58 / 0.6); }
.wa-panel > * { position: relative; }
#waBody { background-color: #efeae2; }

/* WhatsApp pill: a little smaller on computers */
@media (min-width: 641px) {
  .wa-float { height: 48px; padding: 0 18px 0 13px; gap: 8px; font-size: 14.5px; }
  .wa-float svg { width: 23px; height: 23px; }
  .wa-badge { min-width: 20px; height: 20px; font-size: 11px; top: -5px; right: -5px; }
}

/* how it works: no plane on the vertical (phone and tablet) layout; the line still fills with the scroll */
@media (max-width: 1080px) { .steps .plane, .steps.seen .plane { display: none; } }
