/*
Theme Name: Pinnacle Technical Academy
Theme URI: https://www.pta-edu.co.za
Author: Pinnacle Technical Academy
Description: Custom website theme for Pinnacle Technical Academy, Johannesburg. Includes courses, programme categories, an online Application for Registration with secure document uploads, contact/enquiry form, admissions management in WordPress admin, WhatsApp button, POPIA privacy page and one-click setup of all pages and menus.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pinnacle-academy
Tags: education, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ==========================================================================
   Fonts (bundled — no external requests)
   ========================================================================== */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy: #011e59;
	--navy-900: #00123a;
	--navy-800: #021a4d;
	--navy-600: #0b3383;
	--navy-100: #e6ecf7;
	--gold: #e8a506;
	--gold-600: #946800;
	--gold-100: #fdf3d8;
	--orange: #f28c1b;
	--ink: #101828;
	--text: #344054;
	--muted: #667085;
	--line: #e4e8f0;
	--bg: #ffffff;
	--bg-alt: #f4f6fb;
	--success: #15803d;
	--error: #b42318;
	--radius: 14px;
	--radius-sm: 10px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--shadow: 0 10px 30px -12px rgba(1, 30, 89, .25);
	--shadow-lg: 0 24px 60px -20px rgba(1, 30, 89, .35);
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Barlow Condensed", "Poppins", system-ui, sans-serif;
	--container: 1200px;
	--header-h: 84px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.pta-icon { flex-shrink: 0; vertical-align: middle; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.center-text { text-align: center; }
.center-row { text-align: center; margin-top: 36px; }
.hl { color: var(--gold-600); }
.section-navy .hl, .page-hero .hl, .hero .hl { color: var(--gold); }

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .875rem; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(232, 165, 6, .7); }
.btn-gold:hover { background: #f5b41a; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-600); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gold-100); color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row-center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--navy); text-decoration: none; }
.text-link:hover { color: var(--gold-600); gap: .55em; }

/* ==========================================================================
   Announcement bar, top bar, header
   ========================================================================== */
.announce { background: linear-gradient(90deg, var(--gold), var(--orange)); color: var(--navy); font-size: .9rem; font-weight: 600; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; text-align: center; flex-wrap: wrap; }
.announce a { color: var(--navy); display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); animation: pulse 1.6s infinite; }

.topbar { background: var(--navy-900); color: #cfd8ea; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.topbar-list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar-list .pta-icon { color: var(--gold); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.social a:hover { background: var(--gold); color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(1, 30, 89, .3); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 74px; height: auto; }
.brand-custom { display: block; height: 64px !important; width: auto !important; max-width: 260px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; color: var(--navy); }
.brand-sub { font-weight: 700; font-size: .7rem; letter-spacing: .13em; color: var(--gold-600); margin-top: 5px; }

.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 13px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.main-nav .menu > li > a:hover, .main-nav .menu > li.current-menu-item > a, .main-nav .menu > li.current-menu-ancestor > a, .main-nav .menu > li.current-menu-parent > a { color: var(--navy-600); background: var(--navy-100); }
.main-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 6px; opacity: .6; }
.main-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 10; }
.main-nav .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--bg-alt); color: var(--navy-600); }
.nav-panel-head, .nav-panel-foot, .submenu-toggle { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 10px; width: 46px; height: 46px; place-items: center; cursor: pointer; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 18, 58, .55); z-index: 99; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 18, 58, .96) 0%, rgba(1, 30, 89, .88) 42%, rgba(1, 30, 89, .45) 75%, rgba(1, 30, 89, .25) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(232, 165, 6, .16); border: 1px solid rgba(232, 165, 6, .55); color: var(--gold); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232, 165, 6, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 165, 6, .6); } 70% { box-shadow: 0 0 0 10px rgba(232, 165, 6, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 165, 6, 0); } }
.hero-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: .98; letter-spacing: .005em; color: #fff; margin-bottom: 22px; max-width: 14ch; }
.hero-text { font-size: 1.12rem; color: #d7e0f2; max-width: 56ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 30px 0 0; font-size: .93rem; color: #e6ecf7; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .pta-icon { color: var(--gold); background: rgba(232, 165, 6, .15); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.hero-card-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.hero-streams { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero-streams a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: all .15s ease; }
.hero-streams a:hover { border-color: var(--gold); background: var(--gold-100); transform: translateX(3px); }
.hs-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); flex-shrink: 0; }
.hs-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.hs-text strong { font-size: .98rem; color: var(--navy); }
.hs-text small { color: var(--muted); font-size: .8rem; }
.hs-arrow { color: var(--muted); }
.hero-card-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); color: #0f7b41; font-weight: 600; text-decoration: none; font-size: .92rem; }

