/* ==================================================================
   MedAdmit v2 — site.css
   Loaded after tokens.css. Header/footer/nav, chat, SeniorConnect,
   forms extras, compliance panel, mobile bottom bar.
   ================================================================== */

.ico { display: inline-block; vertical-align: -.18em; flex: none; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--cream); border-bottom: 1px solid var(--line); }
.head-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; flex: none; }
.brand img { max-height: 36px; max-width: 160px; width: auto; object-fit: contain; }

.head-icons { display: flex; align-items: center; gap: 2px; }
.icon-btn { width: 42px; height: 42px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--cream-2); }
.icon-btn .dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); border: 2px solid var(--cream); }

.site-nav { display: none; }
@media (min-width: 980px) {
  .site-nav { display: flex; gap: 26px; align-items: center; }
  .site-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
}

/* Full-screen drawer menu, matching the reference screenshots. */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(14,31,61,.35); }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 380px);
  background: var(--cream); box-shadow: -20px 0 50px rgba(14,31,61,.25);
  display: flex; flex-direction: column; padding: 20px;
  animation: drawer-in .22s ease;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: none; display: grid; place-items: center; cursor: pointer; }
.drawer-links { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer-links a { display: block; padding: 15px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); font-size: 17px; }
.drawer-links a.on { background: var(--navy-wash); color: var(--navy); font-weight: 600; }
.drawer-links a:hover { background: var(--cream-2); }
.drawer-foot { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }

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

/* ---------- mobile bottom bar ---------- */
.bottombar { display: none; }
@media (max-width: 979px) {
  body.has-bottombar { padding-bottom: 72px; }
  .bottombar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
  }
  .bottombar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; text-decoration: none; color: var(--ink-faint); font-size: 10.5px; font-weight: 600; position: relative; }
  .bottombar a[aria-current="page"] { color: var(--navy); }
  .bottombar .ico { width: 22px; height: 22px; }
  .bottombar .nbadge { position: absolute; top: 2px; right: 22%; background: var(--coral); color: #fff; font-size: 9.5px; font-weight: 700; min-width: 15px; height: 15px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }
}

