/* =========================================================
   Inspiralife — Design Tokens & Base
   ========================================================= */
:root {
	--color-navy: #0D3B6E;
	--color-navy-dark: #082A4F;
	--color-green: #2B7A3B;
	--color-green-light: #E7F3EA;
	--color-gold: #D4960A;
	--color-gold-light: #FBF0DC;
	--color-ink: #1A2733;
	--color-body: #3F4D5C;
	--color-muted: #6B7A89;
	--color-bg: #F7F9FB;
	--color-white: #FFFFFF;
	--color-border: #E2E8F0;

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', -apple-system, Segoe UI, sans-serif;
	--font-data: 'DM Mono', monospace;

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;

	--shadow-card: 0 4px 24px rgba(13, 59, 110, 0.08);
	--shadow-hover: 0 10px 32px rgba(13, 59, 110, 0.14);

	--container-max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-body);
	background: var(--color-bg);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--color-gold); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	color: var(--color-navy);
	line-height: 1.2;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.2em; }

code, .data-figure { font-family: var(--font-data); }

/* Skip link */
.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	background: var(--color-navy);
	color: #fff;
	padding: 12px 20px;
	z-index: 10000;
	border-radius: 0 0 8px 0;
}
.skip-link:focus {
	left: 0;
	top: 0;
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 2px;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
}
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.section { padding: 40px 0; }
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	border: 2px solid transparent;
	cursor: pointer;
	font-size: 1rem;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-gold); color: var(--color-navy); }
.btn-primary:hover { background: var(--color-navy); color: #fff; }
.btn-outline { background: transparent; border-color: var(--color-navy); color: var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: #fff; }
.btn-green { background: var(--color-green); color: #fff; }
.btn-green:hover { background: var(--color-navy); }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 999;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 24px;
}
.site-logo img { height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.primary-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	color: var(--color-ink);
	font-weight: 500;
	font-size: .98rem;
}
.primary-nav a:hover { color: var(--color-gold); }
.header-cta { flex-shrink: 0; }
.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.6rem;
	color: var(--color-navy);
	cursor: pointer;
}
@media (max-width: 900px) {
	.primary-nav { display: none; }
	.primary-nav.is-open {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		padding: 16px 24px 24px;
		border-bottom: 1px solid var(--color-border);
		box-shadow: var(--shadow-card);
	}
	.primary-nav.is-open ul { flex-direction: column; gap: 14px; }
	.menu-toggle { display: block; }
	.header-cta .btn { padding: 10px 18px; font-size: .9rem; }
}

/* =========================================================
   Disclaimer bar
   ========================================================= */
.disclaimer-bar {
	background: var(--color-navy);
	color: #cfe0f5;
	font-size: .82rem;
	text-align: center;
	padding: 8px 16px;
}
.disclaimer-bar a { color: var(--color-gold); }

/* =========================================================
   Hero / Life Stage Timeline
   ========================================================= */
.hero {
	background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
	color: #fff;
	padding: 72px 0 48px;
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #cfe0f5; max-width: 640px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

.life-stage-timeline {
	margin-top: 56px;
	overflow-x: auto;
	padding-bottom: 16px;
	-webkit-overflow-scrolling: touch;
}
.life-stage-timeline__track {
	position: relative;
	display: flex;
	gap: 0;
	min-width: 900px;
	padding: 40px 20px 16px;
}
.life-stage-timeline__line {
	position: absolute;
	top: 64px;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--color-gold), var(--color-green));
	border-radius: 2px;
	transform-origin: left;
}
.life-stage-milestone {
	flex: 1;
	text-align: center;
	position: relative;
	z-index: 2;
	padding: 0 8px;
}
.life-stage-milestone__dot {
	width: 18px;
	height: 18px;
	background: var(--color-gold);
	border: 3px solid #fff;
	border-radius: 50%;
	margin: 56px auto 16px;
	box-shadow: 0 0 0 4px rgba(212,150,10,.25);
	transition: transform .2s ease, background .2s ease;
}
.life-stage-milestone a {
	display: block;
	color: #fff;
	text-decoration: none;
}
.life-stage-milestone__age {
	font-family: var(--font-data);
	color: var(--color-gold);
	font-size: .85rem;
	display: block;
	margin-bottom: 4px;
}
.life-stage-milestone__label {
	font-weight: 600;
	font-size: .92rem;
}
.life-stage-milestone:hover .life-stage-milestone__dot,
.life-stage-milestone:focus-within .life-stage-milestone__dot {
	transform: scale(1.3);
	background: var(--color-green);
}
.life-stage-milestone.is-active .life-stage-milestone__dot {
	background: var(--color-green);
	transform: scale(1.25);
}

/* =========================================================
   Cards
   ========================================================= */
.card {
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: 28px;
	border-top: 4px solid var(--color-navy);
	transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card h3 { font-family: var(--font-display); }
.card .card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }

.tool-card {
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-top: 4px solid var(--color-gold);
	transition: box-shadow .2s ease, transform .2s ease;
}
.tool-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.tool-card__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-navy); margin: 0; }
.tool-card__desc { color: var(--color-muted); font-size: .92rem; flex: 1; }

/* Course cards (also used by PathCraft overrides) */
.course-card {
	background: #fff;
	border-radius: var(--radius-md);
	border-top: 4px solid var(--color-navy);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.course-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.course-card__body { padding: 22px; }
.course-card__title { font-family: var(--font-display); margin-bottom: 6px; }
.course-card__badge {
	display: inline-block;
	background: var(--color-gold-light);
	color: var(--color-gold);
	font-size: .75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 8px;
}
.progress-bar { background: var(--color-border); border-radius: 999px; height: 8px; overflow: hidden; margin-top: 10px; }
.progress-bar__fill { background: var(--color-green); height: 100%; }
.completion-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--color-gold);
	color: var(--color-navy);
	font-weight: 700;
	font-size: .8rem;
	padding: 6px 12px;
	border-radius: 999px;
}

/* =========================================================
   Recruitment Panel
   ========================================================= */
.recruit-panel {
	background: var(--color-green-light);
	border-radius: var(--radius-lg);
	padding: 40px;
	margin: 40px 0;
	text-align: center;
}
.recruit-panel h2 { color: var(--color-green); }
.recruit-panel__checkpoints {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	text-align: left;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.recruit-panel__checkpoints li {
	background: #fff;
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: .92rem;
}
.recruit-panel__checkpoints li::before {
	content: '\2713';
	color: var(--color-green);
	font-weight: 700;
}
@media (max-width: 700px) {
	.recruit-panel__checkpoints { grid-template-columns: 1fr; }
}
.recruit-panel__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: var(--color-navy-dark);
	color: #c9d6e6;
	padding: 56px 0 0;
}
.site-footer a { color: #e7eef7; }
.site-footer a:hover { color: var(--color-gold); }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.footer-grid { grid-template-columns: 1fr; }
}
.footer-heading { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer-logo img { height: 40px; margin-bottom: 12px; }
.footer-about { font-size: .9rem; color: #aebfd2; max-width: 320px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 160px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255,255,255,.2);
	background: rgba(255,255,255,.06);
	color: #fff;
}
.newsletter-form input::placeholder { color: #9fb3c9; }

.footer-bottom {
	padding: 18px 0 24px;
	font-size: .82rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	color: #9fb3c9;
}
.footer-credits a { color: #cfe0f5; font-weight: 600; }
.footer-disclaimer { font-size: .78rem; color: #8298b3; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06); }

/* =========================================================
   WhatsApp floating CTA
   ========================================================= */
.whatsapp-cta {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: var(--color-green);
	color: #fff !important;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(43,122,59,.4);
	z-index: 998;
	animation: inspiralife-pulse 2.4s infinite;
}
@keyframes inspiralife-pulse {
	0%, 100% { box-shadow: 0 6px 20px rgba(43,122,59,.4); }
	50% { box-shadow: 0 6px 28px rgba(43,122,59,.7); }
}

/* =========================================================
   Forms (generic — WPForms friendly overrides)
   ========================================================= */
.form-card {
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 32px;
}
input, select, textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	width: 100%;
}
label { font-weight: 600; color: var(--color-ink); display: block; margin-bottom: 6px; }

/* =========================================================
   Content / Article
   ========================================================= */
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote {
	border-left: 4px solid var(--color-gold);
	padding-left: 16px;
	color: var(--color-muted);
	font-style: italic;
}
.tagalog-glossary {
	background: var(--color-gold-light);
	border-radius: var(--radius-md);
	padding: 20px 24px;
	margin: 24px 0;
}
.tagalog-glossary h4 { color: var(--color-gold); margin-bottom: 10px; }
.author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: var(--shadow-card);
	margin-top: 40px;
}
.author-box img { width: 64px; height: 64px; border-radius: 50%; }
.author-box .credentials { color: var(--color-gold); font-weight: 600; font-size: .85rem; }

/* =========================================================
   Trust bar
   ========================================================= */
.trust-bar {
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: 24px;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 16px;
	text-align: center;
	margin-top: -40px;
	position: relative;
	z-index: 5;
}
.trust-bar__item { flex: 1; min-width: 160px; }
.trust-bar__item strong { display: block; color: var(--color-navy); font-family: var(--font-display); font-size: 1.2rem; }
.trust-bar__item span { font-size: .85rem; color: var(--color-muted); }

/* Utility */
.bg-navy { background: var(--color-navy); color: #fff; }
.bg-green-light { background: var(--color-green-light); }
.text-gold { color: var(--color-gold); }
.mt-0 { margin-top: 0; }
