:root {
  --turquoise: #27b9c6;
  --turquoise-dark: #168894;
  --blue: #075b96;
  --orange: #f26b16;
  --ink: #242424;
  --muted: #657174;
  --line: #dce7e9;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --soft-2: #e8f6f8;
  --shadow: 0 18px 50px rgba(36, 36, 36, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f5fafb 48%, #eef6f7 100%);
}
a { color: inherit; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 292px;
  padding: 22px;
  background: rgba(255, 255, 255, .94);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  z-index: 10;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  margin-bottom: 22px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); margin-top: 4px; }

.search {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  outline: none;
}
input:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(39, 185, 198, .16); }

nav { display: grid; gap: 6px; }
nav a {
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
  color: #374144;
  font-size: 14px;
}
nav a:hover, nav a.active { background: var(--soft-2); color: var(--turquoise-dark); }

.menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 20;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: white;
  background: var(--ink);
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: white;
  margin: 3px 0;
}

main {
  margin-left: 292px;
  padding: 24px;
}
.hero, .section {
  max-width: 1120px;
  margin: 0 auto 18px;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  align-items: end;
  gap: 24px;
  padding: 40px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(36,36,36,.94), rgba(22,136,148,.82)),
    linear-gradient(135deg, #27b9c6, #242424);
  box-shadow: var(--shadow);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: .95;
  letter-spacing: 0;
}
.hero p { max-width: 620px; font-size: 18px; line-height: 1.55; }
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  color: #c9f9ff;
}
.hero-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
}
.hero-card span { color: #c9f9ff; font-size: 13px; }
.hero-card a { color: white; font-weight: 700; text-decoration: none; }

.section {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}
.section-lead {
  max-width: 760px;
  color: var(--muted);
}
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-head span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-2);
  color: var(--turquoise-dark);
  font-weight: 800;
}
h2 { margin: 0; font-size: clamp(24px, 5vw, 42px); letter-spacing: 0; }
h3 { margin: 0 0 10px; font-size: 19px; }
p { line-height: 1.6; }
.muted { color: var(--muted); }

.grid { display: grid; gap: 14px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.panel.accent { border-color: rgba(39, 185, 198, .45); background: linear-gradient(180deg, #fff, #effbfc); }
.panel.success { border-color: rgba(22, 136, 148, .45); background: #f0fbfa; }
.panel.danger-note { border-color: rgba(179, 38, 30, .35); background: #fff4f2; }
.panel.recommended { border-color: rgba(7, 91, 150, .35); background: #eff7fc; }
.limit-card {
  color: white;
  background: linear-gradient(135deg, var(--orange), #ff8c2e);
  border-color: transparent;
}
.limit-card.total {
  background: linear-gradient(135deg, var(--blue), var(--turquoise-dark));
}
.limit-card p { color: rgba(255,255,255,.9); }

.contact-list, .resources, .doc-list, .steps, .checklist { display: grid; gap: 10px; }
.contact-list a, .resources a, .doc-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
}
.contact-list span, .resources span, .doc-item span { color: var(--muted); font-size: 14px; }

.guide-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.download-card, .edbo-link {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  text-decoration: none;
}
.download-card {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--turquoise-dark));
}
.download-card:nth-child(2) {
  background: linear-gradient(135deg, var(--orange), #ff8b2c);
}
.download-card span {
  color: rgba(255,255,255,.85);
}
.edbo-link {
  margin: 12px 0;
  color: white;
  background: linear-gradient(135deg, var(--turquoise), var(--blue));
  font-size: clamp(26px, 7vw, 52px);
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}
.edbo-warning { margin-top: 12px; }
.inline-docs { margin-top: 12px; }
.interview-download { margin: 0 0 14px; }

.schedule {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.schedule div {
  min-height: 88px;
  display: grid;
  align-content: space-between;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}
.schedule b { color: var(--turquoise-dark); }
.schedule span { font-size: 13px; color: var(--muted); }
.map-wrap {
  height: 320px;
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.people article {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}
.avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--turquoise), #eefbfc);
  color: white;
  font-weight: 800;
  font-size: 22px;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.timeline article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--turquoise);
  border-radius: 8px;
  background: white;
}
.timeline time { font-weight: 800; color: var(--turquoise-dark); }
.timeline p { margin: 0; color: var(--muted); }

.date-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.date-cards article {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--turquoise);
  border-radius: 8px;
  background: white;
}
.date-cards article.important {
  border-top-color: var(--orange);
  background: #fff8f3;
}
.date-cards time {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--turquoise-dark);
  background: var(--soft-2);
  font-weight: 800;
}
.date-cards article.important time {
  color: #9b3e00;
  background: #ffe8d8;
}
.date-cards p {
  margin: 0;
  color: var(--muted);
}

.steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}
.steps b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--turquoise);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.process-strip article {
  position: relative;
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 3px solid var(--blue);
  border-radius: 8px;
  background: white;
}
.process-strip article:nth-child(odd) {
  border-color: var(--orange);
}
.process-strip b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--blue);
}
.process-strip article:nth-child(odd) b { background: var(--orange); }
.process-strip p { margin: 0; color: var(--muted); font-size: 14px; }
.process-strip.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calendar-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.calendar-table .row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.calendar-table .row:last-child { border-bottom: 0; }
.calendar-table span, .calendar-table b {
  padding: 14px;
  display: grid;
  align-items: center;
  border-right: 1px solid var(--line);
}
.calendar-table b:last-child { border-right: 0; }
.calendar-table span {
  background: #f2f4f5;
  font-weight: 700;
}
.calendar-table .head span { background: #e5eaec; }
.calendar-table .head b {
  color: white;
  font-size: 20px;
  text-align: center;
}
.calendar-table .head b:nth-child(2) { background: var(--orange); }
.calendar-table .head b:nth-child(3) { background: var(--blue); }

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.requirements span {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--blue);
  background: #edf7fb;
  font-weight: 700;
}
.callout {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
  padding: 16px;
  border-radius: 8px;
}
.info-callout {
  border: 1px solid rgba(7, 91, 150, .28);
  background: #eef7fc;
}
.warn-callout {
  color: white;
  background: linear-gradient(135deg, var(--orange), #ff8b2c);
}
.danger-callout {
  color: white;
  background: #b3261e;
}
.callout b { font-size: 18px; }

.formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.formula div {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--orange), #ff8b2c);
  text-align: center;
  font-weight: 800;
  font-size: 20px;
}
.formula div:nth-of-type(2) {
  background: linear-gradient(135deg, var(--blue), var(--turquoise-dark));
}
.formula strong {
  font-size: 38px;
  color: var(--ink);
}