/* ---------- footer ---------- */
.site-foot { background: var(--navy-deep); color: #B9C8E2; padding: 56px 0 26px; font-size: 14.5px; }
.site-foot a { color: #D6E2F5; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-social { display: flex; gap: 10px; margin-bottom: 34px; }
.foot-circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #D6E2F5; }
.foot-cols { display: grid; gap: 30px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-cols h4 { color: #7C93BC; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 11px; }
.foot-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12.5px; line-height: 1.7; color: #8299BE; }

/* ---------- team grid ---------- */
.team-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 26px 0; }
@media (min-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { padding: 26px 22px; text-align: center; }
.team-photo-wrap { position: relative; width: 96px; margin: 0 auto 14px; }
.team-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--cream-3); border: 3px solid var(--surface); box-shadow: var(--sh-sm); }
.team-live { position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid var(--surface); }
.team-where { font-size: 13px; margin: 4px 0 10px; }
.team-where a { font-weight: 600; text-decoration: none; }
.team-bio { font-size: 14px; color: var(--ink-mute); text-align: left; margin-bottom: 12px; }
.team-langs { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 12px; }
.team-links { display: flex; gap: 14px; justify-content: center; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.team-links a { font-size: 13px; font-weight: 600; }

/* ---------- FMGL compliance panel ---------- */
.fmgl { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.fmgl-head { background: var(--cream-2); padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fmgl-row { display: flex; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.fmgl-row:last-of-type { border-bottom: 0; }
.fmgl-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.is-yes .fmgl-mark { background: var(--green); color: #fff; }
.is-no .fmgl-mark { background: var(--coral); color: #fff; }
.is-unk .fmgl-mark { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-faint); font-weight: 700; font-size: 13px; }
.fmgl-text b { display: block; font-size: 15px; }
.is-no .fmgl-text b { color: var(--coral); }
.is-unk .fmgl-text b { color: var(--ink-mute); }
.fmgl-text span { font-size: 12.5px; color: var(--ink-faint); }
.fmgl-foot { background: var(--cream); padding: 13px 22px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-faint); }

/* ---------- university cards & dossier ---------- */
.ctile { display: block; text-decoration: none; color: var(--ink); padding: 20px 20px 18px; }
.ctile .flag { font-size: 28px; }
.ctile h3 { margin: 12px 0 4px; }
.ctile .tag { font-size: 13.5px; color: var(--ink-mute); min-height: 2.6em; }

.dossier { display: grid; gap: 30px; }
@media (min-width: 980px) { .dossier { grid-template-columns: minmax(0,1fr) 340px; gap: 40px; align-items: start; } .dossier-rail { position: sticky; top: 88px; } }
.factgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
@media (min-width: 700px) { .factgrid { grid-template-columns: repeat(4,1fr); } }
.factgrid div { background: var(--surface); padding: 16px 17px; }
.factgrid dt { font-size: 12px; color: var(--ink-faint); margin-bottom: 3px; }
.factgrid dd { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; }
.data-table th { background: var(--cream-2); font-size: 13px; font-weight: 600; }
.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); }

.tab-bar { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab-bar a { padding: 13px 18px; text-decoration: none; color: var(--ink-mute); font-weight: 600; font-size: 14.5px; white-space: nowrap; border-bottom: 2.5px solid transparent; }
.tab-bar a[aria-current="page"] { color: var(--navy); border-color: var(--navy); }

/* ---------- forms extra ---------- */
.lead-form { padding: 24px 22px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.guardian-block { margin: 8px 0 18px; padding: 20px 19px; border-radius: 16px; background: var(--gold-wash); border: 1px solid #ECD79F; }
.guardian-block h3 { display: flex; gap: 8px; align-items: center; font-size: 16px; margin: 0 0 6px; }
.consent-box { display: flex; gap: 11px; align-items: flex-start; margin-top: 8px; padding: 14px 15px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 13px; line-height: 1.55; cursor: pointer; }
.consent-box input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.honey { position: absolute; left: -9999px; }

/* ---------- FAQ, quotes, blog cards ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.quote { padding: 22px 20px; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--cream-3); }
.post-card .pc-body { padding: 18px 19px 20px; }
.post-meta { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 8px; }
.cat-chip { display: inline-block; background: var(--navy-wash); color: var(--navy); padding: 4px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; text-decoration: none; }

/* ---------- pager ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a, .pager span { padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); text-decoration: none; font-size: 14px; color: var(--ink); background: var(--surface); }
.pager-now { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==================================================================
   Chat — shared by counsellor and SeniorConnect threads
   ================================================================== */

.stu-tabs { display: flex; gap: 5px; overflow-x: auto; margin-bottom: 24px; padding-bottom: 2px; }
.stu-tabs a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-mute); background: var(--cream-2); position: relative; }
.stu-tabs a:hover { color: var(--navy); }
.stu-tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.stu-tabs .nbadge { background: var(--coral); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }

.thread-list { display: grid; gap: 10px; }
.thread-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 18px; text-decoration: none; color: inherit; }
.thread-row:hover { border-color: var(--navy); }
.thread-row.is-closed { opacity: .6; }
.thread-main b { display: block; font-size: 15.5px; }
.thread-last { display: block; font-size: 13px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.thread-badge { background: var(--coral); color: #fff; font-size: 11.5px; font-weight: 700; min-width: 20px; text-align: center; padding: 2px 7px; border-radius: var(--r-pill); }

.mon-banner { background: var(--gold-wash); border-bottom: 1px solid #ECD79F; padding: 12px 20px; display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-card) var(--r-card) 0 0; }
.mon-banner svg { flex: none; margin-top: 2px; color: #8C6A1F; }
.mon-banner p { margin: 0; font-size: 13px; color: #6B5312; }

.chat-box { height: min(58vh, 480px); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px 16px; background: var(--cream); display: flex; flex-direction: column; gap: 11px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 17px; font-size: 14.5px; line-height: 1.5; }
.msg p { margin: 0; }
.msg.is-mine { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.is-them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; }
.msg-who { display: block; font-size: 11.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.msg-time { display: block; font-size: 11px; margin-top: 5px; opacity: .7; }
.msg.is-mine .msg-time { color: #C3D3EE; }
.msg-sys { align-self: center; font-size: 12.5px; color: var(--ink-mute); background: var(--cream-3); padding: 6px 14px; border-radius: var(--r-pill); text-align: center; }
.msg-masked { background: var(--coral-wash); color: var(--coral); padding: 1px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.msg-file { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 12px; text-decoration: none; background: rgba(255,255,255,.9); border: 1px solid rgba(17,26,46,.1); color: var(--ink); }
.msg.is-mine .msg-file { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.28); color: #fff; }
.msg-file b { display: block; font-size: 13.5px; }
.chat-timer { align-self: center; background: var(--navy-wash); color: var(--navy); font-weight: 600; font-size: 13px; padding: 6px 16px; border-radius: var(--r-pill); }
.chat-timer.low { background: var(--coral-wash); color: var(--coral); }

.chat-compose { display: flex; gap: 8px; align-items: flex-end; padding: 12px; background: var(--surface); border-top: 1px solid var(--line-soft); border-radius: 0 0 var(--r-card) var(--r-card); }
.chat-compose textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 15px; }
.chat-compose textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-wash); }

/* ---------- SeniorConnect ---------- */
.sr-card { text-align: center; padding: 24px 20px; }
.sr-avatar-wrap { position: relative; width: 78px; margin: 0 auto 14px; }
.sr-avatar { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 26px; }
.sr-online { position: absolute; right: 2px; bottom: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--green); border: 3px solid var(--surface); }
.sr-langs { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.sr-rate { text-align: left; }
.sr-rate b { font-size: 20px; letter-spacing: -.03em; }

.sr-picker { display: grid; gap: 12px; }
@media (min-width: 760px) { .sr-picker { grid-template-columns: 1fr 1fr; } }

.minute-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.minute-pick label { flex: 1; min-width: 84px; text-align: center; padding: 13px 10px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.minute-pick input { display: none; }
.minute-pick input:checked + span { color: var(--navy); }
.minute-pick label:has(input:checked) { border-color: var(--navy); background: var(--navy-wash); }

.wallet-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; text-decoration: none; }
.wallet-chip:hover { background: var(--navy-lift); color: #fff; }

/* ---------- progress tracker ---------- */
.progress-card { border-radius: 20px; padding: 24px 22px 10px; background: linear-gradient(160deg, var(--navy-wash), #fff 60%); border: 1px solid var(--line-soft); }
.progress-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.progress-now { font-size: clamp(19px, 4vw, 25px); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.progress-ring { --pct: 0; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--navy) calc(var(--pct)*1%), var(--line-soft) 0); }
.progress-ring span { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.timeline { list-style: none; margin: 0; padding: 0 0 14px; }
.tl { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.tl::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--ink-faint); z-index: 1; }
.tl.is-done .tl-dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.tl.is-active .tl-dot { background: var(--gold); border-color: var(--gold); color: #3A2A05; animation: tlpulse 2.4s ease-in-out infinite; }
.tl.is-blocked .tl-dot { background: var(--coral); border-color: var(--coral); color: #fff; }
.tl.is-done::before { background: var(--navy); }
@keyframes tlpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,179,60,.5); } 50% { box-shadow: 0 0 0 7px rgba(232,179,60,0); } }
@media (prefers-reduced-motion: reduce) { .tl.is-active .tl-dot { animation: none; } }
.tl-body b { font-size: 14.5px; }
.tl.is-pending .tl-body b { color: var(--ink-faint); font-weight: 500; }
.tl-note { font-size: 13.5px; color: var(--ink-mute); margin: 4px 0 0; }

/* ---------- documents ---------- */
.doc-item { border-radius: 14px; padding: 15px 17px; }
.doc-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.doc-state { flex: none; font-size: 11.5px; font-weight: 600; padding: 3px 11px; border-radius: var(--r-pill); }
.doc-state.is-missing { background: var(--cream-2); color: var(--ink-faint); }
.doc-state.is-pending { background: var(--gold-wash); color: #8C6A1F; }
.doc-state.is-accepted { background: #DFF3E6; color: #14683A; }
.doc-state.is-rejected { background: var(--coral-wash); color: var(--coral); }

/* ---------- admin moderation ---------- */
.leak-bar { width: 100%; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.leak-bar > i { display: block; height: 100%; background: var(--coral); }

.empty-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; margin: 0 auto 14px; color: var(--ink-faint); }

/* ==================================================================
   Utility classes used across pages — found by the class-coverage audit
   ================================================================== */

.section-tight { padding: 40px 0; }
.mb0 { margin-bottom: 0 !important; }
.dossier-main { min-width: 0; }
.stu-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .stu-grid { grid-template-columns: 1fr; } }

/* Long-form content: country guides, university "about", blog posts, CMS pages. */
.prose { font-size: 16.5px; line-height: 1.75; max-width: 68ch; color: var(--ink); }
.prose h2 { font-size: 24px; margin: 1.5em 0 .5em; letter-spacing: -.02em; }
.prose h3 { font-size: 19px; margin: 1.3em 0 .5em; letter-spacing: -.015em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r-card); margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--navy-soft); color: var(--ink-mute); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--cream-2); }
.prose a { color: var(--navy); }

/* A bordered card used to frame an interactive tool (calculator, eligibility, compare). */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 20px; }

.compare-pick { display: grid; gap: 10px; }
@media (min-width: 700px) { .compare-pick { grid-template-columns: repeat(3, 1fr); } }

.feature-wrap { display: grid; gap: 10px; }
@media (min-width: 640px) { .feature-wrap { grid-template-columns: repeat(2, 1fr); } }

/* Small helper/legal text under a form. */
.consent { font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; }
.consent a { color: var(--ink-mute); }

/* Cost calculator output block (some rules are also applied inline; these
   are the fallback / base look). */
.calc-out { border-radius: var(--r-card); }
.calc-out .big { font-weight: 700; letter-spacing: -.02em; }

/* ---------- homepage hero: text + photo side by side ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 0; align-items: center; }
.hero-text { min-width: 0; }
.hero-photo-col { display: flex; justify-content: center; margin-top: 28px; }
.hero-photo-stack { position: relative; width: 100%; max-width: 360px; aspect-ratio: 4/5; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 22px; opacity: 0; transition: opacity 1s ease; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.hero-photo.is-active { opacity: 1; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .hero-photo-col { margin-top: 0; justify-content: flex-end; }
  .hero-photo-stack { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo { transition: none; } }

/* ---------- callback popup ---------- */
.callback-popup { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: min(360px, calc(100vw - 32px));
  background: var(--surface); border-radius: 20px; box-shadow: 0 20px 60px rgba(14,31,61,.28); border: 1px solid var(--line);
  transform: translateY(20px) scale(.97); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
.callback-popup.show { transform: none; opacity: 1; pointer-events: auto; }
.callback-popup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 18px 4px; }
.callback-popup-head h3 { margin: 0; font-size: 16px; }
.callback-popup-close { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--cream-2); display: grid; place-items: center; cursor: pointer; color: var(--ink-mute); }
.callback-popup p.cb-msg { margin: 4px 18px 14px; font-size: 13px; color: var(--ink-mute); }
.callback-popup form { padding: 0 18px 18px; display: grid; gap: 10px; }
.callback-popup input, .callback-popup select { width: 100%; }
.callback-popup .cb-thanks { padding: 28px 18px; text-align: center; }
@media (max-width: 480px) {
  .callback-popup { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ---------- share buttons ---------- */
.share-row { display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-mute); cursor: pointer; text-decoration: none; font-size: 11px; font-weight: 600; }
.share-btn:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- floating WhatsApp button ---------- */
.wa-float { position: fixed; left: 16px; bottom: 16px; z-index: 85; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  text-decoration: none; transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
@media (max-width: 979px) { .wa-float { bottom: calc(16px + 72px + env(safe-area-inset-bottom)); left: 12px; width: 50px; height: 50px; } }

/* ---------- site alert banner ---------- */
.alert-banner { background: var(--navy); color: #fff; position: relative; z-index: 61; }
.alert-banner-inner { max-width: 1160px; margin: 0 auto; padding: 10px 44px 10px 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; font-size: 13.5px; text-align: center; }
.alert-banner-inner a { color: #fff; text-decoration: underline; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.alert-banner-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.alert-banner-close:hover { background: rgba(255,255,255,.25); }

/* ---------- auto-scrolling marquee (logo carousel) ---------- */
.marquee-wrap { overflow: hidden; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation-name: marquee-scroll; animation-timing-function: linear; animation-iteration-count: infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee-wrap { overflow-x: auto; } }

/* ---------- scheduled session banner ---------- */
.sched-banner { background: var(--navy-wash); border-bottom: 1px solid var(--line-soft); padding: 20px 18px; text-align: center; }
.sched-banner b { display: block; font-size: 16px; color: var(--navy); }
.sched-banner p { margin: 6px 0 0; font-size: 14px; color: var(--ink-mute); }
.sched-countdown { font-size: 19px !important; font-weight: 700; color: var(--navy) !important; font-variant-numeric: tabular-nums; margin-top: 10px !important; }

/* ---------- student departure carousel ---------- */
.dep-card { flex: 0 0 auto; width: 210px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-sm); }
.dep-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--cream-3); }
.dep-card figcaption { padding: 12px 14px 14px; text-align: center; }
.dep-card figcaption b { display: block; font-size: 14px; }
.dep-card figcaption span { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.dep-card .dep-country { color: var(--coral); font-weight: 600; }

/* ---------- webinars ---------- */
.webinar-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--cream-3); }
.webinar-when { display: flex; gap: 12px; align-items: center; }
.webinar-date { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--coral-wash); color: var(--coral); display: grid; place-items: center; line-height: 1; }
.webinar-date b { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.webinar-date i { display: block; font-style: normal; font-size: 21px; font-weight: 700; margin-top: 2px; }
.webinar-card details summary::-webkit-details-marker { display: none; }
