/* Landing page styles. Palette and typeface follow the school's website: navy, blue, red CTA, Plus Jakarta Sans (OFL, self-hosted). */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



:root {
  --navy: #0a1f4d; --navy-deep: #07173a; --navy-2: #12307a;
  --blue: #1d5fd6; --blue-dark: #1748a8; --blue-soft: #eaf1fd;
  --red: #e0202f; --red-dark: #b9121f;
  --ink: #14213d; --muted: #566280; --line: #dde5f3; --soft: #f2f6fc;
  --radius: 8px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; color: var(--ink); background: #fff; line-height: 1.65; font-size: 17px; overflow-x: clip;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; color: var(--navy); }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 750; margin-bottom: 20px; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 16px; text-wrap: pretty; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 900px; }
.muted { color: var(--muted); font-size: 15px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(10, 31, 77, .06); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 72px; position: relative; }
.brand { display: flex; flex-flow: row wrap; align-items: center; justify-content: center; width: 124px; text-decoration: none; line-height: 1; font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--red); }
.brand b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 1px; border-radius: 3px; background: var(--blue); color: #fff; font-size: 18px; }
.brand small { flex: 0 0 100%; margin-top: 3px; padding-left: .42em; text-align: center; font-size: 8.5px; font-weight: 700; letter-spacing: .42em; color: var(--navy); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 600; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-toggle, .burger { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 4px; border: 2px solid transparent; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }

/* hero */
.hero { padding: 64px 0; color: #fff; background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-2) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; letter-spacing: -.025em; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9db2e8; }
.hero .lead { color: #d4dcf0; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-img img { border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0, 0, 0, .35); border-bottom: 5px solid var(--red); }

/* cards */
.facts { padding: 0; margin-top: -1px; background: var(--soft); }
.facts .wrap { padding-top: 40px; padding-bottom: 40px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards li { background: #fff; border-radius: 6px; padding: 24px; border-top: 4px solid var(--blue); }
.cards h3 { margin-bottom: 8px; }
.cards p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.band { background: var(--soft); }
.band .cards li { background: #fff; }

/* two-column blocks */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.photo { border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10, 31, 77, .16); }
.map-split { align-items: start; }
address { font-style: normal; font-size: 19px; margin-bottom: 12px; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); background: var(--soft); box-shadow: 0 12px 32px rgba(10, 31, 77, .14); }
.hours, .price-group table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-weight: 700; }
h3 + .hours { margin-top: 8px; }
.map-split h3 { margin-top: 28px; }

/* 404 page */
.notfound { padding: 88px 0 112px; }
.notfound .code { margin: 0 0 8px; color: var(--blue); font-size: clamp(72px, 14vw, 132px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.notfound .lead { margin: 16px 0 0; }

/* upcoming theory courses */
.courses { width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; }
.courses th, .courses td { padding: 10px 24px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.courses thead th { background: var(--soft); color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.courses tbody th { width: 30%; vertical-align: top; color: var(--navy); font-size: 18px; font-weight: 750; }
.courses tbody tr:last-child th, .courses tbody tr:last-child td { border-bottom: 0; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.slots li { display: flex; align-items: baseline; gap: 0 12px; padding: 0; line-height: 1.5; white-space: nowrap; }
.slots li::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: -2px; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
.slots strong { min-width: 7.6em; color: var(--navy); }
.courses .extra { display: flex; align-items: baseline; gap: 0 12px; margin: 4px 0 0; padding: 0; line-height: 1.5; }
.courses .extra::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: -2px; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
.courses .extra strong { flex: none; min-width: 7.6em; color: var(--navy); }
.courses .extra span { flex: 1; min-width: 0; }
.slots .time { color: var(--ink); font-weight: 500; }
.courses + .muted { margin-top: 14px; }

/* upcoming medical exams */
.follow { border-top: 1px solid var(--line); }
.exam { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); margin-top: 28px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; }
.exam-facts { margin: 0; padding: 24px; background: var(--soft); }
.exam-facts div + div { margin-top: 18px; }
.exam-facts dt { color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.exam-facts dd { margin: 4px 0 0; font-weight: 650; color: var(--ink); }
.exam-facts .hint { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.45; }
.exam-lists { display: grid; gap: 20px; padding: 24px; align-content: start; }
.exam-lists h3 { margin-bottom: 6px; font-size: 16px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: baseline; gap: 12px; padding: 2px 0; }
.checks li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
.exam-note { margin: 0; padding: 12px 16px; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 4px; color: var(--navy); font-weight: 600; }

/* pricing */
.price-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; margin: 28px 0 16px; align-items: start; }
.price-col { display: grid; gap: 28px; align-content: start; }
.price-group { background: #fff; border-radius: 6px; padding: 24px; }
.price-group h3 { margin-bottom: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.price-group th, .price-group td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 600; }
.price-group tr:last-child th, .price-group tr:last-child td { border-bottom: 0; }
.price-group td { text-align: right; white-space: nowrap; padding-left: 16px; font-weight: 800; color: var(--navy); }
.price-group .muted { display: block; font-weight: 400; margin-top: 2px; line-height: 1.45; }

/* contact */
.dark { background: var(--navy); color: #d4dcf0; }
.dark h2 { color: #fff; }
.dark .lead { color: #c9d3ec; }
.contact-list { list-style: none; margin: 28px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-list li { padding: 18px 0; border-top: 2px solid #2c4180; font-size: 19px; font-weight: 700; color: #fff; }
.contact-list .k { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9db2e8; margin-bottom: 4px; }
.contact-list a { color: #fff; text-decoration-color: #9db2e8; text-decoration-thickness: 1px; }
.contact-list a:hover { color: #ff9aa3; }
.muted-on-dark { color: #9db2e8; font-size: 15px; max-width: 900px; }

.site-footer { background: var(--navy-deep); color: #9db2e8; font-size: 14px; padding: 28px 0; }
.site-footer p { margin: 0 0 4px; }

@media (max-width: 960px) {
  .cards.four, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .exam { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; left: -24px; right: -24px; top: 100%; background: #fff; border-top: 3px solid var(--red); padding: 8px 24px 16px; box-shadow: 0 16px 24px rgba(10, 31, 77, .12); }
  .nav ul { flex-direction: column; }
  .nav-toggle:checked ~ .nav { display: block; }
  .burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; cursor: pointer; border: 1px solid var(--line); border-radius: 4px; }
  .burger i, .burger i::before, .burger i::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: ""; }
  .burger i::before { position: absolute; top: -6px; }
  .burger i::after { position: absolute; top: 6px; }
  .nav-toggle:focus-visible + .burger { outline: 3px solid var(--blue); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero { padding: 40px 0; }
  .cards.four, .cards.three { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .bar .btn-sm { display: none; }
  .map iframe { height: 320px; }
  .courses th, .courses td { padding: 12px 16px; }
  .exam { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr; }
  .courses .extra { flex-wrap: wrap; }
  .courses .extra span { flex: 1 1 100%; margin-top: 2px; padding-left: 19px; }
  .courses thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .courses tbody th, .courses tbody td { display: block; width: auto; border-bottom: 0; }
  .courses tbody th { padding: 9px 16px; background: var(--soft); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
  .courses tbody td { padding: 10px 16px 14px; }
  .slots li { padding: 1px 0; }
  .courses .extra { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .courses tbody tr { display: block; border-bottom: 1px solid var(--line); }
  .courses tbody tr:last-child { border-bottom: 0; }
  .courses tbody th { width: auto; font-size: 16px; }
  .price-group td { white-space: normal; }
}

.nowrap { white-space: nowrap; }
