/* TMS AI Institute: public site styles (v2) */
:root {
  --ink: #161A3A;
  --indigo: #262A86;
  --indigo-2: #3B40B8;
  --rose: #E3262F;
  --rose-deep: #A8161D;
  --mist: #F1F2FB;
  --mist-2: #E1E4F7;
  --line: #DFE2F0;
  --keyedge: #C6CAE6;
  --muted: #555A7A;
  --paper: #FFFFFF;
  --ok: #17794A;
  --err: #B3261E;
  --wa: #1FA855;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --r: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .3em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.empty { color: var(--muted); }
.ico { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.text-link { font-weight: 700; }

/* Buttons: the "pressable key" look is the site's signature */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--rose); color: #fff; font-family: var(--body); font-weight: 700; font-size: 1rem; padding: 12px 20px; border-radius: 12px; border: 0; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--rose-deep); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--rose-deep); }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn-lg { padding: 15px 26px; font-size: 1.08rem; }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-ghost { background: var(--paper); color: var(--indigo); border: 1.5px solid var(--line); box-shadow: 0 4px 0 var(--keyedge); }
.btn-ghost:hover { box-shadow: 0 2px 0 var(--keyedge); }
.btn-wa { background: var(--wa); box-shadow: 0 4px 0 #157A3D; margin-top: 12px; }
.btn-wa:hover { box-shadow: 0 2px 0 #157A3D; }
.btn-block { width: 100%; }

/* Header */
.notice { display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--indigo); color: #fff; padding: 8px 16px; font-weight: 600; font-size: .95rem; text-align: center; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; flex: none; box-shadow: 0 3px 0 #2A2A30; }
.footer-logo img { width: 170px; height: auto; }
.brand-key { display: grid; place-items: center; width: 52px; height: 44px; background: var(--indigo-2); color: #fff; font-family: var(--display); font-weight: 800; font-size: .95rem; border-radius: 11px; box-shadow: 0 4px 0 var(--indigo); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 1.15rem; }
.brand-text small { color: var(--muted); font-size: .84rem; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.site-nav > a:not(.btn):hover { background: var(--mist); }
.site-nav > a[aria-current="page"] { background: var(--mist-2); color: var(--indigo); }
.site-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--indigo); font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 99px; margin-bottom: 20px; }
.hero h1 { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-call { margin-top: 20px; color: var(--muted); }
.hero-call a { font-weight: 700; color: var(--ink); }
.hero-art img { width: 100%; max-width: 580px; margin-left: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Highlights strip */
.trust { margin-top: -56px; position: relative; z-index: 2; }
.trust-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 20px; margin: 0 auto; }
.trust-grid li { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-weight: 600; line-height: 1.3; box-shadow: 0 10px 30px -18px rgba(38,42,134,.35); }
.trust-cards { padding: 0; }
.trust-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist-2); color: var(--indigo-2); flex: none; }

/* Sections */
.section { padding: 80px 0; }
.section-top { padding-top: 48px; }
.section-tint { background: var(--mist); }
.section-head { margin-bottom: 32px; }

/* Filter chips */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.chip { font: inherit; font-weight: 600; font-size: .95rem; padding: 9px 18px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); border-radius: 99px; cursor: pointer; }
.chip:hover { border-color: var(--indigo-2); }
.chip[aria-pressed="true"] { background: var(--indigo-2); border-color: var(--indigo-2); color: #fff; }

/* Course cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s; }
.course-card:hover { transform: translateY(-4px); border-color: var(--indigo-2); box-shadow: 0 6px 0 var(--keyedge); }
.course-card[hidden] { display: none; }
.badge-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--tb); color: var(--tf); margin-bottom: 12px; flex: none; }
.card-img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.card-cat { font-size: .85rem; font-weight: 600; color: var(--muted); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.card-desc { color: var(--muted); font-size: .98rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-link { font-weight: 700; color: var(--rose); white-space: nowrap; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-art { width: 100%; max-width: 520px; }
.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 22px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features p { margin: 0; color: var(--muted); }
.f-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--paper); color: var(--rose); border: 1px solid var(--line); flex: none; }

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; border-top: 2px dashed var(--keyedge); }
.steps li { counter-increment: s; text-align: center; position: relative; }
.step-ico { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 20px; background: var(--indigo-2); color: #fff; box-shadow: 0 5px 0 var(--indigo); }
.step-ico::after { content: counter(s); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--rose); color: #fff; border-radius: 50%; font-weight: 700; font-size: .85rem; border: 2px solid var(--paper); }
.steps p { color: var(--muted); margin: 0 auto; max-width: 26ch; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; }
.q-ico { color: var(--rose); margin-bottom: 10px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.08rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.quote small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mist-2); color: var(--indigo); font-weight: 700; }

/* Enquiry / CTA */
.cta { background: var(--indigo); color: #fff; }
.cta h2 { color: #fff; }
.cta .lead { color: #D7DAF3; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-art { width: 100%; max-width: 300px; margin: 8px 0 20px; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list p { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; margin: 0; }
.contact-list p { font-weight: 400; color: #D7DAF3; }
.contact-list a:hover { text-decoration: underline; }
.c-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); flex: none; }
.cta .f-line { color: #D7DAF3; }
.form-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: 0 8px 0 var(--keyedge); border: 1px solid var(--line); }
.cta .form-card { box-shadow: 0 8px 0 #1A1D63; border: 0; }
.form-title { font-size: 1.3rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo-2); outline: 3px solid rgba(59,64,184,.18); outline-offset: 0; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .92rem; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.flash .ico { margin-top: 3px; }
.flash-success { background: #E3F4EA; color: var(--ok); border: 1px solid #B6E0C6; }
.flash-error { background: #FBE7E6; color: var(--err); border: 1px solid #F1BFBB; }

/* Page head */
.page-head { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); padding: 56px 0 24px; }
.crumb { font-size: .95rem; color: var(--muted); }
.crumb a { color: var(--muted); }

/* Course detail */
.course-head { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.course-head-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.badge-xl { width: 180px; height: 180px; border-radius: 40px; margin: 0; box-shadow: 0 10px 0 var(--keyedge); }
.course-hero-img { width: 380px; max-height: 270px; object-fit: cover; border-radius: 20px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 24px 0 0; }
.facts li { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; color: var(--indigo-2); }
.facts span { display: flex; flex-direction: column; line-height: 1.25; color: var(--ink); font-weight: 700; }
.facts small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.course-body { display: grid; grid-template-columns: 1fr 410px; gap: 56px; align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: .4em; }
.modules { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modules li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--mist); border-radius: 12px; font-weight: 600; }
.m-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; flex: none; }
.sticky { position: sticky; top: 96px; }

.included { margin-top: 36px; padding: 26px; border: 1.5px solid var(--line); border-radius: 20px; }
.included h2 { font-size: 1.3rem; }
.included ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.included li { display: flex; align-items: center; gap: 12px; font-weight: 600; line-height: 1.3; }

/* Blog */
.post-card .card-img { height: 180px; }
.post-date { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; margin: 0; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 20px; margin-bottom: 28px; }
.post-body { font-size: 1.08rem; }
.post-body h2 { margin-top: 1.4em; }
.post-body ul { padding-left: 1.3em; }
.post-body li { margin-bottom: 6px; }

/* Banner, contact, about */
.banner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); }
a.contact-card:hover { border-color: var(--indigo-2); }
.contact-card .c-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--mist-2); color: var(--indigo-2); margin-bottom: 8px; }
.contact-card .c-wa { background: #DDF5E6; color: var(--wa); }
.contact-card strong { font-family: var(--display); font-size: 1.15rem; }
.contact-card > span:last-child { color: var(--muted); }
.f-line { display: flex; gap: 10px; align-items: flex-start; }
.f-line .ico { margin-top: 4px; }
.map { border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #C9CDE6; padding: 60px 0 0; }
.site-footer a { color: #fff; }
.brand-light, .brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #A9AECB; }
.footer-tag { margin-top: 14px; color: #A9AECB; max-width: 30ch; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1.1fr .9fr; gap: 36px; }
.footer-h { font-family: var(--body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer p { margin: 0 0 8px; }
.site-footer .f-line .ico { color: #8E94C8; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 18px; padding-bottom: 22px; font-size: .9rem; color: #A9AECB; }

/* WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; box-shadow: 0 4px 0 #157A3D, 0 10px 24px -8px rgba(0,0,0,.35); }
.wa-float:hover { transform: translateY(2px); box-shadow: 0 2px 0 #157A3D; }

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .course-body { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .cta-grid, .banner { grid-template-columns: 1fr; gap: 32px; }
  .hero-art img { max-width: 460px; margin: 0 auto; }
  .why-art { max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .course-head-grid { grid-template-columns: 1fr; }
  .badge-xl, .course-hero-img { display: none; }
  .banner img { max-width: 240px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 2px; box-shadow: 0 16px 24px -16px rgba(0,0,0,.2); }
  .site-nav.open { display: flex; }
  .site-nav .btn { margin: 10px 0 0; }
  .hero { padding: 36px 0 84px; }
  .section { padding: 56px 0; }
  .card-grid, .modules { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-grid li { flex-direction: column; align-items: flex-start; padding: 14px; font-size: .95rem; }
  .included ul { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .brand-text small { display: none; }
  .map iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- v3 */
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.btn-light:hover { box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.btn-wa-soft { background: #E3F6EA; color: #137A3C; box-shadow: 0 3px 0 #B9E3C8; }
.btn-wa-soft:hover { box-shadow: 0 1px 0 #B9E3C8; }
.notice a { color: #fff; font-weight: 700; margin-left: 6px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 700; color: var(--rose); margin-bottom: 6px; }
.narrow-wrap { max-width: 820px; }
.more { margin-top: 28px; }

/* hero extras */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.hero-proof .hero-call { margin: 0; }
.hero-photo { border-radius: 26px; overflow: hidden; box-shadow: 0 12px 0 var(--keyedge); aspect-ratio: 5 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Google badge */
.g-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; line-height: 1.2; }
.g-badge small { display: block; color: var(--muted); font-size: .82rem; }
.g-badge strong { color: #B7791F; }
.g-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-family: Arial, sans-serif; color: #4285F4; }
.g-center { margin-top: 6px; }
.stars { color: #F2A900; letter-spacing: 2px; font-size: 1rem; }
.stars .off { color: #D8DBEC; }

/* Impact numbers */
.stats { padding: 56px 0 8px; }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.stats-grid.n1 { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
.stats-grid.n2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }
.stats-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid li { text-align: center; padding: 26px 16px; border-radius: 20px; background: var(--ink); color: #fff; }
.stats-grid strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: 8px; }
.stats-grid li:nth-child(2n) strong { color: #FF5A5F; }
.stats-grid span { color: #C9CDE6; font-weight: 600; }
.stats-flat { padding: 0 0 72px; }

/* Course cards v3 */
.course-card { position: relative; }
.card-title { margin: 0; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.card-title a:focus-visible { outline: none; }
.course-card:focus-within { outline: 3px solid var(--rose); outline-offset: 3px; }
.card-desc { margin: 0; }
.card-meta { margin: 6px 0 0; }
.card-actions { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-actions .btn { flex: 1; }

/* Counselling band */
.band { background: var(--ink); color: #fff; }
.band-row { display: flex; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.band h2 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.band p { margin: 0; color: #C9CDE6; }
.band-row > div { flex: 1; }
.band-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); flex: none; }

/* Gallery + lightbox */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery li:first-child:not(:only-child) { grid-column: span 2; grid-row: span 2; }
.gallery.gallery-3 li:first-child:not(:only-child) { grid-column: auto; grid-row: auto; }
.gallery.gallery-3 li:first-child:not(:only-child) a { aspect-ratio: 4 / 3; min-height: 0; }
.prose .gallery { margin-bottom: 32px; }
.gallery a { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery li:first-child:not(:only-child) a { aspect-ratio: auto; min-height: 100%; }
.gallery-3 li a { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 92vw); }
.lightbox::backdrop { background: rgba(10,10,20,.85); }
.lightbox img { max-height: 80vh; border-radius: 12px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
.lb-close { position: fixed; top: 16px; right: 20px; background: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }

/* Success stories */
.q-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.src-g { font-size: .8rem; font-weight: 700; color: #4285F4; }
.avatar-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.placed { display: inline-flex; align-items: center; gap: 4px; color: var(--ok) !important; font-weight: 600; }
.quotes-1 { grid-template-columns: 1fr; }
.quotes { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Videos */
.videos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.videos li { flex: 0 1 auto; }
.v-wide { width: min(100%, 520px); }
.v-tall { width: 300px; }
.v-frame { position: relative; border-radius: 16px; overflow: hidden; background: #000; }
.v-wide .v-frame { aspect-ratio: 16 / 9; }
.v-tall .v-frame { aspect-ratio: 9 / 16; }
.v-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos p { margin: 8px 0 0; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--rose); }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 6px; color: var(--muted); }

/* Course page v3 */
.course-head .hero-actions { margin-top: 22px; }
.facts em { font-style: normal; font-size: .8rem; color: var(--ok); font-weight: 600; }
.syllabus { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 8px; }
.syllabus details, .s-plain { background: var(--mist); border-radius: 12px; }
.syllabus summary, .s-plain { display: flex; align-items: center; gap: 12px; padding: 12px 44px 12px 14px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.s-plain { cursor: default; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus summary::after { content: "+"; position: absolute; right: 16px; color: var(--rose); font-size: 1.3rem; }
.syllabus details[open] summary::after { content: "−"; }
.syllabus details p { margin: 0; padding: 0 16px 14px 52px; color: var(--muted); }
.s-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--paper); color: var(--indigo-2); font-weight: 700; font-size: .9rem; flex: none; }
.syllabus-dl { display: flex; gap: 18px; padding: 22px; border: 2px dashed var(--keyedge); border-radius: 20px; margin: 0 0 36px; }
.syllabus-dl h3 { margin-top: 4px; }
.syllabus-dl p { color: var(--muted); }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; }
.inline-form .field { margin: 0; }
.inline-form label { font-size: .85rem; }
.inline-form .btn { margin-top: 27px; }
.inline-form .err-form, .inline-form .form-done { grid-column: 1 / -1; }
.chip-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--mist); font-weight: 600; }
.careers { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.careers li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.c-role { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.c-role .ico { color: var(--indigo-2); }
.c-pay { font-weight: 700; color: var(--ok); white-space: nowrap; }
.prose .included { margin: 0 0 32px; }

/* Trainers / founder */
.trainers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.trainer { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 32px; }
.trainers .trainer { margin: 0; }
.trainer img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; flex: none; }
.trainer h3 { margin-bottom: 2px; }
.trainer p { margin: 0 0 4px; }
.t-role { color: var(--rose); font-weight: 700; }
.t-exp { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.t-bio { color: var(--muted); margin-top: 8px !important; }
.avatar-lg { width: 96px; height: 96px; border-radius: 18px; font-size: 2rem; flex: none; }
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 10px 0 var(--keyedge); }
.partners { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.partners li { display: grid; place-items: center; width: 170px; height: 90px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.partners img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; }
.partners li:hover img { filter: none; opacity: 1; }
.visit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

/* Forms v3 */
.err { margin: 6px 0 0; color: var(--err); font-size: .9rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.err-form { margin: 0 0 14px; padding: 10px 14px; background: #FBE7E6; border-radius: 10px; }
.has-error input, .has-error select { border-color: var(--err) !important; background: #FFF8F7; }
.form-course { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--mist); border-radius: 12px; font-weight: 600; margin: 0 0 16px; }
.form-done .done-msg { padding: 14px 16px; background: #E3F4EA; color: var(--ok); border-radius: 12px; font-weight: 600; }
.form-done .btn { margin-top: 10px; }
.type-switch { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.type-switch a { color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: .95rem; }
.type-switch a[aria-selected="true"] { background: #fff; color: var(--ink); }
.mini-map { position: relative; margin-top: 22px; border-radius: 16px; overflow: hidden; }
.mini-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.mini-map .btn { position: absolute; left: 12px; bottom: 12px; }

/* Mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -10px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .85rem; }
  .mobile-bar .mb-wa { color: #137A3C; }
  .mobile-bar .mb-demo { background: var(--rose); color: #fff; }
  .stats-grid, .stats-grid.n3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-3 { grid-template-columns: 1fr 1fr; }
  .band-row { flex-direction: column; align-items: flex-start; }
  .careers { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: 1fr; }
  .inline-form .btn { margin-top: 0; }
  .syllabus-dl { flex-direction: column; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; }
  .trainer { flex-direction: column; }
  .trainers { grid-template-columns: 1fr; }
  .card-actions { flex-wrap: wrap; }
}
@media (max-width: 1024px) and (min-width: 761px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) { .notice { font-size: .85rem; padding: 6px 12px; } }

/* ---------------------------------------------------------------- v5: UI polish (layout only, no content changes) */
html { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--mist-2); color: var(--ink); }

/* Header: a soft shadow instead of a hard line */
.site-header { border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line), 0 8px 24px -20px rgba(22,26,58,.45); }
.site-nav > a:not(.btn) { transition: background .15s, color .15s; }

/* Cards and boxes: smoother hover */
.course-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.course-card:hover { box-shadow: 0 6px 0 var(--keyedge), 0 18px 34px -24px rgba(38,42,134,.45); }
.course-card .badge-ico { transition: transform .2s ease; }
.course-card:hover .badge-ico { transform: scale(1.06) rotate(-3deg); }
.trust-grid li, .contact-card, .trainer, .quote { transition: border-color .2s ease, box-shadow .2s ease; }
.trust-grid li:hover, a.contact-card:hover, .quote:hover { border-color: var(--keyedge); box-shadow: 0 14px 30px -20px rgba(38,42,134,.4); }
.card-link { display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.course-card:hover .card-link { gap: 8px; }

/* FAQ and syllabus: clearer open state */
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: var(--keyedge); }
.faq details[open] { border-color: var(--indigo-2); box-shadow: 0 10px 26px -20px rgba(38,42,134,.5); }
.faq summary::after, .syllabus summary::after { transition: transform .2s; }
.faq-a { padding-bottom: 14px; }

/* Forms: bigger, friendlier fields */
.field input, .field select, .field textarea { min-height: 50px; transition: border-color .15s, background .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--keyedge); }
.field input::placeholder { color: #9095B3; }

/* Footer links: no underline clutter, clear hover */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid p a { display: inline-block; padding: 2px 0; }

/* Blog cards */
.post-card .card-link { margin-top: 10px; }

@media (max-width: 760px) {
  /* Hero: smaller pill, full-width buttons, compact picture */
  .pill { font-size: .84rem; padding: 6px 12px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-art img { max-width: 300px; margin: 0 auto; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .hero-grid { gap: 20px; }

  /* Impact numbers: shorter tiles */
  .stats { padding-top: 40px; }
  .stats-grid li { padding: 18px 12px; border-radius: 16px; }
  .stats-grid strong { font-size: 2rem; margin-bottom: 4px; }
  .stats-grid span { font-size: .92rem; }

  /* Course filter: one swipeable row instead of three wrapped rows */
  .filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 24px; padding: 2px 20px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filter::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }

  /* Course cards: icon beside the title, so more courses fit on screen */
  .card-grid { gap: 14px; }
  .course-card { padding: 18px; border-radius: 18px; }
  .course-card:has(> .badge-ico) { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 4px; align-items: center; }
  .course-card:has(> .badge-ico) > .badge-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; margin: 0; }
  .course-card:has(> .badge-ico) > :not(.badge-ico):not(.card-cat):not(.card-title) { grid-column: 1 / -1; }
  .course-card:has(> .badge-ico) .card-desc { margin-top: 6px; }
  .card-title { font-size: 1.15rem; }
  .course-card:hover { transform: none; }

  /* How to join: icon on the left, text on the right */
  .steps { gap: 18px; }
  .steps li { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: left; align-items: center; }
  .steps .step-ico { grid-row: span 2; width: 60px; height: 60px; margin: 0; border-radius: 16px; }
  .steps h3 { margin: 0; }
  .steps p { margin: 0; max-width: none; }

  /* Footer: comfortable tap targets */
  .footer-grid { gap: 28px; }
  .footer-grid p a { padding: 6px 0; }
  .footer-base p { line-height: 1.8; }
}

/* ---------------------------------------------------------------- v6: bold theme (design only, same content) */
:root {
  --night: #0B0D24;
  --night-2: #14173A;
  --grad: linear-gradient(135deg, #3B40B8 0%, #6A3FD0 50%, #E3262F 100%);
  --grad-rose: linear-gradient(180deg, #F2454D 0%, #D81F28 100%);
  --glow-rose: 0 10px 28px -10px rgba(227,38,47,.65);
  --glow-indigo: 0 18px 40px -22px rgba(59,64,184,.7);
}
body { background: #FAFAFE; }

/* Dark sections share one look: deep night with coloured glows */
.hero, .page-head, .cta {
  background:
    radial-gradient(600px 380px at 12% 8%, rgba(227,38,47,.32), transparent 70%),
    radial-gradient(700px 460px at 92% 22%, rgba(91,72,214,.55), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
}
.hero h1, .page-head h1, .page-head h2, .cta h2 { color: #fff; }
.hero .lead, .page-head .lead, .cta .lead { color: #C3C7E8; }

/* Header: dark glass */
.notice { background: var(--grad); }
.site-header { background: rgba(11,13,36,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { color: #fff; }
.brand-text small { color: #9FA4CC; }
.brand-logo { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px -6px rgba(227,38,47,.55); }
.site-nav > a:not(.btn) { color: #D7DAF3; }
.site-nav > a:not(.btn):hover { background: rgba(255,255,255,.08); color: #fff; }
.site-nav > a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 -2px 0 #F2454D; }
.nav-toggle { border-color: rgba(255,255,255,.25); }
.bars, .bars::before, .bars::after { background: #fff; }

/* Buttons: gradient with a glow, same pressable feel */
.btn { background: var(--grad-rose); box-shadow: 0 4px 0 var(--rose-deep), var(--glow-rose); }
.btn:hover { box-shadow: 0 2px 0 var(--rose-deep), 0 6px 18px -8px rgba(227,38,47,.7); }
.btn-ghost { background: var(--paper); box-shadow: 0 4px 0 var(--keyedge); }
.btn-ghost:hover { box-shadow: 0 2px 0 var(--keyedge); }
.btn-wa { background: linear-gradient(180deg, #27BE62, #1C9A4D); box-shadow: 0 4px 0 #157A3D, 0 10px 24px -10px rgba(31,168,85,.6); }
.btn-light { background: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.btn-light:hover { box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.btn-wa-soft { background: #E3F6EA; box-shadow: 0 3px 0 #B9E3C8; }
.btn-wa-soft:hover { box-shadow: 0 1px 0 #B9E3C8; }
.hero .btn-ghost, .page-head .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.35); box-shadow: 0 4px 0 rgba(255,255,255,.14); }
.hero .btn-ghost:hover, .page-head .btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: 0 2px 0 rgba(255,255,255,.14); }

/* Hero */
.hero { padding: 72px 0 120px; overflow: hidden; }
.hero h1 { background: linear-gradient(92deg, #FFFFFF 0%, #FFFFFF 45%, #FFB3B6 75%, #A9A6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(6px); }
.pill .ico { color: #FF7A80; }
.hero-call { color: #A9AECB; }
.hero-call a { color: #fff; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% 4% 0 10%; background: radial-gradient(closest-side, rgba(106,63,208,.55), transparent); filter: blur(30px); z-index: 0; }
.hero-art > * { position: relative; z-index: 1; }
.hero-photo { box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 30px 60px -24px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-art img { animation: rise .8s cubic-bezier(.2,.7,.3,1) .1s both, floaty 6s ease-in-out 1s infinite; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* Highlight cards float over the dark hero */
.trust { margin-top: -64px; }
.trust-grid li { border-color: rgba(223,226,240,.9); box-shadow: 0 20px 40px -24px rgba(11,13,36,.55); }
.trust-ico, .f-ico { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 18px -8px rgba(91,72,214,.7); }

/* Impact numbers */
.stats-grid li { background: linear-gradient(160deg, #1B1F4D 0%, var(--night) 100%); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; box-shadow: var(--glow-indigo); }
.stats-grid li::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; background: radial-gradient(closest-side, rgba(227,38,47,.35), transparent); }
.stats-grid strong { background: linear-gradient(92deg, #fff, #C9C6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid li:nth-child(2n) strong { background: linear-gradient(92deg, #FF7A80, #FFB3B6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Section titles get a gradient underline */
.section-head.center h2::after { content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--grad); }
.section-tint { background: radial-gradient(rgba(59,64,184,.10) 1px, transparent 1.2px) 0 0 / 22px 22px, var(--mist); }

/* Filter chips */
.chip { transition: border-color .15s, background .15s, color .15s; }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; box-shadow: 0 8px 18px -10px rgba(91,72,214,.8); }

/* Course cards: gradient border and glow on hover */
.course-card { border: 1.5px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(var(--line), var(--line)) border-box; box-shadow: 0 2px 0 rgba(22,26,58,.03), 0 14px 30px -26px rgba(22,26,58,.5); overflow: hidden; }
.course-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); opacity: .85; }
.course-card:hover { transform: translateY(-6px); background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; box-shadow: 0 26px 46px -26px rgba(91,72,214,.65); }
.card-actions { border-top-color: #ECEEF7; }

/* Counselling band */
.band { background: var(--grad); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.band-row { position: relative; z-index: 1; }
.band p { color: #EDEBFF; }
.band-ico { background: rgba(255,255,255,.16); }

/* Steps */
.steps::before { border-top: 2px dashed #B9B5F0; }
.step-ico { background: var(--grad); box-shadow: 0 5px 0 #2A2477, 0 14px 26px -12px rgba(91,72,214,.8); }

/* Quotes */
.quote { box-shadow: 0 14px 30px -26px rgba(22,26,58,.5); }
.q-ico { color: #6A3FD0; }

/* Enquiry section */
.cta .form-card { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.55), 0 0 60px -20px rgba(106,63,208,.6); }
.c-ico { background: rgba(255,255,255,.1); }
.form-card { border-color: #E6E8F4; }

/* Inner page heads */
.page-head { padding: 64px 0 48px; }
.crumb, .crumb a { color: #A9AECB; }
.course-head { border-bottom: 0; }
.facts li { box-shadow: 0 10px 24px -16px rgba(0,0,0,.6); }
.post-date { color: #A9AECB; }

/* Footer */
.site-footer { background: var(--night); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }

/* Student projects */
.project-card { padding: 14px 14px 20px; gap: 4px; }
.project-card .card-cat, .project-card .card-title, .project-card .p-by, .project-card .card-desc { padding: 0 6px; }
.project-card .card-title { font-size: 1.15rem; }
.p-media { position: relative; z-index: 1; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--night-2); margin-bottom: 10px; }
.p-media img, .p-media video, .p-blank { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.p-blank { background: radial-gradient(circle at 30% 20%, rgba(227,38,47,.45), transparent 60%), var(--grad); }
.project-card:hover .p-media img, .project-card:hover .p-media video { transform: scale(1.05); }
.p-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; padding-left: 4px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--rose); box-shadow: 0 10px 30px -6px rgba(0,0,0,.5); transition: transform .2s; }
.project-card:hover .p-play { transform: scale(1.1); }
.p-type { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(11,13,36,.72); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px); }
.p-by { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--indigo-2); font-weight: 600; font-size: .95rem; }
.project-card .card-desc { margin-top: 4px; }
.lightbox img[hidden] { display: none; }
.lightbox video, .lightbox iframe { display: block; width: min(960px, 92vw); max-height: 80vh; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; margin: 0 auto; }
.lightbox.lb-tall iframe { width: min(400px, 92vw); aspect-ratio: 9 / 16; }
.lightbox video { aspect-ratio: auto; height: auto; }

/* WhatsApp button pulse */
@media (prefers-reduced-motion: no-preference) {
  .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31,168,85,.55); animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); } }
}

@media (max-width: 760px) {
  .site-nav { left: 0; right: 0; background: var(--night-2); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 20px 30px -16px rgba(0,0,0,.6); }
  .hero { padding: 44px 0 96px; }
  .page-head { padding: 44px 0 32px; }
  .course-card:hover { transform: none; }
  .mobile-bar .mb-demo { background: var(--grad-rose); }
}
