/* IGOABROAD public site. Plain CSS, no build step. */

:root {
  --navy: #0B1F5C;
  --navy-deep: #081748;
  --blue: #1F6FEB;
  --gold: #F2B705;
  --ink: #1A1A1A;
  --muted: #4A5468;
  --wash: #F4F7FC;
  --rule: #DDE3EE;
  --red: #C73535;
  --ok: #1E8E5A;
  --radius: 3px;
  --wrap: 1120px;
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.section--navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .bar :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 600 .975rem/1 var(--font-head); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ffc61a; color: var(--ink); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 600; }

/* Announcement bar */
.topbar { background: var(--gold); color: var(--ink); font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding-block: 6px; }
.topbar a { color: var(--ink); font-weight: 600; }
.topbar button { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 6px 10px; color: var(--ink); }

/* Marquee: scrolls right to left, sits under the announcement bar */
.marquee { text-decoration: none; cursor: pointer; display: flex; align-items: stretch; background: linear-gradient(90deg, var(--navy-deep), var(--navy)); color: #fff; font: 600 .84rem/1 var(--font-head); border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee__tag { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 30px 0 max(16px, calc((100vw - var(--wrap)) / 2 + 16px)); background: var(--gold); color: var(--ink); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); font-size: .8rem; letter-spacing: .01em; white-space: nowrap; }
.marquee__tag svg { flex: none; }
.marquee__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.marquee__track { display: flex; width: max-content; animation: igo-marquee 110s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-visible .marquee__track { animation-play-state: paused; }
.marquee:hover, .marquee:visited { color: #fff; }
.marquee:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.marquee__group { display: flex; align-items: center; flex: none; gap: 10px; padding: 11px 5px 11px 22px; white-space: nowrap; }
.marquee__label { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-inline: 6px 8px; }
.marquee__label::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 500; font-family: var(--font-body); font-size: .82rem; line-height: 1; transition: background .2s, border-color .2s; }
.chip:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.34); }
.chip--uni { background: rgba(242,183,5,.12); border-color: rgba(242,183,5,.45); color: #fff3c4; }
.chip--uni:hover { background: rgba(242,183,5,.22); border-color: var(--gold); }
.chip--uni svg { color: var(--gold); flex: none; }
@keyframes igo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .marquee__tag { padding: 0 24px 0 14px; font-size: .72rem; max-width: 46%; white-space: normal; line-height: 1.15; }
  .marquee__tag svg { display: none; }
  .marquee__group { padding-block: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none !important; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 168px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a.nav-link {
  display: block; padding: 26px 12px; color: #fff; text-decoration: none;
  font: 500 .925rem/1 var(--font-body);
}
.nav a.nav-link:hover, .nav a[aria-current="page"] { color: var(--gold); }
.sub {
  display: none; position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px 0;
  background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 8px 24px rgba(8,23,72,.18);
}
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 10px 18px; color: var(--navy); text-decoration: none; font-size: .925rem; }
.sub a:hover { background: var(--wash); color: var(--blue); }
.head-actions { display: flex; align-items: center; gap: 14px; }
.head-actions .phone { color: #fff; text-decoration: none; font-weight: 600; font-size: .925rem; white-space: nowrap; }
.head-actions .btn { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 2px solid rgba(255,255,255,.5); color: #fff; border-radius: var(--radius); min-height: 44px; padding: 0 14px; font: 600 .9rem var(--font-head); cursor: pointer; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-block; }
  .nav, .head-actions { display: none; }
  .site-header.open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--navy); padding: 8px 16px 24px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-header.open .nav > ul { flex-direction: column; }
  .site-header.open .nav a.nav-link { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-header.open .sub { display: block; position: static; box-shadow: none; background: transparent; border: 0; padding: 0 0 6px 14px; }
  .site-header.open .sub a { color: #dfe6ff; padding: 10px 4px; }
  .site-header.open .sub a:hover { background: transparent; color: var(--gold); }
  .site-header.open .head-actions { display: flex; flex-direction: column; align-items: stretch; margin-top: 16px; }
  .site-header.open .head-actions .phone { padding: 8px 0; }
}

/* Sections */
.section { padding: 56px 0; }
.section--wash { background: var(--wash); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .muted { color: #c6d2f5; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.sec-head { display: grid; gap: 8px 48px; margin-bottom: 36px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 5fr 6fr; align-items: end; } }

/* Home hero with video background (headline and intro only) */
.hero-video { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep) var(--poster) center / cover no-repeat; color: #fff; border-bottom: 4px solid var(--gold); }
.hero-video__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-video__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,23,72,.94) 0%, rgba(11,31,92,.82) 52%, rgba(11,31,92,.5) 100%), linear-gradient(0deg, rgba(8,23,72,.55), transparent 45%); }
.hero-video__inner { display: flex; flex-direction: column; justify-content: center; min-height: 380px; padding-block: 64px; }
.hero-video__inner::before { content: ""; width: 56px; height: 4px; background: var(--gold); border-radius: 2px; margin-bottom: 22px; }
.hero-video h1 { color: #fff; max-width: 17ch; font-size: clamp(2rem, 5.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(8,23,72,.45); }
.hero-video .lead { color: #e6ecff; max-width: 52ch; margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.hero--after { padding-top: 40px; }
@media (min-width: 900px) {
  .hero-video__inner { min-height: 500px; padding-block: 96px; }
  .hero--after { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .hero-video__media { display: none; } }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 28px; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--wash); }
.hero figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--gold); margin-top: 12px; display: inline-block; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
}

/* Find us strip */
.findus { border-block: 1px solid var(--rule); }
.findus .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.findus a, .findus div { padding: 18px 16px 18px 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.findus span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
.findus strong { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .findus .wrap { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .findus .wrap > * + * { padding-left: 24px; border-left: 1px solid var(--rule); }
}

/* Ledger rows */
.ledger { border-top: 2px solid var(--navy); }
.ledger-row { display: grid; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.ledger-row h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.ledger-row ul { margin: 0; padding: 0 0 0 1.1em; color: var(--muted); }
.ledger-row li { margin-bottom: 4px; }
@media (min-width: 800px) { .ledger-row { grid-template-columns: 3fr 5fr 2fr; align-items: start; } .ledger-row .textlink { text-align: right; } }

/* Offer + statement */
.offer-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 5fr 6fr; gap: 72px; } }
.badge-red { display: inline-block; background: var(--red); color: #fff; font: 600 .8rem var(--font-head); padding: 5px 10px; border-radius: var(--radius); margin-bottom: 16px; }
.offer-copy h2 { max-width: 14ch; }
.offer-copy p { color: #c6d2f5; }
.chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(255,255,255,.35); padding: 5px 12px; font-size: .875rem; border-radius: var(--radius); }
.statement { background: #fff; color: var(--ink); border-top: 6px solid var(--gold); padding: 28px 28px 24px; border-radius: 0 0 var(--radius) var(--radius); }
.statement h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--navy); }
.statement .for { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.st-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.st-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .975rem; }
.st-rows li span:last-child { color: var(--ok); font-weight: 600; white-space: nowrap; }
.st-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 6px; }
.st-total .label { font: 600 1rem var(--font-head); color: var(--navy); }
.st-total .amount { font: 700 2.1rem/1 var(--font-head); color: var(--navy); text-align: right; }
.st-total .amount small { display: block; font: 400 .85rem var(--font-body); color: var(--muted); margin-top: 6px; }
.st-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--rule); max-width: none; }
.st-scholar { margin: 18px 0 0; padding: 14px 16px; background: var(--wash); font-size: .925rem; max-width: none; }
.st-scholar strong { color: var(--navy); }

