/* GradWalk website styles. Colours from the GradWalk logo: navy #14365C, amber #F2A20A */
:root {
  --navy: #14365C; --navy-dark: #0E2742; --navy-tint: #EEF2F7; --navy-soft: #F4F6FA; --navy-line: #D9E1EC;
  --amber: #F2A20A; --amber-tint: #FEF3DC; --amber-ink: #7A4E00;
  --green: #1E7F3A; --green-tint: #EAF7EE;
  --ink: #111827; --text: #1F2937; --muted: #4B5563; --line: #E5E7EB; --bg-soft: #F7F9FC;
  --radius: 16px;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 16px; line-height: 1.55; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0; }
h3 { font-size: 18px; font-weight: 700; margin: 0; font-family: var(--font); }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2 { color: #fff; }
.lead-text { color: var(--muted); margin-top: 8px; font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; }
.btn-primary { background: var(--navy); color: #fff !important; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy) !important; background: #fff; }
.btn-amber { background: var(--amber); color: var(--ink) !important; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-block { width: 100%; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; max-width: 1320px; }
.logo img { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 18px; flex-grow: 1; font-weight: 500; font-size: 15px; flex-wrap: nowrap; white-space: nowrap; align-items: center; }
.nav > a, .dropdown > a { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
.nav a { color: var(--text); }
.nav a.active { color: var(--navy); font-weight: 700; }
.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: -12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 300px; max-width: 360px; white-space: normal; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.menu-item b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.menu-item span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.4; margin-top: 2px; }
.dropdown-menu a:hover { background: var(--navy-soft); text-decoration: none; }
@media (max-width: 1180px) {
  .site-header .wrap { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav, .header-actions { display: none; width: 100%; }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; white-space: normal; max-height: 70vh; overflow-y: auto; }
  .site-header.open .header-actions { display: flex; }
  .dropdown-menu { position: static; display: block; border: 0; box-shadow: none; padding: 4px 0 0 12px; }
}

/* Hero */
.hero { background: var(--navy-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; padding-top: 64px; padding-bottom: 56px; }
.hero-main { flex: 999 1 540px; min-width: 0; }
.hero-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--navy-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2DA94F; }
.search-box { margin-top: 24px; background: #fff; border: 1px solid var(--navy-line); border-radius: 16px; padding: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; box-shadow: 0 8px 24px rgba(20,54,92,.08); }
.search-box label { display: flex; flex-direction: column; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.search-box select, .search-box input { border: 0; font: inherit; font-size: 16px; color: var(--ink); padding: 4px 0; background: transparent; outline: none; }
.search-box label { border-radius: 10px; }
.search-box label:focus-within { box-shadow: 0 0 0 3px var(--amber); }

/* Cards and grids */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
a.card { display: block; color: var(--text); }
a.card:hover { border-color: var(--navy-line); text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.stat-value { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--ink); }
.badge { display: inline-block; background: var(--amber-tint); color: var(--amber-ink); font-weight: 700; font-size: 13px; border-radius: 8px; padding: 3px 8px; }
.chip { display: inline-block; background: var(--navy-tint); color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.avatar { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-tint); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.row { display: flex; gap: 14px; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 13px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.locked { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-tint); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.card-link { font-weight: 600; margin-top: auto; color: var(--navy); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.step-time { font-size: 13px; color: #D1D5DB; margin-top: 2px; }
@media (max-width: 860px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps li { border-top: 3px solid var(--amber); padding-top: 12px; }
.steps .num { font-size: 13px; font-weight: 700; color: var(--amber); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form label { font-size: 14px; font-weight: 600; color: #374151; display: block; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #D1D5DB; border-radius: 10px; padding: 12px; font: inherit; background: #fff; }
.form .full { grid-column: 1 / -1; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--muted); }
.form .check input { margin-top: 3px; width: 18px; height: 18px; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 90px !important; flex-shrink: 0; }
.error { color: #B91C1C; font-size: 13px; font-weight: 500; margin-top: 4px; }
.alert { padding: 14px 16px; border-radius: 12px; }
.alert-success { background: var(--green-tint); color: var(--green); }
.alert-info { background: var(--navy-tint); color: var(--navy); }
.alert-warn { background: var(--amber-tint); color: var(--amber-ink); }

/* Tables */
.table-box { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; background: var(--bg-soft); padding: 12px 16px; font-size: 14px; }
td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }

/* Layout with side panel */
.with-side { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.with-side > .main { flex: 999 1 560px; min-width: 0; }
.with-side > .side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.side-dark { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px; }
.side-dark p { color: #D1D5DB; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.page-head { background: var(--navy-soft); border-bottom: 1px solid var(--line); padding: 36px 0; }

/* Finder */
.filters { flex: 1 1 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.filters label { font-size: 13px; font-weight: 700; color: #374151; }
.filters select, .filters input { display: block; width: 100%; margin-top: 6px; border: 1px solid #D1D5DB; border-radius: 10px; padding: 10px; font: inherit; font-weight: 400; background: #fff; }
.result { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.result .info { flex: 1 1 260px; min-width: 0; }
.result .facts { flex: 1 1 300px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 0 12px; }
.pager .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.unlock { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.unlock p { color: #D1D5DB; }

/* Login */
.login-box { max-width: 460px; margin: 48px auto; }
.code-input { font-size: 26px !important; letter-spacing: .5em; text-align: center; font-weight: 700; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
details + details { margin-top: 10px; }
summary { font-weight: 600; cursor: pointer; color: var(--ink); }

/* Footer */
.site-footer { background: #0F172A; color: #CBD5E1; font-size: 14px; }
.site-footer a { color: #CBD5E1; }
.site-footer .cols a { padding: 3px 0; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding: 48px 0 28px; }
.site-footer .cols b { color: #fff; display: block; margin-bottom: 6px; }
.site-footer .cols div { display: flex; flex-direction: column; gap: 6px; }
.site-footer .bottom { border-top: 1px solid #1E293B; padding: 16px 0 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 60; }

/* ---- 8 Nov 2026: accessibility, smoothness and new homepage parts ---- */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff !important; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
a.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { transform: translateY(-2px); }

/* Hero */
.hero-links { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.dash-preview { margin: 0; background: #fff; border: 1px solid var(--navy-line); border-radius: 18px; padding: 18px; box-shadow: 0 12px 32px rgba(20,54,92,.10); display: flex; flex-direction: column; gap: 14px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); }
.dash-progress { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.bar { height: 8px; background: var(--navy-tint); border-radius: 999px; overflow: hidden; display: block; }
.bar > span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dash-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.status { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.status.ok { background: var(--green-tint); color: var(--green); }
.status.wait { background: var(--navy-tint); color: var(--navy); }
.status.todo { background: var(--amber-tint); color: var(--amber-ink); }
.dash-guide { display: flex; gap: 10px; align-items: center; background: var(--navy-soft); border-radius: 12px; padding: 10px; }
.dash-guide .avatar { width: 36px; height: 36px; border-radius: 50%; }

/* Logo strip (only partner logos we have permission to show) */
.logo-strip { border-bottom: 1px solid var(--line); padding: 22px 0; text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; margin-top: 12px; }
.logo-row img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .8; }

/* Country flags */
.flag { width: 48px; height: 32px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0; }

/* Not-found page */
.big-404 { font-family: var(--display); font-size: 96px; font-weight: 800; color: var(--navy-tint); line-height: 1; margin-bottom: 8px; -webkit-text-stroke: 2px var(--navy-line); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.link-row .chip { padding: 10px 16px; }

/* Step-by-step forms */
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step legend { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); padding: 0; margin-bottom: 12px; }
.form-step + .form-step { margin-top: 8px; }
.step-count { font-size: 13px; font-weight: 700; color: var(--amber-ink); letter-spacing: .03em; }
.progress { height: 6px; background: var(--navy-tint); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--navy); width: 0; transition: width .2s; }
.step-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.stepper.js-steps .form-step:not(.current) { display: none; }

/* Back to top + mobile action bar */
.to-top { position: fixed; right: 22px; bottom: 86px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.12); z-index: 59; }
.to-top[hidden] { display: none; }
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px rgba(0,0,0,.06); }
  body:has(.mobile-bar) { padding-bottom: 72px; }
  body:has(.mobile-bar) .whatsapp-float { bottom: 84px; }
  body:has(.mobile-bar) .to-top { bottom: 150px; }
  .section { padding: 44px 0; }
  .hero .wrap { padding-top: 36px; padding-bottom: 36px; gap: 28px; }
  .uni-grid > a:nth-child(n+5) { display: none; }
  .dash-list li:nth-child(n+3) { display: none; }
}

/* Hero promise list */
.promise { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.promise li { display: flex; align-items: center; gap: 6px; }
.promise li::before { content: ''; width: 16px; height: 16px; flex-shrink: 0; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7F3A' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border-radius: 50%; }

/* Anything marked hidden stays hidden, whatever its display rule (used by the email-first login) */
[hidden] { display: none !important; }