/* Accreditation band */
.accred-band { background: #fff; border-bottom: 1px solid var(--line); }
.accred-band-inner { display: flex; align-items: center; gap: 26px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; justify-content: center; }
.accred-band-label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.accred-band-label .pta-icon { color: var(--gold-600); }
.accred-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.accred-list li { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); }
.accred-name { font-weight: 800; color: var(--navy); letter-spacing: .02em; font-size: .95rem; }
.accred-full { display: none; }
.accred-dark li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.accred-dark .accred-name { color: #fff; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: radial-gradient(1200px 500px at 90% -10%, rgba(232, 165, 6, .16), transparent 60%), var(--navy); color: #cfd8ea; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; }
.section-head-center { text-align: center; }
.section-head-left { margin-left: 0; margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-600); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section-head-center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow-gold, .section-navy .eyebrow { color: var(--gold); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-navy .section-lead { color: #b9c5de; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: 0; }

/* Stream cards */
.stream-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stream-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.stream-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.stream-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.stream-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stream-card:hover .stream-media img { transform: scale(1.06); }
.stream-body { position: relative; display: flex; flex-direction: column; padding: 34px 22px 22px; flex: 1; }
.stream-icon { position: absolute; top: -28px; left: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--navy); box-shadow: 0 10px 20px -8px rgba(232, 165, 6, .8); }
.mini-stream .stream-icon { position: static; width: 46px; height: 46px; border-radius: 12px; }
.stream-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stream-name { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 4px 0 6px; line-height: 1.2; }
.stream-tagline { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.stream-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--navy); margin-top: auto; }
.stream-facts span { display: inline-flex; align-items: center; gap: 5px; }
.stream-facts .pta-icon { color: var(--gold-600); }
.stream-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--gold-600); font-size: .92rem; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why-media { position: relative; padding: 0 40px 60px 0; }
.why-img-main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.why-img-float { position: absolute; right: -10px; bottom: 0; width: 44%; background: #fff; border-radius: var(--radius); padding: 10px 10px 0; box-shadow: var(--shadow-lg); }
.why-badge { position: absolute; left: -16px; top: 32px; background: var(--gold); color: var(--navy); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); line-height: 1.1; }
.why-badge strong { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 800; }
.why-badge span { font-weight: 600; font-size: .85rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 26px; margin-bottom: 34px; }
.feature { display: flex; gap: 14px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy-100); color: var(--navy); flex-shrink: 0; }
.feature-icon-gold { background: var(--gold); color: var(--navy); }

/* Course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-grid-4 { grid-template-columns: repeat(4, 1fr); }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section-navy .course-card { border-color: transparent; }
.course-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.course-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .course-card-media img { transform: scale(1.06); }
.course-card-icon { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--navy); }
.course-card-body { display: flex; flex-direction: column; padding: 20px 20px 22px; flex: 1; }
.course-card-stream { font-size: .74rem; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.course-card-title { font-size: 1.12rem; margin-bottom: 8px; }
.course-card-title a { color: var(--navy); text-decoration: none; }
.course-card-title a:hover { color: var(--gold-600); }
.course-card-excerpt { font-size: .9rem; color: var(--muted); }
.course-card-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: auto 0 14px; padding: 0; }
.course-card-meta li { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--bg-alt); padding: 5px 10px; border-radius: 999px; }
.course-card-meta .pta-icon { color: var(--gold-600); }
.course-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .92rem; }
.course-card-link:hover { color: var(--gold-600); }

/* Stats */
.stats { background: linear-gradient(90deg, var(--gold), var(--orange)); color: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 38px; padding-bottom: 38px; }
.stat { text-align: center; padding: 6px 12px; border-right: 1px solid rgba(1, 30, 89, .15); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; }
.stat span { font-weight: 600; font-size: .92rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 22px; }
.step-num { position: absolute; top: 16px; right: 18px; font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--gold-100); -webkit-text-stroke: 1px var(--gold); }
.step-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--gold); margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.apply-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.apply-split .steps { grid-template-columns: repeat(2, 1fr); }
.apply-aside { position: relative; }
.apply-aside img { border-radius: var(--radius-lg); background: var(--bg-alt); aspect-ratio: 1; object-fit: cover; width: 100%; }
.apply-aside-card { position: relative; margin: -90px 20px 0; background: var(--navy); color: #d7e0f2; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-lg); }
.apply-aside-card h3 { color: #fff; }
.apply-aside-card .text-link { color: var(--gold); }

/* Checklists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011E59' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-list-sm { gap: 6px; font-size: .93rem; }
.check-list-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.tick-columns { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.tick-columns-2 { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.tick-columns li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.tick-columns .pta-icon { color: var(--gold-600); margin-top: 3px; }

/* Facilities */
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.facility { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.facility-lg { grid-column: span 2; grid-row: span 2; }
.facility img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.facility:hover img { transform: scale(1.05); }
.facility figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0, 18, 58, .92)); color: #d7e0f2; font-size: .85rem; line-height: 1.4; }
.facility figcaption strong { display: block; color: #fff; font-size: 1.02rem; }

/* FAQ */
.faq-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform .2s ease; color: var(--gold-600); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; color: var(--text); }
.faq-answer p { margin: 0; }
.contact-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy); color: #cfd8ea; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.contact-card h3 { color: #fff; font-size: 1.35rem; }

