/*
Theme Name:   Aplomb
Theme URI:    https://example.com/
Author:       Aplomb
Description:  A fast, accessible WordPress theme for counselling and career-guidance practices. Built to pair with the Aplomb Assessment Engine plugin. No page builder required.
Version:      1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  aplomb
Tags:         counselling, education, one-column, custom-menu, custom-logo, accessibility-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS  — change these and the whole site changes
   ========================================================================== */

:root {
	/* Brand — Deep Teal + Warm Sand */
	--ap-primary:      #0B5F58;   /* headings, buttons, links */
	--ap-primary-700:  #084943;   /* pressed / dark surfaces */
	--ap-primary-500:  #0F8C81;   /* hover, icons, accents */
	--ap-primary-100:  #D9EDEA;   /* soft fills */
	--ap-primary-50:   #EEF7F5;   /* tinted sections */

	--ap-sand:         #E8A87C;   /* CTA highlight, badges */
	--ap-sand-600:     #D18A58;
	--ap-sand-100:     #FBEDE2;

	--ap-cream:        #FAF7F2;   /* alternating section bg */
	--ap-ink:          #12211F;   /* body text */
	--ap-muted:        #5C6B68;   /* secondary text */
	--ap-line:         #E2E8E6;   /* borders */
	--ap-white:        #FFFFFF;

	/* Semantic */
	--ap-success:      #1B7A4B;
	--ap-warning:      #B45309;
	--ap-danger:       #B42318;

	/* Type scale (fluid) */
	--ap-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ap-serif: "Fraunces", Georgia, "Times New Roman", serif;

	--ap-t-xs:   0.8125rem;
	--ap-t-sm:   0.9375rem;
	--ap-t-base: 1.0625rem;
	--ap-t-lg:   clamp(1.125rem, 0.6vw + 1rem, 1.25rem);
	--ap-t-xl:   clamp(1.375rem, 1vw + 1.1rem, 1.625rem);
	--ap-t-2xl:  clamp(1.75rem, 1.8vw + 1.3rem, 2.25rem);
	--ap-t-3xl:  clamp(2.125rem, 3vw + 1.4rem, 3rem);
	--ap-t-4xl:  clamp(2.5rem, 4.5vw + 1.4rem, 3.75rem);

	/* Spacing */
	--ap-s1: 0.25rem; --ap-s2: 0.5rem;  --ap-s3: 0.75rem; --ap-s4: 1rem;
	--ap-s5: 1.5rem;  --ap-s6: 2rem;    --ap-s7: 3rem;    --ap-s8: 4rem;
	--ap-s9: 6rem;    --ap-s10: 8rem;

	--ap-section-y: clamp(3.5rem, 7vw, 7rem);

	/* Shape */
	--ap-r-sm: 8px; --ap-r: 14px; --ap-r-lg: 22px; --ap-r-full: 999px;

	/* Elevation */
	--ap-shadow-sm: 0 1px 2px rgba(18,33,31,.06), 0 1px 3px rgba(18,33,31,.05);
	--ap-shadow:    0 4px 12px rgba(18,33,31,.07), 0 2px 4px rgba(18,33,31,.04);
	--ap-shadow-lg: 0 18px 44px rgba(11,95,88,.12), 0 4px 12px rgba(18,33,31,.05);

	/* Layout */
	--ap-wide: 1200px;
	--ap-narrow: 760px;
	--ap-gutter: clamp(1.125rem, 4vw, 2.5rem);
	--ap-header-h: 76px;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	font-family: var(--ap-font);
	font-size: var(--ap-t-base);
	line-height: 1.65;
	color: var(--ap-ink);
	background: var(--ap-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

h1, h2, h3, h4, h5 { line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--ap-t-4xl); }
h2 { font-size: var(--ap-t-3xl); }
h3 { font-size: var(--ap-t-xl); }
h4 { font-size: var(--ap-t-lg); }
p  { text-wrap: pretty; }

a { color: var(--ap-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ap-primary-500); }

:focus-visible {
	outline: 3px solid var(--ap-primary-500);
	outline-offset: 2px;
	border-radius: 4px;
}

.ap-sr {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ap-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ap-primary); color: #fff; padding: 12px 20px;
	border-radius: 0 0 var(--ap-r-sm) 0;
}
.ap-skip:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.ap-wrap { width: 100%; max-width: var(--ap-wide); margin-inline: auto; padding-inline: var(--ap-gutter); }
.ap-narrow { max-width: var(--ap-narrow); margin-inline: auto; }
.ap-section { padding-block: var(--ap-section-y); }
.ap-section--cream { background: var(--ap-cream); }
.ap-section--tint { background: var(--ap-primary-50); }
.ap-section--dark { background: var(--ap-primary-700); color: #fff; }
.ap-section--dark h2, .ap-section--dark h3 { color: #fff; }

.ap-grid { display: grid; gap: var(--ap-s5); }
.ap-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ap-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.ap-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* Section heading block */
.ap-head { max-width: 680px; margin-bottom: var(--ap-s7); }
.ap-head--center { margin-inline: auto; text-align: center; }
.ap-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: var(--ap-t-xs); font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ap-primary-500); margin-bottom: var(--ap-s3);
}
.ap-eyebrow::before {
	content: ""; width: 22px; height: 2px; background: var(--ap-sand); border-radius: 2px;
}
.ap-head--center .ap-eyebrow::before { display: none; }
.ap-head p { color: var(--ap-muted); font-size: var(--ap-t-lg); margin-top: var(--ap-s4); }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.ap-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-size: var(--ap-t-sm); font-weight: 600; line-height: 1;
	padding: 15px 28px; border-radius: var(--ap-r-full);
	border: 2px solid transparent; text-decoration: none;
	transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, background-color .18s, color .18s;
	white-space: nowrap;
}
.ap-btn:hover { transform: translateY(-2px); }
.ap-btn:active { transform: translateY(0); }

