/* ==========================================================================
   PSR Pinnaacle Classes — professional education theme
   Solid colours taken from the logo:
     blue  #2F7BC2   red  #D92F33   green  #A8CC3C
   Fonts: Montserrat (headings) + Open Sans (body)
   ========================================================================== */
:root {
  --blue: #2f7bc2;
  --blue-d: #1f5e9e;      /* deeper tone of the logo blue */
  --blue-l: #e8f1fa;
  --red: #d92f33;
  --red-d: #b82428;
  --red-l: #fdecec;
  --green: #a8cc3c;
  --green-d: #6f8f1c;
  --green-l: #f2f8e2;
  --text: #1d2939;
  --body: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --alt: #f4f7fb;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);
  --h: "Montserrat", system-ui, sans-serif;
  --b: "Open Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--body); font: 400 16px/1.7 var(--b); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--h); color: var(--text); margin: 0; line-height: 1.25; }
h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 16px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ic { width: 18px; height: 18px; flex: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--blue); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--radius); font: 600 15px/1 var(--h); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn .ic { width: 16px; height: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 30px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-d); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }
.btn--outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-l); }
.btn--outline-white { border-color: #fff; color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--blue); }
.link { display: inline-flex; align-items: center; gap: 6px; font: 600 14.5px var(--h); color: var(--blue); }
.link .ic { width: 16px; transition: transform .2s; }
.link:hover .ic { transform: translateX(3px); }

.kicker { display: inline-block; margin-bottom: 10px; font: 700 13px/1 var(--h); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.kicker--light { color: var(--green); }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-d); color: #fff; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .ic { width: 15px; height: 15px; color: var(--green); }
.topbar a:hover { text-decoration: underline; }
.topbar__badge { background: var(--red); padding: 3px 10px; border-radius: 4px; font: 600 12px/1.5 var(--h); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 2px 12px rgba(16,24,40,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.header__logo img { height: 50px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 2px; }
.mainnav > a, .mainnav__drop > a { display: inline-flex; align-items: center; gap: 4px; padding: 28px 13px; font: 600 14.5px/1 var(--h); color: var(--text); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.mainnav > a:hover, .mainnav__drop > a:hover, .mainnav a.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.mainnav__drop { position: relative; }
.mainnav__drop .ic { width: 14px; height: 14px; }
.dropdown { position: absolute; left: 0; top: 100%; width: 320px; padding: 8px 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.mainnav__drop:hover .dropdown, .mainnav__drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 18px; border-left: 3px solid transparent; }
.dropdown a:hover { background: var(--alt); border-left-color: var(--red); }
.dropdown strong { display: block; font: 600 14.5px/1.3 var(--h); color: var(--text); }
.dropdown span { font-size: 12.5px; color: var(--muted); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); align-items: center; justify-content: center; }
.header__burger .ic { width: 22px; height: 22px; }
.mainnav__mobile-cta { display: none !important; }

/* ---------- Home hero (solid blue) ---------- */
.hero2 { position: relative; background: var(--blue) url("../img/hero-students.jpg") center 30% / cover no-repeat; color: #fff; padding: 96px 0 140px; }
.hero2::before { content: ""; position: absolute; inset: 0; background: rgba(31, 94, 158, .74); }  /* solid logo-blue tint */
.hero2 > .container { position: relative; }
.hero2__card { background: #fff; color: var(--body); border-radius: var(--radius); border-top: 5px solid var(--red); padding: 30px; box-shadow: var(--shadow-lg); max-width: 420px; justify-self: end; width: 100%; }
.hero2__card-k { display: block; margin-bottom: 18px; font: 700 13px var(--h); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.hero2__nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; border: 1px solid var(--line); border-radius: 6px; }
.hero2__nums div { padding: 14px 8px; text-align: center; }
.hero2__nums div + div { border-left: 1px solid var(--line); }
.hero2__nums strong { display: block; font: 800 32px/1 var(--h); color: var(--blue); margin-bottom: 6px; }
.hero2__nums div:nth-child(2) strong { color: var(--green-d); }
.hero2__nums div:nth-child(3) strong { color: var(--red); }
.hero2__nums span { font: 600 12.5px var(--h); color: var(--muted); }
.hero2__card p { font-size: 14.5px; margin-bottom: 18px; }
.hero2__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero2__tag { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 4px; background: var(--green); color: var(--text); font: 700 13px/1.4 var(--h); }
.hero2 h1 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero2__text > p { font-size: 17px; color: rgba(255,255,255,.9); max-width: 560px; margin-bottom: 30px; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero2__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; font-weight: 600; }
.hero2__facts li { display: flex; align-items: center; gap: 8px; }
.hero2__facts .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--text); stroke-width: 3; }
.hero2__media { position: relative; }
.hero2__media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border: 8px solid #fff; border-radius: 6px; box-shadow: var(--shadow-lg); }
.hero2__badge { position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--red); color: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); }
.hero2__badge strong { font: 800 38px/1 var(--h); }
.hero2__badge span { font: 600 13px/1.35 var(--h); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--red); }
.stat { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.stat__ic .ic { width: 24px; height: 24px; }
.stat:nth-child(2) .stat__ic { background: var(--red); }
.stat:nth-child(3) .stat__ic { background: var(--green); color: var(--text); }
.stat:nth-child(4) .stat__ic { background: var(--blue-d); }
.stat strong { display: block; font: 800 30px/1 var(--h); color: var(--text); margin-bottom: 4px; }
.stat strong span { font: inherit; color: inherit; }
.stat div > span { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--alt); }
.section--blue { background: var(--blue); }
.heading { margin-bottom: 44px; }
.heading h2 { margin-bottom: 0; }
.heading p { color: var(--muted); font-size: 16.5px; margin: 12px 0 0; }
.heading--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.heading--center h2::after { content: ""; display: block; width: 60px; height: 3px; margin: 16px auto 0; background: var(--red); }
.heading--light h2, .heading--light .kicker { color: #fff; }
.heading--light p { color: rgba(255,255,255,.88); }
.heading--light h2::after { background: var(--green); }
.heading--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.center-cta { text-align: center; margin: 40px 0 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }
.about__badge { position: absolute; right: -16px; bottom: -20px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: var(--blue); color: #fff; border-radius: var(--radius); border-left: 5px solid var(--green); }
.about__badge strong { font: 800 36px/1 var(--h); }
.about__badge span { font: 600 13px/1.3 var(--h); }
.about__text h2 { margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 600; }
.checklist .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; margin-top: 2px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs button { height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: 600 14px var(--h); color: var(--body); transition: .2s; }
.tabs button:hover { border-color: var(--blue); color: var(--blue); }
.tabs button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
[data-stream].is-hidden { display: none !important; }

/* ---------- Course cards ---------- */
.course-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.course-grid > .ccard { flex: 0 0 calc((100% - 48px) / 3); }
.ccard { --c: var(--blue); display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.ccard--red { --c: var(--red); } .ccard--green { --c: var(--green-d); }
.ccard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ccard__tag { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 4px; background: var(--alt); color: var(--c); font: 700 12px/1.4 var(--h); }
.ccard h3 { font-size: 20px; margin-bottom: 10px; }
.ccard > p { font-size: 14.5px; margin-bottom: 18px; }
.ccard__meta { list-style: none; padding: 16px 0 0; margin: auto 0 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.ccard__meta li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.ccard__meta .ic { color: var(--c); margin-top: 2px; }
.ccard__meta b, .cdetail__facts b { display: block; font: 600 11.5px var(--h); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ccard__meta span { color: var(--text); font-weight: 600; }
.ccard__foot { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature__ic { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.feature__ic .ic { width: 26px; height: 26px; }
.feature:nth-child(3n+2) .feature__ic { background: var(--red); }
.feature:nth-child(3n) .feature__ic { background: var(--green); color: var(--text); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }
.section--blue .feature { border: 0; }
.feature--accent { background: var(--blue); border-color: var(--blue); }
.feature--accent h3 { color: #fff; } .feature--accent p { color: rgba(255,255,255,.88); }
.feature--accent .feature__ic { background: #fff !important; color: var(--blue) !important; }

/* ---------- Process (tests) ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 42px; height: 2px; background: var(--line); }
.process__step { position: relative; text-align: center; padding: 0 8px; }
.process__n { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 20px var(--h); border: 6px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.process__step:nth-child(2) .process__n { background: var(--green); color: var(--text); }
.process__step:nth-child(3) .process__n { background: var(--blue-d); }
.process__step:nth-child(4) .process__n { background: var(--red); }
.section--alt .process__n { border-color: var(--alt); }
.process__step h3 { margin-bottom: 6px; }
.process__step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Results (home) ---------- */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.results__text h2 { margin-bottom: 14px; }
.toptable { width: 100%; margin: 8px 0 26px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.toptable th { background: var(--blue); color: #fff; text-align: left; padding: 10px 16px; font: 600 13.5px var(--h); }
.toptable td { padding: 9px 16px; border-top: 1px solid var(--line); color: var(--text); }
.toptable td:first-child { font-weight: 600; }
.toptable td:last-child { color: var(--blue); font-weight: 600; }
.results__img img { width: 100%; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { margin: 0; display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-bottom: 4px solid var(--blue); }
.testi__q { color: var(--red); }
.testi__q .ic { width: 34px; height: 34px; }
.testi blockquote { margin: 12px 0 22px; font-size: 15.5px; color: var(--text); flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.testi figcaption strong { display: block; font: 700 15px var(--h); color: var(--text); }
.testi figcaption small { color: var(--blue); font-weight: 600; font-size: 13px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 17px var(--h); flex: none; }
.avatar--lg { width: 72px; height: 72px; font-size: 26px; margin-bottom: 12px; }
.testi-list { display: grid; gap: 24px; }
.testi--wide { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.testi--wide blockquote { flex: none; font-size: 17px; margin: 8px 0 12px; font-weight: 600; }
.testi--wide p { margin: 0; font-size: 15px; }
.testi__side { display: flex; flex-direction: column; align-items: flex-start; padding-right: 24px; border-right: 1px solid var(--line); }
.testi__side strong { font: 700 17px var(--h); color: var(--text); }
.testi__side small { color: var(--muted); margin-bottom: 12px; }
.note-card { display: flex; gap: 20px; align-items: center; margin-top: 24px; padding: 24px 28px; border-radius: var(--radius); background: var(--green-l); border-left: 5px solid var(--green); }
.note-card p { margin: 0; color: var(--text); }
.note-card .feature__ic { margin: 0; }
.chip--iit, .chip--nit, .chip--iiit, .chip--other { display: inline-block; padding: 3px 10px; border-radius: 4px; font: 700 11.5px/1.5 var(--h); }
.chip--iit { background: var(--red-l); color: var(--red); }
.chip--nit { background: var(--blue-l); color: var(--blue); }
.chip--iiit { background: var(--green-l); color: var(--green-d); }
.chip--other { background: var(--alt); color: var(--body); }

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gal-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gal { display: block; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; text-align: left; cursor: pointer; transition: box-shadow .25s; }
.gal:hover { box-shadow: var(--shadow-lg); }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gal span { display: block; padding: 12px 14px; font-size: 13px; color: var(--muted); border-top: 3px solid var(--blue); }
.gal strong { display: block; font: 700 14.5px var(--h); color: var(--text); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(16,24,40,.9); display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; }

/* ---------- Home enquiry ---------- */
.enq { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.enq__info { padding: 44px; background: var(--blue); color: rgba(255,255,255,.9); }
.enq__info h2 { color: #fff; margin-bottom: 12px; }
.enq__info > p { margin-bottom: 26px; }
.enq__centre { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.2); }
.enq__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--red); flex: none; }
.enq__ic .ic { width: 20px; height: 20px; }
.enq__centre { align-items: center; }
.enq__centre strong { display: block; font: 700 15px var(--h); color: #fff; }
.enq__centre div > span { display: block; font-size: 14px; }
.enq__centre a { font: 700 14.5px var(--h); color: #fff; }
.enq__form { padding: 44px; background: #fff; }
.qform { display: grid; gap: 14px; }
.qform h3 { font-size: 22px; }
.qform__sub { color: var(--muted); font-size: 14.5px; margin: -8px 0 6px; }
.qform__note { text-align: center; font-size: 14px; margin: 0; color: var(--muted); }
.qform__note a { color: var(--blue); font-weight: 600; }
.qform__ok { text-align: center; padding: 30px 0; }
.qform__ok-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--text); margin-bottom: 16px; }
.qform__ok-ic .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.qform__ok h3 { font-size: 22px; }
.qform__ok p { margin: 10px 0 20px; }
.qform__ok a:not(.btn) { color: var(--blue); font-weight: 600; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > span { font: 600 13.5px var(--h); color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; color: var(--text); font: 400 15px var(--b); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23667085' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; padding-right: 36px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,123,194,.15); }
.field .err { font-size: 12.5px; font-weight: 600; color: var(--red); font-style: normal; }
.field:has(.err) input, .field:has(.err) select, .field:has(.err) textarea { border-color: var(--red); }
.form__alert { margin: 0; padding: 12px 14px; border-radius: 6px; background: var(--red-l); color: var(--red-d); font-weight: 600; font-size: 14px; }
.card-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form { display: grid; gap: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form legend { grid-column: 1 / -1; width: 100%; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--blue); font: 700 17px var(--h); color: var(--text); }
.form .btn { justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #d0d5dd; border-radius: 6px; font: 600 14px/1 var(--h); color: var(--body); cursor: pointer; transition: .2s; }
.chip > span:hover { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Centres ---------- */
.centre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.centre { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); }
.centre:nth-child(2) { border-top-color: var(--red); } .centre:nth-child(3) { border-top-color: var(--green); }
.centre h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 12px; }
.centre h3 .ic { width: 22px; height: 22px; color: var(--red); }
.centre p { font-size: 15px; }
.centre__phones { display: grid; gap: 6px; margin-bottom: 18px; }
.centre__phones a { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--h); color: var(--text); }
.centre__phones a:hover { color: var(--blue); }
.centre__phones .ic { width: 15px; color: var(--blue); }
.centre .link { margin-top: auto; }

/* ---------- Partners ---------- */
.partners { background: var(--alt); border-top: 1px solid var(--line); padding: 26px 0; }
.partners__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.partners__inner > span { font: 700 13px var(--h); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.partners ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.partners a { font: 600 15px var(--h); color: var(--text); }
.partners a:hover { color: var(--blue); }

/* ---------- CTA band (solid red) ---------- */
.cta { background: var(--red); color: #fff; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.cta__kicker { font: 700 13px var(--h); text-transform: uppercase; letter-spacing: .08em; color: #fff; opacity: .85; }
.cta h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin: 8px 0 10px; max-width: 640px; }
.cta p { margin: 0; color: rgba(255,255,255,.9); max-width: 620px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta .btn--white { color: var(--red); }
.cta .btn--outline-white:hover { color: var(--red); }

/* ---------- Footer (solid deep blue) ---------- */
.footer { background: var(--blue-d); color: rgba(255,255,255,.82); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1.3fr; gap: 44px; padding-top: 64px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--green); display: inline-block; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 6px; margin-bottom: 18px; }
.footer__logo img { height: 40px; width: auto; }
.footer__about p { margin-bottom: 18px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social a { padding: 6px 12px; background: rgba(255,255,255,.12); border-radius: 4px; font-size: 13px; font-weight: 600; color: #fff; }
.footer__social a:hover { background: var(--red); text-decoration: none; }
.footer__centre { display: grid; gap: 2px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.5; }
.footer__centre strong { color: #fff; font: 600 14px var(--h); }
.footer__centre a { color: #fff; font-weight: 700; }
.footer__bar { background: #184d84; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: 13px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.to-top { position: fixed; right: 30px; bottom: 88px; z-index: 80; width: 40px; height: 40px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.is-on { opacity: 1; visibility: visible; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.banner { position: relative; background-color: var(--blue); background-position: center 35%; background-size: cover; background-repeat: no-repeat; color: #fff; border-bottom: 5px solid var(--red); }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(31, 94, 158, .78); }  /* solid logo-blue tint */
.banner > .container { position: relative; }
.banner__inner { padding-top: 96px; padding-bottom: 96px; }
.banner h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 10px; }
.banner p { max-width: 680px; margin: 0; color: rgba(255,255,255,.9); font-size: 17px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 12px; font: 600 13.5px var(--h); color: var(--green); }
.crumbs a { color: #fff; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: rgba(255,255,255,.6); }

.mv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mv { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.mv:nth-child(2) { border-top-color: var(--red); } .mv:nth-child(3) { border-top-color: var(--green); } .mv:nth-child(4) { border-top-color: var(--blue-d); }
.mv h3 { margin-bottom: 10px; }
.mv p { margin: 0; font-size: 15px; }
.faculty { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.faculty h2 { margin-bottom: 16px; }
.faculty__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.faculty__list li { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); }
.faculty__list .ic { width: 26px; height: 26px; color: var(--blue); }
.faculty__list strong { display: block; font: 700 16px var(--h); color: var(--text); margin-bottom: 2px; }
.faculty__list span { font-size: 15px; }
.motto { margin-top: 56px; padding: 40px; border-radius: var(--radius); background: var(--blue); text-align: center; }
.motto .ic { width: 38px; height: 38px; color: var(--green); margin: 0 auto 10px; }
.motto p { margin: 0 0 6px; font: 800 clamp(22px, 2.8vw, 32px)/1.2 var(--h); color: #fff; }
.motto span { font: 600 13px var(--h); text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.8); }

.courses-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.course-nav { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.course-nav h4 { padding: 14px 18px; background: var(--blue); color: #fff; font-size: 15px; }
.course-nav > a { display: block; padding: 11px 18px; font: 600 14.5px var(--h); color: var(--body); border-bottom: 1px solid var(--line); border-left: 3px solid transparent; transition: .2s; }
.course-nav > a:hover, .course-nav > a.is-current { background: var(--alt); color: var(--blue); border-left-color: var(--red); }
.course-nav__help { padding: 18px; background: var(--red); color: rgba(255,255,255,.9); display: grid; gap: 2px; font-size: 14px; }
.course-nav__help strong { color: #fff; font-family: var(--h); }
.course-nav__help a { color: #fff; font: 700 18px var(--h); margin-top: 6px; }
.course-detail-list { display: grid; gap: 24px; }
.cdetail { --c: var(--blue); padding: 32px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: var(--radius); scroll-margin-top: 100px; }
.cdetail--red { --c: var(--red); } .cdetail--green { --c: var(--green-d); }
.cdetail h2 { font-size: 25px; margin-bottom: 12px; }
.cdetail .ccard__tag { color: var(--c); }
.cdetail__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 24px; padding: 18px; border-radius: 6px; background: var(--alt); }
.cdetail__facts > div { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--text); font-weight: 600; }
.cdetail__facts .ic { color: var(--c); margin-top: 2px; }
.cdetail__foot { display: flex; gap: 12px; flex-wrap: wrap; }
.guide-table, .sel-table { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; padding: 14px 18px; background: var(--blue); color: #fff; font: 600 14px var(--h); }
td { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--text); }
tbody tr:nth-child(even) td { background: var(--alt); }
td a { color: var(--blue); font-weight: 600; }

.sum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.sum { padding: 24px; text-align: center; border-radius: var(--radius); background: var(--blue); color: #fff; }
.sum:nth-child(2) { background: var(--red); } .sum:nth-child(3) { background: var(--green); color: var(--text); } .sum:nth-child(4) { background: var(--blue-d); }
.sum strong { display: block; font: 800 42px/1 var(--h); margin-bottom: 8px; }
.sum span { font: 600 14px var(--h); }
.sel-table td:first-child { color: var(--muted); width: 60px; }
.sel-table td:nth-child(2) { font-weight: 600; }
.lookup { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: end; padding: 36px; border-radius: var(--radius); background: var(--blue-l); border-left: 5px solid var(--blue); }
.lookup h2 { margin-bottom: 8px; }
.lookup p { margin: 0; }
.lookup__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.lookup__msg { grid-column: 1 / -1; padding: 12px 16px; background: #fff; border-radius: 6px; }
.lookup__msg a { color: var(--blue); font-weight: 600; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-layout--adm { grid-template-columns: .8fr 1.6fr; }
.contact-info h2 { margin-bottom: 14px; }
.info-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.info-list li { display: flex; align-items: center; gap: 14px; }
.info-list .feature__ic { margin: 0; width: 46px; height: 46px; }
.info-list small { display: block; color: var(--muted); font-size: 13px; }
.info-list a { font: 700 16px var(--h); color: var(--text); word-break: break-word; }
.info-list a:hover { color: var(--blue); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 14px var(--h); }
.steps b { color: var(--text); }
.steps a { color: var(--blue); font-weight: 600; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .header__burger { display: inline-flex; }
  .mainnav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 0; padding: 80px 20px 30px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .35s ease; }
  .menu-open .mainnav { transform: none; box-shadow: 0 0 0 100vmax rgba(16,24,40,.5); }
  .menu-open .header { z-index: 200; }
  .menu-open { overflow: hidden; }
  .mainnav > a, .mainnav__drop > a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .mainnav > a:hover, .mainnav a.is-active { border-bottom-color: var(--line); }
  .mainnav__drop > a { width: 100%; justify-content: space-between; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px; display: none; }
  .mainnav__drop.is-open .dropdown { display: block; }
  .mainnav__mobile-cta { display: inline-flex !important; margin-top: 20px; color: #fff !important; height: 50px; border-bottom: 0 !important; }
  .header__burger.is-close { position: relative; z-index: 130; }
  .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid > .ccard { flex-basis: calc((100% - 24px) / 2); }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) { .topbar__left .hide-md, .topbar__right a { display: none !important; } }
@media (max-width: 900px) {
  .hide-md { display: none !important; }
  .hero2 { padding: 56px 0 110px; }
  .hero2__card { justify-self: stretch; max-width: none; }
  .hero2__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero2__badge { left: 12px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .results, .faculty, .contact-layout, .contact-layout--adm, .courses-layout, .lookup, .enq { grid-template-columns: 1fr; gap: 40px; }
  .enq { gap: 0; }
  .about__badge { right: 12px; }
  .course-nav { position: static; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .process::before { display: none; }
  .sum-grid { grid-template-columns: 1fr 1fr; }
  .testi--wide { grid-template-columns: 1fr; gap: 18px; }
  .testi__side { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cdetail__facts { grid-template-columns: 1fr; }
  .lookup__form { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .container { padding: 0 16px; }
  .topbar__badge { font-size: 11px; }
  .header__inner { height: 68px; }
  .header__logo img { height: 38px; }
  .header__actions .btn { display: none; }
  .hero2__actions .btn { width: 100%; }
  .course-grid > .ccard { flex-basis: 100%; }
  .stats__grid, .feature-grid, .testi-grid, .mv-grid, .centre-grid, .gal-grid, .gal-grid--3, .footer__grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .form fieldset, .form-grid, .field-row { grid-template-columns: 1fr; }
  .enq__info, .enq__form { padding: 28px 22px; }
  .cdetail { padding: 22px; }
  .lookup { padding: 22px; }
  .motto { padding: 28px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Home hero v3 — split panel + photo (solid logo colours)
   ========================================================================== */
.hero3 { position: relative; overflow: hidden; background: var(--blue-d); color: #fff; padding: 84px 0 0; min-height: 640px; }
.hero3__photo { position: absolute; inset: 0 0 0 38%; overflow: hidden; }
.hero3__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero3__photo::after { content: ""; position: absolute; inset: 0; background: rgba(31, 94, 158, .35); }
.hero3__panel { position: absolute; inset: 0 auto 0 0; width: 62%; background: var(--blue); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.hero3__panel::after { content: ""; position: absolute; inset: 0; background: var(--green); clip-path: polygon(99.2% 0, 100% 0, 78.8% 100%, 78% 100%); }
.hero3__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-bottom: 72px; }
.hero3__tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 10px; border-radius: 4px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font: 600 13.5px/1.3 var(--h); }
.hero3__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(168,204,60,.7); animation: h3pulse 2s infinite; }
@keyframes h3pulse { 70% { box-shadow: 0 0 0 9px rgba(168,204,60,0); } 100% { box-shadow: 0 0 0 0 rgba(168,204,60,0); } }
.hero3 h1 { color: #fff; font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; max-width: 620px; }
.hero3 .hl { color: #fff; position: relative; white-space: nowrap; z-index: 0; }
.hero3 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .32em; background: var(--red); z-index: -1; transform-origin: left; transform: scaleX(var(--hl, 1)); }
.hero3 .hl--g::after { background: var(--green); }
.hero3__text > p { max-width: 540px; font-size: 17.5px; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.hero3__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero3__trust { display: flex; gap: 0; }
.hero3__trust div { display: flex; align-items: center; gap: 10px; padding: 0 26px; border-left: 1px solid rgba(255,255,255,.3); }
.hero3__trust div:first-child { padding-left: 0; border-left: 0; }
.hero3__trust strong { font: 800 34px/1 var(--h); color: #fff; }
.hero3__trust span { font: 600 12.5px/1.3 var(--h); color: rgba(255,255,255,.85); }

.hero3__card { justify-self: end; width: 100%; max-width: 380px; background: #fff; color: var(--body); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0,0,0,.45); }
.hero3__card-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--red); color: #fff; }
.hero3__card-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--red); flex: none; }
.hero3__card-ic .ic { width: 22px; height: 22px; }
.hero3__card-head strong { display: block; font: 700 16px var(--h); color: #fff; }
.hero3__card-head small { font-size: 12.5px; opacity: .9; }
.hero3__list { list-style: none; margin: 0; padding: 8px 20px; }
.hero3__list li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hero3__list li:last-child { border-bottom: 0; }
.hero3__av { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 14px var(--h); }
.hero3__list li:nth-child(2) .hero3__av { background: var(--green); color: var(--text); }
.hero3__list li:nth-child(3) .hero3__av { background: var(--red); }
.hero3__list li:nth-child(4) .hero3__av { background: var(--blue-d); }
.hero3__list b { font: 700 14.5px/1.3 var(--h); color: var(--text); }
.hero3__list em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue); }
.hero3__more { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; background: var(--alt); border-top: 1px solid var(--line); font: 700 14px var(--h); color: var(--blue); transition: background .2s, color .2s; }
.hero3__more:hover { background: var(--blue); color: #fff; }

.hero3__finder { position: relative; z-index: 2; display: grid; grid-template-columns: auto repeat(5, 1fr); background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 30px -10px rgba(0,0,0,.25); overflow: hidden; }
.hero3__finder-k { display: flex; align-items: center; padding: 0 24px; background: var(--green); color: var(--text); font: 800 14px/1.2 var(--h); max-width: 140px; }
.hero3__finder a { display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; border-left: 1px solid var(--line); font: 700 15px var(--h); color: var(--text); position: relative; transition: background .2s, color .2s; }
.hero3__finder a small { font: 600 12px var(--b); color: var(--muted); margin-bottom: 2px; }
.hero3__finder a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.hero3__finder a:hover { background: var(--alt); color: var(--blue); }
.hero3__finder a:hover::after { transform: scaleX(1); }

@media (max-width: 1000px) {
  .hero3 { padding-top: 56px; }
  .hero3__photo { inset: 0; }
  .hero3__photo::after { background: rgba(31, 94, 158, .82); }
  .hero3__panel { display: none; }
  .hero3__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .hero3__card { justify-self: stretch; max-width: none; }
  .hero3__finder { grid-template-columns: repeat(2, 1fr); border-radius: 10px 10px 0 0; }
  .hero3__finder-k { grid-column: 1 / -1; max-width: none; padding: 12px 20px; }
  .hero3__finder a { border-top: 1px solid var(--line); }
  .hero3__finder a:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero3__actions .btn { width: 100%; }
  .hero3__trust div { padding: 0 14px; }
  .hero3__trust strong { font-size: 28px; }
  .hero3__trust span { font-size: 11.5px; }
}

/* ==========================================================================
   Why Choose (v2) — sticky intro + animated cards
   ========================================================================== */
.why { background: var(--blue); padding: 96px 0 128px; overflow: clip; }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why__sticky { position: sticky; top: 110px; }
.why h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.18; margin-bottom: 16px; }
.why h2::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 18px; background: var(--green); }
.why__intro p { color: rgba(255,255,255,.9); font-size: 16.5px; margin-bottom: 28px; max-width: 460px; }
.why__photo { position: relative; margin-bottom: 30px; border-radius: 10px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px -20px rgba(0,0,0,.4); }
.why__photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.why__badge { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--red); color: #fff; border-top-right-radius: 10px; }
.why__badge strong { font: 800 34px/1 var(--h); }
.why__badge span { font: 600 12.5px/1.3 var(--h); }

.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wcard { --c: var(--blue); position: relative; display: flex; flex-direction: column; padding: 30px 26px 32px; background: #fff; border-radius: 10px; overflow: hidden; isolation: isolate; transition: box-shadow .35s, translate .35s cubic-bezier(.22,1,.36,1); }
.wcard--1 { --c: var(--red); } .wcard--2 { --c: var(--green-d); }
.wcard:nth-child(even) { margin-top: 32px; margin-bottom: -32px; }
.wcard:hover { translate: 0 -6px; box-shadow: 0 26px 50px -20px rgba(0,0,0,.45); }
.wcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: translateY(101%); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.wcard:hover::before { transform: translateY(0); }
.wcard__num { position: absolute; top: 14px; right: 20px; font: 800 54px/1 var(--h); color: var(--alt); transition: color .35s; z-index: -1; }
.wcard__ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--c); color: #fff; transition: background .35s, color .35s; }
.wcard--2 .wcard__ic { background: var(--green); color: var(--text); }
.wcard__ic .ic { width: 28px; height: 28px; }
.wcard__ring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); transform: rotate(-90deg); }
.wcard__ring circle { fill: none; stroke: var(--c); stroke-width: 2; stroke-dasharray: 189; stroke-dashoffset: 189; transition: stroke-dashoffset .8s ease, stroke .35s; }
.wcard--2 .wcard__ring circle { stroke: var(--green); }
.wcard h3 { font-size: 18.5px; margin-bottom: 10px; transition: color .35s; }
.wcard p { margin: 0; font-size: 14.5px; transition: color .35s; }
.wcard__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c); transform-origin: left; }
.wcard--2 .wcard__bar { background: var(--green); }
/* hover: card fills with its colour */
.wcard:hover .wcard__ic { background: #fff; color: var(--c); }
.wcard:hover .wcard__ic .ic { transform: rotate(-8deg) scale(1.08); }
.wcard__ic .ic { transition: transform .4s; }
.wcard:hover .wcard__ring circle { stroke-dashoffset: 0; stroke: #fff; }
.wcard:hover h3, .wcard:hover p { color: #fff; }
.wcard--2:hover h3, .wcard--2:hover p { color: var(--text); }
.wcard--2::before { background: var(--green); }
.wcard--2:hover .wcard__ic { color: var(--green-d); }
.wcard--2:hover .wcard__ring circle { stroke: var(--text); }
.wcard:hover .wcard__num { color: rgba(255,255,255,.18); }
.wcard--2:hover .wcard__num { color: rgba(29,41,57,.12); }

@media (max-width: 1000px) {
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__sticky { position: static; }
}
@media (max-width: 640px) {
  .why { padding: 64px 0; }
  .why__cards { grid-template-columns: 1fr; }
  .wcard:nth-child(even) { margin: 0; }
}

/* ==========================================================================
   Testimonials slider — photo + black overlay
   ========================================================================== */
.tsl { position: relative; overflow: hidden; padding: 110px 0; color: #fff; background: #111; }
.tsl__bg { position: absolute; inset: -10% 0; }
.tsl__bg img { width: 100%; height: 100%; object-fit: cover; }
.tsl::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .74); }
.tsl__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.tsl h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.tsl h2::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 18px; background: var(--red); }
.tsl__intro p { color: rgba(255,255,255,.82); font-size: 16.5px; max-width: 400px; margin-bottom: 34px; }
.tsl__controls { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.tsl__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; transition: background .25s, border-color .25s, color .25s; }
.tsl__btn:hover { background: #fff; border-color: #fff; color: var(--text); }
.tsl__count { font: 600 15px var(--h); color: rgba(255,255,255,.6); letter-spacing: .06em; }
.tsl__count b { color: #fff; font-size: 22px; }

.tsl__stage { position: relative; display: grid; }
.tslide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; padding: 40px 42px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; }
.tslide.is-active { opacity: 1; visibility: visible; }
.tslide__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tslide__q { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; }
.tslide__q .ic { width: 26px; height: 26px; }
.tslide__chip { padding: 5px 12px; border-radius: 4px; background: var(--green); color: var(--text); font: 700 12px var(--h); letter-spacing: .06em; }
.tslide blockquote { margin: 0 0 28px; flex: 1; font: 600 clamp(19px, 1.8vw, 24px)/1.5 var(--h); color: #fff; }
.tslide figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.tslide__av { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 19px var(--h); flex: none; }
.tslide figcaption strong { display: block; font: 700 17px var(--h); color: #fff; }
.tslide figcaption small { color: var(--green); font-weight: 600; font-size: 14px; }

.tsl__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.tthumb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 14px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.04); color: #fff; overflow: hidden; transition: background .25s, border-color .25s; }
.tthumb:hover { background: rgba(255,255,255,.1); }
.tthumb.is-active { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.tthumb__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.15); font: 700 14px var(--h); flex: none; transition: background .25s; }
.tthumb.is-active .tthumb__av { background: var(--red); }
.tthumb__txt { min-width: 0; }
.tthumb__txt b { display: block; font: 700 12.5px/1.3 var(--h); white-space: nowrap; }
.tthumb__txt small { display: block; font-size: 11px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tthumb__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.tthumb__bar i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

@media (max-width: 1000px) {
  .tsl { padding: 72px 0; }
  .tsl__grid { grid-template-columns: 1fr; gap: 36px; }
  .tsl__thumbs { grid-template-columns: repeat(5, 1fr); }
  .tthumb { justify-content: center; padding: 10px 6px; }
  .tthumb__txt { display: none; }
}
@media (max-width: 640px) {
  .tslide { padding: 26px 22px; }
}

/* ==========================================================================
   Hall of Fame — featured poster grid on solid deep blue
   ========================================================================== */
.hof { background: var(--blue-d); padding: 96px 0; color: #fff; }
.hof__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.hof h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.hof h2::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 16px; background: var(--red); }
.hof__head-r { max-width: 420px; }
.hof__head-r p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.hof__head-r .btn--white { color: var(--blue-d); }

.hof__rows { display: grid; gap: 22px; }
.hof__row { display: flex; gap: 22px; }
.hcard { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; text-align: left; box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.hcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.hcard__img { display: block; width: 100%; overflow: hidden; background: #fff; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.hcard:hover .hcard__img img { transform: scale(1.04); }
.hcard__cap { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 4px solid var(--red); background: #fff; }
.hcard__year { flex: none; padding: 6px 12px; border-radius: 4px; background: var(--red); color: #fff; font: 800 15px var(--h); }
.hcard__txt { flex: 1; min-width: 0; }
.hcard__txt strong { display: block; font: 700 16.5px/1.3 var(--h); color: var(--text); }
.hcard__txt small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.hcard__zoom { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--alt); color: var(--blue); transition: background .25s, color .25s; }
.hcard:hover .hcard__zoom { background: var(--blue); color: #fff; }

@media (max-width: 900px) {
  .hof { padding: 72px 0; }
}
@media (max-width: 640px) {
  .hof__row { flex-direction: column; }
  .hcard { flex: none !important; }
}


/* ==========================================================================
   Four Levels of Testing — pinned timeline (desktop)
   ========================================================================== */
.tests { background: #fff; }
.tests__pin { padding: 88px 0; min-height: 100vh; display: flex; align-items: center; }
.tests__pin > .container { width: 100%; }
.tests__head { margin-bottom: 48px; }

.tline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 40px; }
.tline__track { position: absolute; left: 12.5%; right: 12.5%; top: 38px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tline__fill { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.tnode { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.tnode__dot { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: var(--muted); font: 800 19px var(--h); transition: background .4s, border-color .4s, color .4s, transform .4s, box-shadow .4s; }
.tnode__lbl { font: 700 15px var(--h); color: var(--muted); transition: color .4s; }
.tnode.is-done .tnode__dot { border-color: var(--blue); color: var(--blue); }
.tnode.is-on .tnode__dot { transform: scale(1.15); color: #fff; box-shadow: 0 0 0 8px rgba(47,123,194,.14); }
.tnode.is-on .tnode__lbl { color: var(--text); }
.tnode--blue.is-on .tnode__dot { background: var(--blue); border-color: var(--blue); }
.tnode--green.is-on .tnode__dot { background: var(--green); border-color: var(--green); color: var(--text); box-shadow: 0 0 0 8px rgba(168,204,60,.2); }
.tnode--navy.is-on .tnode__dot { background: var(--blue-d); border-color: var(--blue-d); }
.tnode--red.is-on .tnode__dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 8px rgba(217,47,51,.15); }

.tpanels { display: grid; max-width: 920px; margin: 0 auto; }
.tpanel { --c: var(--blue); --fg: #fff; grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: 200px 1fr auto; gap: 36px; align-items: center; padding: 36px 40px; border-radius: 14px; background: var(--alt); border-left: 6px solid var(--c); overflow: hidden; opacity: 0; visibility: hidden; }
.tpanel.is-on { opacity: 1; visibility: visible; }
.tpanel--green { --c: var(--green); --fg: var(--text); } .tpanel--navy { --c: var(--blue-d); } .tpanel--red { --c: var(--red); }
.tpanel__code { display: grid; place-items: center; align-content: center; height: 150px; border-radius: 12px; background: var(--c); color: var(--fg); text-align: center; }
.tpanel__code span { font: 700 12px var(--h); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tpanel__code b { font: 800 52px/1.05 var(--h); letter-spacing: -.02em; }
.tpanel__body h3 { font-size: 26px; margin-bottom: 10px; }
.tpanel__body p { font-size: 16.5px; margin-bottom: 18px; }
.tpanel__when { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 13.5px var(--h); color: var(--text); }
.tpanel__when .ic { color: var(--c); }
.tpanel--green .tpanel__when .ic { color: var(--green-d); }
.tpanel__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--c); align-self: start; box-shadow: var(--shadow); }
.tpanel--green .tpanel__ic { color: var(--green-d); }
.tpanel__ic .ic { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .tests__pin { min-height: 0; padding: 64px 0; }
  .tline { display: none; }
  .tpanels { gap: 16px; }
  .tpanel { grid-area: auto; opacity: 1; visibility: visible; grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .tpanel__code { height: auto; padding: 18px; }
  .tpanel__code b { font-size: 40px; }
  .tpanel__ic { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tpanel { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 16px; }
}

/* Social icon buttons */
.footer__social { gap: 10px; }
.footer__social a.soc { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: background .25s, transform .25s; }
.footer__social a.soc:hover { transform: translateY(-3px); text-decoration: none; }
.footer__social .soc--instagram:hover { background: #e1306c; }
.footer__social .soc--youtube:hover { background: #ff0000; }
.footer__social .soc--facebook:hover { background: #1877f2; }
.footer__social .soc--x:hover { background: #000; }
.topbar__soc .sic { width: 15px; height: 15px; }
.topbar__soc:hover { opacity: .8; text-decoration: none !important; }
.topbar__right { gap: 16px; }

/* ==========================================================================
   Testimonials page
   ========================================================================== */
.tp-facts { position: relative; z-index: 2; margin-top: -44px; }
.tp-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--red); }
.tp-facts__grid > div { padding: 24px 22px; text-align: center; }
.tp-facts__grid > div + div { border-left: 1px solid var(--line); }
.tp-facts strong { display: block; font: 800 34px/1 var(--h); color: var(--blue); margin-bottom: 6px; }
.tp-facts__grid > div:nth-child(2) strong { color: var(--red); }
.tp-facts__grid > div:nth-child(3) strong { color: var(--green-d); }
.tp-facts__grid > div:nth-child(4) strong { color: var(--blue-d); }
.tp-facts span { font: 600 13.5px var(--h); color: var(--muted); }

.tp-chip { display: inline-block; padding: 4px 12px; border-radius: 4px; font: 700 12px var(--h); letter-spacing: .06em; }
.tp-chip--jee { background: var(--blue-l); color: var(--blue); }
.tp-chip--neet { background: var(--green-l); color: var(--green-d); }

.tp-feature { display: grid; grid-template-columns: 300px 1fr; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.tp-feature__side { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 40px 28px; background: var(--blue); color: #fff; }
.tp-feature__label { margin-bottom: 14px; padding: 5px 12px; border-radius: 4px; background: var(--green); color: var(--text); font: 700 12px var(--h); letter-spacing: .06em; text-transform: uppercase; }
.tp-feature__av { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--blue); font: 800 38px var(--h); box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.tp-feature__side strong { font: 800 22px var(--h); }
.tp-feature__side small { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.tp-feature__side .tp-chip { background: rgba(255,255,255,.15); color: #fff; }
.tp-feature__main { position: relative; padding: 48px 52px; background: #fff; }
.tp-feature__q { position: absolute; top: 30px; right: 40px; color: var(--red); opacity: .15; }
.tp-feature__q .ic { width: 90px; height: 90px; }
.tp-feature blockquote { margin: 0 0 22px; font: 700 clamp(22px, 2.3vw, 30px)/1.4 var(--h); color: var(--text); }
.tp-feature blockquote .w { display: inline-block; }
.tp-feature__main p { margin: 0; font-size: 16.5px; padding-left: 18px; border-left: 3px solid var(--red); }

.tp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.tp-head h2 { margin-top: 2px; }
.tp-tabs { margin: 0; justify-content: flex-end; }

.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.tp-card { --c: var(--blue); position: relative; display: flex; flex-direction: column; margin: 0; padding: 30px; background: #fff; border-radius: 12px; border: 1px solid var(--line); border-top: 5px solid var(--c); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.tp-card--neet { --c: var(--green); }
.tp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tp-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tp-card__q { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; }
.tp-card__q .ic { width: 22px; height: 22px; }
.tp-card blockquote { margin: 0 0 14px; font: 600 17px/1.55 var(--h); color: var(--text); }
.tp-card__more p { margin: 0 0 14px; font-size: 15px; }
.tp-card__toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; padding: 0; border: 0; background: none; font: 700 14px var(--h); color: var(--blue); }
.tp-card__toggle .ic { width: 16px; height: 16px; transition: transform .3s; }
.tp-card__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.tp-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.tp-card__av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; font: 700 17px var(--h); flex: none; }
.tp-card--neet .tp-card__av { color: var(--text); }
.tp-card figcaption strong { display: block; font: 700 15.5px var(--h); color: var(--text); }
.tp-card figcaption small { font-size: 13px; font-weight: 600; color: var(--blue); }

.tp-card--note { --c: var(--red); align-items: flex-start; background: var(--red); border-color: var(--red); color: rgba(255,255,255,.9); }
.tp-note__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--red); margin-bottom: 18px; }
.tp-note__ic .ic { width: 26px; height: 26px; }
.tp-note__k { font: 700 13px var(--h); letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: .85; }
.tp-note__big { font: 800 64px/1 var(--h); color: #fff; margin: 6px 0 10px; }
.tp-card--note p { margin: 0 0 10px; }
.tp-card--note b { color: #fff; }
.tp-note__also { font-size: 14px; opacity: .9; }

.tp-video { position: relative; overflow: hidden; padding: 90px 0; color: #fff; background: #111; }
.tp-video__bg { position: absolute; inset: -12% 0; }
.tp-video__bg img { width: 100%; height: 100%; object-fit: cover; }
.tp-video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.72); }
.tp-video__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 36px; }
.tp-video__inner > div { flex: 1; }
.tp-video h2 { color: #fff; margin-bottom: 8px; }
.tp-video p { margin: 0; color: rgba(255,255,255,.85); }
.tp-play { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--red); color: #fff; flex: none; transition: transform .3s; }
.tp-play::before, .tp-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(217,47,51,.7); animation: tpRing 2.4s ease-out infinite; }
.tp-play::after { animation-delay: 1.2s; }
.tp-play:hover { transform: scale(1.08); }
.tp-play svg { margin-left: 4px; }
@keyframes tpRing { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

@media (max-width: 1000px) {
  .tp-grid { grid-template-columns: 1fr 1fr; }
  .tp-feature { grid-template-columns: 1fr; }
  .tp-video__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .tp-facts__grid { grid-template-columns: 1fr 1fr; }
  .tp-facts__grid > div:nth-child(3) { border-left: 0; }
  .tp-facts__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-feature__main { padding: 30px 24px; }
  .tp-feature__q .ic { width: 60px; height: 60px; }
  .tp-tabs { justify-content: flex-start; }
}

/* Hero panel texture: fine dot grid + faint maths/science symbols over the solid logo blue */
.hero3__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22420%22%20height%3D%22420%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%0A%3Cg%20transform%3D%22translate%2840%2050%29%22%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2222%22%20ry%3D%228%22/%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2222%22%20ry%3D%228%22%20transform%3D%22rotate%2860%2022%2022%29%22/%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2222%22%20ry%3D%228%22%20transform%3D%22rotate%28120%2022%2022%29%22/%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2222%22%20r%3D%222.5%22%20fill%3D%22%23fff%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28250%2040%29%22%3E%3Cpath%20d%3D%22M0%2030%20L10%2030%20L16%200%20L40%200%22/%3E%3Cpath%20d%3D%22M20%2010%20h14%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28320%20150%29%22%3E%3Cpath%20d%3D%22M0%200%20h28%20M6%200%20v26%20M22%200%20v26%20q0%206%206%204%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28150%20140%29%22%3E%3Cpath%20d%3D%22M0%2034%20L17%200%20L34%2034%20Z%22/%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2222%22%20r%3D%225%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%2860%20250%29%22%3E%3Cpath%20d%3D%22M0%200%20L22%200%20L6%2018%20L22%2036%20L0%2036%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28250%20270%29%22%3E%3Cpath%20d%3D%22M10%200%20v14%20L0%2040%20h30%20L20%2014%20V0%20M6%200%20h18%22/%3E%3Cpath%20d%3D%22M5%2030%20h20%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28170%20330%29%22%3E%3Cpath%20d%3D%22M0%2020%20q10%20-24%2020%200%20t20%200%20t20%200%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28350%20330%29%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2212%22/%3E%3Cpath%20d%3D%22M12%200%20v24%20M0%2012%20h24%22/%3E%3C/g%3E%0A%3C/g%3E%3Cg%20fill%3D%22%23fff%22%20font-family%3D%22Georgia%2Cserif%22%20font-style%3D%22italic%22%20font-size%3D%2222%22%20opacity%3D%22.9%22%3E%3Ctext%20x%3D%22110%22%20y%3D%2290%22%3EE%3Dmc%C2%B2%3C/text%3E%3Ctext%20x%3D%2220%22%20y%3D%22190%22%3EF%3Dma%3C/text%3E%3Ctext%20x%3D%22200%22%20y%3D%22230%22%3E%E2%88%AB%20dx%3C/text%3E%3Ctext%20x%3D%22330%22%20y%3D%22260%22%3E%CE%BB%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22370%22%3Esin%20%CE%B8%3C/text%3E%3Ctext%20x%3D%22300%22%20y%3D%22110%22%3E%CE%94%3C/text%3E%3C/g%3E%3C/svg%3E"), radial-gradient(rgba(255,255,255,.5) 1.2px, transparent 1.4px);
  background-size: 420px 420px, 22px 22px; background-position: 0 0, 0 0; opacity: .2; }
.hero3__panel::before { -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 55%, transparent 95%); mask-image: linear-gradient(100deg, #000 0%, #000 55%, transparent 95%); }
.hero3__panel { overflow: hidden; }
@media (max-width: 1000px) {
  .hero3__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22420%22%20height%3D%22420%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%0A%3Cg%20transform%3D%22translate%2840%2050%29%22%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2222%22%20ry%3D%228%22/%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2222%22%20ry%3D%228%22%20transform%3D%22rotate%2860%2022%2022%29%22/%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2222%22%20ry%3D%228%22%20transform%3D%22rotate%28120%2022%2022%29%22/%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2222%22%20r%3D%222.5%22%20fill%3D%22%23fff%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28250%2040%29%22%3E%3Cpath%20d%3D%22M0%2030%20L10%2030%20L16%200%20L40%200%22/%3E%3Cpath%20d%3D%22M20%2010%20h14%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28320%20150%29%22%3E%3Cpath%20d%3D%22M0%200%20h28%20M6%200%20v26%20M22%200%20v26%20q0%206%206%204%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28150%20140%29%22%3E%3Cpath%20d%3D%22M0%2034%20L17%200%20L34%2034%20Z%22/%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2222%22%20r%3D%225%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%2860%20250%29%22%3E%3Cpath%20d%3D%22M0%200%20L22%200%20L6%2018%20L22%2036%20L0%2036%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28250%20270%29%22%3E%3Cpath%20d%3D%22M10%200%20v14%20L0%2040%20h30%20L20%2014%20V0%20M6%200%20h18%22/%3E%3Cpath%20d%3D%22M5%2030%20h20%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28170%20330%29%22%3E%3Cpath%20d%3D%22M0%2020%20q10%20-24%2020%200%20t20%200%20t20%200%22/%3E%3C/g%3E%0A%3Cg%20transform%3D%22translate%28350%20330%29%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2212%22/%3E%3Cpath%20d%3D%22M12%200%20v24%20M0%2012%20h24%22/%3E%3C/g%3E%0A%3C/g%3E%3Cg%20fill%3D%22%23fff%22%20font-family%3D%22Georgia%2Cserif%22%20font-style%3D%22italic%22%20font-size%3D%2222%22%20opacity%3D%22.9%22%3E%3Ctext%20x%3D%22110%22%20y%3D%2290%22%3EE%3Dmc%C2%B2%3C/text%3E%3Ctext%20x%3D%2220%22%20y%3D%22190%22%3EF%3Dma%3C/text%3E%3Ctext%20x%3D%22200%22%20y%3D%22230%22%3E%E2%88%AB%20dx%3C/text%3E%3Ctext%20x%3D%22330%22%20y%3D%22260%22%3E%CE%BB%3C/text%3E%3Ctext%20x%3D%2240%22%20y%3D%22370%22%3Esin%20%CE%B8%3C/text%3E%3Ctext%20x%3D%22300%22%20y%3D%22110%22%3E%CE%94%3C/text%3E%3C/g%3E%3C/svg%3E"), radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px);
    background-size: 380px 380px, 22px 22px; opacity: .16; }
}

/* ==========================================================================
   About (home) — layered photos on light blue texture
   ========================================================================== */
.about2 { position: relative; overflow: hidden; padding: 100px 0; background-color: var(--blue-l);
  background-image: radial-gradient(rgba(47,123,194,.18) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.about2__mark { position: absolute; right: -30px; bottom: -60px; font: 900 260px/1 var(--h); color: rgba(47,123,194,.07); letter-spacing: -.04em; pointer-events: none; user-select: none; }
.about2__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: stretch; }
.about2__text { min-width: 0; align-self: center; }
.about2__media { display: flex; flex-direction: column; }
.about2__media { position: relative; padding: 28px 70px 80px 28px; }
.about2__block { position: absolute; left: 0; top: 0; width: 72%; height: 82%; border-radius: 14px; background: var(--blue); }
.about2__dots { position: absolute; right: 30px; top: 0; width: 120px; height: 120px; background-image: radial-gradient(var(--red) 2px, transparent 2.4px); background-size: 16px 16px; opacity: .6; }
.about2__main { position: relative; flex: 1; min-height: 420px; margin: 0; border-radius: 12px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px -28px rgba(16,24,40,.5); }
.about2__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.about2__sub { position: absolute; right: 0; bottom: 0; width: 48%; margin: 0; border-radius: 12px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px -20px rgba(16,24,40,.55); }
.about2__sub img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about2__badge { position: absolute; left: -6px; bottom: 30px; display: flex; align-items: center; gap: 8px; padding: 16px 22px; border-radius: 10px; background: var(--red); color: #fff; box-shadow: 0 18px 36px -14px rgba(217,47,51,.6); }
.about2__badge strong { font: 800 42px/1 var(--h); }
.about2__badge span { font: 600 13px/1.3 var(--h); }

.about2__text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 16px; }
.about2__text > p { font-size: 16.5px; }
.about2__quote { position: relative; margin: 24px 0; padding: 22px 24px 20px 78px; background: #fff; border-radius: 10px; border-left: 5px solid var(--red); box-shadow: var(--shadow); }
.about2__quote-ic { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; }
.about2__quote-ic .ic { width: 20px; height: 20px; }
.about2__quote p { margin: 0 0 6px; font: 600 16px/1.55 var(--h); color: var(--text); font-style: italic; }
.about2__quote cite { font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); }
.about2__points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about2__points li { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border-radius: 10px; font: 600 14px/1.35 var(--h); color: var(--text); border: 1px solid rgba(47,123,194,.12); transition: transform .25s, box-shadow .25s; }
.about2__points li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about2__points li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; flex: none; }
.about2__points li:nth-child(2) > span { background: var(--green); color: var(--text); }
.about2__points li:nth-child(3) > span { background: var(--red); }
.about2__points li:nth-child(4) > span { background: var(--blue-d); }
.about2__points .ic { width: 20px; height: 20px; }
.about2__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.about2__call { display: flex; align-items: center; gap: 12px; }
.about2__call > span:first-child { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--red); box-shadow: var(--shadow); }
.about2__call small { display: block; font-size: 12.5px; color: var(--muted); }
.about2__call b { font: 800 17px var(--h); color: var(--text); }

@media (max-width: 1240px) {
  .about2__points { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .about2 { padding: 72px 0; }
  .about2__grid { grid-template-columns: 1fr; gap: 48px; }
  .about2__main { min-height: 0; flex: none; }
  .about2__main img { aspect-ratio: 4/3; height: auto; }
  .about2__points { grid-template-columns: 1fr 1fr; }
  .about2__mark { font-size: 160px; }
}
@media (max-width: 640px) {
  .about2__points { grid-template-columns: 1fr !important; }
  .about2__media { padding: 18px 30px 60px 18px; }
  .about2__badge { padding: 12px 16px; bottom: 16px; }
  .about2__badge strong { font-size: 32px; }
  .about2__points { grid-template-columns: 1fr; }
  .about2__quote { padding-left: 24px; padding-top: 70px; }
}

/* ==========================================================================
   Individual course page
   ========================================================================== */
.cbanner { --c: var(--blue); position: relative; background-color: var(--blue-d); background-size: cover; background-repeat: no-repeat; color: #fff; border-bottom: 5px solid var(--c); }
.cbanner--red { --c: var(--red); } .cbanner--green { --c: var(--green); }
.cbanner::before { content: ""; position: absolute; inset: 0; background: rgba(31, 94, 158, .82); }
.cbanner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.cbanner__inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 110px; max-width: 1200px; }
.cbanner .crumbs a { color: #fff; }
.cbanner__tag { display: inline-block; margin: 6px 0 16px; padding: 6px 14px; border-radius: 4px; background: var(--c); color: #fff; font: 700 13px var(--h); letter-spacing: .04em; }
.cbanner--green .cbanner__tag { color: var(--text); }
.cbanner h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; }
.cbanner p { max-width: 680px; color: rgba(255,255,255,.9); font-size: 17.5px; margin-bottom: 30px; }
.cbanner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cfacts { position: relative; z-index: 2; margin-top: -56px; }
.cfacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cfacts__grid > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 24px 22px; }
.cfacts__grid > div + div { border-left: 1px solid var(--line); }
.cfacts__ic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-l); color: var(--blue); }
.cfacts__grid > div:nth-child(2) .cfacts__ic { background: var(--red-l); color: var(--red); }
.cfacts__grid > div:nth-child(3) .cfacts__ic { background: var(--green-l); color: var(--green-d); }
.cfacts__ic .ic { width: 22px; height: 22px; }
.cfacts small { font: 600 11.5px var(--h); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cfacts b { font: 700 14.5px/1.35 var(--h); color: var(--text); }

.cpage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.cpage__main h2 { margin-bottom: 14px; }
.cpage__lead { font-size: 18px; color: var(--text); }
.cblock { margin-top: 44px; }
.cblock h3 { position: relative; font-size: 22px; margin-bottom: 18px; padding-left: 16px; }
.cblock h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--red); }
.cwho { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cwho li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 10px; background: var(--alt); font-weight: 600; color: var(--text); }
.cwho .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green); color: var(--text); stroke-width: 3; }
.csubj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.csubj__item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 16px; border-radius: 12px; background: var(--blue); color: #fff; text-align: center; transition: transform .3s; }
.csubj__item:hover { transform: translateY(-4px); }
.csubj__item--1 { background: var(--red); } .csubj__item--2 { background: var(--green); color: var(--text); }
.csubj__item span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); }
.csubj__item .ic { width: 26px; height: 26px; }
.csubj__item b { font: 700 16px var(--h); }
.cinc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cinc__item { display: flex; gap: 14px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: box-shadow .3s, border-color .3s; }
.cinc__item:hover { box-shadow: var(--shadow); border-color: transparent; }
.cinc__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-l); color: var(--blue); flex: none; }
.cinc__item b { display: block; font: 700 15.5px var(--h); color: var(--text); margin-bottom: 4px; }
.cinc__item p { margin: 0; font-size: 14px; }
.ctests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ctests__item { padding: 18px 14px; border-radius: 12px; text-align: center; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.ctests__item--1 { border-top-color: var(--green); } .ctests__item--2 { border-top-color: var(--blue-d); } .ctests__item--3 { border-top-color: var(--red); }
.ctests__item span { display: block; font: 800 24px var(--h); color: var(--blue); }
.ctests__item--1 span { color: var(--green-d); } .ctests__item--2 span { color: var(--blue-d); } .ctests__item--3 span { color: var(--red); }
.ctests__item b { display: block; font: 700 13.5px var(--h); color: var(--text); margin: 4px 0; }
.ctests__item small { font-size: 12.5px; color: var(--muted); }
.csteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.csteps li { position: relative; padding: 20px 16px; border-radius: 12px; background: var(--alt); }
.csteps li > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 15px var(--h); }
.csteps li:last-child > span { background: var(--red); }
.csteps b { display: block; font: 700 15px var(--h); color: var(--text); margin-bottom: 4px; }
.csteps p { margin: 0; font-size: 13.5px; }

.cside { position: sticky; top: 100px; display: grid; gap: 20px; }
.cside__card { --c: var(--blue); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.cside__card--red { --c: var(--red); } .cside__card--green { --c: var(--green-d); }
.cside__head { padding: 22px 24px; background: var(--c); color: #fff; }
.cside__head small { display: block; font: 600 12.5px var(--h); opacity: .9; margin-bottom: 4px; }
.cside__head strong { font: 800 20px/1.25 var(--h); }
.cside__list { list-style: none; padding: 8px 24px; margin: 0; }
.cside__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.cside__list li:last-child { border-bottom: 0; }
.cside__list span { color: var(--muted); flex: none; }
.cside__list b { color: var(--text); text-align: right; font-weight: 700; }
.cside__btns { display: grid; gap: 10px; padding: 6px 24px 18px; }
.cside__call { display: flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--alt); border-top: 1px solid var(--line); }
.cside__call > .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--red); color: #fff; }
.cside__call small { display: block; font-size: 12px; color: var(--muted); }
.cside__call b { font: 800 16px var(--h); color: var(--text); }
.cside__other { padding: 22px 24px; border-radius: 14px; background: var(--alt); }
.cside__other h4 { font-size: 16px; margin-bottom: 10px; }
.cside__link { --c: var(--blue); display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0 11px 12px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--c); margin-bottom: 6px; background: #fff; border-radius: 6px; padding-right: 12px; transition: transform .2s; }
.cside__link--red { --c: var(--red); } .cside__link--green { --c: var(--green); }
.cside__link:hover { transform: translateX(4px); }
.cside__link span { font: 700 14px/1.3 var(--h); color: var(--text); }
.cside__link small { display: block; font: 500 12px var(--b); color: var(--muted); }
.cside__link .ic { width: 16px; color: var(--blue); flex: none; }

.cproof { position: relative; padding: 90px 0; background: var(--blue-d); color: rgba(255,255,255,.88); }
.cproof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cproof h2 { color: #fff; margin-bottom: 14px; }
.cproof__list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.cproof__list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.cproof__list b { color: #fff; font: 700 15px var(--h); }
.cproof__list span { color: var(--green); font-size: 13px; font-weight: 600; }
.cproof__q { margin: 0 0 18px; padding: 18px 20px; border-radius: 10px; background: rgba(255,255,255,.08); border-left: 4px solid var(--green); font: 600 16px/1.55 var(--h); color: #fff; }
.cproof__q cite { display: block; margin-top: 8px; font: 600 13px var(--b); font-style: normal; color: var(--green); }
.cproof__img img { width: 100%; border-radius: 12px; border: 6px solid #fff; box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); }

.cnav { padding: 28px 0; border-top: 1px solid var(--line); background: #fff; }
.cnav__grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cnav__link { display: flex; align-items: center; gap: 12px; max-width: 40%; }
.cnav__link > .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--alt); color: var(--blue); transform: rotate(180deg); transition: background .2s, color .2s; flex: none; }
.cnav__link--next > .ic { transform: none; }
.cnav__link:hover > .ic { background: var(--blue); color: #fff; }
.cnav__link small { display: block; font-size: 12px; color: var(--muted); }
.cnav__link b { font: 700 15px var(--h); color: var(--text); }
.cnav__link--next { text-align: right; }
.cnav__all { font: 700 14px var(--h); color: var(--blue); padding: 10px 18px; border: 1.5px solid var(--blue); border-radius: 8px; }
.cnav__all:hover { background: var(--blue); color: #fff; }

@media (max-width: 1000px) {
  .cpage { grid-template-columns: 1fr; }
  .cside { position: static; }
  .cfacts__grid { grid-template-columns: 1fr 1fr; }
  .cfacts__grid > div:nth-child(3) { border-left: 0; }
  .cfacts__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cproof__grid { grid-template-columns: 1fr; }
  .csteps, .ctests { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cbanner__inner { padding-top: 56px; padding-bottom: 90px; }
  .cbanner__actions .btn { width: 100%; }
  .cfacts__grid { grid-template-columns: 1fr; }
  .cfacts__grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .csubj, .cinc { grid-template-columns: 1fr; }
  .csubj__item { flex-direction: row; justify-content: flex-start; padding: 16px; }
  .cproof__list { grid-template-columns: 1fr; }
  .cnav__all { display: none; }
  .cnav__link { max-width: 50%; }
}