/* Contact list */
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--navy); flex-shrink: 0; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list div { font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.contact-list a { color: inherit; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-600); }
.side-card-navy .contact-list strong, .contact-card .contact-list strong { color: #8ea0c4; }
.side-card-navy .contact-list a, .contact-card .contact-list a { color: #fff; }
.side-card-navy .contact-list a:hover, .contact-card .contact-list a:hover { color: var(--gold); }

/* News */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.post-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-body > p { font-size: .92rem; color: var(--muted); }
.post-card-date { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.post-card-title { font-size: 1.1rem; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card .text-link { margin-top: auto; }

/* CTA */
.cta-band { background: radial-gradient(800px 300px at 10% 0%, rgba(232, 165, 6, .22), transparent 60%), var(--navy-900); color: #cfd8ea; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); color: #fff; margin-bottom: 6px; letter-spacing: .01em; }
.cta-band p { margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 18, 58, .95), rgba(1, 30, 89, .7)); }
.page-hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 60px; }
.page-hero h1 { color: #fff; font-family: var(--display); text-transform: uppercase; font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: .01em; margin-bottom: 12px; max-width: 22ch; line-height: 1; }
.page-hero-text { font-size: 1.1rem; color: #d7e0f2; max-width: 64ch; margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: #aebbd6; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }

.prose { color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose ul li, .prose ol li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--gold); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.lead { font-size: 1.15rem; color: var(--ink); }
.post-feature { margin: 0 0 28px; }
.post-feature img { border-radius: var(--radius); max-height: 640px; width: auto; }

.content-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; }
.side-card h3 .pta-icon { color: var(--gold-600); }
.side-card p { font-size: .93rem; }
.side-card .btn + .btn { margin-top: 10px; }
.side-card-navy { background: var(--navy); border-color: var(--navy); color: #cfd8ea; }
.side-card-navy h3 { color: #fff; }
.side-card-navy a:not(.btn) { color: var(--gold); }
.side-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: .88rem; text-decoration: none; }

/* Course single */
.course-facts-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.course-facts { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.course-facts li { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-right: 1px solid var(--line); }
.course-facts li:last-child { border-right: 0; }
.cf-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600); flex-shrink: 0; }
.course-facts small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.course-facts strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.course-main > h2 { font-size: 1.55rem; margin-top: 44px; }
.course-main > h2:first-of-type { margin-top: 32px; }
.course-hero-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--navy); }
.course-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.course-main .steps { grid-template-columns: repeat(2, 1fr); }
.career-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.career-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); font-weight: 600; color: var(--navy); font-size: .95rem; }
.career-list .pta-icon { color: var(--gold-600); }
.side-facts { margin: 16px 0 22px; display: grid; gap: 0; }
.side-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.side-facts dt { color: #8ea0c4; }
.side-facts dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }

/* Course archive */
.course-tools { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); margin-bottom: 44px; }
.course-search { position: relative; flex: 1 1 280px; }
.course-search .pta-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.course-search input { width: 100%; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-alt); }
.course-search input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(232, 165, 6, .18); }
.course-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.chip span { background: var(--bg-alt); border-radius: 999px; padding: 0 8px; font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active span { background: var(--gold); color: var(--navy); }
.stream-block { margin-bottom: 64px; }
.stream-block-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 2px solid var(--line); }
.stream-block-head h2 { margin-bottom: 6px; }
.stream-block-head h2 a { color: var(--navy); text-decoration: none; }
.stream-block-head .eyebrow { margin-bottom: 4px; }
.stream-block-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--navy); color: var(--gold); flex-shrink: 0; }
.stream-block-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: .88rem; color: var(--muted); }
.stream-block-facts span { display: inline-flex; align-items: center; gap: 6px; }
.stream-block-facts .pta-icon { color: var(--gold-600); }
.is-hidden { display: none !important; }

.stream-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.fact-list { margin: 0; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 8px 22px; }
.fact-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { display: inline-flex; align-items: center; gap: 8px; color: #8ea0c4; font-size: .9rem; }
.fact-list dt .pta-icon { color: var(--gold); }
.fact-list dd { margin: 0; font-weight: 600; text-align: right; font-size: .95rem; }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin: 44px 0 20px; color: var(--navy); }
.group-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.group-title:first-of-type { margin-top: 0; }
.mini-streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-stream { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: all .15s ease; }
.mini-stream:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.mini-stream > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.mini-stream strong { color: var(--navy); }
.mini-stream small { color: var(--muted); }

/* About */
.about-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about-quote { position: absolute; left: -20px; bottom: -24px; display: flex; gap: 12px; align-items: flex-start; background: var(--gold); color: var(--navy); padding: 16px 20px; border-radius: var(--radius); max-width: 320px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.4; }
.about-quote strong { display: block; }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.value-card h3 { margin: 16px 0 8px; }
.value-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reason h3 { margin: 16px 0 8px; font-size: 1.05rem; }
.reason p { font-size: .92rem; color: var(--muted); }
.accred-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.accred-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px; }
.accred-card strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--gold); line-height: 1; margin-bottom: 8px; letter-spacing: .02em; }
.accred-card span { font-size: .9rem; }