.ap-btn--primary { background: var(--ap-primary); color: #fff; box-shadow: 0 4px 14px rgba(11,95,88,.24); }
.ap-btn--primary:hover { background: var(--ap-primary-700); color: #fff; box-shadow: 0 8px 22px rgba(11,95,88,.3); }

.ap-btn--sand { background: var(--ap-sand); color: #3B2413; box-shadow: 0 4px 14px rgba(209,138,88,.28); }
.ap-btn--sand:hover { background: var(--ap-sand-600); color: #2A1A0D; }

.ap-btn--outline { border-color: var(--ap-primary); color: var(--ap-primary); background: transparent; }
.ap-btn--outline:hover { background: var(--ap-primary); color: #fff; }

.ap-btn--ghost { color: var(--ap-ink); border-color: var(--ap-line); background: #fff; }
.ap-btn--ghost:hover { border-color: var(--ap-primary); color: var(--ap-primary); }

.ap-btn--onDark { background: #fff; color: var(--ap-primary-700); }
.ap-btn--onDark:hover { background: var(--ap-cream); color: var(--ap-primary-700); }

.ap-btn--lg { padding: 18px 36px; font-size: var(--ap-t-base); }
.ap-btn--sm { padding: 11px 20px; font-size: var(--ap-t-xs); }
.ap-btn--block { width: 100%; }

.ap-arrow { transition: transform .2s; }
.ap-btn:hover .ap-arrow { transform: translateX(3px); }

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.ap-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.88);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.ap-header.is-stuck { border-bottom-color: var(--ap-line); box-shadow: var(--ap-shadow-sm); }

.ap-header__bar {
	display: flex; align-items: center; gap: var(--ap-s5);
	min-height: var(--ap-header-h);
}

.ap-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.ap-brand__mark {
	width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--ap-primary-500), var(--ap-primary));
	display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px;
	box-shadow: 0 3px 10px rgba(11,95,88,.28);
}
.ap-brand__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ap-ink); line-height: 1.1; }
.ap-brand__tag { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--ap-muted); }

/* Desktop nav */
.ap-nav { margin-left: auto; }
.ap-nav > ul { display: flex; align-items: center; gap: var(--ap-s2); list-style: none; padding: 0; margin: 0; }
.ap-nav a {
	display: flex; align-items: center; gap: 5px;
	padding: 9px 14px; border-radius: var(--ap-r-full);
	font-size: var(--ap-t-sm); font-weight: 550; color: var(--ap-ink);
	text-decoration: none; transition: background-color .16s, color .16s;
}
.ap-nav a:hover, .ap-nav .current-menu-item > a { background: var(--ap-primary-50); color: var(--ap-primary); }

.ap-nav li.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 2px;
	border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.ap-nav li.menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(-1px); }

