/* Space offer page and "My application" tools on the account page. */
#ops-offer { max-width: 680px; margin: 0 auto; }
.ofr-card { background: #fff; border-radius: 20px; padding: 32px 30px; box-shadow: 0 18px 50px rgba(15, 23, 42, .10); border: 1px solid rgba(15, 23, 42, .06); position: relative; overflow: hidden; }
.ofr-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #003888, #0d1b33); }
.ofr-card h1 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; margin: 4px 0 12px; color: #0d1b33; letter-spacing: -.01em; }
.ofr-eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 800; color: #c25f00; margin: 0; }
.ofr-lead { font-size: 17px; line-height: 1.55; color: #334155; margin: 0 0 20px; } .ofr-urgent { color: #b42318; font-weight: 700; }
.ofr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 18px; }
.ofr-facts div { background: #f6f8fb; border-radius: 12px; padding: 12px 14px; } .ofr-facts dt { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; } .ofr-facts dd { margin: 3px 0 0; font-size: 16.5px; font-weight: 700; color: #0d1b33; }
.ofr-cond { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; } .ofr-cond summary { font-weight: 700; cursor: pointer; color: #78350f; } .ofr-cond p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: #451a03; }
.ofr-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ofr-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 12px; border: 2px solid #003888; background: #003888; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.ofr-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 23, 42, .15); } .ofr-btn:disabled { opacity: .6; transform: none; }
.ofr-btn--ghost { background: #fff; color: #0d1b33; border-color: #cbd5e1; } .ofr-btn--danger { background: #b42318; border-color: #b42318; color: #fff; }
.ofr-btn.is-picked { box-shadow: 0 0 0 4px rgba(15, 23, 42, .12); }
.ofr-form { margin-top: 18px; border-top: 1px solid #e2e8f0; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.ofr-form label { font-weight: 700; font-size: 14.5px; color: #0d1b33; } .ofr-form input:not([type=checkbox]), .ofr-form select { padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: 11px; font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
.ofr-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600 !important; line-height: 1.45; } .ofr-check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: #003888; }
.ofr-fine { font-size: 12.5px; color: #64748b; margin: 0; } .ofr-msg { background: #fdecea; color: #8a1c12; border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0; }
.ofr-card--done { text-align: center; } .ofr-card--done p { font-size: 16.5px; color: #334155; line-height: 1.55; }
@media (max-width: 520px) { .ofr-card { padding: 24px 18px; border-radius: 16px; } .ofr-choose { grid-template-columns: 1fr; } }
/* account page add-ons */
.opsx { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.opsx-offer { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: linear-gradient(120deg, #ecfdf5, #fff); border: 1px solid #a7f3d0; border-radius: 14px; padding: 14px 16px; }
.opsx-offer b { font-size: 16px; color: #065f46; } .opsx-offer span { color: #047857; font-size: 14px; } .opsx-offer .opsx-btn { margin-left: auto; }
.opsx-offer--top { margin: 0 0 16px; grid-column: 1 / -1; }
.opsx-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; border-top: 1px dashed #e2e8f0; padding-top: 10px; } .opsx-row > span { font-size: 13.5px; color: #64748b; font-weight: 600; } .opsx-row > div { display: flex; flex-wrap: wrap; gap: 8px; }
.opsx-btn { display: inline-flex; padding: 9px 14px; border-radius: 10px; border: 2px solid #003888; background: #003888; color: #ffffff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.opsx-btn--ghost { background: #fff; color: #0d1b33; border-color: #cbd5e1; } .opsx-btn--quiet { background: transparent; border-color: transparent; color: #b42318; } .opsx-btn--danger { background: #b42318; border-color: #b42318; color: #fff; }
.opsx-panel { background: #f8fafc; border-radius: 12px; padding: 14px; }
.opsx-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 12px; } .opsx-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 700; } .opsx-form label:has(textarea) { grid-column: 1 / -1; }
.opsx-form input, .opsx-form select, .opsx-form textarea { padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.opsx-form > p, .opsx-actions { grid-column: 1 / -1; margin: 0; } .opsx-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.opsx-hint { color: #64748b; font-size: 13.5px; } .opsx-msg { padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; } .opsx-msg.is-ok { background: #e6f6ef; color: #0f5132; } .opsx-msg.is-bad { background: #fdecea; color: #8a1c12; }
.ofr-binding { background: #fff7ed; border: 1px solid #fdba74; border-left: 5px solid #ea580c; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: #7c2d12; }
.ofr-check--strong { background: #fff7ed; border-radius: 10px; padding: 10px 12px; }
.ofr-nsfas { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; text-align: left; } .ofr-nsfas b { color: #1e3a8a; } .ofr-nsfas p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: #1e293b; }
/* "Check your application" on the home page */
.opsc { background: #fff; border-radius: 20px; box-shadow: 0 16px 44px rgba(15, 23, 42, .10); border: 1px solid rgba(15, 23, 42, .06); padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 22px 32px; align-items: start; }
.opsc h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); color: #0d1b33; } .opsc > div > p { margin: 0; color: #475569; line-height: 1.55; }
.opsc-eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 800; color: #c25f00; margin: 0 0 4px !important; }
.opsc form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.opsc label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 13.5px; color: #0d1b33; }
.opsc input { padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: 11px; font: inherit; font-size: 15.5px; width: 100%; box-sizing: border-box; min-width: 0; }
.opsc input:focus { outline: 3px solid color-mix(in srgb, #003888 30%, transparent); border-color: #003888; }
.opsc button { padding: 13px 20px; border-radius: 11px; border: 0; background: #003888; color: #ffffff; font: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.opsc button:disabled { opacity: .6; }
.opsc [data-out] { grid-column: 1 / -1; } .opsc [data-out]:empty { display: none; }
.opsc-hint { grid-column: 2; font-size: 12.5px; color: #64748b; margin: -10px 0 0 !important; }
.opsc-result { border-top: 1px solid #e2e8f0; padding-top: 16px; } .opsc-result h3 { margin: 4px 0 6px; font-size: 21px; color: #0d1b33; } .opsc-result > p { margin: 0 0 12px; color: #334155; line-height: 1.55; }
.opsc-ref { font-size: 12.5px; color: #64748b; font-weight: 700; letter-spacing: .03em; }
.opsc-offer { display: flex; flex-direction: column; gap: 6px; background: linear-gradient(120deg, #ecfdf5, #fff); border: 1px solid #a7f3d0; border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; } .opsc-offer b { color: #065f46; font-size: 16px; } .opsc-offer span { color: #047857; font-size: 14px; }
.opsc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; } .opsc-more { font-size: 13.5px; color: #64748b; } .opsc-err { color: #b42318; font-weight: 600; margin: 0; } .opsc-wait { color: #64748b; margin: 0; }
@media (max-width: 820px) { .opsc { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; } .opsc form { grid-template-columns: minmax(0, 1fr); } .opsc-hint { grid-column: 1; margin: 0 !important; } }

/* ---- Calm: no jumping, bobbing, zooming or sideways sway. Hover still changes colour and shadow. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
.btn:hover, .btn:focus, .card--hover:hover, .res-card:hover, .inst:hover, .socials a:hover, .wa-float:hover,
.chat-launcher:hover, .chat-quick button:hover, .ofr-btn:hover, .stp-tile:hover, .stp-course:hover, .ops-btn:hover, .tm-person:hover { transform: none !important; }
.gallery a:hover img, .gallery button:hover img, .res-card:hover .res-card__media img, .res-card:hover img { transform: none !important; }
.chat-launcher, .topbar__pulse { animation: none !important; }
img { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