/* Quick enquiry */
.quick { display: grid; gap: 12px; }
.quick label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
@media (min-width: 900px) { .quick { grid-template-columns: 1fr 1fr 1.3fr auto; align-items: end; } }

/* Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .925rem; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem var(--font-body); color: var(--ink);
  border: 1.5px solid #9AA6BF; border-radius: var(--radius); background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.is-error input, .is-error select, .is-error textarea { border-color: var(--red); }
.err { color: var(--red); font-size: .875rem; margin-top: 4px; font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { border-left: 4px solid var(--red); background: #fdf2f2; padding: 14px 16px; margin-bottom: 24px; }

/* Directory */
.dir-top { border-top: 2px solid var(--navy); }
.dir-line { display: grid; gap: 4px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.dir-line h3 { margin: 0; font-size: 1.5rem; }
.dir-line p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .dir-line { grid-template-columns: 3fr 5fr 2fr; } .dir-line .textlink { text-align: right; } }
.cols { columns: 2; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.cols li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.cols a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.cols a:hover { color: var(--blue); }
@media (min-width: 700px) { .cols { columns: 3; } }
@media (min-width: 1000px) { .cols--4 { columns: 4; } }

/* Programmes */
.prog { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); counter-reset: p; }
.prog li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); counter-increment: p; }
.prog li::before { content: counter(p); font: 700 1.25rem var(--font-head); color: var(--navy); grid-row: span 2; }
.prog strong { font: 600 1rem var(--font-head); color: var(--navy); }
.prog span { color: var(--muted); font-size: .95rem; }
@media (min-width: 800px) { .prog { columns: 2; column-gap: 56px; } .prog li { break-inside: avoid; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; max-width: 760px; }
.steps li { position: relative; padding: 0 0 28px 64px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 1rem var(--font-head); }
.steps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 0 0 2px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
.how { display: grid; gap: 32px; }
@media (min-width: 900px) { .how { grid-template-columns: 4fr 7fr; gap: 72px; } .how .sticky { position: sticky; top: 110px; align-self: start; } }

/* Services list */
.svc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.svc li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px 32px; }
.svc h3 { margin: 0; font-size: 1.05rem; }
.svc p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .svc li { grid-template-columns: 4fr 7fr; } }