/* Dropdown */
.ap-nav ul ul {
	position: absolute; top: calc(100% - 4px); left: 0; min-width: 268px;
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r);
	box-shadow: var(--ap-shadow-lg); padding: 8px; list-style: none; margin: 0;
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.ap-nav li { position: relative; }
.ap-nav li:hover > ul, .ap-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.ap-nav ul ul a { border-radius: var(--ap-r-sm); padding: 11px 14px; }
.ap-nav ul ul li { width: 100%; }

.ap-header__cta { display: flex; align-items: center; gap: var(--ap-s3); flex-shrink: 0; }

/* Mobile toggle */
.ap-burger {
	display: none; width: 44px; height: 44px; border-radius: var(--ap-r-sm);
	align-items: center; justify-content: center; flex-direction: column; gap: 5px;
	margin-left: auto;
}
.ap-burger span { display: block; width: 21px; height: 2px; background: var(--ap-ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.ap-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ap-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ap-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.ap-drawer {
	position: fixed; inset: var(--ap-header-h) 0 0 0; z-index: 99;
	background: #fff; padding: var(--ap-s5) var(--ap-gutter) var(--ap-s8);
	overflow-y: auto; transform: translateX(100%);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
	display: none; flex-direction: column; gap: var(--ap-s4);
}
.ap-drawer.is-open { transform: translateX(0); }
.ap-drawer ul { list-style: none; padding: 0; margin: 0; }
.ap-drawer > ul > li { border-bottom: 1px solid var(--ap-line); }
.ap-drawer a {
	display: block; padding: 15px 4px; font-size: var(--ap-t-lg);
	font-weight: 600; color: var(--ap-ink); text-decoration: none;
}
.ap-drawer ul ul { padding: 0 0 10px 14px; border-left: 2px solid var(--ap-primary-100); margin-left: 4px; }
.ap-drawer ul ul a { font-size: var(--ap-t-sm); font-weight: 500; padding: 9px 4px; color: var(--ap-muted); }
.ap-drawer__cta { display: flex; flex-direction: column; gap: var(--ap-s3); margin-top: var(--ap-s5); }
body.ap-locked { overflow: hidden; }

@media (max-width: 1024px) {
	.ap-nav, .ap-header__cta { display: none; }
	.ap-burger { display: flex; }
	.ap-drawer { display: flex; }
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.ap-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem); }
.ap-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(900px 500px at 78% 8%,  rgba(232,168,124,.20), transparent 62%),
		radial-gradient(800px 620px at 8% 92%,  rgba(15,140,129,.14), transparent 60%),
		linear-gradient(180deg, var(--ap-primary-50) 0%, #fff 74%);
}
.ap-hero__grid {
	display: grid; grid-template-columns: 1.08fr .92fr;
	gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.ap-hero h1 { margin-bottom: var(--ap-s5); }
.ap-hero h1 em { font-style: normal; color: var(--ap-primary); position: relative; white-space: nowrap; }
.ap-hero h1 em::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
	background: var(--ap-sand); opacity: .38; border-radius: 3px; z-index: -1;
}
.ap-hero__lede { font-size: var(--ap-t-lg); color: var(--ap-muted); max-width: 54ch; margin-bottom: var(--ap-s6); }
.ap-hero__actions { display: flex; flex-wrap: wrap; gap: var(--ap-s3); margin-bottom: var(--ap-s6); }

.ap-trust { display: flex; flex-wrap: wrap; gap: var(--ap-s5); align-items: center; }
.ap-trust__item { display: flex; align-items: center; gap: 9px; font-size: var(--ap-t-sm); color: var(--ap-muted); }
.ap-trust__item svg { flex-shrink: 0; color: var(--ap-primary-500); }

/* Hero visual card */
.ap-hero__card {
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg);
	box-shadow: var(--ap-shadow-lg); padding: var(--ap-s6); position: relative;
}
.ap-hero__card::after {
	content: ""; position: absolute; inset: -14px -14px auto auto;
	width: 96px; height: 96px; border-radius: 50%;
	background: var(--ap-sand-100); z-index: -1;
}
.ap-qcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--ap-s4); }
.ap-qcard__step { font-size: var(--ap-t-xs); font-weight: 700; color: var(--ap-primary-500); text-transform: uppercase; letter-spacing: .08em; }
.ap-qcard__bar { height: 5px; background: var(--ap-primary-100); border-radius: var(--ap-r-full); overflow: hidden; margin-bottom: var(--ap-s5); }
.ap-qcard__bar i { display: block; height: 100%; width: 62%; background: var(--ap-primary); border-radius: var(--ap-r-full); }
.ap-qcard__q { font-size: var(--ap-t-lg); font-weight: 700; margin-bottom: var(--ap-s4); line-height: 1.3; }
.ap-qcard__opt {
	display: flex; align-items: center; gap: 11px; padding: 13px 15px;
	border: 1.5px solid var(--ap-line); border-radius: var(--ap-r-sm);
	margin-bottom: 9px; font-size: var(--ap-t-sm); background: #fff;
}
.ap-qcard__opt i {
	width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--ap-line); flex-shrink: 0;
}
.ap-qcard__opt.is-on { border-color: var(--ap-primary); background: var(--ap-primary-50); font-weight: 600; }
.ap-qcard__opt.is-on i { background: var(--ap-primary); border-color: var(--ap-primary); position: relative; }
.ap-qcard__opt.is-on i::after {
	content: ""; position: absolute; left: 5.5px; top: 2.5px; width: 5px; height: 9px;
	border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(42deg);
}
.ap-qcard__note {
	margin-top: var(--ap-s4); padding-top: var(--ap-s4); border-top: 1px dashed var(--ap-line);
	font-size: var(--ap-t-xs); color: var(--ap-muted); display: flex; gap: 8px; align-items: flex-start;
}

