/**
 * VCourse Components
 *
 * Reusable UI blocks. Every component is namespaced `.vc-*` to avoid
 * collisions with plugin or editor CSS, and composes tokens.css only.
 */

/* ===============================================================
 * Buttons
 * ============================================================= */

.vc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0.5rem 1.15rem;
	border-radius: var(--vc-radius-sm);
	font-family: var(--vc-font-body);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	border: 2px solid transparent;
	transition:
		transform var(--vc-duration) var(--vc-ease),
		box-shadow var(--vc-duration) var(--vc-ease),
		background-color var(--vc-duration) var(--vc-ease),
		color var(--vc-duration) var(--vc-ease);
}

/* Micro-interaction: a 2px lift on hover, matching the static designs. */
.vc-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--vc-shadow-lg);
}

.vc-btn:active {
	transform: translateY(0);
}

.vc-btn:disabled,
.vc-btn[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* --- Variants --- */

.vc-btn--primary {
	background: var(--vc-green);
	color: var(--vc-white);
	box-shadow: var(--vc-shadow-md);
}

.vc-btn--primary:hover {
	background: var(--vc-green-dark);
	color: var(--vc-white);
}

.vc-btn--blue {
	background: var(--vc-primary);
	color: var(--vc-white);
	box-shadow: var(--vc-shadow-md);
}

.vc-btn--blue:hover {
	background: var(--vc-primary-dark);
	color: var(--vc-white);
}

.vc-btn--gradient {
	background: var(--vc-gradient-brand);
	color: var(--vc-white);
	box-shadow: var(--vc-shadow-md);
}

.vc-btn--gradient:hover {
	color: var(--vc-white);
}

.vc-btn--accent {
	background: var(--vc-gradient-secondary);
	color: var(--vc-white);
	box-shadow: var(--vc-shadow-md);
}

.vc-btn--accent:hover { color: var(--vc-white); }

.vc-btn--amber {
	background: var(--vc-accent);
	color: var(--vc-white);
	box-shadow: var(--vc-shadow-md);
}

.vc-btn--amber:hover {
	background: #d97706;
	color: var(--vc-white);
}

/* Highest-priority action: "Explore Courses" / "Enroll Now". Crimson so it
 * never gets lost among the green/blue buttons used everywhere else. */
.vc-btn--cta {
	background: var(--vc-gradient-cta);
	color: var(--vc-white);
	box-shadow: 0 10px 24px rgba(228, 45, 111, 0.35);
}

.vc-btn--cta:hover {
	color: var(--vc-white);
	box-shadow: 0 14px 32px rgba(228, 45, 111, 0.48);
}

.vc-btn--outline {
	background: transparent;
	border-color: var(--vc-primary);
	color: var(--vc-primary);
}

.vc-btn--outline:hover {
	background: var(--vc-primary);
	color: var(--vc-white);
}

/* For use on photographic or gradient backgrounds. */
.vc-btn--ghost {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--vc-white);
	backdrop-filter: blur(8px);
}

.vc-btn--ghost:hover {
	background: var(--vc-white);
	color: var(--vc-navy);
}

/* For use on light backgrounds — a minimal text-style button (e.g. "Watch
 * Demo" beside two solid CTAs) that doesn't compete with them visually. */
.vc-btn--ghost-light {
	background: transparent;
	border-color: transparent;
	color: var(--vc-heading);
}

.vc-btn--ghost-light:hover {
	background: var(--vc-surface-alt);
	color: var(--vc-primary-dark);
}

.vc-btn--light {
	background: var(--vc-white);
	color: var(--vc-navy);
	box-shadow: var(--vc-shadow-md);
}

.vc-btn--light:hover { color: var(--vc-primary); }

/* --- Sizes --- */

.vc-btn--sm {
	padding: 0.32rem 0.8rem;
	font-size: 0.75rem;
}

.vc-btn--lg {
	padding: 0.65rem 1.6rem;
	font-size: 0.9rem;
}

.vc-btn--block {
	display: flex;
	width: 100%;
}

/* ===============================================================
 * Cards
 * ============================================================= */

.vc-card {
	background: var(--vc-surface);
	border: 1px solid var(--vc-primary-border);
	border-radius: var(--vc-radius-xl);
	padding: var(--vc-space-6);
	box-shadow: var(--vc-shadow-md);
	transition:
		transform var(--vc-duration) var(--vc-ease),
		box-shadow var(--vc-duration) var(--vc-ease);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.vc-card--hover:hover,
.vc-card--interactive:hover {
	transform: translateY(-8px);
	box-shadow: var(--vc-shadow-xl);
}

.vc-card--flush { padding: 0; overflow: hidden; }
.vc-card--lg { padding: var(--vc-space-8); }
.vc-card--flat { box-shadow: none; border-color: var(--vc-border); }

.vc-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--vc-surface-alt);
}

.vc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--vc-duration-slow) var(--vc-ease-out);
}

.vc-card--interactive:hover .vc-card__media img {
	transform: scale(1.06);
}

.vc-card__body {
	padding: var(--vc-space-5);
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: var(--vc-space-3);
}

.vc-card__title {
	font-size: var(--vc-text-xl);
	font-weight: 600;
	color: var(--vc-heading);
	line-height: var(--vc-leading-snug);
}

.vc-card__title a { color: inherit; }
.vc-card__title a:hover { color: var(--vc-primary); }

.vc-card__text {
	color: var(--vc-text-muted);
	line-height: var(--vc-leading-normal);
}

/* Pushes footer content to the bottom of equal-height cards. */
.vc-card__footer {
	margin-top: auto;
	padding-top: var(--vc-space-4);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-3);
	flex-wrap: wrap;
}

/* Circular gradient icon used on service and feature cards. */
.vc-card__icon {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--vc-gradient-primary);
	color: var(--vc-white);
	font-size: 1.75rem;
	margin-bottom: var(--vc-space-4);
	box-shadow: var(--vc-shadow-md);
	flex-shrink: 0;
}

.vc-card__icon svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.vc-card__icon--green { background: var(--vc-gradient-green); }
.vc-card__icon--accent { background: var(--vc-gradient-secondary); }

/* ===============================================================
 * Course cards (rendered on the home page and course archive, so these
 * live here in the theme — not in the plugin's singular-only course.css —
 * to guarantee the icons and meta are always styled correctly).
 * ============================================================= */

.vc-course-card { position: relative; }

.vc-course-card__price {
	position: absolute;
	top: var(--vc-space-3);
	right: var(--vc-space-3);
	z-index: 2;
}

.vc-course-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vc-space-2) var(--vc-space-4);
	font-size: var(--vc-text-sm);
	color: var(--vc-text-muted);
	margin-bottom: var(--vc-space-1);
}

.vc-course-card__stat,
.vc-course-card__students {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-1);
}

/* The critical fix: constrain the meta icons so play/clock/users stay tiny. */
.vc-course-card__stat svg,
.vc-course-card__students svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.vc-course-card .vc-card__footer { align-items: center; }

/* --- Course category filter (archive) --- */
.vc-course-filter {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2);
	justify-content: center;
}

.vc-course-filter__item {
	padding: 0.5rem 1.1rem;
	border-radius: var(--vc-radius-pill);
	border: 1px solid var(--vc-border);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--vc-text);
	transition: all var(--vc-duration) var(--vc-ease);
}

.vc-course-filter__item:hover,
.vc-course-filter__item.is-active {
	background: var(--vc-primary);
	border-color: var(--vc-primary);
	color: var(--vc-white);
}

/* ===============================================================
 * Section headings
 * ============================================================= */

.vc-section-head {
	margin-bottom: var(--vc-space-8);
	max-width: 760px;
}

.vc-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.vc-section-eyebrow {
	display: inline-block;
	font-size: var(--vc-text-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vc-primary);
	margin-bottom: var(--vc-space-3);
}

.vc-section-title {
	font-family: var(--vc-font-heading);
	font-size: var(--vc-text-4xl);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: var(--vc-tracking-tight);
	margin-bottom: var(--vc-space-4);
}

.vc-section-subtitle {
	font-size: var(--vc-text-lg);
	color: var(--vc-text-muted);
	line-height: var(--vc-leading-relaxed);
}

/* ===============================================================
 * Badges & pills
 * ============================================================= */

.vc-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-1);
	padding: 0.3rem 0.85rem;
	border-radius: var(--vc-radius-pill);
	font-size: var(--vc-text-xs);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	background: var(--vc-primary-soft);
	color: var(--vc-primary);
	white-space: nowrap;
}

.vc-badge--green { background: rgba(133, 195, 65, 0.14); color: var(--vc-green-dark); }
.vc-badge--success { background: rgba(16, 185, 129, 0.12); color: var(--vc-success-dark); }
.vc-badge--warning { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.vc-badge--danger { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.vc-badge--neutral { background: var(--vc-surface-alt); color: var(--vc-text-muted); }
.vc-badge--solid { background: var(--vc-gradient-secondary); color: var(--vc-white); }

/* ===============================================================
 * Top bar
 * ============================================================= */

.vc-topbar {
	background: var(--vc-navy-deep);
	color: var(--vc-white);
	padding: 0.6rem 0;
	font-size: var(--vc-text-sm);
}

.vc-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--vc-space-4);
	flex-wrap: wrap;
}

.vc-topbar__group {
	display: flex;
	align-items: center;
	gap: var(--vc-space-5);
	flex-wrap: wrap;
}

.vc-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-2);
	color: rgba(255, 255, 255, 0.85);
}

.vc-topbar__item:hover { color: var(--vc-white); }
.vc-topbar__item svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

.vc-topbar__tagline {
	font-weight: 600;
	color: var(--vc-white);
}

.vc-topbar__tagline svg { fill: var(--vc-green-light); }

.vc-topbar__trust {
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
}

.vc-topbar__trust strong { color: var(--vc-white); font-weight: 700; }

.vc-topbar__social {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
}