/* Split */
.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--flip .split-media { order: 2; } }

/* Image slots (for photos you add yourself) */
.slot { background: var(--wash); border: 2px dashed #9AA6BF; border-radius: var(--radius); display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; padding: 24px; color: var(--muted); font-size: .9rem; aspect-ratio: 4 / 3; }
.slot strong { color: var(--navy); }
.slot code { font-size: .8rem; color: var(--navy); word-break: break-all; }

/* FAQ */
.faq { border-top: 2px solid var(--navy); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 1.05rem var(--font-head); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 0 22px; color: var(--muted); }
.faq .ans p { margin: 0; }

/* CTA band */
.cta-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.cta-form { background: #fff; color: var(--ink); padding: 28px; border-radius: var(--radius); }
.section--navy .cta-grid p { color: #c6d2f5; }

/* Inner page header */
.page-head { background: var(--wash); border-bottom: 1px solid var(--rule); padding: 40px 0 36px; }
.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 12px; max-width: 20ch; }
.page-head .lead { margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: 7fr 4fr; gap: 72px; } }
.aside-box { border-top: 3px solid var(--gold); background: var(--wash); padding: 22px; }
.aside-box h3 { font-size: 1.05rem; }
.kv { margin: 0; }
.kv dt { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.kv dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.kv a { color: var(--navy); }

/* Apply progress */
.progress { display: flex; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; }
.progress li { flex: 1; font-size: .8rem; color: var(--muted); border-top: 4px solid var(--rule); padding-top: 8px; }
.progress li.is-done, .progress li.is-active { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.js .step { display: none; }
.js .step.is-active { display: block; }
.step legend { font: 700 1.35rem var(--font-head); color: var(--navy); margin-bottom: 18px; padding: 0; }
fieldset { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.js fieldset { margin-bottom: 0; }
.step-nav { display: none; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.js .step-nav { display: flex; }
.js .no-js-submit { display: none; }
.radio-row { display: grid; gap: 10px; }
@media (min-width: 640px) { .radio-row { grid-template-columns: repeat(3, 1fr); } }
.radio-row label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1.5px solid #9AA6BF; border-radius: var(--radius); cursor: pointer; font-weight: 600; margin: 0; color: var(--navy); }
.radio-row input { width: 20px; height: 20px; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--wash); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c6d2f5; padding: 56px 0 32px; font-size: .925rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer img { width: 170px; margin-bottom: 14px; }
.site-footer p { max-width: 36ch; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.social { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Mobile bottom bar */
.bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); border-top: 3px solid var(--gold); }
  .bar a { min-height: 60px; display: grid; place-items: center; color: #fff; text-decoration: none; font: 600 .9rem var(--font-head); }
  .bar a + a { border-left: 1px solid rgba(255,255,255,.2); }
  .bar a.apply { background: var(--gold); color: var(--ink); }
  body.no-bar { padding-bottom: 0; }
  body.no-bar .bar { display: none; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---- Update 1: header fit, finder, legal, pager ---- */
.nav a.nav-link { white-space: nowrap; padding-inline: 10px; }
@media (max-width: 1280px) { .head-actions .phone { display: none; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.filters { display: grid; gap: 4px 16px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .filters { grid-template-columns: 2fr 1.2fr 1.2fr auto; align-items: end; } }
.filters .field { margin-bottom: 12px; }
.filters-act { display: flex; gap: 16px; align-items: center; }

.results { list-style: none; margin: 16px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.results li { display: grid; gap: 12px 40px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.results h3 { margin: 0 0 2px; font-size: 1.25rem; }
.results .where { margin: 0; color: var(--muted); }
.results dl { margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.results dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.results dt { color: var(--muted); }
.results dd { margin: 0; }
@media (min-width: 900px) { .results li { grid-template-columns: 3fr 4fr 1fr; align-items: start; } .results li > a { text-align: right; } }

.legal { max-width: 760px; }
.legal h2:first-child { margin-top: 0; }

.pager { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.pager a, .pager .off { padding: 10px 16px; border: 2px solid var(--navy); border-radius: var(--radius); text-decoration: none; color: var(--navy); font: 600 .925rem var(--font-head); min-height: 44px; display: inline-flex; align-items: center; }
.pager a:hover { background: var(--navy); color: #fff; }
.pager .off { opacity: .35; border-color: #9AA6BF; }
.pager .where { color: var(--muted); font-size: .9rem; }

/* ---- Update 2: language switch ---- */
.lang { display: flex; gap: 2px; }
.lang a { color: #fff; text-decoration: none; font: 600 .8rem/1 var(--font-head); padding: 8px 8px; border-bottom: 2px solid transparent; }
.lang a:hover { color: var(--gold); }
.lang a[aria-current="true"] { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 1020px) { .site-header.open .lang { padding: 6px 0; } }

/* ---- Update 3: promotions, events, CMS pages ---- */
.promos { background: var(--wash); border-block: 1px solid var(--rule); padding: 28px 0; }
.promo { display: grid; gap: 16px 28px; align-items: center; padding: 8px 0; }
.promo + .promo { border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 20px; }
.promo img { width: 100%; max-width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.promo h2 { font-size: 1.35rem; margin: 0 0 4px; }
.promo p { margin: 0; color: var(--muted); }
@media (min-width: 800px) {
  .promo { grid-template-columns: 1fr auto; }
  .promo:has(img) { grid-template-columns: 160px 1fr auto; }
}

.event-gap { margin-bottom: 64px; }

.cms { max-width: 760px; }
.cms .cms-h { margin-top: 1.6em; }
.cms .cms-h:first-child { margin-top: 0; }
.cms-list { padding-left: 1.2em; }
.cms-list li { margin-bottom: 6px; }
.cms-fig { margin: 28px 0; }
.cms-fig img { width: 100%; border-radius: var(--radius); }
.cms-fig figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.cms-cta { background: var(--wash); border-top: 4px solid var(--gold); padding: 24px 24px 20px; margin: 32px 0; }
.cms-cta h2 { font-size: 1.4rem; }
.draft-note { background: #fff3cf; color: #7a5a00; font-size: .875rem; padding: 8px 0; text-align: center; }

/* ---- Update 4: IGoAbroad Agent chatbot + back-to-top (floating, glowing) ---- */
:root { --igo-bar: 0px; }
@media (max-width: 760px) { body:not(.no-bar) { --igo-bar: 64px; } }

.igo-dock { display: none; }
.js .igo-dock {
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  position: fixed; right: 18px; bottom: calc(18px + var(--igo-bar)); z-index: 70;
}
.igo-dock [hidden] { display: none !important; }

.igo-fab {
  position: relative; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  border-radius: 50%; color: #fff; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}
.igo-fab:hover { transform: translateY(-2px) scale(1.05); }
.igo-fab:active { transform: scale(.96); }
.igo-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy); }
.igo-fab > svg { position: relative; z-index: 1; }

/* Glowing circles: a steady halo plus two rings that expand and fade. */
.glow { --g: 31, 111, 235; }
.glow--gold { --g: 242, 183, 5; }
.glow::before, .glow::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(var(--g), .9); opacity: 0;
  animation: igo-ring 2.6s cubic-bezier(.2,.6,.3,1) infinite;
}
.glow::after { animation-delay: 1.3s; }
.glow { animation: igo-halo 2.6s ease-in-out infinite; }
@keyframes igo-ring { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(2); opacity: 0; } }
@keyframes igo-halo {
  0%, 100% { box-shadow: 0 0 0 4px rgba(var(--g), .20), 0 0 14px 2px rgba(var(--g), .55), 0 6px 18px rgba(8,23,72,.30); }
  50%      { box-shadow: 0 0 0 7px rgba(var(--g), .12), 0 0 28px 6px rgba(var(--g), .75), 0 6px 18px rgba(8,23,72,.30); }
}
@media (prefers-reduced-motion: reduce) {
  /* The global rule above stops animation; keep a still glow so the buttons stay easy to spot. */
  .glow { box-shadow: 0 0 0 5px rgba(var(--g), .20), 0 0 20px 4px rgba(var(--g), .6), 0 6px 18px rgba(8,23,72,.30) !important; }
}

.igo-bubble { width: 62px; height: 62px; background: linear-gradient(145deg, #2f7df5 0%, var(--blue) 40%, var(--navy) 100%); }
.igo-bubble .i-close { display: none; }
.igo-bubble.is-open .i-chat { display: none; }
.igo-bubble.is-open .i-close { display: block; }
.igo-dot { position: absolute; top: 4px; right: 4px; z-index: 2; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.igo-bubble.is-open .igo-dot { display: none; }

.igo-top { width: 48px; height: 48px; background: var(--gold); color: var(--navy); }
.igo-top:focus-visible { box-shadow: 0 0 0 6px var(--navy); }

/* Chat window */
.igo-chat {
  position: fixed; right: 18px; bottom: calc(18px + var(--igo-bar) + 62px + 16px); z-index: 71;
  width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100dvh - var(--igo-bar) - 130px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; color: var(--ink); border-radius: 14px; border-top: 4px solid var(--gold);
  box-shadow: 0 18px 50px rgba(8,23,72,.35), 0 0 0 1px rgba(8,23,72,.08);
  opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .18s ease, transform .18s ease;
}
.igo-chat[hidden] { display: none; }
.igo-chat.is-open { opacity: 1; transform: none; }

.igo-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; background: var(--navy); color: #fff; }
.igo-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.igo-title { flex: 1; min-width: 0; }
.igo-title h2 { margin: 0; font: 700 1rem/1.2 var(--font-head); color: #fff; letter-spacing: 0; }
.igo-title p { margin: 2px 0 0; font-size: .75rem; line-height: 1.3; color: #c6d2f5; max-width: none; }
.igo-icon-btn { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.igo-icon-btn:hover { background: rgba(255,255,255,.14); }
.igo-icon-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: -2px; }

.igo-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--wash); overscroll-behavior: contain; }
.igo-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.igo-msg p { margin: 0 0 .5em; max-width: none; }
.igo-msg p:last-child { margin-bottom: 0; }
.igo-msg ul { margin: .25em 0 .5em; padding-left: 1.2em; }
.igo-msg li { margin-bottom: 3px; }
.igo-msg a { color: var(--blue); font-weight: 600; }
.igo-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--rule); border-bottom-left-radius: 4px; }
.igo-msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }

.igo-typing { display: flex; gap: 5px; padding: 14px 16px; }
.igo-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9AA6BF; animation: igo-blink 1.1s infinite ease-in-out; }
.igo-typing span:nth-child(2) { animation-delay: .15s; }
.igo-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes igo-blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.igo-handoff { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.igo-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius); border: 2px solid var(--navy); color: var(--navy) !important; text-decoration: none; font: 600 .85rem var(--font-head); background: #fff; }
.igo-btn--wa { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }

.igo-chips { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; background: var(--wash); border-top: 1px solid var(--rule); scrollbar-width: thin; }
.igo-chips[hidden] { display: none; }
.igo-chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: 600 .85rem var(--font-body); cursor: pointer; white-space: nowrap; }
.igo-chip:hover { background: var(--navy); color: #fff; }

.igo-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); background: #fff; }
.igo-form textarea { flex: 1; min-height: 44px; max-height: 110px; padding: 10px 12px; font-size: 16px; line-height: 1.4; resize: none; border-radius: 22px; }
.igo-send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
.igo-send:hover { background: var(--blue); }
.igo-send:disabled { opacity: .5; cursor: default; }
.igo-send:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.igo-foot { margin: 0; padding: 0 14px 10px; font-size: .72rem; line-height: 1.4; color: var(--muted); background: #fff; max-width: none; }
.igo-foot a { font-weight: 600; white-space: nowrap; }

/* ---- Phones: the chat becomes a full-screen sheet that follows the *visible* area.
   chatbot.js sets --igo-vh / --igo-vt from window.visualViewport, so when the on-screen
   keyboard opens the sheet shrinks to the space above it and the input stays in view. ---- */
@media (max-width: 600px) {
  .igo-chat {
    left: 0; right: 0; bottom: auto; width: auto; max-width: none;
    top: var(--igo-vt, 0px);
    height: var(--igo-vh, 100dvh); max-height: none;
    border-radius: 0; border-top-width: 3px;
    transform-origin: bottom center;
  }
  .igo-dock { right: 14px; }
  /* While the chat is open on a phone it covers the screen, so the floating buttons step aside. */
  body.igo-chat-open .igo-dock { z-index: 72; }
  body.igo-chat-open .igo-bubble, body.igo-chat-open .igo-top { display: none; }
  /* Stop the page behind the chat from scrolling or jumping. */
  html.igo-lock, body.igo-chat-open { overflow: hidden; overscroll-behavior: none; }

  .igo-head { padding: 10px 6px 10px 12px; }
  .igo-title h2 { font-size: .95rem; }
  .igo-title p { font-size: .72rem; }
  .igo-log { padding: 12px; -webkit-overflow-scrolling: touch; }
  .igo-msg { max-width: 92%; font-size: 1rem; }
  .igo-form { padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .igo-form textarea { font-size: 16px; } /* 16px stops iOS zooming the page on focus */
  .igo-foot { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }

  /* Keyboard is up: give every pixel to the conversation. */
  .igo-chat.is-kb .igo-chips,
  .igo-chat.is-kb .igo-foot { display: none; }
  .igo-chat.is-kb .igo-title p { display: none; }
  .igo-chat.is-kb .igo-form { padding-bottom: 8px; }
}
@media (max-height: 420px) and (orientation: landscape) {
  .igo-title p, .igo-chips, .igo-foot { display: none; }
}