@media (max-width: 900px) {
	.ap-hero__grid { grid-template-columns: 1fr; }
	.ap-hero__card { order: -1; }
}

/* ==========================================================================
   7. STATS STRIP
   ========================================================================== */

.ap-stats { border-block: 1px solid var(--ap-line); background: var(--ap-white); }
.ap-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ap-stat { padding: var(--ap-s6) var(--ap-s4); text-align: center; border-right: 1px solid var(--ap-line); }
.ap-stat:last-child { border-right: none; }
.ap-stat b { display: block; font-size: var(--ap-t-2xl); font-weight: 800; color: var(--ap-primary); letter-spacing: -.03em; }
.ap-stat span { font-size: var(--ap-t-sm); color: var(--ap-muted); }
@media (max-width: 640px) {
	.ap-stat:nth-child(2n) { border-right: none; }
	.ap-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ap-line); }
	.ap-stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   8. SERVICE CARDS
   ========================================================================== */

.ap-svc {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg);
	padding: var(--ap-s6); text-decoration: none; color: inherit;
	transition: transform .22s, box-shadow .22s, border-color .22s;
	position: relative; overflow: hidden;
}
.ap-svc::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--ap-primary), var(--ap-sand));
	transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.ap-svc:hover { transform: translateY(-5px); box-shadow: var(--ap-shadow-lg); border-color: var(--ap-primary-100); }
.ap-svc:hover::before { transform: scaleX(1); }