.vc-topbar__social a {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.85);
	transition: background var(--vc-duration) var(--vc-ease), color var(--vc-duration) var(--vc-ease);
}

.vc-topbar__social a:hover { background: var(--vc-primary); color: var(--vc-white); }
.vc-topbar__social svg { width: 13px; height: 13px; fill: currentColor; }

@media (max-width: 900px) {
	.vc-topbar__trust { display: none; }
}

@media (max-width: 640px) {
	.vc-topbar { display: none; }
}

/* ===============================================================
 * Header & navigation
 * ============================================================= */

.vc-header {
	position: sticky;
	top: 0;
	z-index: var(--vc-z-header);
	/*
	 * No backdrop-filter here: `filter`/`backdrop-filter` on an element
	 * creates a new containing block for its `position: fixed` descendants
	 * (per spec, same rule as `transform`/`will-change`). The mobile nav
	 * drawer (#vc-primary-nav) lives inside this header and is fixed with
	 * `inset: 0` to fill the viewport — with a backdrop-filter here, browsers
	 * that implement that rule instead size the drawer to the HEADER's own
	 * ~72-140px box, so it opens as a tiny sliver pinned to the top instead
	 * of a full-height panel. A solid, slightly translucent background still
	 * reads as "glassy" without triggering this.
	 */
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid var(--vc-border);
	transition:
		background-color var(--vc-duration) var(--vc-ease),
		box-shadow var(--vc-duration) var(--vc-ease),
		padding var(--vc-duration) var(--vc-ease);
}

/* `.is-scrolled` is toggled by navigation.js past a 50px scroll offset. */
.vc-header.is-scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--vc-shadow-md);
}

.vc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-5);
	min-height: 72px;
}

.vc-header__brand {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	flex-shrink: 0;
}

.vc-header__logo img,
.vc-header__brand .custom-logo,
.custom-logo-link img.custom-logo {
	width: auto;
	max-height: 46px;
	max-width: 180px;
	object-fit: contain;
}

/* The custom-logo link WordPress outputs needs the flex alignment too. */
.vc-header__brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.vc-header__title {
	font-family: var(--vc-font-heading);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
}

.vc-header__actions {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	flex-shrink: 0;
}

/* --- Primary navigation --- */

.vc-nav__list {
	display: flex;
	align-items: center;
	gap: var(--vc-space-1);
}

.vc-nav__item {
	position: relative;
}

.vc-nav__link,
.vc-nav .menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-1);
	padding: 0.7rem 0.9rem;
	border-radius: var(--vc-radius-md);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--vc-text);
	transition:
		color var(--vc-duration) var(--vc-ease),
		background-color var(--vc-duration) var(--vc-ease);
}

.vc-nav .menu-item > a:hover,
.vc-nav .menu-item > a:focus-visible,
.vc-nav .current-menu-item > a,
.vc-nav .current-menu-ancestor > a {
	color: var(--vc-primary);
	background: var(--vc-primary-soft);
}

/* Caret indicator on items with children. */
.vc-nav .menu-item-has-children > a::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-left: 2px;
	transition: transform var(--vc-duration) var(--vc-ease);
}

.vc-nav .menu-item-has-children:hover > a::after,
.vc-nav .menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
}

/* --- Dropdown & mega menu ---
 * Hidden via opacity/visibility rather than display:none so the panel can
 * animate, and so its links stay in the accessibility tree for :focus-within. */

.vc-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 250px;
	padding: var(--vc-space-3);
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-lg);
	box-shadow: var(--vc-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity var(--vc-duration) var(--vc-ease),
		transform var(--vc-duration) var(--vc-ease),
		visibility var(--vc-duration);
	z-index: var(--vc-z-dropdown);
}

.vc-nav .menu-item:hover > .sub-menu,
.vc-nav .menu-item:focus-within > .sub-menu,
.vc-nav .menu-item.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.vc-nav .sub-menu a {
	display: block;
	padding: 0.6rem 0.85rem;
	border-radius: var(--vc-radius-sm);
	font-size: 0.925rem;
	font-weight: 500;
	color: var(--vc-text);
}

.vc-nav .sub-menu a:hover {
	background: var(--vc-primary-soft);
	color: var(--vc-primary);
	padding-left: 1.1rem;
}

/* Nested third level flies out to the right. */
.vc-nav .sub-menu .sub-menu {
	top: -0.75rem;
	left: 100%;
}

/* Mega menu: add the `vc-mega` CSS class to a top-level menu item in
 * Appearance → Menus to convert its dropdown into a full-width grid. */
.vc-nav .vc-mega {
	position: static;
}

.vc-nav .vc-mega > .sub-menu {
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	width: min(var(--vc-container), calc(100vw - 2 * var(--vc-gutter)));
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--vc-space-2) var(--vc-space-5);
	padding: var(--vc-space-6);
	border-radius: var(--vc-radius-xl);
}

.vc-nav .vc-mega:hover > .sub-menu,
.vc-nav .vc-mega:focus-within > .sub-menu,
.vc-nav .vc-mega.is-open > .sub-menu {
	transform: translateX(-50%) translateY(0);
}

/* Column headings inside the mega menu. */
.vc-nav .vc-mega > .sub-menu > .menu-item-has-children > a {
	font-family: var(--vc-font-heading);
	font-size: var(--vc-text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--vc-text-faint);
	pointer-events: none;
	padding-left: 0.85rem;
}

/* Third-level items render inline within the mega grid, not as flyouts. */
.vc-nav .vc-mega .sub-menu .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	border: none;
	padding: 0;
	min-width: 0;
	background: transparent;
}

/* --- Mobile toggle --- */

.vc-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--vc-radius-md);
	place-items: center;
	color: var(--vc-heading);
	/* Skips the browser's ~300ms double-tap-to-zoom wait before firing click
	   on touch devices, so the drawer opens on the first tap. */
	touch-action: manipulation;
}

/* Scoped to real pointer devices only — on touch/iOS Safari a `:hover` rule
 * on the tapped element itself can make WebKit treat the first tap as
 * "simulate hover" and only forward a second tap as the real click, which
 * reads as "the button doesn't respond." Touch devices report `hover: none`
 * and never match this rule, so they get a plain, single-tap click. */
@media (hover: hover) and (pointer: fine) {
	.vc-nav-toggle:hover { background: var(--vc-surface-alt); }
}

.vc-nav-toggle__bars,
.vc-nav-toggle__bars::before,
.vc-nav-toggle__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--vc-duration) var(--vc-ease), opacity var(--vc-duration) var(--vc-ease);
}

.vc-nav-toggle__bars {
	position: relative;
}

.vc-nav-toggle__bars::before,
.vc-nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.vc-nav-toggle__bars::before { top: -7px; }
.vc-nav-toggle__bars::after { top: 7px; }

/* Morph to an X when the menu is open. */
.vc-nav-toggle[aria-expanded="true"] .vc-nav-toggle__bars { background: transparent; }
.vc-nav-toggle[aria-expanded="true"] .vc-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.vc-nav-toggle[aria-expanded="true"] .vc-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile navigation panel --- */

/* Account actions duplicated inside the drawer (see header.php) — desktop
 * already shows these in `.vc-header__actions`, so keep this out of the way
 * there and only surface it once the drawer takes over below. */
.vc-nav__account { display: none; }

@media (max-width: 1024px) {
	.vc-nav-toggle { display: grid; }

	.vc-header__actions .vc-btn--desktop-only { display: none; }

	.vc-nav__account {
		display: flex;
		flex-direction: column;
		gap: var(--vc-space-2);
		padding-bottom: var(--vc-space-5);
		margin-bottom: var(--vc-space-5);
		border-bottom: 1px solid var(--vc-border);
	}

	.vc-nav__account-user {
		display: flex;
		align-items: center;
		gap: var(--vc-space-2);
		font-weight: 700;
		color: var(--vc-heading);
		margin-bottom: var(--vc-space-1);
	}

	.vc-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(400px, 88vw);
		background: var(--vc-white);
		box-shadow: var(--vc-shadow-xl);
		padding: 96px var(--vc-space-5) var(--vc-space-8);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform var(--vc-duration) var(--vc-ease-out), visibility var(--vc-duration);
		z-index: var(--vc-z-overlay);
	}

	.vc-nav.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.vc-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: var(--vc-space-1);
	}

	.vc-nav .menu-item > a {
		padding: 0.85rem 1rem;
		font-size: var(--vc-text-lg);
		justify-content: space-between;
	}

	/* Submenus become accordions on touch — expanded by the toggle script. */
	.vc-nav .sub-menu,
	.vc-nav .vc-mega > .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-left: 2px solid var(--vc-border);
		border-radius: 0;
		margin-left: var(--vc-space-4);
		padding: 0 0 0 var(--vc-space-2);
		width: auto;
		display: none;
		grid-template-columns: 1fr;
	}

	.vc-nav .menu-item.is-open > .sub-menu {
		display: block;
	}

	.vc-nav .vc-mega > .sub-menu > .menu-item-has-children > a {
		pointer-events: auto;
	}

	/* Prevents background scroll while the drawer is open. */
	body.vc-nav-open {
		overflow: hidden;
	}
}

/*
 * Mobile nav backdrop.
 *
 * Declared outside the mobile media query on purpose: the element is always
 * present in the DOM (see header.php), so it needs an unconditional hidden
 * state — otherwise it would render as a stray block element on desktop.
 * `visibility` is transitioned alongside opacity so it is removed from the
 * accessibility tree and hit-testing once faded out.
 */
