/* Local interaction and visual polish for the independent concept. */
:root { --soft-shadow: 0 14px 34px rgba(12, 58, 38, .09); }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--gold); }

.header-cta, .button { border-radius: 13px; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -7px; background: var(--green); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.question-grid { gap: 14px; }
.question-grid a { min-height: 112px; padding: 16px 19px; border: 1px solid #d8e2d6; border-radius: 17px; background: #fff; box-shadow: 0 6px 20px rgba(19, 62, 40, .035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.question-grid a:hover { transform: translateY(-4px); border-color: #93b19a; box-shadow: var(--soft-shadow); }
.question-grid .arrow { right: 17px; bottom: 15px; }

.program-toolbar { border: 0; margin-bottom: 20px; }
.tabs { gap: 5px; padding: 4px; background: #eff3ec; border-radius: 14px; }
.tab { padding: 10px 15px; border: 0; border-radius: 11px; white-space: nowrap; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.tab:hover { color: var(--green); }
.tab.active { border: 0; background: #fff; box-shadow: 0 3px 11px rgba(12, 58, 38, .08); }
.program-search { margin: 0 0 22px; max-width: 620px; }
.program-search label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--green); }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: #748a79; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search-field input { width: 100%; height: 51px; padding: 0 48px; border: 1px solid #cfdccd; border-radius: 14px; outline: 0; background: #fbfcfa; color: var(--ink); font: inherit; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.search-field input::placeholder { color: #91a194; }
.search-field input:focus { border-color: #448264; box-shadow: 0 0 0 4px rgba(68, 130, 100, .13); }
.search-field kbd { position: absolute; top: 50%; right: 17px; transform: translateY(-50%); color: #9bab9b; font-size: 19px; font-family: inherit; pointer-events: none; }
.search-hint { margin: 7px 0 0; font-size: 11px; color: #798b7b; }
.program-card, .program-note { border-radius: 19px; }
.program-card { border: 1px solid #e5ebe2; }
.program-card:hover { border-color: #bdd0bd; box-shadow: var(--soft-shadow); }
.program-note { overflow: hidden; }
.program-feedback { min-height: 18px; margin: 16px 0 0; color: #5c7561; font-size: 12px; }
.program-feedback:empty { display: none; }
.program-empty { padding: 30px; margin-top: 15px; border: 1px dashed #b5cbb6; border-radius: 18px; background: #f7faf5; }
.program-empty strong { display: block; font-family: 'Libre Baskerville', Georgia, serif; font-size: 18px; font-weight: 400; }
.program-empty p { margin: 8px 0 15px; font-size: 13px; color: var(--muted); }
.program-empty button { padding: 10px 15px; border: 0; border-radius: 10px; background: var(--green); color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.program-card[hidden], .program-empty[hidden], .program-note[hidden] { display: none; }

.legacy-visual, .legacy-visual img { border-radius: 24px; }
.legacy-badge { border-radius: 15px; box-shadow: 0 13px 25px rgba(0, 0, 0, .13); }
.experience-grid figure { overflow: hidden; border-radius: 24px; }
.experience-grid img { transition: transform .5s ease; }
.experience-grid figure:hover img { transform: scale(1.045); }
.proof-grid { gap: 12px; }
.proof-grid > div, .proof-grid > div + div { padding: 25px; border: 1px solid #d4dfd0; border-radius: 18px; background: rgba(255, 255, 255, .49); }

.step-list { display: grid; gap: 9px; margin: 28px 0 30px; max-width: 555px; }
.step-item { border: 1px solid #dbe6d9; border-radius: 14px; background: #fafcf9; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.step-item:has(.step-trigger[aria-expanded="true"]) { border-color: #b6cfb7; box-shadow: 0 8px 20px rgba(12, 58, 38, .055); }
.step-trigger { display: flex; width: 100%; align-items: center; gap: 20px; padding: 16px 19px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.step-trigger span { color: #78947c; font-size: 11px; font-weight: 700; }
.step-trigger strong { flex: 1; font-size: 13px; }
.step-trigger svg { width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(45deg); transition: transform .2s ease; }
.step-trigger[aria-expanded="true"] svg { transform: rotate(-45deg); }
.step-panel { padding: 0 20px 17px 50px; }
.step-panel p { max-width: 450px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.step-panel[hidden] { display: none; }
.scholarship { border-radius: 24px; }

.footer-about > p:not(.footer-kicker) { color: #abc1b1; font-size: 12px; line-height: 1.8; max-width: 460px; }
.footer-social { display: flex; align-items: center; gap: 18px; margin-top: 23px; }
.footer-social > strong { color: #d2e0d5; font-size: 11px; font-weight: 600; }
.socials { display: flex; gap: 8px; }
.social-link { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid #608170; border-radius: 10px; color: #eaf2eb; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.social-link:hover { transform: translateY(-3px); border-color: var(--gold); background: #174c39; }
.social-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 850px) {
  .main-nav a::after { display: none; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid > div, .proof-grid > div + div { padding: 20px; }
}
@media (max-width: 580px) {
  .question-grid { gap: 9px; }
  .question-grid a { min-height: 84px; padding: 12px 16px; }
  .program-toolbar { gap: 12px; }
  .tabs { width: 100%; }
  .tab { text-align: center; }
  .program-search { margin-top: 4px; }
  .search-field input { font-size: 12px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div, .proof-grid > div + div { padding: 20px; border: 1px solid #d4dfd0; }
  .legacy-badge { right: -5px; }
  .footer-social { align-items: flex-start; flex-direction: column; gap: 10px; }
}