.ap-svc__icon {
	width: 52px; height: 52px; border-radius: var(--ap-r); display: grid; place-items: center;
	background: var(--ap-primary-50); color: var(--ap-primary); margin-bottom: var(--ap-s4); font-size: 24px;
}
.ap-svc h3 { margin-bottom: var(--ap-s2); font-size: var(--ap-t-lg); }
.ap-svc__for { font-size: var(--ap-t-xs); font-weight: 700; color: var(--ap-primary-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--ap-s3); }
.ap-svc p { font-size: var(--ap-t-sm); color: var(--ap-muted); margin-bottom: var(--ap-s5); flex-grow: 1; }
.ap-svc__foot {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: var(--ap-s4); border-top: 1px solid var(--ap-line);
	font-size: var(--ap-t-sm);
}
.ap-svc__meta { color: var(--ap-muted); }
.ap-svc__go { color: var(--ap-primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.ap-svc:hover .ap-svc__go .ap-arrow { transform: translateX(4px); }

.ap-tag {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase; padding: 4px 10px; border-radius: var(--ap-r-full);
	background: var(--ap-sand-100); color: var(--ap-sand-600);
}

/* ==========================================================================
   9. HOW IT WORKS
   ========================================================================== */

.ap-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px), 1fr)); gap: var(--ap-s6); counter-reset: step; }
.ap-step { position: relative; padding-top: var(--ap-s6); }
.ap-step::before {
	counter-increment: step; content: counter(step, decimal-leading-zero);
	position: absolute; top: 0; left: 0;
	font-size: 2.6rem; font-weight: 800; line-height: 1;
	color: var(--ap-primary-100); letter-spacing: -.04em;
}
.ap-step h3 { margin-bottom: var(--ap-s3); position: relative; }
.ap-step p { color: var(--ap-muted); font-size: var(--ap-t-sm); }

/* ==========================================================================
   10. FEATURE SPLIT (assessment preview)
   ========================================================================== */

.ap-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.ap-split--flip > *:first-child { order: 2; }
@media (max-width: 900px) { .ap-split, .ap-split--flip > *:first-child { grid-template-columns: 1fr; order: 0; } }

.ap-checks { list-style: none; padding: 0; margin: var(--ap-s5) 0 var(--ap-s6); display: grid; gap: var(--ap-s4); }
.ap-checks li { display: flex; gap: 13px; align-items: flex-start; font-size: var(--ap-t-sm); }
.ap-checks svg { flex-shrink: 0; color: var(--ap-primary-500); margin-top: 2px; }
.ap-checks b { display: block; font-size: var(--ap-t-base); margin-bottom: 2px; }
.ap-checks span { color: var(--ap-muted); }

/* Report mock */
.ap-mock {
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg);
	box-shadow: var(--ap-shadow-lg); overflow: hidden;
}
.ap-mock__bar { display: flex; gap: 6px; padding: 13px 16px; background: var(--ap-cream); border-bottom: 1px solid var(--ap-line); }
.ap-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ap-line); }
.ap-mock__body { padding: var(--ap-s6); }
.ap-mock__eyebrow { font-size: var(--ap-t-xs); font-weight: 700; color: var(--ap-primary-500); text-transform: uppercase; letter-spacing: .07em; }
.ap-mock__title { font-size: var(--ap-t-xl); font-weight: 800; margin: 5px 0 var(--ap-s5); }
.ap-mock__row { margin-bottom: var(--ap-s4); }
.ap-mock__row .lbl { display: flex; justify-content: space-between; font-size: var(--ap-t-xs); margin-bottom: 5px; }
.ap-mock__row .lbl b { color: var(--ap-primary); }
.ap-mock__track { height: 7px; background: var(--ap-primary-100); border-radius: var(--ap-r-full); overflow: hidden; }
.ap-mock__track i { display: block; height: 100%; background: var(--ap-primary); border-radius: var(--ap-r-full); }
.ap-mock__career {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 13px 15px; border: 1px solid var(--ap-line); border-radius: var(--ap-r-sm); margin-top: 9px;
}
.ap-mock__career strong { font-size: var(--ap-t-sm); }
.ap-mock__career small { display: block; color: var(--ap-muted); font-size: var(--ap-t-xs); }
.ap-mock__fit { font-size: 1.4rem; font-weight: 800; color: var(--ap-primary); line-height: 1; }