.vc-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--vc-duration) var(--vc-ease),
		visibility var(--vc-duration);
	/*
	 * Must stay BELOW --vc-z-header (1000), not just below the drawer's own
	 * --vc-z-overlay (1050). `.vc-header` has `position: sticky` with
	 * z-index: var(--vc-z-header), which makes it a stacking context of its
	 * own — the drawer (#vc-primary-nav) lives inside that header, so its
	 * z-index:1050 only wins comparisons INSIDE the header's context; at the
	 * top level, the header as a whole only counts as 1000. This backdrop is
	 * a sibling of the header, not a descendant, so it stacked at the top
	 * level with --vc-z-dropdown (1010) — above the header's 1000 — and sat
	 * in front of the entire header including the drawer, silently
	 * swallowing every tap on a drawer link (Log in, Dashboard, Contact,
	 * etc.) while looking fine because it's semi-transparent. Using
	 * --vc-z-sticky (100) keeps it comfortably under the header in all
	 * cases while still dimming ordinary page content behind it.
	 */
	z-index: var(--vc-z-sticky);
}

.vc-nav-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* ===============================================================
 * Hero
 * ============================================================= */

.vc-hero {
	position: relative;
	padding-block: var(--vc-space-9) var(--vc-space-8);
	background: linear-gradient(160deg, #eaf1ff 0%, #f5f8ff 45%, #ffffff 100%);
	color: var(--vc-text);
	overflow: hidden;
	isolation: isolate;
}

/* Soft colour-tinted blobs behind the content — the light-theme equivalent
 * of the old dark photo hero, kept inside our own blue/green palette. */
.vc-hero__blobs {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(420px circle at 88% 10%, var(--vc-icon-blue-bg), transparent 60%),
		radial-gradient(360px circle at 4% 90%, var(--vc-icon-green-bg), transparent 60%);
}

.vc-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: var(--vc-space-8);
	align-items: center;
	width: 100%;
}

.vc-hero__content { max-width: 620px; }

/* Eyebrow badge above the hero title. */
.vc-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-2);
	padding: 0.4rem 0.9rem;
	margin-bottom: var(--vc-space-5);
	border-radius: var(--vc-radius-pill);
	background: var(--vc-white);
	border: 1px solid var(--vc-primary-border);
	box-shadow: var(--vc-shadow-sm);
	font-size: var(--vc-text-sm);
	font-weight: 700;
	color: var(--vc-primary-dark);
}

.vc-hero__badge svg { width: 15px; height: 15px; fill: var(--vc-primary); }

.vc-hero__title {
	font-size: var(--vc-text-5xl);
	font-weight: 800;
	line-height: 1.15;
	color: var(--vc-heading);
	margin-bottom: var(--vc-space-5);
}

.vc-hero__title em {
	font-style: normal;
	background: var(--vc-gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.vc-hero__subtitle {
	font-size: var(--vc-text-xl);
	line-height: var(--vc-leading-relaxed);
	color: var(--vc-text-muted);
	margin-bottom: var(--vc-space-6);
}

/* --- Quick-features row: 3 icon + label items --- */
.vc-hero__quickfeatures {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-5);
	margin-bottom: var(--vc-space-7);
}

.vc-hero__quickfeatures li {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	font-weight: 700;
	font-size: var(--vc-text-sm);
	color: var(--vc-heading);
	max-width: 190px;
}

.vc-hero__qf-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--vc-radius-md);
	flex-shrink: 0;
}

.vc-hero__qf-icon svg { width: 19px; height: 19px; }

.vc-hero__qf-icon--blue { background: var(--vc-icon-blue-bg); }
.vc-hero__qf-icon--blue svg { fill: var(--vc-primary); }
.vc-hero__qf-icon--green { background: var(--vc-icon-green-bg); }
.vc-hero__qf-icon--green svg { fill: var(--vc-green-dark); }
.vc-hero__qf-icon--amber { background: var(--vc-icon-amber-bg); }
.vc-hero__qf-icon--amber svg { fill: var(--vc-accent); }
.vc-hero__qf-icon--purple { background: var(--vc-icon-purple-bg); }
.vc-hero__qf-icon--purple svg { fill: var(--vc-secondary); }

.vc-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-4);
	margin-bottom: var(--vc-space-7);
}

/* --- Trusted-by row --- */
.vc-hero__trustrow {
	display: flex;
	align-items: center;
	gap: var(--vc-space-4);
	flex-wrap: wrap;
}

.vc-hero__avatars { display: flex; }

.vc-hero__avatar {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--vc-gradient-primary);
	color: var(--vc-white);
	font-size: 0.7rem;
	font-weight: 700;
	border: 2px solid var(--vc-white);
	box-shadow: var(--vc-shadow-sm);
	margin-left: -10px;
}

.vc-hero__avatar:first-child { margin-left: 0; }

.vc-hero__trustrow p { font-size: var(--vc-text-sm); color: var(--vc-text-muted); }
.vc-hero__trustrow strong { color: var(--vc-heading); }
.vc-hero__trustrow-sep { margin: 0 var(--vc-space-2); color: var(--vc-border-strong); }

/* --- Visual: photo + floating proof cards --- */
.vc-hero__visual { width: 100%; display: flex; justify-content: center; }

.vc-hero__photo-wrap {
	position: relative;
	width: min(380px, 90%);
}

.vc-hero__photo {
	width: 100%;
	height: auto;
	display: block;
	margin-inline: auto;
}

.vc-hero__float {
	position: absolute;
	background: var(--vc-white);
	border-radius: var(--vc-radius-lg);
	box-shadow: var(--vc-shadow-xl);
	padding: var(--vc-space-3);
	animation: vc-hero-float 4s ease-in-out infinite;
}

@keyframes vc-hero-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.vc-hero__float--services {
	top: 0;
	left: -30px;
	width: 180px;
}

.vc-hero__float--services ul { display: flex; flex-direction: column; gap: var(--vc-space-2); }
.vc-hero__float--services li { display: flex; align-items: center; gap: var(--vc-space-2); }
.vc-hero__float--services .vc-hero__qf-icon { width: 30px; height: 30px; border-radius: var(--vc-radius-sm); }
.vc-hero__float--services .vc-hero__qf-icon svg { width: 14px; height: 14px; }
.vc-hero__float--services strong { display: block; font-size: 0.7rem; color: var(--vc-heading); line-height: 1.3; }
.vc-hero__float--services small { font-size: 0.62rem; color: var(--vc-text-faint); }

.vc-hero__float--growth {
	top: 8%;
	right: -30px;
	width: 158px;
	animation-delay: 0.6s;
}

.vc-hero__float--students {
	bottom: 4%;
	right: -20px;
	animation-delay: 1.2s;
}

.vc-hero__float-label { display: block; font-size: 0.65rem; color: var(--vc-text-faint); font-weight: 600; margin-bottom: 2px; }
.vc-hero__float-value { display: flex; align-items: center; gap: 4px; font-size: var(--vc-text-lg); font-weight: 800; color: var(--vc-heading); white-space: nowrap; }
.vc-hero__float--growth .vc-hero__float-value { color: var(--vc-success-dark); }
.vc-hero__float--growth .vc-hero__float-value svg { width: 16px; height: 16px; fill: var(--vc-success-dark); }

.vc-hero__float-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: var(--vc-space-2); }
.vc-hero__float-bars span { flex: 1; background: var(--vc-gradient-brand); border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
	.vc-hero__float { animation: none; }
}

@media (max-width: 900px) {
	.vc-hero__inner { grid-template-columns: 1fr; }
	.vc-hero__visual { margin-top: var(--vc-space-8); order: -1; }
}

@media (max-width: 560px) {
	/* Two CTAs asking for a 220px minimum each cannot fit side by side under
	 * ~560px, so they wrapped to two stacked full-width rows. Letting them
	 * share the row equally (no minimum) keeps them left/right instead. */
	.vc-hero__cta { flex-wrap: nowrap; gap: var(--vc-space-3); }
	.vc-hero__cta .vc-btn { flex: 1 1 0; min-width: 0; padding-inline: var(--vc-space-3); }
}

@media (max-width: 480px) {
	.vc-hero__float--services { left: -8px; width: 148px; padding: var(--vc-space-2); }
	/* 4 stacked items made this card taller than the hero photo, burying it
	   entirely — 2 items keeps the card a proof point instead of a wall.
	   Specificity has to at least match ".vc-hero__float--services li"
	   (which sets display:flex unconditionally) or that wins instead. */
	.vc-hero__float--services .vc-hero__qf-extra { display: none; }
	.vc-hero__float--services ul { gap: var(--vc-space-1); }
	.vc-hero__float--growth { right: -8px; width: 138px; }
	.vc-hero__float--students { right: -6px; }
}

/* ===============================================================
 * Stats strip — overlaps the hero by -50px as in the mockups.
 * ============================================================= */

.vc-stats {
	position: relative;
	z-index: var(--vc-z-sticky);
	margin-top: -60px;
	padding-bottom: var(--vc-space-8);
}

.vc-stats__panel {
	background: var(--vc-white);
	border: 1px solid var(--vc-primary-border);
	border-radius: var(--vc-radius-xl);
	box-shadow: var(--vc-shadow-xl);
	padding: var(--vc-space-8) var(--vc-space-6);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--vc-space-6);
	text-align: center;
}

.vc-stat__number {
	display: block;
	font-family: var(--vc-font-heading);
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1;
	/* Reserves width so the count-up animation cannot shift layout. */
	font-variant-numeric: tabular-nums;
}

.vc-stat__label {
	margin-top: var(--vc-space-2);
	font-size: var(--vc-text-base);
	font-weight: 600;
	color: var(--vc-text-muted);
}

@media (max-width: 560px) {
	.vc-stats__panel { grid-template-columns: repeat(2, 1fr); padding: var(--vc-space-6) var(--vc-space-4); }
}

/* ===============================================================
 * Testimonials
 * ============================================================= */

/* Section shell: a soft navy panel with two blurred colour blobs behind the
 * carousel, so the slider reads as a deliberate showcase, not a plain grid. */
.vc-testimonials {
	position: relative;
	background: var(--vc-gradient-primary);
	overflow: hidden;
	isolation: isolate;
}

.vc-testimonials .vc-section-title {
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	-webkit-text-fill-color: currentColor;
	color: var(--vc-white);
}

.vc-testimonials .vc-section-eyebrow { color: var(--vc-green-light); }
.vc-testimonials .vc-section-subtitle { color: var(--vc-white); opacity: 0.85; }

