/* BIEC Phase 5 — guided course match */
.p5-hero{background:radial-gradient(circle at 85% 70%,rgba(205,177,113,.24),transparent 36%),linear-gradient(128deg,#0a2034,#16405b);color:white}
.p5-hero h1{font-size:clamp(50px,6.4vw,92px);max-width:900px}
.p5-hero p{max-width:720px;font-size:16px;line-height:1.8;color:#e0ecef}
.p5-hero-link{display:inline-flex;margin-top:16px;padding:13px 20px;border:1px solid #ebc783;border-radius:50px;color:#f0d59d;font-size:13px;font-weight:750;gap:18px}
.p5-main{background:#f7f8f6;padding:80px 0 85px;color:#152f42}
.p5-head{max-width:790px;margin-bottom:35px}
.p5-kicker{text-transform:uppercase;font-size:11px;letter-spacing:.15em;color:#a57d40;font-weight:850}
.p5-title{font-size:clamp(35px,4vw,56px);letter-spacing:-.04em;line-height:1.12;margin:14px 0}
.p5-title em{font-family:Georgia,serif;font-weight:400;color:#a57d40}
.p5-head>p{color:#5e7481;line-height:1.75}
.p5-layout{display:grid;grid-template-columns:minmax(280px,.86fr) minmax(0,1.35fr);gap:25px;align-items:start}
.p5-form,.p5-results{border:1px solid #dbe5e5;background:white;border-radius:19px;padding:29px;box-shadow:0 12px 34px rgba(20,43,65,.045)}
.p5-form h3{margin:0 0 22px;font-size:21px}
.p5-form label{display:flex;flex-direction:column;gap:7px;margin:0 0 17px;font-size:12px;font-weight:750}
.p5-form select{width:100%;height:53px;border-radius:9px;border:1px solid #c9d8dd;padding:10px 12px;background:#fff;color:#143047;font-size:14px}
.p5-form-hint{font-size:12px;line-height:1.7;color:#68808d}
.p5-submit,.p5-handoff button{border:none;background:#173c53;color:white;padding:15px 20px;border-radius:10px;font-size:13px;font-weight:800;width:100%;min-height:51px;cursor:pointer}
.p5-submit:hover,.p5-handoff button:hover:enabled{background:#0d283d}
.p5-reset{border:0;background:transparent;padding:11px 0;color:#486879;text-decoration:underline;cursor:pointer;font-size:12px}
.p5-results-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid #e1e8eb;padding-bottom:18px}
.p5-results-heading h3{font-size:22px;margin:7px 0 0}
.p5-count{color:#67808c;font-size:12px;text-align:right}
.p5-results-list{display:grid;gap:11px;margin-top:17px}
.p5-programme{padding:16px 17px;border:1px solid #e0e9ed;border-radius:11px;background:#fcfdfc}
.p5-programme .p5-country{font-size:10px;letter-spacing:.13em;color:#a17d45;font-weight:850;text-transform:uppercase}
.p5-programme h4{font-size:16px;margin:7px 0 5px;line-height:1.34}
.p5-programme p{font-size:12px;color:#607b8c;margin:0 0 11px}
.p5-programme a{font-size:12px;font-weight:800;color:#156477;text-decoration:underline;text-underline-offset:3px;margin-right:14px}
.p5-confirm{margin-top:21px;padding:16px;border-radius:10px;background:#f3f6f6}
.p5-confirm strong{font-size:13px}
.p5-confirm p{font-size:12px;color:#607480;line-height:1.6;margin-bottom:0}
.p5-loading,.p5-empty{padding:24px 10px;font-size:14px;color:#5c7480;line-height:1.6}
.p5-handoff{margin-top:28px;padding:35px 38px;border-radius:18px;background:#0d273a;color:#fff;display:grid;grid-template-columns:1fr minmax(270px,.8fr);gap:35px}
.p5-handoff h2{font-size:clamp(25px,3vw,39px);margin:10px 0}
.p5-handoff p{font-size:13px;line-height:1.7;color:#c6d7df}
.p5-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.7;margin:4px 0 15px}
.p5-consent input{accent-color:#dcb66f;min-width:18px;width:18px;height:18px;flex:none;margin-top:2px}
.p5-handoff button{background:#e8c682;color:#112b3c}
.p5-handoff button:disabled{opacity:.45;cursor:not-allowed}
.p5-handoff-action>p{font-size:11px;margin:9px 0 0}
.p5-next{padding:54px 0 68px;background:#eaf1f1}
.p5-next h2{font-size:28px;margin:0 0 9px}
.p5-next p{font-size:14px;color:#567080}
.p5-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:17px}
.p5-links a{font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:4px;color:#175669}
@media(max-width:900px){.p5-layout,.p5-handoff{grid-template-columns:1fr}}
@media(max-width:640px){.p5-main{padding:50px 0}.p5-form,.p5-results{padding:20px}.p5-handoff{padding:24px}.p5-hero h1{font-size:clamp(43px,12vw,62px)}}