/* ==========================================================================
   11. COUNSELLORS
   ========================================================================== */

.ap-person {
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg);
	padding: var(--ap-s6); text-align: center;
	transition: transform .2s, box-shadow .2s;
}
.ap-person:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg); }
.ap-person__avatar {
	width: 92px; height: 92px; border-radius: 50%; margin: 0 auto var(--ap-s4);
	object-fit: cover; border: 3px solid var(--ap-primary-100);
	background: linear-gradient(135deg, var(--ap-primary-100), var(--ap-sand-100));
	display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; color: var(--ap-primary);
}
.ap-person h3 { font-size: var(--ap-t-lg); margin-bottom: 3px; }
.ap-person__role { font-size: var(--ap-t-sm); color: var(--ap-primary-500); font-weight: 600; margin-bottom: var(--ap-s3); }
.ap-person__cred {
	display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
	background: var(--ap-primary-50); color: var(--ap-primary); padding: 5px 11px;
	border-radius: var(--ap-r-full); margin-bottom: var(--ap-s4);
}
.ap-person p { font-size: var(--ap-t-sm); color: var(--ap-muted); }

/* ==========================================================================
   12. CORPORATE
   ========================================================================== */

.ap-corp { background: var(--ap-primary-700); color: #fff; border-radius: var(--ap-r-lg); padding: clamp(2rem,5vw,4rem); position: relative; overflow: hidden; }
.ap-corp::before {
	content: ""; position: absolute; right: -110px; top: -110px; width: 340px; height: 340px;
	border-radius: 50%; background: rgba(255,255,255,.05);
}
.ap-corp__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; position: relative; }
@media (max-width: 860px) { .ap-corp__grid { grid-template-columns: 1fr; } }
.ap-corp .ap-eyebrow { color: var(--ap-sand); }
.ap-corp .ap-eyebrow::before { background: var(--ap-sand); }
.ap-corp h2 { margin-bottom: var(--ap-s4); }
.ap-corp p { color: rgba(255,255,255,.78); }
.ap-corp__list { list-style: none; padding: 0; margin: var(--ap-s5) 0 var(--ap-s6); display: grid; gap: var(--ap-s3); }
.ap-corp__list li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--ap-t-sm); color: rgba(255,255,255,.9); }
.ap-corp__list svg { flex-shrink: 0; color: var(--ap-sand); margin-top: 3px; }
.ap-corp__panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--ap-r); padding: var(--ap-s6); }
.ap-corp__panel h4 { margin-bottom: var(--ap-s4); }
.ap-corp__stat { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: var(--ap-t-sm); }
.ap-corp__stat:last-of-type { border-bottom: none; }
.ap-corp__stat b { font-size: var(--ap-t-xl); color: var(--ap-sand); font-weight: 800; }

/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */

.ap-quote {
	background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg);
	padding: var(--ap-s6); display: flex; flex-direction: column;
}
.ap-quote__mark { font-family: var(--ap-serif); font-size: 3.2rem; line-height: .7; color: var(--ap-primary-100); margin-bottom: var(--ap-s3); }
.ap-quote p { font-size: var(--ap-t-base); margin-bottom: var(--ap-s5); flex-grow: 1; }
.ap-quote__who { display: flex; align-items: center; gap: 12px; padding-top: var(--ap-s4); border-top: 1px solid var(--ap-line); }
.ap-quote__av {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	background: var(--ap-primary-50); color: var(--ap-primary); font-weight: 800; font-size: var(--ap-t-sm); flex-shrink: 0;
}
.ap-quote__who b { display: block; font-size: var(--ap-t-sm); }
.ap-quote__who span { font-size: var(--ap-t-xs); color: var(--ap-muted); }

/* ==========================================================================
   14. BLOG CARDS
   ========================================================================== */