.vc-testimonials__glow {
	position: absolute;
	inset: -20%;
	z-index: -1;
	background:
		radial-gradient(480px circle at 12% 12%, rgba(133, 195, 65, 0.28), transparent 60%),
		radial-gradient(520px circle at 88% 82%, rgba(228, 45, 111, 0.25), transparent 60%);
	pointer-events: none;
}

.vc-testimonial {
	position: relative;
	background: var(--vc-white);
	border-radius: var(--vc-radius-xl);
	padding: var(--vc-space-7);
	box-shadow: var(--vc-shadow-xl);
	transition: transform var(--vc-duration) var(--vc-ease), box-shadow var(--vc-duration) var(--vc-ease);
	height: 100%;
	display: flex;
	flex-direction: column;
	border-top: 3px solid transparent;
	background-image:
		linear-gradient(var(--vc-white), var(--vc-white)),
		var(--vc-gradient-brand);
	background-origin: border-box;
	background-clip: padding-box, border-box;
}

.vc-testimonial:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
}

/* Decorative opening quote, in a small colour badge rather than a giant
 * faded glyph — reads as an intentional design detail, not clutter. */
.vc-testimonial::before {
	content: "\201C";
	position: absolute;
	top: -18px;
	left: var(--vc-space-6);
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding-bottom: 4px;
	border-radius: 50%;
	background: var(--vc-gradient-cta);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--vc-white);
	box-shadow: 0 8px 18px rgba(228, 45, 111, 0.4);
	pointer-events: none;
}

.vc-testimonial__stars {
	display: flex;
	gap: 2px;
	margin-bottom: var(--vc-space-4);
	margin-top: var(--vc-space-2);
	color: var(--vc-accent);
}

.vc-testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }

.vc-testimonial__text {
	font-size: var(--vc-text-lg);
	font-style: italic;
	line-height: var(--vc-leading-relaxed);
	color: var(--vc-text-muted);
	margin-bottom: var(--vc-space-6);
	flex: 1;
}

.vc-testimonial__author {
	display: flex;
	align-items: center;
	gap: var(--vc-space-4);
	padding-top: var(--vc-space-4);
	border-top: 1px solid var(--vc-border);
}

.vc-testimonial__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--vc-gradient-primary);
	display: grid;
	place-items: center;
	color: var(--vc-white);
	font-weight: 700;
	font-size: var(--vc-text-lg);
	flex-shrink: 0;
	box-shadow: 0 0 0 3px var(--vc-white), 0 0 0 5px var(--vc-primary-light);
}

.vc-testimonial__name {
	font-family: var(--vc-font-heading);
	font-weight: 600;
	color: var(--vc-heading);
}

.vc-testimonial__role {
	font-size: var(--vc-text-sm);
	color: var(--vc-text-faint);
}

/* ===============================================================
 * CTA band
 * ============================================================= */

.vc-cta {
	position: relative;
	background: var(--vc-gradient-primary);
	color: var(--vc-white);
	padding-block: var(--vc-section-y);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}

/* Soft radial glow for depth. */
.vc-cta::before {
	content: "";
	position: absolute;
	inset: -50%;
	background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 55%);
	z-index: -1;
	pointer-events: none;
}

.vc-cta__title {
	font-size: var(--vc-text-4xl);
	color: var(--vc-white);
	margin-bottom: var(--vc-space-5);
}

.vc-cta__text {
	font-size: var(--vc-text-xl);
	opacity: 0.95;
	max-width: 720px;
	margin: 0 auto var(--vc-space-7);
	line-height: var(--vc-leading-relaxed);
}

.vc-cta__actions {
	display: flex;
	gap: var(--vc-space-4);
	justify-content: center;
	flex-wrap: wrap;
}

/* ===============================================================
 * Footer
 * ============================================================= */

.vc-footer {
	background: var(--vc-dark);
	color: var(--vc-text-faint);
	padding: var(--vc-space-9) 0 var(--vc-space-6);
}

.vc-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--vc-space-7) var(--vc-space-6);
}

.vc-footer h2,
.vc-footer h3,
.vc-footer h4,
.vc-footer h5,
.vc-footer .vc-footer__heading {
	font-family: var(--vc-font-heading);
	font-size: var(--vc-text-lg);
	font-weight: 600;
	color: var(--vc-green-light);
	margin-bottom: var(--vc-space-5);
}

.vc-footer a { color: var(--vc-text-faint); }
.vc-footer a:hover { color: var(--vc-primary-light); }

.vc-footer__list li + li { margin-top: var(--vc-space-3); }

.vc-footer__about p {
	line-height: var(--vc-leading-relaxed);
	margin-bottom: var(--vc-space-5);
}

/*
 * The logo artwork is dark navy on a transparent background — legible on the
 * white header, invisible on the dark footer. A light plate behind it keeps
 * the real logo intact instead of trying to invert its colours with a filter
 * (which would also invert the brand green).
 */
.vc-footer__logo {
	display: inline-block;
	background: var(--vc-white);
	padding: var(--vc-space-3) var(--vc-space-4);
	border-radius: var(--vc-radius-md);
	margin-bottom: var(--vc-space-4);
	line-height: 0;
}

.vc-footer__logo img { max-height: 44px; width: auto; display: block; }

.vc-footer__social {
	display: flex;
	gap: var(--vc-space-3);
}

.vc-footer__social a {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	color: var(--vc-text-faint);
	transition: background-color var(--vc-duration) var(--vc-ease), transform var(--vc-duration) var(--vc-ease), color var(--vc-duration) var(--vc-ease);
}

.vc-footer__social a:hover {
	background: var(--vc-primary);
	color: var(--vc-white);
	transform: translateY(-3px);
}

.vc-footer__social svg { width: 18px; height: 18px; fill: currentColor; }

.vc-footer__bottom {
	border-top: 1px solid var(--vc-dark-border);
	margin-top: var(--vc-space-8);
	padding-top: var(--vc-space-6);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--vc-space-4);
	flex-wrap: wrap;
	font-size: var(--vc-text-sm);
}

.vc-footer__legal {
	display: flex;
	gap: var(--vc-space-5);
	flex-wrap: wrap;
}

@media (max-width: 720px) {
	.vc-footer__grid { grid-template-columns: 1fr 1fr; }
	.vc-footer__about { grid-column: 1 / -1; }
	.vc-footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 460px) {
	.vc-footer__grid { grid-template-columns: 1fr; }
}

/* ===============================================================
 * Sticky mobile CTA
 * ============================================================= */

/*
 * Sticky on every screen size (not just mobile) — the site owner's own
 * reference design calls for it on desktop too, so this is intentionally
 * not gated to a max-width media query the way it used to be. Always the
 * "Buy Course Now" price bar now — the old generic Call/CTA variant is
 * gone, replaced everywhere by this one design.
 */
.vc-mobile-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: var(--vc-z-sticky);
	gap: var(--vc-space-3);
	padding: 10px var(--vc-space-3);
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--vc-border);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
	/* Clears the iOS home indicator. */
	padding-bottom: max(10px, env(safe-area-inset-bottom));
}

/* Room for the fixed bar is reserved ONLY on pages that render it (the body
   class is added by vcourse_sticky_cta_body_class()) — every other page gets
   no blank strip at the bottom. */
body.vc-has-sticky-cta { padding-bottom: var(--vc-mobile-cta-height); }
body.vc-has-sticky-cta .vc-wa-widget { bottom: calc(var(--vc-mobile-cta-height) + 12px); }

@media (min-width: 769px) {
	/* The bar is taller at this width (more padding, bigger price type),
	   so the document/WhatsApp-button clearance needs to grow to match. */
	body.vc-has-sticky-cta { padding-bottom: 112px; }
	body.vc-has-sticky-cta .vc-wa-widget { bottom: 124px; }
}

.vc-mobile-cta__info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex-shrink: 0; }

.vc-mobile-cta__badge {
	background: var(--vc-danger);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: var(--vc-radius-pill);
	white-space: nowrap;
}

.vc-mobile-cta__price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.vc-mobile-cta__price del { color: var(--vc-text-muted); font-size: 0.7rem; }
.vc-mobile-cta__price strong { color: var(--vc-danger); font-size: 1.05rem; font-weight: 800; }

/* Small rounded-rect shape, matching the hero section's own mobile CTA
   buttons (.vc-h4-hero__cta-mobile-btn) rather than a full pill. */
.vc-mobile-cta__buy-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	flex: 1;
	min-width: 0;
	max-width: 280px;
	background: var(--vc-green);
	color: #fff;
	padding: 9px var(--vc-space-4);
	border-radius: var(--vc-radius-sm);
	border: 2px solid transparent;
	text-align: center;
	box-shadow: var(--vc-shadow-md);
}

.vc-mobile-cta__buy-btn:hover { background: var(--vc-green-dark); color: #fff; }
.vc-mobile-cta__buy-btn span { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.vc-mobile-cta__buy-btn small { font-size: 0.66rem; font-weight: 600; white-space: normal; line-height: 1.25; }

@media (max-width: 400px) {
	.vc-mobile-cta { padding-inline: var(--vc-space-2); gap: var(--vc-space-2); }
	.vc-mobile-cta__badge { font-size: 0.5rem; padding: 3px 7px; }
	.vc-mobile-cta__price strong { font-size: 0.88rem; }
	.vc-mobile-cta__price del { font-size: 0.6rem; }
	.vc-mobile-cta__buy-btn { padding: 8px var(--vc-space-2); }
	.vc-mobile-cta__buy-btn span { font-size: 0.74rem; }
	.vc-mobile-cta__buy-btn small { font-size: 0.6rem; }
}

@media (min-width: 769px) {
	.vc-mobile-cta { justify-content: center; gap: var(--vc-space-6); padding-block: var(--vc-space-3); }
	.vc-mobile-cta__price strong { font-size: 1.3rem; }
	.vc-mobile-cta__buy-btn { flex: 0 0 auto; min-width: 240px; }
	.vc-mobile-cta__buy-btn span { font-size: 0.95rem; }
	.vc-mobile-cta__buy-btn small { font-size: 0.7rem; }
}

/* ===============================================================
 * Breadcrumbs
 * ============================================================= */

.vc-breadcrumbs {
	padding-block: var(--vc-space-4);
	font-size: var(--vc-text-sm);
	color: var(--vc-text-muted);
}

.vc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vc-space-2);
}

