/*
Theme Name: LeoDregier
Theme URI: https://leodregier.com/
Author: Leo Dregier
Description: A fast, mobile-friendly theme for LeoDregier.com. Three-level menus with a wide Certifications panel (menu, vendor, certification), an always-visible Book a Call button and sticky phone bar, a homepage built to win students (credentials, numbers, Start here paths, courses, testimonials, free study plan signup), built-in lead capture with CSV export, breadcrumbs and search-engine markup. Works on WordPress 4.7 and current WordPress.
Version: 1.1.0
Requires at least: 4.7
Tested up to: 6.8
Requires PHP: 5.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leodregier
Tags: one-column, two-columns, custom-menu, custom-logo, featured-images, theme-options, translation-ready, accessibility-ready
*/

/* ---------- Tokens ---------- */
:root {
	--ld-primary: #0e2a47;
	--ld-primary-dark: #0a1f35;
	--ld-primary-soft: #17395e;
	--ld-accent: #f5a524;
	--ld-accent-ink: #0e2a47;
	--ld-link: #1559c7;
	--ld-ink: #1b2733;
	--ld-muted: #4a5868;
	--ld-line: #e3e8ef;
	--ld-line-strong: #c3cdd9;
	--ld-bg: #ffffff;
	--ld-bg-alt: #f5f7fa;
	--ld-success: #1f9d6b;
	--ld-eyebrow: #a35f00;
	--ld-on-dark: #ffffff;
	--ld-on-dark-muted: #c9d5e3;
	--ld-radius: 20px;
	--ld-radius-sm: 10px;
	--ld-shadow: 0 1px 2px rgba(10, 31, 53, .06);
	--ld-shadow-lg: 0 24px 48px rgba(10, 31, 53, .22);
	--ld-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ld-font-display: "Space Grotesk", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--ld-header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ld-bg);
	color: var(--ld-ink);
	font-family: var(--ld-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: var(--ld-link); text-underline-offset: 2px; }
a:hover { color: var(--ld-primary); }
:focus-visible { outline: 3px solid var(--ld-accent); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ld-font-display);
	color: var(--ld-primary);
	line-height: 1.15;
	margin: 1.6em 0 .5em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--ld-line); margin: 2.5em 0; }
[id] { scroll-margin-top: calc(var(--ld-header-h) + 16px); }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 12px 18px;
	background: #fff; color: var(--ld-primary); border-radius: 8px; font-weight: 700;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.container--mid { max-width: 1040px; }

/* ---------- Buttons ---------- */
.button, button.button, input[type="submit"], .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 22px;
	border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer; text-align: center;
	transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { filter: brightness(1.03); }