.ap-post {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r-lg); overflow: hidden;
	text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
}
.ap-post:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow-lg); }
.ap-post__thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ap-primary-50), var(--ap-sand-100)); overflow: hidden; }
.ap-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-post__body { padding: var(--ap-s5); display: flex; flex-direction: column; flex-grow: 1; }
.ap-post__cat { font-size: var(--ap-t-xs); font-weight: 700; color: var(--ap-primary-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--ap-s2); }
.ap-post h3 { font-size: var(--ap-t-lg); margin-bottom: var(--ap-s3); }
.ap-post p { font-size: var(--ap-t-sm); color: var(--ap-muted); flex-grow: 1; margin-bottom: var(--ap-s4); }
.ap-post__meta { font-size: var(--ap-t-xs); color: var(--ap-muted); display: flex; gap: 12px; }

/* ==========================================================================
   15. FAQ
   ========================================================================== */

.ap-faq { max-width: 820px; margin-inline: auto; }
.ap-faq__item { border-bottom: 1px solid var(--ap-line); }
.ap-faq__q {
	display: flex; align-items: flex-start; justify-content: space-between; gap: var(--ap-s4);
	width: 100%; text-align: left; padding: var(--ap-s5) 0;
	font-size: var(--ap-t-lg); font-weight: 650; color: var(--ap-ink);
}
.ap-faq__q:hover { color: var(--ap-primary); }
.ap-faq__icon {
	flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
	background: var(--ap-primary-50); color: var(--ap-primary);
	display: grid; place-items: center; transition: transform .25s, background-color .2s;
	position: relative; margin-top: 3px;
}
.ap-faq__icon::before, .ap-faq__icon::after {
	content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.ap-faq__icon::before { width: 11px; height: 2px; }
.ap-faq__icon::after  { width: 2px; height: 11px; transition: transform .25s, opacity .2s; }
.ap-faq__q[aria-expanded="true"] .ap-faq__icon { background: var(--ap-primary); color: #fff; }
.ap-faq__q[aria-expanded="true"] .ap-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.ap-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.ap-faq__a > div { overflow: hidden; }
.ap-faq__a.is-open { grid-template-rows: 1fr; }
.ap-faq__a p { color: var(--ap-muted); padding-bottom: var(--ap-s5); font-size: var(--ap-t-sm); }

/* ==========================================================================
   16. FINAL CTA
   ========================================================================== */

.ap-cta {
	text-align: center; border-radius: var(--ap-r-lg); padding: clamp(2.5rem,6vw,4.5rem) var(--ap-s5);
	background:
		radial-gradient(600px 300px at 50% 0%, rgba(232,168,124,.22), transparent 70%),
		var(--ap-primary-700);
	color: #fff; position: relative; overflow: hidden;
}
.ap-cta h2 { margin-bottom: var(--ap-s4); }
.ap-cta p { color: rgba(255,255,255,.8); max-width: 56ch; margin: 0 auto var(--ap-s6); font-size: var(--ap-t-lg); }
.ap-cta__actions { display: flex; flex-wrap: wrap; gap: var(--ap-s3); justify-content: center; }
.ap-cta__note { margin-top: var(--ap-s5); font-size: var(--ap-t-xs); color: rgba(255,255,255,.6); }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.ap-footer { background: var(--ap-ink); color: rgba(255,255,255,.72); padding-block: var(--ap-s8) var(--ap-s5); font-size: var(--ap-t-sm); }
.ap-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .16s; }
.ap-footer a:hover { color: #fff; }

.ap-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--ap-s7) var(--ap-s5); padding-bottom: var(--ap-s7); }
@media (max-width: 900px) { .ap-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ap-footer__top { grid-template-columns: 1fr; gap: var(--ap-s6); } }