.vc-breadcrumbs li {
	display: flex;
	align-items: center;
	gap: var(--vc-space-2);
}

.vc-breadcrumbs li + li::before {
	content: "/";
	color: var(--vc-border-strong);
}

.vc-breadcrumbs [aria-current="page"] {
	color: var(--vc-heading);
	font-weight: 600;
}

/* ===============================================================
 * Page hero — the header banner on every interior page
 * (template-parts/page-hero.php)
 * ============================================================= */

.vc-phero { padding-block: var(--vc-space-5) var(--vc-space-4); }

.vc-phero__card {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: var(--vc-space-6);
	min-height: 320px;
	padding: var(--vc-space-8) var(--vc-space-8);
	border-radius: 28px;
	border: 1px solid #e4e9fb;
	background:
		radial-gradient(circle at 8% 0%, rgba(99, 102, 241, 0.13), transparent 42%),
		radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.10), transparent 46%),
		linear-gradient(135deg, #eef2ff 0%, #f6f8ff 55%, #ffffff 100%);
}

/* Decorative dot grid, top centre. */
.vc-phero__card::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 46%;
	width: 84px;
	height: 84px;
	background-image: radial-gradient(circle, rgba(37, 99, 235, 0.28) 1.6px, transparent 1.8px);
	background-size: 14px 14px;
	pointer-events: none;
}

.vc-phero__content { position: relative; z-index: 1; min-width: 0; }

/* Breadcrumb: a white pill with a home icon and chevrons. */
.vc-phero .vc-breadcrumbs { padding: 0; margin-bottom: var(--vc-space-5); }

.vc-phero .vc-breadcrumbs ol {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 9px 20px;
	background: #fff;
	border-radius: var(--vc-radius-pill);
	box-shadow: 0 6px 22px rgba(30, 47, 122, 0.10);
	font-size: 0.95rem;
	font-weight: 500;
}

.vc-phero .vc-breadcrumbs a { color: var(--vc-heading); }
.vc-phero .vc-breadcrumbs a:hover { color: var(--vc-primary); }

.vc-phero .vc-breadcrumbs li:first-child a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vc-phero .vc-breadcrumbs li:first-child a::before {
	content: "";
	width: 18px;
	height: 18px;
	background: #1f3a93;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v8h5v-6h4v6h5v-8h3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v8h5v-6h4v6h5v-8h3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.vc-phero .vc-breadcrumbs li + li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid #9aa4c2;
	border-right: 2px solid #9aa4c2;
	transform: rotate(45deg);
	margin-right: 2px;
}

.vc-phero .vc-breadcrumbs [aria-current="page"] {
	color: var(--vc-primary);
	font-weight: 600;
}

/* Short gold rule above the eyebrow. */
.vc-phero__rule {
	display: block;
	width: 84px;
	height: 3px;
	border-radius: 3px;
	background: #f2b01e;
	margin-bottom: var(--vc-space-4);
}

.vc-phero__eyebrow {
	display: block;
	margin-bottom: var(--vc-space-3);
	color: #3b5bdb;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.vc-phero__title {
	margin: 0 0 var(--vc-space-4);
	color: #0f1b3d;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.vc-phero__title span { color: var(--vc-primary); }

.vc-phero__extra { margin-bottom: var(--vc-space-4); color: #4b5675; }
.vc-phero__extra .vc-post-meta,
.vc-phero__extra .vc-post-meta a { color: #4b5675; }

.vc-phero__text {
	max-width: 520px;
	color: #52617f;
	font-size: var(--vc-text-lg);
	line-height: 1.6;
}

.vc-phero__text > *:last-child { margin-bottom: 0; }

.vc-phero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--vc-space-3);
	margin-top: var(--vc-space-5);
}

/* Illustration (desktop only — a background, so it is not fetched on mobile). */
.vc-phero__art {
	align-self: stretch;
	min-height: 260px;
	background: url("../img/page-hero-art.svg") right center / contain no-repeat;
}

/* One picture per kind of page (chosen by vcourse_page_art()). */
.vc-phero__art--about { background-image: url("../img/page-hero-art-about.svg"); }
.vc-phero__art--contact { background-image: url("../img/page-hero-art-contact.svg"); }
.vc-phero__art--blog { background-image: url("../img/page-hero-art-blog.svg"); }
.vc-phero__art--services { background-image: url("../img/page-hero-art-services.svg"); }
.vc-phero__art--search { background-image: url("../img/page-hero-art-search.svg"); }
.vc-phero__art--page { background-image: url("../img/page-hero-art-page.svg"); }

@media (max-width: 900px) {
	.vc-phero { padding-block: var(--vc-space-3); }

	.vc-phero__card {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: var(--vc-space-6) var(--vc-space-5);
		border-radius: 22px;
	}

	.vc-phero__card::before { left: auto; right: 22px; top: 22px; width: 56px; height: 56px; }
	.vc-phero__art { display: none; }
	.vc-phero .vc-breadcrumbs { margin-bottom: var(--vc-space-4); }
	.vc-phero__title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
	.vc-phero__eyebrow { font-size: 0.78rem; letter-spacing: 0.26em; }
	.vc-phero__text { font-size: var(--vc-text-base); }
}


/* ===============================================================
 * Service detail sidebar (single-vcourse_service.php)
 * ============================================================= */

.vc-svc-aside {
	display: flex;
	flex-direction: column;
	gap: var(--vc-space-3);
}

.vc-svc-aside__box {
	background: var(--vc-light);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-lg);
	padding: var(--vc-space-5);
}

.vc-svc-aside__label {
	font-size: var(--vc-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--vc-tracking-wider);
	color: var(--vc-text-faint);
	margin-bottom: var(--vc-space-3);
}

.vc-svc-side-link {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	padding: 0.65rem 0.5rem;
	border-radius: var(--vc-radius-md);
	font-weight: 600;
	font-size: var(--vc-text-sm);
	color: var(--vc-heading);
	transition: background var(--vc-duration) var(--vc-ease), color var(--vc-duration) var(--vc-ease);
}

.vc-svc-side-link:hover {
	background: var(--vc-primary-soft);
	color: var(--vc-primary);
}

.vc-svc-side-link + .vc-svc-side-link { margin-top: 2px; }

.vc-svc-side-link__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--vc-white);
	box-shadow: var(--vc-shadow-sm);
}

.vc-svc-side-link__icon svg { width: 16px; height: 16px; fill: var(--vc-primary); }

.vc-svc-side-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--vc-space-2);
	padding: 0.85rem 1rem;
	border-radius: var(--vc-radius-md);
	font-weight: 700;
	color: var(--vc-white);
	transition: opacity var(--vc-duration) var(--vc-ease), transform var(--vc-duration) var(--vc-ease);
}

.vc-svc-side-btn:hover { color: var(--vc-white); opacity: 0.92; transform: translateY(-2px); }
.vc-svc-side-btn svg { width: 16px; height: 16px; fill: var(--vc-white); }
.vc-svc-side-btn--call { background: var(--vc-navy); }
.vc-svc-side-btn--wa { background: #25d366; }

/* ===============================================================
 * Forms
 * ============================================================= */

.vc-field { margin-bottom: var(--vc-space-5); }

.vc-label {
	display: block;
	margin-bottom: var(--vc-space-2);
	font-weight: 600;
	font-size: var(--vc-text-sm);
	color: var(--vc-heading);
}

.vc-label .required { color: var(--vc-danger); }

.vc-input,
.vc-select,
.vc-textarea,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	font-family: inherit;
	font-size: var(--vc-text-base);
	color: var(--vc-text);
	background: var(--vc-white);
	border: 1px solid var(--vc-border-strong);
	border-radius: var(--vc-radius-md);
	transition: border-color var(--vc-duration) var(--vc-ease), box-shadow var(--vc-duration) var(--vc-ease);
}

.vc-input:focus,
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--vc-primary);
	box-shadow: var(--vc-shadow-focus);
}

textarea { min-height: 150px; resize: vertical; }

/* --- [vcourse_form] compact layout ---
 * Short fields (name, email, phone, subject, …) pair up two-to-a-row; a
 * textarea (marked --wide by Forms::render_field()) always spans the full
 * width. This is what keeps a 5-field form from reading as one long column. */
.vc-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 var(--vc-space-4);
}

.vc-form__grid .vc-field { margin-bottom: var(--vc-space-4); }
.vc-form__grid .vc-field--wide { grid-column: 1 / -1; }

@media (max-width: 560px) {
	.vc-form__grid { grid-template-columns: 1fr; }
}

.vc-form .vc-input,
.vc-form .vc-textarea {
	padding: 0.65rem 0.9rem;
	font-size: var(--vc-text-sm);
}

.vc-form .vc-textarea { min-height: 110px; }
.vc-form .vc-label { margin-bottom: 6px; font-size: 0.825rem; }
.vc-form [data-vc-submit] { margin-top: var(--vc-space-1); }
.vc-form .vc-notice { padding: var(--vc-space-3) var(--vc-space-4); margin-bottom: var(--vc-space-4); font-size: var(--vc-text-sm); }

.vc-input[aria-invalid="true"],
.wpcf7-not-valid {
	border-color: var(--vc-danger);
}

.vc-field__hint {
	margin-top: var(--vc-space-2);
	font-size: var(--vc-text-sm);
	color: var(--vc-text-faint);
}

.vc-field__error,
.wpcf7-not-valid-tip {
	margin-top: var(--vc-space-2);
	font-size: var(--vc-text-sm);
	font-weight: 600;
	color: var(--vc-danger);
}

