/* تميز القيادة — برامج أكتوبر 2026 */
:root {
  --blue-950: #06385f;
  --blue-900: #07517f;
  --blue-800: #076b9f;
  --blue-700: #008fca;
  --blue-600: #00a8e8;
  --blue-100: #edf5fb;
  --riyal-green: #056839;
  --ink: #0f1f3a;
  --muted: #607089;
  --line: #dce5f0;
  --surface: #f6f9fd;
  --white: #fff;
  --shadow: 0 22px 65px rgba(16, 54, 103, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-shell { position: relative; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-800); font-size: 14px; font-weight: 800; letter-spacing: .2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,229,240,.9); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; padding-block: 5px; }
.brand img { width: 86px; height: 70px; object-fit: contain; object-position: right center; }
nav { display: flex; align-items: center; gap: 28px; color: #334866; font-size: 14px; font-weight: 700; white-space: nowrap; }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--blue-700); }
.nav-cta { padding: 10px 22px; color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border-radius: 999px; box-shadow: 0 10px 24px rgba(13,85,186,.22); }
nav .nav-cta:hover { color: white; }

.announcement-ticker { position: relative; height: 32px; overflow: hidden; color: white; background: var(--blue-900); outline: none; }
.ticker-track { position: absolute; inset-block: 0; left: 0; direction: ltr; width: max-content; display: flex; align-items: center; will-change: transform; animation: ticker-scroll 68s linear infinite; }
.ticker-segment { direction: rtl; flex: 0 0 auto; margin: 0; padding: 0; color: white; font-size: 12px; font-weight: 650; line-height: 32px; white-space: nowrap; }
.ticker-segment b { margin-inline: 11px; color: #a9dcf3; font-weight: 900; }
.announcement-ticker:hover .ticker-track,
.announcement-ticker:focus .ticker-track,
.announcement-ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translate3d(-25%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* ---------- Hero ---------- */
.hero { padding: 68px 0 0; background: radial-gradient(circle at 8% 22%, rgba(0,143,202,.08), transparent 24%), linear-gradient(180deg, #fff, #f5f9fd 92%); }
.hero-pattern { position: absolute; inset: 0; opacity: .3; pointer-events: none; background-image: radial-gradient(circle, rgba(11,58,130,.13) 1px, transparent 1px); background-size: 25px 25px; mask-image: linear-gradient(to left, transparent 25%, #000); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.14fr .86fr; align-items: center; gap: 76px; min-height: 520px; }
.campaign-label { display: inline-block; padding: 8px 14px; color: var(--blue-900); background: #f1f7fc; border: 1px solid #dbe9f4; border-radius: 999px; font-size: 12px; font-weight: 800; }
h1 { margin: 14px 0 20px; color: var(--blue-950); font-size: clamp(40px, 4.65vw, 62px); line-height: 1.26; letter-spacing: -2px; }
.hero-intro, .hero-emphasis { display: block; }
.hero-intro { color: #244a7d; font-size: .75em; font-weight: 750; letter-spacing: -1.1px; }
.hero-emphasis { margin-top: 1px; color: var(--blue-700); font-size: 1.02em; font-weight: 900; line-height: 1.18; }
.hero-lead { max-width: 660px; margin-bottom: 20px; color: #475e7b; font-size: 18px; line-height: 1.85; }
.hero-info { width: fit-content; max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; padding: 12px 16px; color: #34536f; background: #f4f8fc; border: 1px solid #d8e5ef; border-radius: 14px; font-size: 13px; font-weight: 750; }
.hero-info i { width: 5px; height: 5px; flex: 0 0 5px; background: var(--blue-700); border-radius: 50%; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 26px; border-radius: 14px; font-size: 15px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); box-shadow: 0 14px 30px rgba(13,85,186,.25); }
.button-secondary { color: var(--blue-800); background: white; border: 1px solid var(--line); }
.button-light { flex: 0 0 auto; color: var(--blue-800); background: white; box-shadow: 0 12px 24px rgba(3,31,72,.22); }
.hero-microcopy { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 15px; color: #74849a; font-size: 12px; }
.hero-microcopy span { display: inline-flex; align-items: center; gap: 4px; }
.hero-microcopy span::before { content: "✓"; color: var(--blue-700); font-weight: 900; }

.hero-visual { position: relative; min-height: 430px; isolation: isolate; }
.hero-stage { position: absolute; inset: 17px 5px 38px 20px; overflow: hidden; background: white; border: 1px solid #d4e0ee; border-radius: 28px; box-shadow: 0 28px 75px rgba(16,54,103,.14); }
.hero-stage::before { content: ""; position: absolute; inset: auto -90px -125px auto; width: 280px; height: 280px; background: #eaf4fb; border-radius: 50%; }
.hero-stage::after { content: ""; position: absolute; top: -52px; left: -62px; width: 185px; height: 185px; border: 30px solid rgba(20,116,228,.055); border-radius: 50%; }
.stage-topbar { height: 59px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: #f7faff; border-bottom: 1px solid var(--line); color: var(--blue-900); font-size: 11px; font-weight: 800; }
.stage-topbar span { display: inline-flex; align-items: center; gap: 8px; }
.stage-topbar i { width: 8px; height: 8px; background: var(--blue-700); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,143,202,.1); }
.stage-topbar b { color: #7b899d; font-size: 10px; }
.stage-body { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 20px; align-items: center; padding: 30px 25px 22px; }
.october-overview { position: relative; min-height: 224px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; color: var(--blue-900); background: linear-gradient(160deg, #f2f8fd, #fff); border: 1px solid #cfdeef; border-radius: 22px; text-align: center; }
.october-overview::after { content: ""; position: absolute; right: 15px; bottom: 14px; left: 15px; height: 4px; background: linear-gradient(90deg, var(--blue-700) 0 48%, #dbe7f1 48% 100%); border-radius: 99px; }
.october-overview span { font-size: 12px; font-weight: 900; }
.october-overview strong { color: var(--blue-700); text-shadow: 0 10px 28px rgba(0,143,202,.15); font-size: 106px; line-height: .96; letter-spacing: -7px; font-variant-numeric: tabular-nums; }
.october-overview small { color: #6d8195; font-size: 10px; font-weight: 750; }
.stage-stack { display: grid; gap: 10px; }
.program-preview { display: flex; align-items: center; gap: 11px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 6px 18px rgba(16,54,103,.05); }
.program-preview i { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 35px; color: var(--blue-700); background: #edf5ff; border-radius: 10px; font-size: 10px; font-style: normal; font-weight: 900; }
.program-preview b, .program-preview small { display: block; }
.program-preview b { color: var(--blue-950); font-size: 11px; }
.program-preview small { margin-top: 1px; color: #8090a5; font-size: 9px; line-height: 1.5; }
.stage-footer { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: #58708f; background: #f7faff; border-top: 1px solid var(--line); font-size: 10px; }
.stage-footer b { color: var(--blue-800); }
.accreditation-float { position: absolute; z-index: 3; right: -16px; bottom: 4px; min-width: 252px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: white; border: 1px solid #d2deed; border-radius: 14px; box-shadow: 0 12px 34px rgba(16,54,103,.15); }
.accreditation-float i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; color: white; background: var(--blue-700); border-radius: 50%; font-style: normal; font-weight: 900; }
.accreditation-float b, .accreditation-float span { display: block; }
.accreditation-float b { color: var(--blue-900); font-size: 10px; }
.accreditation-float span { color: #7a899d; font-size: 8px; }
.price-clarity { position: absolute; bottom: 4px; left: 31px; margin: 0; color: #8290a3; font-size: 9px; }

.benefits { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; margin-top: 48px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 45px rgba(16,54,103,.06); }
.benefit { min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 9px 18px; border-left: 1px solid var(--line); }
.benefit:nth-child(3), .benefit:last-child { border-left: 0; }
.benefit:nth-child(n+4) { border-top: 1px solid var(--line); }
.benefit .icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--blue-700); background: #edf5ff; border-radius: 11px; font-weight: 900; }
.benefit b, .benefit small { display: block; }
.benefit b { color: var(--blue-950); font-size: 16px; }
.benefit small { color: var(--muted); font-size: 12px; }

/* ---------- Programs ---------- */
.programs { padding: 66px 0 92px; background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 24px; }
.section-heading h2, .support-grid h2, .trust-band h2 { margin: 6px 0 0; color: var(--blue-950); font-size: clamp(28px, 3.6vw, 43px); line-height: 1.35; letter-spacing: -1.2px; }
.section-heading p { max-width: 500px; margin-bottom: 4px; color: #52647d; font-size: 15px; line-height: 1.85; }
.program-note { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 14px 18px; background: linear-gradient(90deg, #edf6fc, #f8fbff); border: 1px solid #cfe2ef; border-radius: 15px; }
.note-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; color: white; background: var(--blue-800); border-radius: 12px; box-shadow: 0 6px 16px rgba(7,107,159,.14); font-size: 18px; font-weight: 900; }
.program-note b, .program-note small { display: block; }
.program-note b { color: var(--blue-900); font-size: 13px; }
.program-note small { margin-top: 1px; color: #60778d; font-size: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { padding: 8px 17px; color: #52657f; background: #f7f9fc; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter.active { color: white; background: var(--blue-800); border-color: var(--blue-800); }
.noscript-note { padding: 18px; color: var(--blue-900); background: var(--blue-100); border-radius: 12px; }
.noscript-note a { text-decoration: underline; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.program-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid #d7e3ee; border-radius: 22px; box-shadow: 0 10px 32px rgba(16,54,103,.06); transition: transform .25s ease, box-shadow .25s ease, opacity .65s ease; }
.program-card::before { content: attr(data-number); position: absolute; z-index: 4; top: 18px; left: 18px; width: 34px; height: 34px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border: 2px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 8px 20px rgba(8,42,100,.2); font-size: 10px; font-weight: 900; }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.program-card.hidden { display: none; }
.program-card.registration-closed::before { background: #8a99aa; }
.card-content { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.card-accreditation { width: fit-content; max-width: calc(100% - 42px); display: inline-flex; align-items: center; min-height: 31px; margin-bottom: 22px; padding: 6px 10px; color: var(--blue-900); background: var(--blue-100); border: 1px solid #d3e5f1; border-radius: 9px; font-size: 10px; font-weight: 850; line-height: 1.55; }
.card-content h3 { min-height: 86px; margin-bottom: 18px; padding-left: 6px; color: var(--blue-950); font-size: 19px; line-height: 1.55; }
.program-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.program-facts .fact-date { grid-column: 1 / -1; }
.program-facts div { min-width: 0; padding: 10px 12px; background: var(--surface); border: 1px solid #edf1f6; border-radius: 11px; }
.program-facts small, .program-facts b { display: block; }
.program-facts small { margin-bottom: 2px; color: #7b8b9d; font-size: 10px; }
.program-facts b { color: #344f69; font-size: 12.5px; line-height: 1.6; }
.program-details { margin: -4px 0 14px; padding: 9px 12px; color: var(--blue-900); background: var(--blue-100); border-radius: 10px; font-size: 12px; font-weight: 750; line-height: 1.7; }

.program-registration-status { min-height: 86px; margin: auto 0 18px; border-radius: 13px; }
.status-countdown { display: grid; gap: 8px; padding: 10px 12px; color: var(--blue-950); background: #f2f8fc; border: 1px solid #d4e5f0; }
.countdown-title { color: #557089; font-size: 11px; font-weight: 800; text-align: center; }
.countdown-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.countdown-units > span { min-width: 0; display: grid; place-items: center; padding: 5px 3px; background: white; border: 1px solid #dbe8f2; border-radius: 9px; }
.countdown-units b { color: var(--blue-800); font-size: 17px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.countdown-units small { color: #71869a; font-size: 9px; font-weight: 750; line-height: 1.4; }
.status-ended { display: grid; place-items: center; padding: 12px; background: #fff7f7; border: 1px solid #f1c4c4; }
.registration-stamp { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; color: #b42323; background: #fff; border: 2px solid #c93636; border-radius: 10px; box-shadow: inset 0 0 0 2px #fff, 0 5px 14px rgba(180,35,35,.1); font-size: 16px; font-weight: 900; line-height: 1.3; transform: rotate(-2deg); }

.card-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.price small { display: block; color: #7d8c9d; font-size: 10px; font-weight: 750; }
.price-value { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-800); font-size: 31px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.riyal { display: inline-flex; width: .62em; height: .7em; color: var(--riyal-green); }
.riyal svg { width: 100%; height: 100%; }
.card-register { min-width: 104px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border-radius: 10px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.card-register.is-disabled { color: #7d8b9b; background: #eef2f6; cursor: not-allowed; }

/* ---------- Delivery ---------- */
.delivery { padding: 0 0 72px; background: white; }
.delivery-panel { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 34px; padding: 34px; background: #f5f9fc; border: 1px solid #d8e5ef; border-radius: 24px; }
.delivery-heading h2 { margin: 5px 0 0; color: var(--blue-950); font-size: 31px; line-height: 1.4; }
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.delivery-grid div { min-height: 122px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px; background: white; border: 1px solid #d8e5ef; border-radius: 14px; }
.delivery-grid span { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--blue-800); border-radius: 9px; font-size: 10px; font-weight: 900; }
.delivery-grid b { color: #294862; font-size: 13px; line-height: 1.65; }

/* ---------- Trust & certificates ---------- */
.trust { padding: 20px 0 64px; background: linear-gradient(180deg, #f6f9fd, #fff 50%); }
.trust-band { display: grid; grid-template-columns: 82px minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 32px 38px; color: white; background: linear-gradient(135deg, var(--blue-950), var(--blue-700)); border-radius: 28px; box-shadow: var(--shadow); transform: translateY(-20px); }
.trust-band h2 { margin: 2px 0 4px; color: white; font-size: 30px; }
.trust-band span { color: #b7dcf2; font-size: 12px; font-weight: 800; }
.trust-band p { max-width: 760px; margin: 0; color: #dce9fb; font-size: 14px; }
.seal-icon { width: 82px; height: 82px; display: grid; place-items: center; color: white; background: var(--blue-700); border: 7px solid rgba(255,255,255,.18); border-radius: 50%; font-size: 30px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.accreditation-lockup { width: 280px; max-width: 100%; justify-self: end; padding: 10px; background: white; border-radius: 13px; }
.certificates-showcase { scroll-margin-top: 125px; display: grid; grid-template-columns: .58fr 1.42fr; align-items: center; gap: 32px; padding: 54px 0 10px; }
.certificates-copy h2 { margin: 6px 0 13px; color: var(--blue-950); font-size: 32px; line-height: 1.4; letter-spacing: -.8px; }
.certificates-copy > p { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.certificates-copy > small { display: block; margin-top: 13px; color: #8a97a9; font-size: 11px; }
.training-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.training-modes span { padding: 7px 10px; color: var(--blue-800); background: #edf5ff; border: 1px solid #d9e9fb; border-radius: 9px; font-size: 12px; font-weight: 800; }
.training-modes i { margin-left: 4px; color: var(--blue-700); font-size: 8px; font-style: normal; }
.certificate-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.certificate-open { min-width: 0; padding: 0; overflow: hidden; color: var(--ink); background: white; border: 1px solid #d6e2ef; border-radius: 16px; box-shadow: 0 12px 34px rgba(16,54,103,.08); cursor: zoom-in; text-align: right; transition: transform .22s ease, box-shadow .22s ease; }
.certificate-open:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(16,54,103,.13); }
.certificate-open > img { width: 100%; aspect-ratio: 1.414 / 1; object-fit: cover; border-bottom: 1px solid var(--line); }
.certificate-open > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.certificate-open b { color: var(--blue-900); font-size: 12px; }
.certificate-open small { color: #8592a4; font-size: 10px; }

/* ---------- Steps & FAQ ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 54px 0 58px; }
.support-grid h2 { margin-bottom: 28px; font-size: 31px; }
.why-us ul { display: grid; gap: 10px; padding: 0; margin: 0 0 28px; list-style: none; }
.why-us li { display: grid; grid-template-columns: 135px 1fr; gap: 18px; padding: 13px 16px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.why-us li b { color: var(--blue-900); font-size: 14px; }
.why-us li span { color: var(--muted); font-size: 13px; }
.steps { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 18px; background: var(--blue-100); border-radius: 15px; }
.steps > div { display: flex; align-items: center; gap: 7px; color: var(--blue-900); font-size: 11px; font-weight: 800; }
.steps i { width: 25px; height: 25px; display: grid; place-items: center; color: white; background: var(--blue-800); border-radius: 8px; font-style: normal; }
.steps > b { color: #8ba7bc; }
.registration-cta { min-height: 66px; display: grid; align-items: center; margin-top: 14px; padding: 11px 17px; color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border-radius: 14px; box-shadow: 0 12px 28px rgba(13,85,186,.2); }
.registration-cta span, .registration-cta b { display: block; }
.registration-cta span { color: #b8d7ff; font-size: 11px; }
.registration-cta b { font-size: 14px; }
.faq-list { scroll-margin-top: 125px; }
.faq-list details { margin-bottom: 8px; padding-inline: 14px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.faq-list details:last-child { margin-bottom: 0; }
.faq-list summary { position: relative; padding: 13px 0 13px 34px; color: var(--blue-950); cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; left: 3px; top: 12px; width: 23px; height: 23px; display: grid; place-items: center; color: var(--blue-700); background: #edf5ff; border-radius: 50%; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -1px 0 13px; padding-left: 38px; color: var(--muted); font-size: 13px; }

/* ---------- CTA, social, payment ---------- */
.final-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 48px; color: white; background: linear-gradient(125deg, var(--blue-950), var(--blue-700)); border-radius: 28px; box-shadow: 0 22px 56px rgba(8,42,100,.18); }
.final-cta::after { content: ""; position: absolute; width: 180px; height: 180px; left: -70px; bottom: -120px; border: 28px solid rgba(126,200,235,.18); border-radius: 50%; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta span { color: #b7dcf2; font-size: 12px; font-weight: 800; }
.final-cta h2 { margin: 2px 0 4px; font-size: 32px; }
.final-cta p { margin: 0; color: #dce9fb; font-size: 14px; }
.final-cta-button { min-height: 58px; padding-inline: 34px; font-size: 16px; }

.connect-payment { display: grid; grid-template-columns: 1.14fr .86fr; gap: 18px; margin-top: 24px; }
.social-card, .payment-card { min-width: 0; padding: 28px; overflow: hidden; background: white; border: 1px solid #dbe5f0; border-radius: 22px; box-shadow: 0 12px 36px rgba(16,54,103,.06); }
.social-card h2, .payment-card h2 { margin: 5px 0 6px; color: var(--blue-950); font-size: 25px; line-height: 1.4; }
.social-card > p, .payment-card > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.social-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-pill { min-width: 0; min-height: 64px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; background: #f8fafd; border: 1px solid var(--line); border-radius: 13px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.social-pill:last-child:nth-child(odd) { grid-column: 1 / -1; }
.social-pill:hover { transform: translateY(-2px); border-color: #bfd2e9; box-shadow: 0 9px 22px rgba(16,54,103,.08); }
.social-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; color: white; background: var(--blue-900); border-radius: 10px; }
.social-icon svg { width: 19px; height: 19px; fill: currentColor; }
.social-pill > span:last-child { min-width: 0; }
.social-pill b, .social-pill small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-pill b { color: var(--blue-950); font-size: 13px; }
.social-pill small { color: #7b899d; font-size: 10px; direction: ltr; text-align: right; }
.social-x .social-icon { background: #111; }
.social-linkedin .social-icon { background: #0a66c2; }
.social-instagram .social-icon { background: linear-gradient(135deg, #5b51d8, #c13584 55%, #f77737); }
.social-whatsapp .social-icon { background: #128c5b; }
.payment-card { position: relative; background: linear-gradient(145deg, #fff, #f5f9fc); }
.payment-card::after { content: ""; position: absolute; left: -48px; bottom: -60px; width: 150px; height: 150px; border: 22px solid rgba(0,143,202,.05); border-radius: 50%; pointer-events: none; }
.payment-card > * { position: relative; z-index: 1; }
.payment-visual { display: grid; place-items: center; min-height: 128px; margin-top: 8px; padding: 12px 14px; background: white; border: 1px solid #e1e8ef; border-radius: 15px; }
.payment-visual img { width: min(100%, 410px); height: auto; object-fit: contain; }
.payment-card > small { display: block; margin-top: 9px; color: #7b8a99; font-size: 10px; }

/* ---------- Footer & dialog ---------- */
footer { padding: 38px 0 0; background: var(--blue-900); color: white; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 32px; }
.footer-brand > a { width: 122px; min-height: 114px; display: grid; place-items: center; padding: 8px; background: white; border-radius: 12px; }
.footer-brand img { width: 92px; height: 100px; object-fit: contain; }
.footer-brand p { margin: 8px 0 0; color: #bacce6; font-size: 11px; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { padding: 8px 13px; color: #dce9fb; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; font-size: 12px; }
.copyright { padding: 12px 20px; color: #b7d6e8; background: var(--blue-950); text-align: center; font-size: 10px; }
.mobile-cta { display: none; }

dialog { width: min(1120px, calc(100% - 26px)); max-height: 92vh; padding: 0; overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 35px 100px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(2,13,35,.76); backdrop-filter: blur(6px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px; background: white; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; color: var(--blue-950); font-size: 13px; }
.dialog-head button { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; color: var(--blue-950); background: var(--surface); border: 0; border-radius: 50%; cursor: pointer; font-size: 24px; }
dialog > img { width: 100%; max-height: calc(92vh - 60px); object-fit: contain; background: #eef3f8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.program-card.reveal.visible:hover { transform: translateY(-5px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .brand img { width: 82px; height: 66px; }
  nav > a:not(.nav-cta) { display: none; }
  .hero { padding-top: 46px; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 30px; }
  h1 { font-size: 48px; }
  .stage-body { grid-template-columns: .7fr 1.3fr; gap: 12px; padding-inline: 16px; }
  .october-overview strong { font-size: 82px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .benefit:nth-child(-n+2) { border-top: 0; }
  .benefit:nth-child(odd) { border-left: 1px solid var(--line); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-panel { grid-template-columns: 1fr; }
  .support-grid { gap: 28px; }
  .trust-band { grid-template-columns: 74px minmax(0,1fr) auto; padding-inline: 28px; }
  .seal-icon { width: 74px; height: 74px; }
  .accreditation-lockup { width: 230px; }
  .connect-payment { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 66px; }
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 70px; height: 58px; }
  nav { display: none; }
  .announcement-ticker { height: 29px; }
  .ticker-segment { font-size: 10px; line-height: 29px; }
  .hero { padding-top: 38px; }
  .hero-grid { display: flex; flex-direction: column; gap: 24px; min-height: auto; }
  .campaign-label { font-size: 11px; }
  h1 { margin-top: 10px; font-size: 39px; line-height: 1.3; letter-spacing: -1.4px; }
  .hero-lead { font-size: 16px; }
  .hero-info { width: 100%; align-items: flex-start; }
  .hero-info span { width: calc(100% - 17px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual { width: 100%; min-height: 390px; }
  .hero-stage { inset: 7px 0 33px; }
  .stage-topbar { height: 52px; padding: 0 17px; }
  .stage-body { grid-template-columns: 126px 1fr; gap: 10px; padding: 20px 15px 18px; }
  .october-overview { min-height: 220px; padding: 12px; }
  .october-overview strong { font-size: 84px; }
  .program-preview { padding: 10px; }
  .program-preview i { display: none; }
  .stage-footer { padding: 0 16px; }
  .accreditation-float { right: 10px; bottom: 2px; min-width: 236px; }
  .price-clarity { right: 14px; bottom: -15px; left: auto; }
  .benefits { grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 10px; border-radius: 20px 20px 0 0; }
  .benefit { padding: 10px; }
  .benefit:nth-child(odd) { border-left: 0; }
  .benefit b { font-size: 15px; }
  .programs { padding: 46px 0 60px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; }
  .program-note { align-items: flex-start; padding: 13px; }
  .program-note b { font-size: 12px; line-height: 1.7; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
  .filter { flex: 0 0 auto; }
  .program-grid { grid-template-columns: 1fr; }
  .card-content { padding: 22px; }
  .card-content h3 { min-height: auto; }
  .delivery { padding-bottom: 54px; }
  .delivery-panel { padding: 24px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-grid div { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
  .trust-band { grid-template-columns: 1fr; padding: 28px; text-align: center; }
  .seal-icon { margin-inline: auto; }
  .trust-band h2 { font-size: 26px; }
  .accreditation-lockup { width: min(100%, 320px); margin-inline: auto; justify-self: center; }
  .certificates-showcase { grid-template-columns: 1fr; gap: 26px; padding-top: 46px; }
  .certificates-copy h2 { font-size: 27px; }
  .certificate-gallery { grid-template-columns: 1fr; gap: 16px; }
  .support-grid { grid-template-columns: 1fr; padding: 48px 0; }
  .why-us li { grid-template-columns: 1fr; gap: 2px; }
  .steps { gap: 4px; padding: 12px 8px; }
  .steps > div { flex-direction: column; text-align: center; }
  .steps > b { font-size: 12px; }
  .final-cta { flex-direction: column; align-items: stretch; padding: 30px 24px; }
  .final-cta h2 { font-size: 27px; }
  .connect-payment { margin-top: 18px; }
  .social-card, .payment-card { padding: 23px; }
  .social-card h2, .payment-card h2 { font-size: 23px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .mobile-cta { position: fixed; z-index: 49; right: 12px; bottom: 10px; left: 12px; min-height: 48px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); border: 1px solid rgba(255,255,255,.32); border-radius: 14px; box-shadow: 0 14px 38px rgba(7,81,127,.3); font-size: 13px; font-weight: 900; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand img { width: 66px; height: 56px; }
  h1 { font-size: 35px; }
  .hero-info { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .hero-info i { display: none; }
  .stage-body { grid-template-columns: 112px minmax(0, 1fr); padding-inline: 11px; }
  .october-overview strong { font-size: 76px; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-top: 1px solid var(--line) !important; border-left: 0 !important; }
  .benefit:first-child { border-top: 0 !important; }
  .card-accreditation { max-width: calc(100% - 38px); }
  .program-registration-status { min-height: 82px; }
  .status-countdown { padding-inline: 9px; }
  .countdown-units { gap: 4px; }
  .countdown-units b { font-size: 16px; }
  .final-cta-button { width: 100%; }
  .social-pills { grid-template-columns: 1fr; }
  .social-pill:last-child:nth-child(odd) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