.ap-footer .ap-brand__name { color: #fff; }
.ap-footer .ap-brand__tag { color: rgba(255,255,255,.5); }
.ap-footer__about { margin: var(--ap-s4) 0 var(--ap-s5); max-width: 34ch; line-height: 1.7; }

.ap-footer h4 { color: #fff; font-size: var(--ap-t-sm); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: var(--ap-s4); }
.ap-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }

.ap-social { display: flex; gap: 10px; }
.ap-social a {
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(255,255,255,.07); transition: background-color .18s, transform .18s;
}
.ap-social a:hover { background: var(--ap-primary-500); transform: translateY(-2px); }

.ap-footer__crisis {
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--ap-r); padding: var(--ap-s5); margin-bottom: var(--ap-s6);
	display: flex; gap: var(--ap-s4); align-items: flex-start;
}
.ap-footer__crisis svg { flex-shrink: 0; color: var(--ap-sand); margin-top: 2px; }
.ap-footer__crisis b { color: #fff; display: block; margin-bottom: 4px; }
.ap-footer__crisis p { font-size: var(--ap-t-xs); line-height: 1.6; }

.ap-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--ap-s5);
	display: flex; flex-wrap: wrap; gap: var(--ap-s4); justify-content: space-between; align-items: center;
	font-size: var(--ap-t-xs);
}
.ap-footer__legal { display: flex; flex-wrap: wrap; gap: var(--ap-s4); }

/* Floating WhatsApp */
.ap-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25D366; color: #fff; display: grid; place-items: center;
	box-shadow: 0 6px 20px rgba(37,211,102,.4); transition: transform .2s;
}
.ap-wa:hover { transform: scale(1.07); color: #fff; }

/* ==========================================================================
   18. PAGES / POSTS
   ========================================================================== */

.ap-pagehead { padding-block: clamp(2.5rem,5vw,4.5rem); background: var(--ap-primary-50); border-bottom: 1px solid var(--ap-line); }
.ap-pagehead h1 { margin-bottom: var(--ap-s3); }
.ap-pagehead p { color: var(--ap-muted); font-size: var(--ap-t-lg); max-width: 62ch; }
.ap-crumbs { font-size: var(--ap-t-xs); color: var(--ap-muted); margin-bottom: var(--ap-s4); }
.ap-crumbs a { color: var(--ap-muted); }

.ap-prose { max-width: 720px; }
.ap-prose > * + * { margin-top: var(--ap-s5); }
.ap-prose h2 { font-size: var(--ap-t-2xl); margin-top: var(--ap-s7); }
.ap-prose h3 { margin-top: var(--ap-s6); }
.ap-prose ul, .ap-prose ol { padding-left: 1.4em; display: grid; gap: 10px; }
.ap-prose img { border-radius: var(--ap-r); }
.ap-prose blockquote {
	border-left: 3px solid var(--ap-primary); padding: var(--ap-s2) 0 var(--ap-s2) var(--ap-s5);
	font-size: var(--ap-t-lg); color: var(--ap-muted); font-style: italic;
}
.ap-prose code { background: var(--ap-cream); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.ap-prose table { width: 100%; border-collapse: collapse; font-size: var(--ap-t-sm); }
.ap-prose th, .ap-prose td { padding: 11px 13px; border: 1px solid var(--ap-line); text-align: left; }
.ap-prose th { background: var(--ap-cream); font-weight: 700; }

.ap-pagination { display: flex; gap: 8px; justify-content: center; margin-top: var(--ap-s7); }
.ap-pagination .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--ap-line); border-radius: var(--ap-r-sm); text-decoration: none; font-size: var(--ap-t-sm);
}
.ap-pagination .page-numbers.current { background: var(--ap-primary); color: #fff; border-color: var(--ap-primary); }
.ap-pagination a:hover { border-color: var(--ap-primary); }

/* ==========================================================================
   19. UTILITIES + MOTION
   ========================================================================== */

.ap-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1); }
.ap-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ap-reveal { opacity: 1; transform: none; } }

.ap-center { text-align: center; }
.ap-mt6 { margin-top: var(--ap-s6); }
.ap-mt7 { margin-top: var(--ap-s7); }

@media print {
	.ap-header, .ap-footer, .ap-wa, .ap-cta, .ap-drawer { display: none !important; }
}