.vc-checkbox {
	display: flex;
	align-items: flex-start;
	gap: var(--vc-space-3);
	font-size: var(--vc-text-sm);
	line-height: var(--vc-leading-snug);
	cursor: pointer;
}

.vc-checkbox input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--vc-primary);
	flex-shrink: 0;
}

/* ===============================================================
 * Notices
 * ============================================================= */

.vc-notice {
	display: flex;
	align-items: flex-start;
	gap: var(--vc-space-3);
	padding: var(--vc-space-4) var(--vc-space-5);
	border-radius: var(--vc-radius-md);
	border-left: 4px solid var(--vc-info);
	background: rgba(14, 165, 233, 0.08);
	color: var(--vc-text);
	margin-bottom: var(--vc-space-5);
}

.vc-notice--success { border-color: var(--vc-success); background: rgba(16, 185, 129, 0.09); }
.vc-notice--error { border-color: var(--vc-danger); background: rgba(239, 68, 68, 0.08); }
.vc-notice--warning { border-color: var(--vc-warning); background: rgba(245, 158, 11, 0.1); }

/* ===============================================================
 * Checkout
 *
 * page-checkout.php had no dedicated CSS at all before this — its
 * `.vc-checkout*` classes rendered as plain stacked blocks with only
 * whatever generic `.vc-card`/`.vc-field` rules happened to apply, which is
 * why the page read as tall and unstyled. This is a compact two-column
 * layout (billing form + a summary card that stays in view) that collapses
 * to one column on narrow screens.
 * ============================================================= */

/* Trims the vc-section/heading chrome above the form specifically on this
 * page, so the pay button is reachable without a long scroll on a normal
 * viewport — "first fold" is the whole point of a checkout page. */
.vc-checkout-page .vc-section-title { font-size: var(--vc-text-2xl); margin-bottom: var(--vc-space-1); }
.vc-checkout-page .vc-breadcrumbs { margin-bottom: var(--vc-space-2); }

.vc-checkout { margin-top: var(--vc-space-4); }

.vc-checkout__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: var(--vc-space-5);
	align-items: start;
}

.vc-checkout .vc-card {
	padding: var(--vc-space-5);
	gap: 0;
}

.vc-checkout .vc-card__title {
	font-size: var(--vc-text-lg);
	margin-bottom: var(--vc-space-4);
}

.vc-checkout .vc-field { margin-bottom: var(--vc-space-4); }
.vc-checkout .vc-field:last-child { margin-bottom: 0; }

.vc-checkout .vc-notice {
	padding: var(--vc-space-3) var(--vc-space-4);
	font-size: var(--vc-text-sm);
	margin-bottom: var(--vc-space-4);
}

/* Stays in view while the (potentially longer, on a guest checkout) billing
 * form scrolls, so the total and Pay button are never far away. */
.vc-checkout__summary { position: sticky; top: 96px; }

.vc-checkout__item {
	font-weight: 700;
	color: var(--vc-heading);
	padding-bottom: var(--vc-space-3);
	margin-bottom: var(--vc-space-3);
	border-bottom: 1px solid var(--vc-border);
}

.vc-checkout__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-3);
	font-size: var(--vc-text-sm);
	color: var(--vc-text-muted);
	padding-block: 6px;
}

.vc-checkout__row--total {
	margin-top: var(--vc-space-2);
	padding-top: var(--vc-space-3);
	border-top: 1px solid var(--vc-border);
	font-size: var(--vc-text-lg);
	font-weight: 800;
	color: var(--vc-heading);
}

.vc-checkout__coupon { margin: var(--vc-space-4) 0; }

.vc-checkout__coupon-group {
	display: flex;
	gap: var(--vc-space-2);
}

.vc-checkout__coupon-group .vc-input { flex: 1; min-width: 0; }

.vc-checkout [data-vc-pay] { margin-top: var(--vc-space-3); }

.vc-checkout__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: var(--vc-space-3);
	text-align: center;
}

.vc-checkout__secure svg { width: 14px; height: 14px; flex-shrink: 0; fill: currentColor; }

@media (max-width: 860px) {
	.vc-checkout__grid { grid-template-columns: 1fr; }
	.vc-checkout__summary { position: static; }
}

/* ===============================================================
 * Pagination
 * ============================================================= */

.vc-pagination {
	display: flex;
	justify-content: center;
	gap: var(--vc-space-2);
	flex-wrap: wrap;
	margin-top: var(--vc-space-8);
}

.vc-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: var(--vc-space-3);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-md);
	font-weight: 600;
	color: var(--vc-text);
	background: var(--vc-white);
	transition: all var(--vc-duration) var(--vc-ease);
}

.vc-pagination .page-numbers:hover {
	border-color: var(--vc-primary);
	color: var(--vc-primary);
}

.vc-pagination .page-numbers.current {
	background: var(--vc-primary);
	border-color: var(--vc-primary);
	color: var(--vc-white);
}

.vc-pagination .dots { border: none; background: transparent; }

/* ===============================================================
 * Accordion (FAQ)
 * ============================================================= */

.vc-accordion {
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-lg);
	overflow: hidden;
	background: var(--vc-white);
}

.vc-accordion + .vc-accordion { margin-top: var(--vc-space-4); }

.vc-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-4);
	padding: var(--vc-space-5);
	font-family: var(--vc-font-heading);
	font-size: var(--vc-text-lg);
	font-weight: 600;
	color: var(--vc-heading);
	text-align: left;
	transition: background-color var(--vc-duration) var(--vc-ease);
}

.vc-accordion__trigger:hover { background: var(--vc-light); }

.vc-accordion__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	position: relative;
	transition: transform var(--vc-duration) var(--vc-ease);
}

.vc-accordion__icon::before,
.vc-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--vc-primary);
	border-radius: 2px;
	transform: translate(-50%, -50%);
}

.vc-accordion__icon::before { width: 14px; height: 2px; }
.vc-accordion__icon::after { width: 2px; height: 14px; transition: opacity var(--vc-duration) var(--vc-ease); }

.vc-accordion__trigger[aria-expanded="true"] .vc-accordion__icon::after { opacity: 0; }

/* Height is animated by JS via inline max-height so the transition can run. */
.vc-accordion__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--vc-duration) var(--vc-ease);
}

.vc-accordion__panel > div {
	padding: 0 var(--vc-space-5) var(--vc-space-5);
	color: var(--vc-text-muted);
	line-height: var(--vc-leading-relaxed);
}

/* ===============================================================
 * Progress bar (course & lesson completion)
 * ============================================================= */

.vc-progress {
	height: 8px;
	background: var(--vc-surface-alt);
	border-radius: var(--vc-radius-pill);
	overflow: hidden;
}

.vc-progress__bar {
	height: 100%;
	background: var(--vc-gradient-green);
	border-radius: inherit;
	transition: width var(--vc-duration-slow) var(--vc-ease-out);
}

.vc-progress__meta {
	display: flex;
	justify-content: space-between;
	font-size: var(--vc-text-sm);
	color: var(--vc-text-muted);
	margin-bottom: var(--vc-space-2);
}

/* ===============================================================
 * YouTube gallery (home)
 * ============================================================= */

.vc-yt { background: var(--vc-light); }

.vc-yt__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-2);
	padding: 0.35rem 0.9rem;
	margin-bottom: var(--vc-space-4);
	border-radius: var(--vc-radius-pill);
	background: rgba(239, 68, 68, 0.1);
	color: #dc2626;
	font-size: var(--vc-text-sm);
	font-weight: 700;
}
.vc-yt__badge svg { width: 15px; height: 15px; fill: currentColor; }

.vc-yt__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--vc-space-5);
}

.vc-yt-card {
	display: block;
	width: 100%;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	border-radius: var(--vc-radius-lg);
	overflow: hidden;
	box-shadow: var(--vc-shadow-md);
	transition: transform var(--vc-duration) var(--vc-ease), box-shadow var(--vc-duration) var(--vc-ease);
}

.vc-yt-card:hover { transform: translateY(-6px); box-shadow: var(--vc-shadow-lg); }

.vc-yt-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #000;
}

.vc-yt-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vc-yt-card__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.25);
	transition: background var(--vc-duration) var(--vc-ease);
}

.vc-yt-card:hover .vc-yt-card__play { background: rgba(0, 0, 0, 0.15); }

.vc-yt-card__play svg {
	width: 26px;
	height: 26px;
	fill: #fff;
	/* Red YouTube-style button behind the triangle. */
	background: #ff0000;
	padding: 12px 14px;
	box-sizing: content-box;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* When activated, the injected iframe fills the media box. */
.vc-yt-card__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vc-yt-card.is-playing { cursor: default; }
.vc-yt-card.is-playing:hover { transform: none; }

/* ===============================================================
 * Training specification (home)
 * ============================================================= */

.vc-train__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: var(--vc-space-8);
	align-items: center;
}

.vc-train__content .vc-badge { margin-bottom: var(--vc-space-4); }
.vc-train__content .vc-section-title { text-align: left; }
.vc-train__content .vc-section-subtitle { text-align: left; margin-bottom: var(--vc-space-5); }

.vc-train__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--vc-space-3) var(--vc-space-5);
}

.vc-train__item {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	font-weight: 500;
	font-size: 0.95rem;
}

.vc-train__num {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--vc-primary-soft);
	color: var(--vc-primary);
	font-family: var(--vc-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
}

.vc-train__media img {
	width: 100%;
	border-radius: var(--vc-radius-xl);
	box-shadow: var(--vc-shadow-lg);
	object-fit: cover;
}

@media (max-width: 900px) {
	.vc-train__grid { grid-template-columns: 1fr; }
	.vc-train__media { order: -1; }
}

@media (max-width: 520px) {
	.vc-train__list { grid-template-columns: 1fr; }
}

/* ===============================================================
 * Floating WhatsApp button
 * ============================================================= */