.course-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  border: 0;
  color: white;
  background:
    linear-gradient(135deg, rgba(242, 107, 22, .95), rgba(39, 185, 198, .9)),
    linear-gradient(135deg, var(--orange), var(--turquoise));
  box-shadow: var(--shadow);
}
.course-banner h3 {
  font-size: 28px;
  color: white;
}
.course-banner p { color: rgba(255,255,255,.92); }
.course-banner ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-banner li {
  padding: 12px 14px;
  border-left: 5px solid var(--blue);
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border-radius: 8px;
  font-weight: 700;
}

.interview-search { display: grid; gap: 8px; margin-bottom: 14px; color: var(--muted); }
.result-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.result-card b { display: block; margin-bottom: 6px; }

.doc-item strong { overflow-wrap: anywhere; }
.doc-item em {
  font-style: normal;
  color: var(--turquoise-dark);
  font-weight: 800;
  white-space: nowrap;
}
.empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.checklist input { width: auto; margin-top: 2px; accent-color: var(--turquoise); }

.hidden { display: none !important; }

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .sidebar {
    transform: translateX(-105%);
    transition: transform .2s ease;
    width: min(86vw, 330px);
    box-shadow: var(--shadow);
  }
  .sidebar.open { transform: translateX(0); }
  main { margin-left: 0; padding: 68px 12px 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 28px 18px; }
  .section { padding: 20px 14px; }
  .two, .three, .people { grid-template-columns: 1fr; }
  .date-cards, .guide-downloads { grid-template-columns: 1fr; }
  .process-strip, .process-strip.compact { grid-template-columns: 1fr; }
  .process-strip article { min-height: auto; }
  .calendar-table .row {
    grid-template-columns: 1fr;
  }
  .calendar-table span, .calendar-table b {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .calendar-table b:last-child { border-bottom: 0; }
  .calendar-table .head span { display: none; }
  .formula { grid-template-columns: 1fr; }
  .formula strong { text-align: center; line-height: 1; }
  .callout { grid-template-columns: 1fr; }
  .course-banner { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .timeline article { grid-template-columns: 1fr; gap: 8px; }
  .contact-list a, .resources a, .doc-item { display: grid; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 42px; }
  .schedule { grid-template-columns: 1fr; }
}
