/* Dean Zammit Computing Tuition — edit brand colours here. */
:root {
  --navy: #1b3a4b;
  --navy-deep: #112d3b;
  --teal: #2a6f7f;
  --teal-light: #dcecef;
  --gold: #c9a227;
  --gold-light: #f6edca;
  --ink: #193340;
  --muted: #60747e;
  --line: #dce4e7;
  --surface: #f5f8f8;
  --white: #fff;
  --shadow: 0 22px 60px rgba(17, 45, 59, .13);
  --radius: 22px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
h3 { font-size: 1.25rem; }
em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 1rem; top: -100px; padding: .75rem 1rem; color: var(--white); background: var(--navy); border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 1000; top: 0; height: 78px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(27,58,75,.08); backdrop-filter: blur(12px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); }
.brand-logo { width: 46px; height: 46px; object-fit: cover; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 4px 12px rgba(17,45,59,.14); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 1rem; letter-spacing: -.01em; }
.brand small { margin-top: .22rem; color: var(--teal); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav > a:not(.nav-social) { position: relative; padding: 1.7rem 0; color: #405963; font-size: .87rem; font-weight: 700; }
.primary-nav > a:not(.nav-social)::after { position: absolute; left: 0; right: 100%; bottom: 1.25rem; height: 2px; content: ""; background: var(--gold); transition: right .25s ease; }
.primary-nav > a:hover::after, .primary-nav > a.active::after { right: 0; }
.nav-social { display: grid; place-items: center; width: 38px; aspect-ratio: 1; color: var(--white); background: var(--teal); border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.nav-social:hover { transform: translateY(-2px); background: var(--navy); }
.nav-social svg { width: 17px; fill: currentColor; }
.nav-social .facebook-logo { width: 19px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 9px; background: none; border: 0; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy); transition: .25s ease; }

.hero { position: relative; min-height: 690px; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.hero::after { position: absolute; inset: 0; content: ""; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, black); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; right: 7%; top: -220px; background: rgba(42,111,127,.24); }
.hero-glow-two { width: 280px; height: 280px; right: -100px; bottom: -70px; border: 1px solid rgba(201,162,39,.24); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .7fr; gap: 7rem; align-items: center; min-height: 690px; padding-block: 80px; }
.hero-copy, .hero-card { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.3rem; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 2px; background: var(--gold); }
.eyebrow.light { color: #a9cbd2; }
.hero h1 { max-width: 780px; color: var(--white); }
.hero-intro { max-width: 680px; margin: 1.5rem 0 2rem; color: #ccdade; font-size: 1.14rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .8rem 1.35rem; border: 0; border-radius: 8px; cursor: pointer; font-size: .86rem; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; fill: currentColor; }
.button-gold { color: #172f39; background: var(--gold); box-shadow: 0 10px 25px rgba(201,162,39,.18); }
.button-gold:hover { background: #dbb633; box-shadow: 0 12px 28px rgba(201,162,39,.27); }
.button-primary { color: var(--white); background: var(--teal); box-shadow: 0 10px 25px rgba(42,111,127,.17); }
.button-primary:hover { background: var(--navy); }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--teal); font-size: .88rem; font-weight: 800; border-bottom: 1px solid rgba(42,111,127,.35); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.light-link { color: #d9e7ea; border-color: rgba(255,255,255,.3); }
.hero-trust { display: flex; gap: 2.4rem; margin-top: 3rem; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { color: var(--white); font-size: .85rem; }
.hero-trust span { color: #8fa8b0; font-size: .7rem; }
.hero-card { padding: 2.1rem; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); box-shadow: 0 28px 70px rgba(0,0,0,.23); }
.availability { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.8rem; padding: .35rem .7rem; color: var(--teal); background: var(--teal-light); border-radius: 50px; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.availability span { width: 7px; height: 7px; background: #3a9d68; border-radius: 50%; box-shadow: 0 0 0 4px rgba(58,157,104,.13); }
.card-kicker { margin: 0; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-card-title { margin: .65rem 0 0; color: var(--navy); font-size: 2.6rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.session-detail { margin: .65rem 0 0; color: var(--muted); font-size: .83rem; line-height: 1.4; }
.hero-card hr { margin: 1.5rem 0; border: 0; border-top: 1px solid var(--line); }
.check-list { display: grid; gap: .75rem; margin: 0 0 1.6rem; padding: 0; list-style: none; font-size: .83rem; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { position: absolute; left: 0; top: .2rem; display: grid; place-items: center; width: 17px; height: 17px; color: var(--teal); background: var(--teal-light); border-radius: 50%; content: "✓"; font-size: .64rem; font-weight: 900; }
.check-list strong { color: var(--teal); }
.trust-strip { padding: 25px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: flex; align-items: center; gap: 1.4rem; }
.um-logo { display: block; flex: 0 0 auto; width: 112px; padding-right: 1.2rem; border-right: 1px solid var(--line); }
.um-logo img { width: 100%; height: auto; }
.trust-strip p { display: flex; flex-direction: column; margin: 0; line-height: 1.35; }
.trust-strip strong { color: var(--navy); font-size: .86rem; }
.trust-strip p span { color: var(--muted); font-size: .71rem; }
.trust-line { width: 1px; height: 38px; margin-left: auto; background: var(--line); }
.trust-note { max-width: 350px; color: var(--muted); font-size: .75rem; font-style: italic; }

.about-grid { display: grid; grid-template-columns: minmax(0, 900px); justify-content: center; }
.about-copy { text-align: center; }
.about-copy h2 { margin-bottom: 1.5rem; }
.lead { color: #405964; font-size: 1.1rem; line-height: 1.75; }
.about-copy > p:not(.eyebrow) { max-width: 780px; margin-inline: auto; }
.about-copy .eyebrow { justify-content: center; }
.qualification-card { display: flex; gap: 1rem; align-items: center; max-width: 700px; margin: 1.8rem auto; padding: 1.2rem 1.4rem; text-align: left; background: var(--surface); border-left: 3px solid var(--teal); }
.qualification-card svg { flex: 0 0 36px; width: 36px; fill: var(--gold); }
.qualification-card div { display: flex; flex-direction: column; }
.qualification-card span { color: var(--teal); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.qualification-card strong { color: var(--navy); font-size: .9rem; }
.qualification-card small { color: var(--muted); font-size: .72rem; }

.lessons { position: relative; color: #cadadd; background: var(--navy); overflow: hidden; }
.lessons::before { position: absolute; right: -250px; top: -250px; width: 600px; height: 600px; content: ""; border: 1px solid rgba(201,162,39,.17); border-radius: 50%; }
.lessons h2, .contact h2 { color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 6rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading > p { max-width: 410px; margin: 0; color: #a9bdc3; font-size: .92rem; }
.lesson-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.12); }
.topic-card { position: relative; min-height: 310px; padding: 2.2rem 1.8rem; border-right: 1px solid rgba(255,255,255,.12); transition: background .25s ease; }
.topic-card:last-child { border: 0; }
.topic-card:hover { background: rgba(255,255,255,.04); }
.topic-number { position: absolute; right: 1rem; top: .8rem; color: rgba(255,255,255,.13); font-family: Georgia, serif; font-size: 2.3rem; font-style: italic; }
.topic-card svg { width: 38px; margin: 1.5rem 0 2.2rem; fill: var(--gold); }
.topic-card h3 { min-height: 2.6rem; margin-bottom: .8rem; color: var(--white); font-size: 1.06rem; }
.topic-card p { margin: 0; color: #9eb4ba; font-size: .8rem; line-height: 1.75; }
.lesson-details-card { position: relative; z-index: 1; margin-top: -20px; padding: 2.2rem; color: var(--ink); background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 25px 55px rgba(0,0,0,.2); }
.lesson-card-title { margin: .7rem 0 .45rem; color: var(--navy); font-size: 1.9rem; }
.lesson-details-card > p:not(.card-kicker):not(.group-note) { margin: 0 0 1.4rem; color: var(--muted); font-size: .78rem; }
.included-box { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; padding: .9rem; background: var(--gold-light); }
.included-box svg { width: 30px; fill: var(--gold); }
.included-box div { display: flex; flex-direction: column; line-height: 1.3; }
.included-box strong { color: var(--navy); font-size: .82rem; }
.included-box span { color: #7d6b2c; font-size: .67rem; }
.group-note { margin: 1.2rem 0 0; color: #71858e; font-size: .68rem; line-height: 1.55; }

.notes { background: var(--surface); }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 7rem); align-items: center; }
.notes-visual { position: relative; }
.notes-visual::after { position: absolute; z-index: -1; inset: 9% 4% -4% 14%; content: ""; background: var(--teal-light); border-radius: 50%; }
.notes-visual img { width: 100%; filter: drop-shadow(0 25px 25px rgba(17,45,59,.16)); }
.notes-sticker { position: absolute; right: 7%; top: 8%; display: grid; place-items: center; width: 82px; aspect-ratio: 1; color: var(--navy); background: var(--gold); border: 4px solid var(--surface); border-radius: 50%; text-align: center; font-size: .7rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; transform: rotate(7deg); }
.notes-copy h2 { margin-bottom: 1.4rem; }
.feature-list { display: grid; gap: .55rem; margin: 1.5rem 0; padding: 0; list-style: none; color: #405963; font-size: .9rem; }
.feature-list span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .5rem; color: var(--teal); background: var(--teal-light); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.notes-enquiry { margin: 1.7rem 0; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notes-enquiry strong { display: block; margin-bottom: .3rem; color: var(--navy); font-size: .9rem; }
.notes-enquiry p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.testimonials { background: var(--white); }
.center-heading { max-width: 650px; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow.centered { justify-content: center; }
.center-heading h2 { margin-bottom: .8rem; }
.center-heading > p:last-child { color: var(--muted); font-size: .85rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial-card { display: flex; flex-direction: column; min-height: 290px; padding: 2rem; background: var(--surface); border: 1px solid var(--line); }
.featured-testimonial { background: var(--navy); border-color: var(--navy); transform: translateY(-14px); box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: .17em; }
.testimonial-card blockquote { margin: 1.3rem 0 auto; color: #435d67; font-family: Georgia, serif; font-size: 1rem; font-style: italic; line-height: 1.75; }
.featured-testimonial blockquote { color: #d7e3e6; }
.testimonial-card footer { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.testimonial-card footer > span { display: grid; place-items: center; width: 38px; aspect-ratio: 1; color: var(--teal); background: var(--teal-light); border-radius: 50%; font-size: .68rem; font-weight: 800; }
.testimonial-card footer div { display: flex; flex-direction: column; }
.testimonial-card footer strong { color: var(--navy); font-size: .78rem; }
.testimonial-card footer small { color: var(--muted); font-size: .65rem; }
.featured-testimonial footer strong { color: var(--white); }
.featured-testimonial footer small { color: #8ca5ac; }

.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7rem; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { margin-bottom: 1.2rem; }
.faq-intro > p:not(.eyebrow) { max-width: 360px; color: var(--muted); font-size: .9rem; }
.accordion { border-top: 1px solid #cbd6da; }
.accordion details { border-bottom: 1px solid #cbd6da; }
.accordion summary { position: relative; padding: 1.45rem 3rem 1.45rem 0; color: var(--navy); cursor: pointer; font-size: .94rem; font-weight: 750; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span::before, .accordion summary span::after { position: absolute; right: 7px; top: 50%; width: 14px; height: 2px; content: ""; background: var(--teal); transition: transform .25s ease; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { max-width: 650px; margin: -.2rem 2rem 1.5rem 0; color: var(--muted); font-size: .84rem; }

.contact { position: relative; color: #bdd0d5; background: var(--navy-deep); overflow: hidden; }
.contact::after { position: absolute; right: -180px; bottom: -250px; width: 600px; height: 600px; content: ""; border: 1px solid rgba(201,162,39,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.015), 0 0 0 140px rgba(255,255,255,.01); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 7rem; align-items: center; }
.contact-copy h2 { margin-bottom: 1.4rem; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; color: #aac0c6; }
.contact-links { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-links a { display: flex; align-items: center; gap: .9rem; width: max-content; }
.contact-icon { display: grid; place-items: center; width: 41px; aspect-ratio: 1; color: var(--gold); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transition: background .2s ease; }
.contact-links a:hover .contact-icon { background: rgba(255,255,255,.08); }
.contact-icon svg { width: 18px; fill: currentColor; }
.contact-icon .facebook-logo { width: 20px; }
.contact-links a > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.contact-links small { color: #718f98; font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-links strong { color: var(--white); font-size: .82rem; }
.contact-form { padding: 2.4rem; color: var(--ink); background: var(--white); box-shadow: 0 25px 60px rgba(0,0,0,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; margin-bottom: 1rem; color: var(--navy); font-size: .72rem; font-weight: 800; }
.contact-form label > span { color: #84959b; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: .4rem; padding: .8rem .9rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; outline: none; font-size: .82rem; transition: border .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 115px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,111,127,.11); }
.contact-form ::placeholder { color: #9aa8ad; }
.contact-form button:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 1.4rem; margin: .7rem 0 0; text-align: center; font-size: .72rem; font-weight: 750; line-height: 1.4; }
.form-status:empty { display: none; }
.form-status.success { color: #24724b; }
.form-status.error { color: #a33a36; }
.form-note { margin: .7rem 0 0; color: #7d8f96; text-align: center; font-size: .66rem; }
.form-note a { color: var(--teal); font-weight: 800; text-decoration: underline; }

.site-footer { padding: 45px 0 20px; color: #afc2c7; background: #0b222e; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.footer-brand { color: var(--white); }
.footer-brand .brand-logo { border-color: var(--teal); box-shadow: none; }
.footer-socials { display: flex; gap: .6rem; }
.footer-socials a { display: grid; place-items: center; width: 36px; aspect-ratio: 1; color: #b8c9cd; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transition: color .2s ease, border .2s ease; }
.footer-socials a:hover { color: var(--gold); border-color: var(--gold); }
.footer-socials svg { width: 16px; fill: currentColor; }
.footer-socials .facebook-logo { width: 18px; }
.footer-bottom { display: flex; justify-content: center; margin-top: 35px; padding-top: 17px; color: #78929a; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .64rem; }
.floating-whatsapp { position: fixed; z-index: 900; right: 1.3rem; bottom: 1.3rem; display: grid; place-items: center; width: 54px; aspect-ratio: 1; color: var(--white); background: #25d366; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 8px 25px rgba(0,0,0,.2); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp svg { width: 28px; fill: currentColor; }

.reveal { opacity: 1; transform: none; }
.delay-one { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } *, *::before, *::after { transition-duration: .01ms !important; } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1.2fr .7fr; gap: 3rem; }
  .hero-trust { gap: 1.2rem; }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-details-card { width: min(100%, 460px); margin: 1rem auto 0; }
  .contact-grid { gap: 3.5rem; }
}

@media (max-width: 800px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 78px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 35px rgba(17,45,59,.13); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav > a:not(.nav-social) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .primary-nav > a:not(.nav-social)::after { display: none; }
  .nav-social { margin-top: 1rem; }
  .primary-nav .nav-social .facebook-logo,
  .contact-icon .facebook-logo,
  .footer-socials .facebook-logo { width: 20px; height: 20px; transform: translateY(-1px); transform-origin: center; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 70px; }
  .hero-card { max-width: 460px; }
  .trust-strip-inner { flex-wrap: wrap; }
  .trust-line { display: none; }
  .trust-note { max-width: none; margin-left: 65px !important; }
  .about-grid, .notes-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading > p { max-width: 580px; }
  .topic-card { min-height: 280px; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .featured-testimonial { transform: none; }
  .faq-intro { position: static; }
  .contact-copy { max-width: 600px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .site-header { height: 70px; }
  .primary-nav { top: 70px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .hero h1 em { display: block; font-size: .82em; }
  h2 { font-size: 2.25rem; }
  .hero-grid { padding-block: 55px; gap: 2.8rem; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { width: max-content; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-card { padding: 1.6rem; }
  .trust-strip p span { line-height: 1.5; }
  .um-logo { width: 96px; padding-right: .9rem; }
  .trust-note { margin-left: 0 !important; }
  .qualification-card { align-items: flex-start; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .topic-card h3 { min-height: auto; }
  .topic-card svg { margin: .8rem 0 1.5rem; }
  .lesson-details-card { padding: 1.6rem; }
  .notes-grid { gap: 2.5rem; }
  .notes-sticker { width: 70px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.4rem; }
  .contact-links a { width: 100%; }
  .contact-links strong { overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .floating-whatsapp { width: 50px; right: .9rem; bottom: .9rem; }
}