.vc-wa-widget {
	position: fixed;
	right: 20px;
	/* Sits above the sticky CTA bar on the pages that have one (see the
	   body.vc-has-sticky-cta rules above); 20px everywhere else. */
	bottom: 20px;
	z-index: var(--vc-z-toast);
}

.vc-whatsapp-float {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
	transition: transform var(--vc-duration) var(--vc-ease), box-shadow var(--vc-duration) var(--vc-ease);
	animation: vc-wa-pulse 2.5s ease-in-out infinite;
	margin-left: auto;
}

.vc-whatsapp-float:hover {
	transform: scale(1.08);
	color: #fff;
	box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.vc-whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

.vc-wa-widget[data-open] .vc-whatsapp-float {
	animation: none;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

@keyframes vc-wa-pulse {
	0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); }
	50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.12); }
}

/*
 * The widget's z-index (--vc-z-toast: 1200) is deliberately above almost
 * everything so it stays reachable while browsing — but that also puts it
 * above the mobile nav drawer (--vc-z-overlay: 1050), so it sat on top of
 * the open drawer's bottom-right corner and swallowed taps meant for the
 * menu underneath it. Hide it for the drawer's lifetime instead of
 * reordering z-indexes site-wide; `body.vc-nav-open` is already toggled by
 * the same script that opens/closes the drawer.
 */
body.vc-nav-open .vc-wa-widget {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.vc-whatsapp-float { animation: none; }
}

/* --- Compose panel --- */

.vc-wa-widget__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 14px);
	width: min(320px, calc(100vw - 40px));
	background: var(--vc-white);
	border-radius: var(--vc-radius-lg);
	box-shadow: var(--vc-shadow-xl);
	overflow: hidden;
	transform-origin: bottom right;
	animation: vc-wa-panel-in var(--vc-duration-fast) var(--vc-ease-out);
}

.vc-wa-widget__panel[hidden] { display: none; }

@keyframes vc-wa-panel-in {
	from { opacity: 0; transform: scale(0.92) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.vc-wa-widget__head {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	padding: var(--vc-space-4);
	background: #25d366;
	color: #fff;
}

.vc-wa-widget__avatar {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	flex-shrink: 0;
}

.vc-wa-widget__avatar svg { width: 20px; height: 20px; fill: #fff; }

.vc-wa-widget__who {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	margin-right: auto;
}

.vc-wa-widget__who strong { font-size: var(--vc-text-sm); }
.vc-wa-widget__who span { font-size: 0.75rem; opacity: 0.9; }

.vc-wa-widget__close {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
	opacity: 0.85;
}

.vc-wa-widget__close:hover { opacity: 1; }

.vc-wa-widget__body {
	padding: var(--vc-space-4);
	background: #e9edf1;
}

.vc-wa-widget__bubble {
	background: var(--vc-white);
	border-radius: var(--vc-radius-md);
	border-top-left-radius: 2px;
	padding: var(--vc-space-3);
	font-size: var(--vc-text-sm);
	color: var(--vc-text);
	box-shadow: var(--vc-shadow-sm);
	max-width: 90%;
}

.vc-wa-widget__form {
	display: flex;
	align-items: flex-end;
	gap: var(--vc-space-2);
	padding: var(--vc-space-3);
	background: var(--vc-white);
	border-top: 1px solid var(--vc-border);
}

.vc-wa-widget__input {
	flex: 1;
	resize: none;
	border: 1px solid var(--vc-border-strong);
	border-radius: var(--vc-radius-md);
	padding: 0.6rem 0.75rem;
	font: inherit;
	font-size: var(--vc-text-sm);
	color: var(--vc-text);
	max-height: 90px;
}

.vc-wa-widget__input:focus {
	outline: none;
	border-color: #25d366;
	box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.vc-wa-widget__send {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	transition: background var(--vc-duration) var(--vc-ease), transform var(--vc-duration) var(--vc-ease);
}

.vc-wa-widget__send:hover { background: #1fb855; transform: scale(1.05); }
.vc-wa-widget__send svg { width: 17px; height: 17px; fill: #fff; }

@media (max-width: 420px) {
	.vc-wa-widget__panel { right: -8px; }
}

/* ===============================================================
 * "What You'll Get" outcomes strip — below the hero
 * ============================================================= */

.vc-outcomes-strip {
	background: var(--vc-white);
	border-bottom: 1px solid var(--vc-border);
}

.vc-outcomes-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vc-space-6) var(--vc-space-7);
	padding-block: var(--vc-space-6);
}

.vc-outcomes-strip__lead {
	font-weight: 800;
	font-size: var(--vc-text-lg);
	color: var(--vc-heading);
	flex-shrink: 0;
	position: relative;
	padding-bottom: var(--vc-space-2);
}

.vc-outcomes-strip__lead::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: var(--vc-radius-pill);
	background: var(--vc-gradient-brand);
}

.vc-outcomes-strip__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-6) var(--vc-space-7);
	flex: 1;
}

.vc-outcomes-strip__list li {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--vc-heading);
}

.vc-outcomes-strip__list svg {
	width: 22px;
	height: 22px;
	fill: var(--vc-primary);
	flex-shrink: 0;
}

@media (max-width: 782px) {
	/*
	 * The base layout is a single flex ROW: heading, then the list flexing
	 * to fill the rest and wrapping internally. On a phone-width viewport
	 * that only leaves the list a few dozen px per line before it wraps,
	 * so icon and label end up on visually disconnected lines with huge
	 * gaps between them. Stacking everything into one column — heading on
	 * top, each icon+label as its own full-width row — is what the
	 * screenshot shows going wrong.
	 */
	.vc-outcomes-strip__inner {
		flex-direction: column;
		align-items: flex-start;
		padding-block: var(--vc-space-5);
		gap: var(--vc-space-3);
	}

	.vc-outcomes-strip__list {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		gap: var(--vc-space-3);
	}

	.vc-outcomes-strip__list li { width: 100%; }
}

/* ===============================================================
 * Comparison — us vs other agencies
 * ============================================================= */

.vc-compare {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	gap: var(--vc-space-5);
	max-width: 960px;
	margin-inline: auto;
}

.vc-compare__col {
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-xl);
	padding: var(--vc-space-7) var(--vc-space-6);
	box-shadow: var(--vc-shadow-md);
}

/* "Us" column gets the brand accent + a subtle lift. */
.vc-compare__col--us {
	border-color: transparent;
	background:
		linear-gradient(var(--vc-white), var(--vc-white)) padding-box,
		var(--vc-gradient-green) border-box;
	border: 2px solid transparent;
	box-shadow: var(--vc-shadow-lg);
}

.vc-compare__col--them { background: var(--vc-light); }

.vc-compare__title {
	display: flex;
	align-items: center;
	gap: var(--vc-space-2);
	font-size: var(--vc-text-lg);
	margin-bottom: var(--vc-space-5);
	padding-bottom: var(--vc-space-3);
	border-bottom: 1px solid var(--vc-border);
}

.vc-compare__title svg { width: 22px; height: 22px; fill: var(--vc-green-dark); }

.vc-compare__list { display: grid; gap: var(--vc-space-3); }

.vc-compare__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--vc-space-3);
	line-height: var(--vc-leading-snug);
	font-size: 0.95rem;
}

.vc-compare__list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.vc-compare__list li svg { fill: var(--vc-success); }
.vc-compare__list--them li { color: var(--vc-text-muted); }
.vc-compare__list--them li svg { fill: var(--vc-text-faint); }

.vc-compare__vs {
	display: grid;
	place-items: center;
}

.vc-compare__vs span {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--vc-navy);
	color: #fff;
	font-family: var(--vc-font-heading);
	font-weight: 800;
	font-size: var(--vc-text-lg);
	box-shadow: var(--vc-shadow-md);
}

@media (max-width: 780px) {
	.vc-compare { grid-template-columns: 1fr; }
	.vc-compare__vs span { margin: calc(-1 * var(--vc-space-2)) auto; }
}

/* ===============================================================
 * Process — numbered steps
 * ============================================================= */

.vc-process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--vc-space-5);
}

.vc-process__step {
	position: relative;
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-lg);
	padding: var(--vc-space-6);
	padding-top: var(--vc-space-8);
	transition: transform var(--vc-duration) var(--vc-ease), box-shadow var(--vc-duration) var(--vc-ease), border-color var(--vc-duration) var(--vc-ease);
}

.vc-process__step:hover {
	transform: translateY(-4px);
	box-shadow: var(--vc-shadow-lg);
	border-color: var(--vc-primary-border);
}

.vc-process__num {
	position: absolute;
	top: var(--vc-space-5);
	right: var(--vc-space-5);
	font-family: var(--vc-font-heading);
	font-size: var(--vc-text-4xl);
	font-weight: 800;
	line-height: 1;
	color: var(--vc-primary-soft);
	/* A faint outlined numeral — clean, not loud. */
	-webkit-text-stroke: 1px var(--vc-primary-border);
}

.vc-process__title { font-size: var(--vc-text-lg); margin-bottom: var(--vc-space-2); }
.vc-process__text { color: var(--vc-text-muted); line-height: var(--vc-leading-normal); font-size: 0.95rem; }

/* ===============================================================
 * Services grid (redesigned "Full-stack growth" section)
 * ============================================================= */

.vc-svc-section { background: var(--vc-light); }

.vc-svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--vc-space-5);
}

.vc-svc-card {
	position: relative;
	display: block;
	background: var(--vc-white);
	border-radius: var(--vc-radius-lg);
	padding: var(--vc-space-6);
	box-shadow: var(--vc-shadow-sm);
	border: 1px solid var(--vc-border);
	overflow: hidden;
	transition: transform var(--vc-duration) var(--vc-ease), box-shadow var(--vc-duration) var(--vc-ease), border-color var(--vc-duration) var(--vc-ease);
}

.vc-svc-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--vc-shadow-lg);
	border-color: var(--vc-primary-border);
}