.button--primary, input[type="submit"] { background: var(--ld-accent); color: var(--ld-accent-ink); }
.button--primary:hover { background: #ffb840; color: var(--ld-accent-ink); }
.button--secondary, .wp-block-button__link { background: var(--ld-primary); color: #fff; }
.button--secondary:hover, .wp-block-button__link:hover { background: var(--ld-primary-soft); color: #fff; }
.button--outline { background: transparent; color: var(--ld-primary); border-color: var(--ld-line-strong); }
.button--outline:hover { border-color: var(--ld-primary); color: var(--ld-primary); }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.button--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.button--lg { min-height: 54px; padding: 15px 28px; font-size: 17px; }
.button--block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Promo bar ---------- */
.promo-bar {
	background: var(--ld-accent); color: var(--ld-accent-ink);
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px;
	padding: 9px 16px; font-size: 14px; font-weight: 600; text-align: center;
}
.promo-bar a { color: var(--ld-accent-ink); text-decoration: underline; font-weight: 700; }

/* ---------- Header ---------- */
.site-header { background: var(--ld-primary); color: #fff; position: relative; z-index: 100; }
.has-sticky-header .site-header { position: -webkit-sticky; position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--ld-header-h); }
.site-branding { flex-shrink: 0; margin-right: auto; }
.custom-logo-link img { max-height: 56px; width: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark {
	width: 40px; height: 40px; border-radius: 10px; background: var(--ld-accent); color: var(--ld-accent-ink);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--ld-font-display); font-weight: 700; font-size: 17px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--ld-font-display); font-weight: 700; font-size: 20px; }
.brand__tagline { font-size: 12px; color: var(--ld-on-dark-muted); }
.header-cta { flex-shrink: 0; }
.header-cta .icon { width: 18px; height: 18px; }

/* Menu: shared */
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu a { text-decoration: none; }
.submenu-toggle {
	background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.chevron {
	width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s;
}
.menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer;
	align-items: center; justify-content: center;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }

/* Menu: desktop */
@media (min-width: 1101px) {
	.main-navigation { display: flex; align-items: center; }
	.primary-menu { display: flex; align-items: center; gap: 2px; }
	.primary-menu > li { position: relative; display: flex; align-items: center; }
	.primary-menu > li > a {
		color: #fff; font-weight: 600; font-size: 15px; padding: 12px 10px; display: block;
	}
	.primary-menu > li.menu-item-has-children > a { padding-right: 0; }
	.primary-menu > li > .submenu-toggle { width: 26px; color: #fff; }
	.primary-menu > li.is-open > a, .primary-menu > li:focus-within > a,
	body:not(.ld-js) .primary-menu > li:hover > a,
	.primary-menu > li.current-menu-item > a, .primary-menu > li.current-menu-ancestor > a,
	.primary-menu > li.current_page_item > a, .primary-menu > li.current_page_ancestor > a { color: var(--ld-accent); }

	/* Book a Call menu item (CSS class "menu-button") */
	.primary-menu > li.menu-button { margin-left: 10px; }
	.primary-menu > li.menu-button > a {
		background: var(--ld-accent); color: var(--ld-accent-ink); border-radius: 999px; padding: 12px 20px; font-weight: 700;
	}
	.primary-menu > li.menu-button > a:hover { background: #ffb840; color: var(--ld-accent-ink); }

	/* Level 2 dropdown */
	.primary-menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 270px;
		background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--ld-shadow-lg);
		padding: 10px; opacity: 0; visibility: hidden; pointer-events: none;
		transition: opacity .12s ease, visibility 0s linear .12s;
	}
	.primary-menu > li:last-child > .sub-menu, .primary-menu > li.menu-button ~ li > .sub-menu { left: auto; right: 0; }
	/* Without JavaScript, open on hover. With it, navigation.js opens menus after a short pause so they don't flash as the mouse passes. */
	body:not(.ld-js) .primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu, .primary-menu li.is-open > .sub-menu {
		opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s;
	}
	.primary-menu .sub-menu li { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
	.primary-menu .sub-menu a {
		flex: 1 1 auto; color: var(--ld-ink); padding: 9px 12px; border-radius: 8px; font-size: 15px; line-height: 1.35;
	}
	.primary-menu .sub-menu a:hover, .primary-menu .sub-menu li.current-menu-item > a { background: var(--ld-bg-alt); color: var(--ld-link); }
	.primary-menu .sub-menu .submenu-toggle { color: var(--ld-muted); width: 36px; height: 36px; }
	.primary-menu .sub-menu .chevron { transform: rotate(-45deg); }

	/* Level 3 flyout (used when JavaScript is off) */
	.primary-menu .sub-menu .sub-menu {
		top: -10px; left: 100%; border-radius: 14px; max-height: 70vh; overflow-y: auto;
	}
	.primary-menu .sub-menu .sub-menu.flip { left: auto; right: 100%; }

	/* Wide panel for 3-level menus: vendors left, certifications right */
	.primary-menu > li.is-mega { position: static; }
	.site-header__inner { position: relative; }
	.primary-menu > li.is-mega > .sub-menu {
		left: 50%; right: auto; width: min(1000px, calc(100vw - 48px)); margin-left: calc(min(1000px, calc(100vw - 48px)) / -2);
		padding: 0; border-radius: 0 0 16px 16px; overflow: hidden;
		display: flex; flex-direction: column; flex-wrap: nowrap;
		min-height: 470px; background: linear-gradient(90deg, var(--ld-bg-alt) 0, var(--ld-bg-alt) 280px, #fff 280px);
	}
	.primary-menu > li.is-mega > .sub-menu::before {
		content: attr(data-label); display: block; width: 280px; padding: 18px 24px 6px;
		font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ld-muted);
	}
	.primary-menu > li.is-mega > .sub-menu > li { width: 280px; padding: 0 12px; position: static; }
	.primary-menu > li.is-mega > .sub-menu > li:last-child { padding-bottom: 16px; }
	.primary-menu > li.is-mega > .sub-menu > li > a { font-weight: 600; color: var(--ld-primary); }
	.primary-menu > li.is-mega > .sub-menu > li.is-active > a {
		background: #fff; box-shadow: inset 3px 0 0 var(--ld-accent);
	}
	.primary-menu > li.is-mega > .sub-menu > li > .submenu-toggle { display: none; }
	.primary-menu > li.is-mega .sub-menu .sub-menu {
		position: absolute; top: 0; left: 280px; right: 0; bottom: 0; max-height: none;
		box-shadow: none; border-radius: 0; background: transparent;
		padding: 28px 32px 72px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		align-content: start; gap: 2px 20px; overflow-y: auto;
		opacity: 0; visibility: hidden; transition: none;
	}
	.primary-menu > li.is-mega .sub-menu .sub-menu::before {
		content: attr(data-label); grid-column: 1 / -1; margin: 0 0 10px 12px;
		font-family: var(--ld-font-display); font-size: 22px; font-weight: 700; color: var(--ld-primary);
	}
	/* Only inside an open panel. A visible child of a hidden panel would still catch the mouse. */
	.primary-menu > li.is-mega.is-open .sub-menu li.is-active > .sub-menu,
	.primary-menu > li.is-mega:focus-within .sub-menu li.is-active > .sub-menu { opacity: 1; visibility: visible; }
	.primary-menu > li.is-mega .sub-menu .sub-menu a::before {
		content: ""; display: inline-block; width: 6px; height: 11px; margin-right: 10px; vertical-align: 1px;
		border-right: 2px solid var(--ld-success); border-bottom: 2px solid var(--ld-success); transform: rotate(45deg);
	}
	.mega-footer {
		position: absolute; left: 280px; right: 0; bottom: 0; padding: 14px 44px;
		border-top: 1px solid var(--ld-line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; background: #fff;
	}
	.mega-footer a { padding: 0 !important; font-weight: 600; color: var(--ld-link) !important; background: none !important; }
}

/* Menu: phones and tablets */
@media (max-width: 1100px) {
	.menu-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-navigation {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; color: var(--ld-ink); box-shadow: var(--ld-shadow-lg);
		max-height: calc(100vh - var(--ld-header-h)); overflow-y: auto; padding: 8px 20px 24px;
	}
	.main-navigation.is-open { display: block; }
	.primary-menu li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #eef1f5; }
	.primary-menu li a { flex: 1 1 auto; min-height: 50px; display: flex; align-items: center; color: var(--ld-primary); font-weight: 700; font-size: 17px; }
	.primary-menu .sub-menu { display: none; width: 100%; padding: 0 0 10px 14px; }
	.primary-menu li.is-open > .sub-menu { display: block; }
	.primary-menu li.is-open > .submenu-toggle .chevron { transform: rotate(225deg) translate(-2px, -2px); }
	.primary-menu .sub-menu li { border-bottom: 0; }
	.primary-menu .sub-menu a { min-height: 44px; font-weight: 600; font-size: 16px; color: var(--ld-ink); }
	.primary-menu .sub-menu .sub-menu { border-left: 2px solid var(--ld-accent); padding-left: 14px; }
	.primary-menu .sub-menu .sub-menu a { font-weight: 400; font-size: 15px; min-height: 40px; }
	.primary-menu li.menu-button { border: 0; margin-top: 16px; }
	.primary-menu li.menu-button a {
		justify-content: center; background: var(--ld-accent); color: var(--ld-accent-ink); border-radius: 999px;
	}
	.mega-footer { display: none; }
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
	.has-mobile-cta { padding-bottom: 76px; }
	.has-mobile-cta .mobile-cta {
		display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff;
		border-top: 1px solid var(--ld-line); box-shadow: 0 -8px 24px rgba(10, 31, 53, .12);
	}
	.mobile-cta .button { flex: 1 1 0; min-height: 48px; padding: 10px; font-size: 15px; }
}

/* ---------- Page header ---------- */
.page-header { background: var(--ld-primary); color: #fff; padding: 36px 0 44px; }
.page-header .page-title { color: #fff; margin: 6px 0 0; max-width: 900px; }
.page-subtitle { color: var(--ld-on-dark-muted); margin-top: 12px; font-size: 18px; max-width: 760px; }
.page-subtitle p:last-child { margin: 0; }
.page-header--landing { text-align: center; padding: 56px 0; }
.page-header--landing .page-title, .page-header--landing .page-subtitle { margin-left: auto; margin-right: auto; }
.breadcrumbs { font-size: 14px; margin-bottom: 10px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { color: var(--ld-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 4px; opacity: .6; }
.breadcrumbs a { color: var(--ld-on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Eyebrows, pills ---------- */
.eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ld-eyebrow); margin: 0 0 8px;
}
.eyebrow--muted { color: var(--ld-muted); }
.eyebrow--light { color: #f8c46a; }
.eyebrow--dark { color: #8a5200; }
.pill {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	background: rgba(245, 165, 36, .14); color: #f8c46a; border: 1px solid rgba(245, 165, 36, .4);
	border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600;
}

/* ---------- Content ---------- */
.site-main { padding-bottom: 24px; }
.entry { padding: 40px 0 8px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.8em; padding-top: .2em; }
.entry-content h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--ld-accent); border-radius: 2px; margin-top: 12px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul.wp-block-list, .entry-content > ul { list-style: none; padding-left: 0; }
.entry-content ul.wp-block-list > li, .entry-content > ul > li { position: relative; padding-left: 28px; }
.entry-content ul.wp-block-list > li::before, .entry-content > ul > li::before {
	content: ""; position: absolute; left: 4px; top: .42em; width: 7px; height: 12px;
	border-right: 2px solid var(--ld-success); border-bottom: 2px solid var(--ld-success); transform: rotate(45deg);
}
.entry-content blockquote {
	margin: 1.5em 0; padding: 20px 24px; background: var(--ld-bg-alt); border-radius: var(--ld-radius-sm);
	font-size: 1.1em;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--ld-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--ld-bg-alt); }
.entry-content img { border-radius: var(--ld-radius-sm); }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--ld-muted); }
.entry-footer { margin-top: 32px; font-size: 14px; color: var(--ld-muted); }
.page-links { margin: 2em 0; font-weight: 600; }

/* "[LEO TO ADD: ...]" style notes in imported drafts stand out while editing */
.entry-content p > strong:only-child { display: inline; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tight-top { padding-top: 24px; }
.section--alt { background: var(--ld-bg-alt); }
.section--dark { background: var(--ld-primary); color: #fff; }
.section--dark h2 { color: #fff; }
.section--cta { padding: 24px 0 80px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--ld-muted); margin: 12px 0 0; font-size: 17px; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head--split > div { max-width: 680px; }

/* ---------- Hero ---------- */
.hero { background: var(--ld-primary); color: #fff; padding: 64px 0 80px; overflow: hidden; }
.hero__inner { max-width: 1320px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__title { color: #fff; margin: 0; font-size: clamp(2.1rem, 4.3vw, 3.3rem); line-height: 1.06; letter-spacing: -.02em; }
.hero__lead { margin: 0; font-size: 19px; color: var(--ld-on-dark-muted); max-width: 620px; }
.hero__note { margin: 0; font-size: 14px; color: var(--ld-on-dark-muted); }
.hero__media { flex: 1 1 480px; max-width: 600px; min-width: 0; position: relative; }
.hero__photo {
	display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px;
	box-shadow: 0 0 0 6px var(--ld-accent), 0 30px 60px rgba(0, 0, 0, .35);
}
.verify-card {
	position: absolute; left: -20px; bottom: 28px; background: #fff; color: var(--ld-ink);
	border-radius: 16px; padding: 14px 18px; box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
	display: flex; align-items: center; gap: 12px; max-width: calc(100% - 20px);
}
.verify-card__icon {
	width: 40px; height: 40px; border-radius: 50%; background: #e6f6ef; color: var(--ld-success);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.verify-card__text { display: flex; flex-direction: column; line-height: 1.35; font-size: 15px; }
.verify-card__text a { font-size: 13px; }
@media (max-width: 760px) {
	.hero { padding: 24px 0 40px; }
	.hero__inner { flex-direction: column-reverse; gap: 28px; }
	.hero__media { flex: none; width: 100%; }
	.hero__photo { box-shadow: 0 0 0 4px var(--ld-accent); }
	.verify-card { left: 12px; bottom: 12px; }
	.hero__lead { font-size: 17px; }
	.hero .button-row .button { width: 100%; }
}

/* ---------- Credential strip ---------- */
.badges { background: var(--ld-bg-alt); border-bottom: 1px solid var(--ld-line); padding: 36px 0; text-align: center; }
.badge-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge-list li {
	display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d5dde7;
	border-radius: var(--ld-radius-sm); padding: 9px 15px; font-weight: 700; font-size: 15px; color: var(--ld-primary);
}
.badge-list .icon { color: var(--ld-success); width: 16px; height: 16px; }
.badges__verify { margin: 16px 0 0; font-weight: 600; font-size: 15px; }

/* ---------- Stats ---------- */
.stats { padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--ld-accent); padding-left: 18px; }
.stat__value { font-family: var(--ld-font-display); font-size: 44px; font-weight: 700; line-height: 1.1; color: var(--ld-primary); }
.stat__label { color: var(--ld-muted); font-size: 15px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
	background: #fff; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 28px;
	display: flex; flex-direction: column; gap: 12px; box-shadow: var(--ld-shadow); color: var(--ld-ink);
}
.card--link { text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.card--link:hover { border-color: var(--ld-line-strong); box-shadow: 0 6px 18px rgba(10, 31, 53, .08); color: var(--ld-ink); }
.card__kicker { font-size: 14px; font-weight: 700; color: var(--ld-link); }
.card__title { margin: 0; font-size: 24px; }
.card__text { margin: 0; color: var(--ld-muted); }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ld-link); }
a.card__link:hover { text-decoration: underline; }

.tile-grid, .card-grid--compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tile {
	background: #fff; border: 1px solid var(--ld-line); border-radius: 16px; padding: 20px;
	display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ld-ink);
	transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: var(--ld-accent); box-shadow: 0 6px 18px rgba(10, 31, 53, .08); color: var(--ld-ink); }
.tile__title { font-family: var(--ld-font-display); font-weight: 700; font-size: 19px; color: var(--ld-primary); line-height: 1.25; }
.tile__meta { font-size: 14px; color: var(--ld-muted); }
.entry-content .card-grid--compact { margin: 1.5em 0; }

/* ---------- Courses ---------- */
.course { border: 1px solid var(--ld-line); border-radius: var(--ld-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.course__head { background: var(--ld-primary); color: #fff; padding: 26px; min-height: 124px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.course__tag { font-size: 13px; font-weight: 700; color: #f8c46a; text-transform: uppercase; letter-spacing: .08em; }
.course__title { margin: 0; color: #fff; font-size: 24px; }
.course__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.course__body p { margin: 0; color: var(--ld-muted); }
.course__price { font-weight: 700; font-size: 18px; color: var(--ld-primary); }
.course .button-row { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; background: var(--ld-primary-soft); border-radius: var(--ld-radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote__badge { align-self: flex-start; background: var(--ld-accent); color: var(--ld-accent-ink); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 5px 12px; }
.quote blockquote { margin: 0; font-size: 18px; color: #e6edf5; }
.quote figcaption { color: var(--ld-on-dark-muted); font-size: 14px; }

/* ---------- Lead capture ---------- */
.lead-box {
	border-radius: 28px; background: #fff6e5; border: 1px solid #f7d79a; padding: 48px;
	display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center;
}
.lead-box__intro { flex: 1 1 340px; min-width: 0; }
.lead-box__title { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.lead-box__text { margin: 0; color: var(--ld-muted); }
.lead-box__form { flex: 1 1 320px; min-width: 0; }
.lead-box--inline { padding: 32px; margin: 2.5em 0; border-radius: var(--ld-radius); }
.lead-box--inline .lead-box__title { font-size: 1.6rem; margin-top: 0; }
.lead-box--inline .lead-box__title::after { display: none; }
.lead-form .field { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.lead-form label { font-weight: 600; font-size: 14px; }
.lead-form .optional { font-weight: 400; color: var(--ld-muted); }
.lead-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__legal { font-size: 13px; color: var(--ld-muted); margin: 10px 0 0; }
.lead-box__thanks { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ld-primary); margin: 0; }
.lead-box__thanks .icon { color: var(--ld-success); margin-top: 3px; }
.lead-box__error { color: #b42318; font-weight: 600; margin: 0 0 12px; }
@media (max-width: 600px) { .lead-box { padding: 28px 20px; } }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ld-ink); background: #fff;
	border: 1px solid var(--ld-line-strong); border-radius: var(--ld-radius-sm); padding: 11px 14px; min-height: 48px;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ld-link); box-shadow: 0 0 0 3px rgba(21, 89, 199, .2); }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form .button { min-width: 50px; padding: 0 14px; }

/* ---------- About teaser ---------- */
.about-teaser__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-teaser__photo { flex: 1 1 320px; max-width: 460px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; min-width: 0; }
.about-teaser__text { flex: 999 1 460px; min-width: 0; }
.about-teaser__text h2 { margin-top: 0; }
.about-teaser__text p { color: var(--ld-muted); font-size: 18px; }

/* ---------- Book a Call box ---------- */
.cta-band {
	background: var(--ld-primary); color: #fff; border-radius: 28px; padding: 48px;
	display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between;
}
.cta-band__text { flex: 1 1 420px; min-width: 0; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band h2::after { display: none !important; }
.cta-band p { color: var(--ld-on-dark-muted); margin: 0; font-size: 18px; }
.cta-band .icon { width: 20px; height: 20px; }
.entry-content .cta-band { margin: 2.5em 0; }
@media (max-width: 600px) { .cta-band { padding: 32px 22px; } .cta-band .button { width: 100%; } }

/* ---------- Blog ---------- */
.layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; }
.layout__main { flex: 999 1 560px; min-width: 0; }
.layout__side { flex: 1 1 280px; min-width: 0; }
.post-list { display: grid; gap: 24px; }
.post-card { display: flex; flex-wrap: wrap; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); overflow: hidden; background: #fff; }
.post-card__media { flex: 1 1 240px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { flex: 999 1 320px; padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.post-card__meta { font-size: 13px; color: var(--ld-muted); font-weight: 600; }
.post-card__title { margin: 0; font-size: 22px; }
.post-card__title a { text-decoration: none; color: var(--ld-primary); }
.post-card__title a:hover { color: var(--ld-link); }
.post-card__excerpt p { margin: 0; color: var(--ld-muted); }
.entry-media { margin-bottom: 24px; }
.entry-media img { border-radius: var(--ld-radius); }
.widget { margin-bottom: 32px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--ld-line); }
.widget-title { font-size: 18px; margin: 0 0 12px; }
.pagination, .post-navigation, .comments-area { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--ld-line); border-radius: 8px; text-decoration: none; }
.pagination .current { background: var(--ld-primary); color: #fff; border-color: var(--ld-primary); }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { border-bottom: 1px solid var(--ld-line); padding: 16px 0; }
.no-results { padding: 40px 0; }
.inline-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ld-primary-dark); color: #b9c7d8; padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #d7e1ec; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer__name { display: block; font-family: var(--ld-font-display); color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.site-footer .widget-title { color: #fff; font-family: var(--ld-font); font-size: 15px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; border: 0; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid #1f3b5c; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 13px; }
.site-footer__copy, .site-footer__legal { margin: 0; }
.site-footer__legal { flex-basis: 100%; color: #93a5ba; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px !important; }

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .mobile-cta, .promo-bar, .section--cta { display: none !important; }
	body { padding: 0 !important; }
}

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

/* ---------- Recognition and experience ---------- */
.proof { padding: 48px 0 8px; }
.proof__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.proof__box { flex: 1 1 360px; min-width: 0; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 24px 28px; }
.awards, .orgs { list-style: none; margin: 6px 0 0; padding: 0; }
.awards li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.awards .icon { width: 28px; height: 28px; color: var(--ld-accent); }
.awards li > span { display: flex; flex-direction: column; }
.awards__title { font-weight: 700; font-size: 17px; color: var(--ld-primary); }
a.awards__title { color: var(--ld-link); }
.awards__note { color: var(--ld-muted); font-size: 15px; }
.orgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 20px; font-weight: 600; color: var(--ld-primary); }
.proof__note { margin: 16px 0 0; color: var(--ld-muted); font-size: 14px; }
.badges__verify { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }

/* Panel extras added by navigation.js */
@media (min-width: 1101px) {
	.primary-menu > li.is-mega > .sub-menu > li.mega-footer {
		position: absolute; left: 280px; right: 0; bottom: 0; width: auto; padding: 14px 44px;
	}
	.primary-menu > li.is-mega .sub-menu .sub-menu li.mega-all { grid-column: 1 / -1; margin-top: 8px; }
	.primary-menu > li.is-mega .sub-menu .sub-menu li.mega-all a { font-weight: 700; color: var(--ld-link); }
	.primary-menu > li.is-mega .sub-menu .sub-menu li.mega-all a::before { display: none; }
}
.primary-menu li.mega-all a { font-weight: 700 !important; color: var(--ld-link) !important; }

/* Notes for Leo in imported pages, visible only to logged-in editors */
.editor-note { background: #fff6e5; border: 1px dashed #e0a43a; border-radius: var(--ld-radius-sm); padding: 12px 16px; }
.editor-note__hint { display: block; font-size: 13px; color: var(--ld-muted); margin-top: 4px; }
.editor-note--inline { display: inline; padding: 2px 6px; }

/* ---------- Media & Recognition ---------- */
.entry-content .seen-on, .seen-on { text-align: center; margin: 0 0 3em; padding: 24px; background: var(--ld-bg-alt); border-radius: var(--ld-radius); }
.seen-on__title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ld-muted); margin: 0 0 12px; }
.entry-content ul.seen-on__list, .seen-on__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.entry-content ul.seen-on__list > li, .seen-on__list li { padding: 0; margin: 0; font-family: var(--ld-font-display); font-size: 22px; font-weight: 700; color: var(--ld-primary); }
.entry-content ul.seen-on__list > li::before { display: none; }

.media-feature { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; margin: 0 0 3.5em; }
.media-feature__media { flex: 1 1 420px; min-width: 0; }
.media-feature__body { flex: 1 1 340px; min-width: 0; }
.media-feature--split:nth-of-type(even) { flex-direction: row-reverse; }
.media-feature--hero { background: var(--ld-primary); color: #fff; border-radius: 28px; padding: 28px; }
.media-feature--hero .media-feature__media { flex: 3 1 520px; }
.media-feature--hero .media-feature__body { flex: 2 1 300px; }
.media-feature--hero .media-feature__title { color: #fff; }
.media-feature--hero .media-feature__text, .media-feature--hero .media-feature__date { color: var(--ld-on-dark-muted); }
.media-feature--hero .media-feature__links a { color: #f8c46a; }
.media-feature--card { display: block; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 20px; }
.media-feature--card .media-feature__media { margin-bottom: 18px; }
.media-feature__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.media-feature__outlet { background: var(--ld-accent); color: var(--ld-accent-ink); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 4px 12px; }
.media-feature__kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ld-eyebrow); padding: 4px 0; }
.media-feature--hero .media-feature__kicker { color: #f8c46a; }
.entry-content .media-feature__title { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.entry-content .media-feature__title::after { display: none; }
.media-feature__date { margin: 0 0 12px; font-size: 14px; color: var(--ld-muted); font-weight: 600; }
.media-feature__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; margin: 12px 0 0; }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.entry-content ul.award-cards, .award-cards { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.entry-content ul.award-cards > li { padding: 20px; }
.entry-content ul.award-cards > li::before { display: none; }
.award-card { border: 1px solid var(--ld-line); border-radius: 16px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.award-card .icon { width: 30px; height: 30px; color: var(--ld-accent); }
.award-card > span { display: flex; flex-direction: column; }
.award-card__title { font-weight: 700; color: var(--ld-primary); }
a.award-card__title { color: var(--ld-link); }
.award-card__note { font-size: 15px; color: var(--ld-muted); }

/* ---------- Page building blocks ---------- */
.lead-text { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--ld-primary); margin-bottom: 1.4em; }
.block-cards { display: grid; gap: 20px; margin: 1.5em 0 2.5em; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.block-cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.block-cards--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.entry-content .block-card .card__title { margin: 0; font-size: 22px; }
.entry-content .block-card .card__title::after, .entry-content .step__title::after, .entry-content .package__name::after { display: none; }
.block-card .card__text p { margin: 0 0 .6em; }
.block-card .card__text p:last-child { margin: 0; }
.block-card__icon { width: 48px; height: 48px; border-radius: 12px; background: #fff6e5; color: #a35f00; display: flex; align-items: center; justify-content: center; }
.block-card__icon .icon { width: 24px; height: 24px; }

.entry-content ol.steps, .steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5em 0 2.5em; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { counter-increment: step; position: relative; background: var(--ld-bg-alt); border-radius: var(--ld-radius); padding: 64px 22px 22px; margin: 0 !important; }
.step::before {
	content: counter(step); position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; border-radius: 50%;
	background: var(--ld-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.entry-content .step__title { margin: 0 0 6px; font-size: 19px; }
.step__text p { margin: 0; color: var(--ld-muted); font-size: 16px; }

.packages { display: grid; gap: 20px; margin: 1.5em 0 2.5em; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.package { position: relative; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); padding: 28px 24px 24px; display: flex; flex-direction: column; background: #fff; }
.package--featured { border: 2px solid var(--ld-accent); box-shadow: 0 16px 40px rgba(10, 31, 53, .12); }
.package__badge { position: absolute; top: -13px; left: 24px; background: var(--ld-accent); color: var(--ld-accent-ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.entry-content .package__name { margin: 0 0 8px; font-size: 21px; }
.package__price { margin: 0 0 4px; font-family: var(--ld-font-display); font-size: 34px; font-weight: 700; color: var(--ld-primary); line-height: 1.1; }
.package__price small { font-family: var(--ld-font); font-size: 15px; font-weight: 500; color: var(--ld-muted); }
.package__note { color: var(--ld-muted); font-size: 15px; margin: 0 0 12px; }
.entry-content ul.package__list, .package__list { list-style: none; padding: 0; margin: 8px 0 22px; flex-grow: 1; }
.entry-content ul.package__list > li, .package__list li, .entry-content ul.checklist > li, .checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 16px; }
.entry-content ul.package__list > li::before, .package__list li::before, .entry-content ul.checklist > li::before, .checklist li::before {
	content: ""; position: absolute; left: 4px; top: .42em; width: 7px; height: 12px;
	border-right: 2px solid var(--ld-success); border-bottom: 2px solid var(--ld-success); transform: rotate(45deg);
}
.entry-content ul.checklist, .checklist { list-style: none; padding: 0; margin: 1em 0 2em; display: grid; gap: 4px 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.entry-content ul.checklist--card, .checklist--card { display: block; margin: 4px 0 12px; }
.checklist--card li { font-size: 15px; }

.block-quote { margin: 2em 0; background: var(--ld-primary); color: #fff; border-radius: var(--ld-radius); padding: 32px; }
.block-quote .quote__badge { display: inline-block; margin-bottom: 14px; }
.entry-content .block-quote blockquote { background: none; padding: 0; margin: 0 0 14px; color: #fff; font-size: 20px; line-height: 1.55; }
.block-quote figcaption { color: var(--ld-on-dark-muted); font-size: 15px; }

.faq { margin: 1.5em 0 2.5em; border-top: 1px solid var(--ld-line); }
.faq__item { border-bottom: 1px solid var(--ld-line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; color: var(--ld-primary); font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 24px; font-weight: 400; color: var(--ld-muted); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__answer { padding: 0 0 18px; color: var(--ld-muted); }
.faq__answer p:last-child { margin-bottom: 0; }

.block-stats { margin: 1.5em 0 2.5em; }
.booking-embed { margin: 1.5em 0 2.5em; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); overflow: hidden; min-height: 120px; }
.booking-embed iframe { width: 100%; min-height: 700px; border: 0; }
.booking-embed--empty { padding: 32px; text-align: center; background: var(--ld-bg-alt); }