/* Admissions */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; border-top: 5px solid var(--gold); }
.req-card h3 { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.2rem; margin-bottom: 18px; }
.req-card h3 .pta-icon { color: var(--gold-600); }
.note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; color: var(--muted); font-size: .92rem; text-align: center; }
.apply-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.apply-way { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.apply-way h3 { margin: 16px 0 6px; }
.apply-way p { font-size: .93rem; color: var(--muted); }
.docs-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.note-box { display: flex; gap: 14px; background: var(--gold-100); border: 1px solid #f3d27f; border-radius: var(--radius); padding: 18px 20px; margin-top: 24px; color: var(--ink); }
.note-box > .pta-icon { color: var(--gold-600); margin-top: 3px; }
.note-box ul { margin: 6px 0 0; padding-left: 1.1em; font-size: .93rem; }
.funding-card { background: var(--navy); color: #cfd8ea; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.funding-card h3 { color: #fff; font-size: 1.4rem; margin-top: 16px; }
.funding-card strong { color: #fff; }
.flyer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
.flyer { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.flyer:hover { transform: translateY(-4px); }

/* Campus */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.support-item { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.support-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: var(--navy); flex-shrink: 0; }
.support-item h3 { font-size: 1rem; margin-bottom: 4px; }
.support-item p { font-size: .88rem; color: var(--muted); margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.pta-gallery-item { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy); }
.pta-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.pta-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pta-gallery-item:hover img { transform: scale(1.06); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-info { display: grid; gap: 20px; }
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* Apply */
.section-form { background: var(--bg-alt); }
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.apply-intro > p:first-child { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.apply-intro p:empty { display: none; }

/* ==========================================================================
   Forms
   ========================================================================== */
.pta-form { position: relative; }
.pta-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pta-progress { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.pta-progress li { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; }
.pta-progress li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .72rem; }
.pta-section { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 0 26px 26px; margin: 0 0 22px; min-width: 0; }
.pta-section > legend { display: flex; align-items: center; gap: 12px; float: left; width: calc(100% + 52px); margin: 0 -26px 22px; padding: 16px 26px; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; border-radius: var(--radius) var(--radius) 0 0; }
.pta-section > legend + * { clear: both; }
.pta-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .95rem; }
.pta-section-intro { font-size: .92rem; color: var(--muted); background: var(--bg-alt); padding: 12px 16px; border-radius: var(--radius-sm); }
.pta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 18px; }
.pta-grid + .btn { margin-top: 22px; }
.pta-field { grid-column: span 6; min-width: 0; }
.pta-w-half { grid-column: span 3; }
.pta-w-third { grid-column: span 2; }
.pta-field > label, .pta-file-label, .pta-radios legend { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.pta-req { color: var(--error); }
.pta-field > label.pta-check, .pta-field > label.pta-file { display: flex; margin-bottom: 0; }
.pta-field > label.pta-check { font-weight: 400; color: var(--text); }
.pta-field input[type="text"], .pta-field input[type="email"], .pta-field input[type="tel"], .pta-field input[type="date"], .pta-field input[type="number"], .pta-field select, .pta-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #d0d5dd; border-radius: var(--radius-sm); background: #fff; font-size: 16px; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease; min-height: 48px; }
.pta-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.pta-field input:focus, .pta-field select:focus, .pta-field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(11, 51, 131, .12); }
.pta-radios { border: 0; padding: 0; margin: 0; min-width: 0; }
.pta-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pta-radio { position: relative; cursor: pointer; }
.pta-radio input { position: absolute; opacity: 0; }
.pta-radio span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1.5px solid #d0d5dd; border-radius: var(--radius-sm); font-weight: 500; min-width: 90px; }
.pta-radio span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #98a2b3; }
.pta-radio input:checked + span { border-color: var(--navy); background: var(--navy-100); color: var(--navy); font-weight: 600; }
.pta-radio input:checked + span::before { border: 5px solid var(--navy); }
.pta-radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.pta-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; padding: 14px 16px; background: var(--bg-alt); border-radius: var(--radius-sm); border: 1.5px solid transparent; }
.pta-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.pta-file { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 2px dashed #b8c2d6; border-radius: var(--radius-sm); background: var(--bg-alt); cursor: pointer; color: var(--navy); font-weight: 500; font-size: .9rem; transition: all .15s ease; min-height: 54px; }
.pta-file:hover { border-color: var(--navy); background: var(--navy-100); }
.pta-file .pta-icon { color: var(--gold-600); }
.pta-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pta-file.has-file { border-style: solid; border-color: var(--success); background: #ecfdf3; color: var(--success); }
.pta-file.has-file .pta-icon { color: var(--success); }
.pta-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pta-file-input:focus-visible + .pta-file, .pta-field:focus-within .pta-file { outline: 3px solid var(--gold); outline-offset: 2px; }
.pta-error { color: var(--error); font-size: .84rem; font-weight: 500; margin: 6px 0 0; }
.has-error input, .has-error select, .has-error textarea, .has-error .pta-radio span, .has-error .pta-file, .has-error .pta-check { border-color: var(--error) !important; }
.has-error .pta-check { background: #fef3f2; }
.pta-alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.pta-alert-error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.pta-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.pta-small { font-size: .85rem; color: var(--muted); margin: 0; flex: 1 1 300px; }
.pta-success { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--success); border-radius: var(--radius-lg); padding: 44px 32px; text-align: center; box-shadow: var(--shadow); }
.pta-success-sm { padding: 30px 24px; box-shadow: none; }
.pta-success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: var(--success); margin-bottom: 18px; }
.pta-ref { font-size: 1.2rem; background: var(--gold-100); display: inline-block; padding: 10px 20px; border-radius: 999px; color: var(--navy); }
.pta-next { text-align: left; max-width: 460px; margin: 20px auto; }
.pta-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto; }
.search-field { flex: 1; padding: 12px 16px; border: 1.5px solid #d0d5dd; border-radius: 999px; }
.empty-state { text-align: center; padding: 40px 0; }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Comments */
.comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #d0d5dd; border-radius: var(--radius-sm); }
.comment-form .submit { background: var(--navy); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #aebbd6; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.footer-logo img { width: 190px; }
.footer-title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--gold); border-radius: 3px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a, .footer-contact a { color: #d7e0f2; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-download { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .pta-icon { color: var(--gold); margin-top: 3px; }
.footer-accred { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; text-align: center; }
.footer-accred-label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; margin-bottom: 12px; }
.footer-bottom { background: #000c29; font-size: .84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d7e0f2; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; background: #0f7b41; color: #fff; padding: 12px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(18, 140, 74, .6); text-decoration: none; font-weight: 600; transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.05); color: #fff; }
.wa-label { padding-right: 8px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 10, 30, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--navy); }

/* ==========================================================================
   Section blocks & Elementor
   ========================================================================== */
.section-notop { padding-top: 0 !important; }
.pta-plain { padding: 0 !important; background: none !important; }
.pta-plain > .container { max-width: none; padding: 0; }
.pta-plain .section-head { margin-bottom: 32px; }
.hero-inner-single { grid-template-columns: minmax(0, 1fr); }
.about-split-left > div:first-child { order: 2; }
@media (min-width: 1181px) {
	.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
	.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 641px) and (max-width: 1180px) {
	.grid-cols-2, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-cols-3, .grid-cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 641px) and (max-width: 860px) {
	.grid-cols-3, .grid-cols-5 { grid-template-columns: repeat(2, 1fr); }
}

/* Elementor: keep Pinnacle widgets looking the same inside Elementor wrappers. */
.pta-elementor-content { min-height: 40vh; }
.elementor-widget-image.pta-img-fill a { display: block; }
.elementor-widget-image.pta-img-fill img { display: block; margin: 0 auto; }
/* Keep header, footer and theme links in brand colours even if Elementor's Site Settings set a link colour. */
body .topbar a { color: #fff; }
body .topbar a:hover, body .site-footer .footer-links a:hover, body .site-footer .footer-contact a:hover { color: var(--gold); }
body .site-footer .footer-links a, body .site-footer .footer-contact a, body .site-footer .footer-bottom a { color: #d7e0f2; }
body .site-footer .footer-download, body .side-card-navy a:not(.btn), body .contact-card a:not(.btn), body .apply-aside-card .text-link { color: var(--gold); }
body .side-card-navy .contact-list a, body .contact-card .contact-list a { color: #fff; }
body .site-footer .footer-bottom a:hover { color: var(--gold); }
body a.btn-white, body a.btn-outline { color: var(--navy); }
body a.btn-outline:hover, body a.btn-outline-light, body a.btn-ghost { color: #fff; }
body a.btn-outline-light:hover, body a.btn-ghost:hover { color: var(--navy); }
body .announce a { color: var(--navy); }
body .main-nav .menu a { color: var(--ink); }
body .main-nav .menu > li.current-menu-item > a, body .main-nav .menu > li.current-menu-ancestor > a, body .main-nav .menu > li > a:hover { color: var(--navy-600); }
body .brand, body a.btn-gold, body a.btn-gold:hover { color: var(--navy); }
body a.btn-navy, body a.btn-navy:hover { color: #fff; }
body a.btn-navy, body a.btn-navy:hover { color: #fff; }
body .course-card-title a, body .post-card-title a { color: var(--navy); }
.pta-elementor-content > .elementor { width: 100%; }
.pta-el { width: 100%; }
.pta-el img { max-width: 100%; }
.pta-el .stream-media img, .pta-el .course-card-media img, .pta-el .facility img, .pta-el .pta-gallery-item img, .pta-el .post-card-media img, .pta-el .course-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pta-el .why-img-main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); height: auto; }
.pta-el .why-img-float { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pta-el .apply-aside img, .pta-el .about-media img { border-radius: var(--radius-lg); }
.pta-el .about-media img { box-shadow: var(--shadow-lg); }
.pta-el .flyer img { border-radius: 0; }
.pta-el a.btn, .pta-el .text-link, .pta-el .stream-card, .pta-el .course-card-title a, .pta-el .mini-stream { text-decoration: none; }
.elementor-widget-container > .pta-el > .section, .elementor-widget-container > .pta-el > section { margin: 0; }
.pta-el-placeholder { padding: 30px; text-align: center; background: var(--bg-alt); border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.main-nav .menu > li > a { padding: 10px 9px; font-size: .9rem; }
	.header-cta { display: none; }
	.value-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: inline-grid; }
	.header-cta { display: inline-flex; }
	.main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 150; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; margin: 0; box-shadow: var(--shadow-lg); visibility: hidden; }
	.main-nav.is-open { transform: translateX(0); visibility: visible; }
	.nav-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; }
	.nav-close { background: var(--bg-alt); border: 0; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
	.main-nav .menu { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
	.main-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav .menu > li > a { flex: 1; padding: 14px 12px; font-size: 1rem; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.submenu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 10px; cursor: pointer; color: var(--navy); }
	.submenu-toggle[aria-expanded="true"] .pta-icon { transform: rotate(180deg); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--gold); border-radius: 0; margin: 4px 0 8px 12px; padding: 0 0 0 8px; width: 100%; display: none; min-width: 0; }
	.main-nav li.is-expanded > .sub-menu { display: block; }
	.nav-panel-foot { display: grid; gap: 10px; padding: 16px 20px 28px; margin-top: auto; border-top: 1px solid var(--line); }
	.hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; gap: 36px; }
	.hero-card { max-width: 560px; }
	.stream-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
	.why { grid-template-columns: 1fr; gap: 40px; }
	.why-media { max-width: 560px; }
	.course-grid, .course-grid-4, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.apply-split, .faq-split, .content-sidebar, .apply-layout, .contact-layout, .docs-split, .about-split, .stream-intro { grid-template-columns: 1fr; }
	.apply-aside { max-width: 480px; }
	.sidebar, .contact-card { position: static; }
	.facility-grid { grid-template-columns: repeat(2, 1fr); }
	.facility-lg { grid-column: span 2; grid-row: span 1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.reason-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
	.course-facts { grid-template-columns: repeat(2, 1fr); }
	.course-facts li:nth-child(2) { border-right: 0; }
	.course-facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.mini-streams { grid-template-columns: 1fr; }
	.tick-columns { grid-template-columns: repeat(2, 1fr); }
	.about-quote { left: 12px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
	.hide-md { display: none !important; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.container { padding: 0 16px; }
	.section { padding: 60px 0; }
	.section-tight { padding: 40px 0; }
	.section-head { margin-bottom: 32px; }
	.hide-sm { display: none !important; }
	.topbar-inner { justify-content: center; }
	.topbar .social { display: none; }
	.brand-mark { width: 54px; }
	.brand-name { font-size: 1.2rem; }
	.brand-sub { font-size: .58rem; letter-spacing: .1em; }
	.header-inner { gap: 10px; }
	.header-cta { padding: .6em 1em; font-size: .88rem; }
	.hero-title { font-size: 2.7rem; }
	.hero-text { font-size: 1rem; }
	.hero-inner { padding-top: 44px; padding-bottom: 48px; }
	.btn-row .btn { flex: 1 1 100%; }
	.hero-card { padding: 20px; }
	.stream-grid, .course-grid, .course-grid-4, .post-grid, .steps, .apply-split .steps, .course-main .steps, .feature-grid, .req-grid, .apply-ways, .reason-grid, .support-grid, .value-grid, .accred-cards, .check-list-grid, .career-list, .tick-columns, .tick-columns-2 { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
	.stat:nth-child(2) { border-right: 0; }
	.facility-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.facility-lg { grid-column: span 1; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.flyer-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
	.pta-section { padding: 0 16px 20px; }
	.pta-section > legend { width: calc(100% + 32px); margin: 0 -16px 18px; padding: 14px 16px; font-size: .95rem; }
	.pta-w-half, .pta-w-third { grid-column: span 6; }
	.pta-progress { display: none; }
	.pta-submit-row { padding: 18px; }
	.pta-submit-row .btn { width: 100%; }
	.contact-form-card { padding: 22px; }
	.course-facts { grid-template-columns: 1fr; }
	.course-facts li { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; }
	.course-facts li:last-child { border-bottom: 0; }
	.course-tools { position: static; }
	.stream-block-head { flex-direction: column; gap: 12px; }
	.cta-inner { padding-top: 48px; padding-bottom: 48px; }
	.cta-actions, .cta-actions .btn { width: 100%; }
	.wa-label { display: none; }
	.wa-float { right: 14px; bottom: 14px; }
	.why-media { padding: 0 20px 50px 0; }
	.why-badge { left: -6px; }
	.page-hero-inner { padding-top: 36px; padding-bottom: 40px; }
	.map-wrap iframe { height: 320px; }
}

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

@media print {
	.announce, .topbar, .site-header, .wa-float, .cta-band, .site-footer, .nav-overlay { display: none !important; }
}

/* Course pages built in Elementor: keep the Apply card in view while scrolling. */
@media (min-width: 1025px) {
	.elementor-element.pta-sticky { position: sticky; top: calc(var(--header-h, 80px) + 20px); align-self: flex-start; }
}