.vc-svc-card__num {
	position: absolute;
	top: var(--vc-space-4);
	right: var(--vc-space-5);
	font-family: var(--vc-font-heading);
	font-weight: 800;
	font-size: var(--vc-text-2xl);
	color: var(--vc-primary-soft);
	-webkit-text-stroke: 1px var(--vc-primary-border);
}

.vc-svc-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: var(--vc-radius-md);
	background: var(--vc-gradient-primary);
	color: #fff;
	margin-bottom: var(--vc-space-4);
}
.vc-svc-card__icon svg { width: 26px; height: 26px; fill: currentColor; }

.vc-svc-card__title { font-size: var(--vc-text-lg); margin-bottom: var(--vc-space-2); color: var(--vc-heading); }
.vc-svc-card__text { color: var(--vc-text-muted); line-height: var(--vc-leading-normal); font-size: 0.925rem; margin-bottom: var(--vc-space-4); }

.vc-svc-card__link {
	display: inline-flex;
	align-items: center;
	gap: var(--vc-space-2);
	font-weight: 700;
	font-size: var(--vc-text-sm);
	color: var(--vc-primary);
}
.vc-svc-card__link svg { width: 14px; height: 14px; fill: currentColor; transition: transform var(--vc-duration) var(--vc-ease); }
.vc-svc-card:hover .vc-svc-card__link svg { transform: translateX(4px); }

/* ===============================================================
 * Testimonial carousel
 * ============================================================= */

.vc-carousel { max-width: 100%; }
.vc-carousel__viewport { overflow: hidden; }
.vc-carousel__track {
	display: flex;
	gap: 20px;
	transition: transform 0.4s var(--vc-ease);
	will-change: transform;
}
.vc-carousel__slide { flex-shrink: 0; }
.vc-carousel__slide .vc-testimonial { height: 100%; }

.vc-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--vc-space-5);
	margin-top: var(--vc-space-7);
}

.vc-carousel__arrow {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	box-shadow: var(--vc-shadow-sm);
	transition: background var(--vc-duration) var(--vc-ease), color var(--vc-duration) var(--vc-ease);
}
.vc-carousel__arrow:hover { background: var(--vc-primary); }
.vc-carousel__arrow:hover svg { fill: #fff; }
.vc-carousel__arrow svg { width: 16px; height: 16px; fill: var(--vc-heading); }
.vc-carousel__arrow--prev svg { transform: rotate(180deg); }

.vc-carousel__dots { display: flex; align-items: center; gap: 8px; }
.vc-carousel__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--vc-border-strong);
	transition: background var(--vc-duration) var(--vc-ease), transform var(--vc-duration) var(--vc-ease);
}
.vc-carousel__dot.is-active { background: var(--vc-primary); transform: scale(1.3); }

/* On the dark testimonials panel, swap the light-surface dot/arrow colours
 * for ones that hold contrast against navy. */
.vc-testimonials .vc-carousel__dot { background: rgba(255, 255, 255, 0.3); }
.vc-testimonials .vc-carousel__dot.is-active { background: var(--vc-cta); }
.vc-testimonials .vc-carousel__arrow:hover { background: var(--vc-cta); }

@media (max-width: 639px) {
	.vc-carousel__slide { width: 100%; }
}

/* ===============================================================
 * Account dropdown (header)
 * ============================================================= */

.vc-account {
	position: relative;
}

.vc-account__trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.4rem 0.7rem 0.4rem 0.4rem;
	border-radius: var(--vc-radius-pill);
	background: var(--vc-surface-alt);
	font-weight: 600;
	font-size: var(--vc-text-sm);
	color: var(--vc-heading);
}

.vc-account__avatar {
	width: 30px; height: 30px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--vc-gradient-primary);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 0.75rem;
}

.vc-account__caret {
	width: 10px; height: 10px;
	fill: currentColor;
	transition: transform var(--vc-duration) var(--vc-ease);
}
.vc-account.is-open .vc-account__caret { transform: rotate(180deg); }

.vc-account__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 200px;
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-md);
	box-shadow: var(--vc-shadow-lg);
	padding: var(--vc-space-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--vc-duration) var(--vc-ease), transform var(--vc-duration) var(--vc-ease), visibility var(--vc-duration);
	z-index: var(--vc-z-dropdown);
}

.vc-account.is-open .vc-account__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.vc-account__menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0.6rem 0.75rem;
	border-radius: var(--vc-radius-sm);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--vc-text);
}
.vc-account__menu a:hover { background: var(--vc-primary-soft); color: var(--vc-primary); }
.vc-account__menu a svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.vc-account__menu hr { border: none; border-top: 1px solid var(--vc-border); margin: var(--vc-space-2) 0; }

/* ===============================================================
 * "Performance driven agency" split section with stat bubbles
 * ============================================================= */

.vc-perf { overflow: visible; }
.vc-perf__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--vc-space-8);
	align-items: center;
}
.vc-perf__content .vc-section-title { text-align: left; }
.vc-perf__list { margin: var(--vc-space-5) 0; display: grid; gap: var(--vc-space-3); }
.vc-perf__list li { display: flex; align-items: flex-start; gap: var(--vc-space-3); font-weight: 600; color: var(--vc-heading); }
.vc-perf__list svg { width: 20px; height: 20px; fill: var(--vc-success); flex-shrink: 0; margin-top: 2px; }

.vc-perf__visual { position: relative; }
.vc-perf__mock {
	background: var(--vc-white);
	border-radius: var(--vc-radius-lg);
	box-shadow: var(--vc-shadow-xl);
	border: 1px solid var(--vc-border);
	overflow: hidden;
}
.vc-perf__mock-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--vc-light); border-bottom: 1px solid var(--vc-border); }
.vc-perf__mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--vc-border-strong); }
.vc-perf__mock-body { padding: var(--vc-space-5); }
.vc-perf__chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-bottom: var(--vc-space-4); }
.vc-perf__chart span { flex: 1; background: var(--vc-gradient-primary); border-radius: 4px 4px 0 0; opacity: .85; }
.vc-perf__mock-row { height: 10px; border-radius: 4px; background: var(--vc-surface-alt); margin-bottom: 8px; }
.vc-perf__mock-row:nth-child(2) { width: 80%; }

.vc-perf__bubble {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	box-shadow: var(--vc-shadow-lg);
	line-height: 1.1;
}
.vc-perf__bubble strong { font-family: var(--vc-font-heading); font-size: var(--vc-text-lg); font-weight: 800; }
.vc-perf__bubble span { font-size: 0.65rem; font-weight: 600; opacity: .9; }

.vc-perf__bubble--1 { width: 100px; height: 100px; top: -14px; left: -14px; background: var(--vc-gradient-primary); }
.vc-perf__bubble--2 { width: 84px; height: 84px; bottom: 30px; right: -20px; background: var(--vc-gradient-green); }
.vc-perf__bubble--3 { width: 70px; height: 70px; bottom: -18px; left: 60px; background: var(--vc-gradient-secondary); }

@media (max-width: 900px) {
	.vc-perf__grid { grid-template-columns: 1fr; }
	.vc-perf__visual { margin-top: var(--vc-space-6); max-width: 420px; margin-inline: auto; }
}

/* ===============================================================
 * About page intro
 * ============================================================= */

.vc-about-intro__grid {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: var(--vc-space-8);
	align-items: center;
}

.vc-about-intro__media img {
	width: 100%;
	aspect-ratio: 5 / 6;
	object-fit: cover;
	border-radius: var(--vc-radius-2xl);
	box-shadow: var(--vc-shadow-xl);
}

@media (max-width: 860px) {
	.vc-about-intro__grid { grid-template-columns: 1fr; }
	.vc-about-intro__media { max-width: 340px; margin-inline: auto; }
}

@media (max-width: 640px) {
	.vc-cta__content > div[style] { grid-template-columns: 1fr !important; }
}

/* ===============================================================
 * Contact page
 * ============================================================= */

.vc-contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--vc-space-5);
	margin-bottom: var(--vc-space-8);
}

.vc-contact-card {
	text-align: center;
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-lg);
	padding: var(--vc-space-6) var(--vc-space-4);
	box-shadow: var(--vc-shadow-sm);
}

.vc-contact-card__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin: 0 auto var(--vc-space-3);
	border-radius: 50%;
	background: var(--vc-gradient-primary);
}
.vc-contact-card__icon svg { width: 22px; height: 22px; fill: #fff; }
.vc-contact-card h3 { font-size: var(--vc-text-base); margin-bottom: 4px; }
.vc-contact-card a, .vc-contact-card span { color: var(--vc-text-muted); font-size: 0.9rem; }
.vc-contact-card a:hover { color: var(--vc-primary); }

.vc-contact-layout {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: var(--vc-space-8);
	align-items: start;
}

.vc-contact-layout__form {
	background: var(--vc-white);
	border: 1px solid var(--vc-border);
	border-radius: var(--vc-radius-lg);
	box-shadow: var(--vc-shadow-sm);
	padding: var(--vc-space-6);
}

.vc-contact-layout__form .vc-pdp-h { margin-bottom: var(--vc-space-4); }

.vc-contact-address {
	background: var(--vc-light);
	border-radius: var(--vc-radius-lg);
	padding: var(--vc-space-5);
	margin-bottom: var(--vc-space-4);
}
.vc-contact-address h3 { font-size: var(--vc-text-base); margin-bottom: 4px; }
.vc-contact-address address { font-style: normal; color: var(--vc-text-muted); }

.vc-contact-map {
	border-radius: var(--vc-radius-lg);
	overflow: hidden;
	border: 1px solid var(--vc-border);
	aspect-ratio: 4 / 3;
}
.vc-contact-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
	.vc-contact-layout { grid-template-columns: 1fr; }
}

/* ===============================================================
 * Order confirmation — new-account notice
 * ============================================================= */

.vc-confirmation__account-notice {
	text-align: left;
	max-width: 560px;
	margin: var(--vc-space-5) auto 0;
}
