/* =============================================================
   KAMPAS ACADEMY — MAIN STYLESHEET
   ============================================================= */

/* ---- CSS Custom Properties ---- */
:root {
	--primary:        #0A3B5C;
	--primary-dark:   #06283D;
	--primary-light:  #1a56db;

	--secondary:      #F4A261;
	--secondary-dark: #E76F51;
	--secondary-light:#F9C74F;

	--accent:         #2A9D8F;
	--success:        #2E7D32;
	--warning:        #ED6C02;
	--danger:         #D32F2F;

	--gray-100: #F8F9FA;
	--gray-200: #E9ECEF;
	--gray-300: #DEE2E6;
	--gray-400: #CED4DA;
	--gray-500: #ADB5BD;
	--gray-600: #6C757D;
	--gray-700: #495057;
	--gray-800: #343A40;
	--gray-900: #212529;

	--white: #FFFFFF;
	--black: #000000;

	--font-heading: 'Montserrat', sans-serif;
	--font-body:    'Inter', sans-serif;

	--radius-sm:  4px;
	--radius:     8px;
	--radius-lg:  16px;
	--radius-xl:  24px;

	--shadow-sm:  0 1px 3px rgba(0,0,0,.08);
	--shadow:     0 4px 16px rgba(0,0,0,.1);
	--shadow-lg:  0 10px 40px rgba(0,0,0,.15);

	--transition: 0.25s ease;

	--container:  1200px;
	--section-py: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--gray-900);
	background: var(--white);
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.125rem; color: var(--gray-700); }

/* ---- Container ---- */
.container {
	max-width: var(--container);
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---- Section Helpers ---- */
.section-padding { padding: var(--section-py) 0; }
.bg-light { background: var(--gray-100); }
.bg-dark  { background: var(--primary-dark); }
.text-center { text-align: center; }

.section-header { margin-bottom: 48px; }
.section-label {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--secondary);
	margin-bottom: 8px;
}
.section-label.light { color: var(--secondary-light); }
.section-title { margin-bottom: 12px; }
.section-title.light { color: var(--white); }
.section-subtitle { font-size: 1.125rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

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

.btn-secondary {
	background: var(--secondary);
	color: var(--white);
	border-color: var(--secondary);
}
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); }

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

.btn-outline-white {
	background: transparent;
	color: var(--white);
	border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

.btn-sm  { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-xl  { padding: 18px 48px; font-size: 1.125rem; }
.btn-block { width: 100%; display: flex; }

/* ---- Site Header ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--white);
	box-shadow: var(--shadow-sm);
	transition: background var(--transition), box-shadow var(--transition);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 72px;
}
.site-branding { flex-shrink: 0; }
.site-branding .custom-logo { height: 48px; width: auto; }
.site-title-link { font-family: var(--font-heading); font-weight: 800; font-size: 1.375rem; color: var(--primary); }

.main-navigation { flex: 1; }
.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-menu > li > a {
	padding: 8px 14px;
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--gray-800);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--primary); background: var(--gray-100); }

/* Dropdown */
.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: all var(--transition);
	z-index: 100;
	padding: 8px 0;
}
.nav-menu li { position: relative; }
.nav-menu li:hover > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sub-menu li a { display: block; padding: 10px 20px; color: var(--gray-800); font-size: 0.9rem; transition: all var(--transition); }
.sub-menu li a:hover { background: var(--gray-100); color: var(--primary); padding-left: 26px; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.header-login-link, .header-dashboard-link {
	font-weight: 500;
	color: var(--gray-700);
	font-size: 0.9375rem;
}
.header-login-link:hover, .header-dashboard-link:hover { color: var(--primary); }

/* Transparent header */
.header-transparent {
	background: transparent;
	box-shadow: none;
}
.header-transparent .site-title-link,
.header-transparent .nav-menu > li > a,
.header-transparent .header-login-link { color: var(--white); }

/* Mobile toggle */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	margin-left: auto;
}
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; }
.hamburger-icon span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--gray-800);
	border-radius: 2px;
	transition: all var(--transition);
}

/* ---- Hero Section ---- */
.hero-section {
	position: relative;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	color: var(--white);
	padding: 100px 0 120px;
	overflow: hidden;
}
.hero-background {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.05) 0%, transparent 70%),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section .container { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 100px;
	padding: 6px 16px;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 24px;
	backdrop-filter: blur(4px);
}
.hero-title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 800;
	color: var(--white);
	margin-bottom: 20px;
	line-height: 1.15;
}
.hero-subtitle {
	font-size: 1.25rem;
	color: rgba(255,255,255,.85);
	max-width: 600px;
	margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
	display: block;
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--secondary-light);
}
.hero-stat span { font-size: 0.875rem; color: rgba(255,255,255,.7); }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.25); }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; }

/* ---- Course Cards ---- */
.kampas-course-grid {
	display: grid;
	gap: 28px;
}
.kampas-course-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.kampas-course-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.kampas-course-grid.columns-1 { grid-template-columns: 1fr; }

.kampas-course-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gray-200);
}
.kampas-course-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
	border-color: var(--gray-300);
}

.course-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3/2;
}
.course-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.kampas-course-card:hover .course-card-image img { transform: scale(1.04); }
.course-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}
.course-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
}
.badge-free     { background: var(--success); color: var(--white); }
.badge-enrolled { background: var(--accent); color: var(--white); top: 12px; right: 12px; left: auto; }
.badge-difficulty { background: var(--primary); color: var(--white); }

.course-card-body { padding: 20px; flex: 1; }
.course-difficulty {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--primary-light);
	margin-bottom: 8px;
}
.course-title { font-size: 1.0625rem; margin-bottom: 8px; line-height: 1.35; }
.course-title a { color: var(--gray-900); }
.course-title a:hover { color: var(--primary); }
.course-excerpt { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 12px; }
.course-instructor {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: var(--gray-600);
	margin-bottom: 10px;
}
.instructor-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.course-meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.meta-lessons {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8125rem;
	color: var(--gray-500);
}

.course-card-footer {
	padding: 16px 20px;
	border-top: 1px solid var(--gray-200);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.course-price { font-weight: 700; font-size: 1.125rem; color: var(--primary); }
.price-free { color: var(--success); font-size: 1rem; }

/* ---- Coach Feature Section ---- */
.coach-feature-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}
.coach-feature-content h2 { margin-bottom: 16px; }
.feature-list {
	list-style: none;
	margin: 24px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.feature-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
}
.check-icon {
	width: 24px;
	height: 24px;
	background: var(--accent);
	color: var(--white);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}
.coach-feature-stats {
	display: flex;
	gap: 32px;
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--gray-200);
}
.coach-feature-stats .stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.coach-feature-stats .stat span { font-size: 0.875rem; color: var(--gray-600); }

.coach-image-placeholder {
	aspect-ratio: 1;
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.coach-gomez-card {
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.25);
	border-radius: var(--radius-lg);
	padding: 32px;
	text-align: center;
	color: var(--white);
	width: 100%;
}
.cgc-avatar {
	width: 80px;
	height: 80px;
	background: var(--secondary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	font-weight: 800;
	margin: 0 auto 16px;
}
.coach-gomez-card h3 { color: var(--white); margin-bottom: 6px; }
.coach-gomez-card p { color: rgba(255,255,255,.7); font-size: 0.9rem; margin-bottom: 12px; }
.cgc-rating { color: var(--secondary-light); font-size: 0.875rem; }
.cgc-rating span { color: rgba(255,255,255,.8); margin-left: 4px; }

/* ---- Steps ---- */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	position: relative;
}
.steps-grid::before {
	content: '';
	position: absolute;
	top: 48px;
	left: calc(16.67% + 24px);
	right: calc(16.67% + 24px);
	height: 2px;
	background: linear-gradient(90deg, var(--gray-200), var(--accent), var(--gray-200));
	z-index: 0;
}
.step-card {
	text-align: center;
	padding: 32px 24px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	position: relative;
	z-index: 1;
	border: 1px solid var(--gray-200);
	transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-number {
	font-size: 3rem;
	font-weight: 800;
	color: var(--gray-200);
	line-height: 1;
	margin-bottom: 16px;
	font-family: var(--font-heading);
}
.step-icon {
	width: 72px;
	height: 72px;
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: var(--white);
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--gray-600); font-size: 0.9375rem; }

/* ---- Coaches Section ---- */
.coaches-carousel {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.coach-card {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius-lg);
	padding: 28px 20px;
	text-align: center;
	transition: all var(--transition);
}
.coach-card:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.coach-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--secondary); }
.coach-avatar-placeholder {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--white);
	margin: 0 auto 16px;
}
.coach-name { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.coach-specialty { color: rgba(255,255,255,.65); font-size: 0.875rem; margin-bottom: 8px; }
.coach-course-count {
	display: inline-block;
	background: rgba(244,162,97,.2);
	color: var(--secondary-light);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 100px;
	margin-bottom: 16px;
}

/* ---- Testimonials ---- */
.testimonials-carousel, .kampas-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.testimonial-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gray-200);
	transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}
.testimonial-avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-avatar-placeholder {
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--white);
	flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: 0.9375rem; }
.testimonial-author-info span { font-size: 0.8125rem; color: var(--gray-500); }
.testimonial-stars { color: var(--secondary); font-size: 1rem; margin-bottom: 10px; }
.testimonial-text { color: var(--gray-700); font-size: 0.9375rem; line-height: 1.65; font-style: italic; }
.testimonial-meta { margin-top: 12px; font-size: 0.875rem; color: var(--gray-500); }
.testimonial-meta strong { color: var(--gray-800); }

/* ---- Pricing ---- */
.pricing-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 40px;
}
.toggle-label { font-weight: 600; color: var(--gray-500); transition: color var(--transition); cursor: pointer; }
.toggle-label.active { color: var(--primary); }
.save-badge {
	background: var(--success);
	color: var(--white);
	font-size: 0.7rem;
	padding: 2px 7px;
	border-radius: 100px;
	font-style: normal;
	margin-left: 4px;
}
.switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
	position: absolute;
	inset: 0;
	background: var(--gray-300);
	border-radius: 28px;
	transition: var(--transition);
	cursor: pointer;
}
.slider::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 4px;
	width: 20px;
	height: 20px;
	background: var(--white);
	border-radius: 50%;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(24px); }

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: start;
}
.pricing-card {
	background: var(--white);
	border-radius: var(--radius-xl);
	padding: 36px 28px;
	border: 2px solid var(--gray-200);
	position: relative;
	transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
	border-color: var(--primary);
	box-shadow: var(--shadow-lg);
	transform: scale(1.04);
}
.pricing-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--secondary);
	color: var(--white);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 100px;
	white-space: nowrap;
}
.pricing-card-header { margin-bottom: 24px; text-align: center; }
.pricing-card-header h3 { margin-bottom: 12px; color: var(--gray-700); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price-currency { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-period { font-size: 0.875rem; color: var(--gray-500); }
.pricing-saving { font-size: 0.8125rem; color: var(--success); margin-top: 4px; font-weight: 600; }
.pricing-features {
	list-style: none;
	margin-bottom: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pricing-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9375rem;
	color: var(--gray-700);
}
.pricing-features li::before {
	content: '✓';
	width: 20px;
	height: 20px;
	background: var(--success);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
	flex-shrink: 0;
}
.pricing-features li.disabled { color: var(--gray-400); }
.pricing-features li.disabled::before { background: var(--gray-300); content: '✕'; }
.pricing-guarantee { margin-top: 24px; color: var(--gray-500); font-size: 0.9rem; }

/* ---- CTA Section ---- */
.cta-section {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	color: var(--white);
}
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.8); font-size: 1.125rem; margin-bottom: 32px; }
.cta-note { margin-top: 16px; font-size: 0.875rem; color: rgba(255,255,255,.6); margin-bottom: 0; }

/* ---- Site Footer ---- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 64px 0; }
.footer-widgets-area {
	display: grid;
	gap: 40px;
}
.footer-columns-4 { grid-template-columns: 2fr 1fr 1fr 2fr; }

.footer-site-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--white); }
.footer-tagline { margin-top: 12px; font-size: 0.9rem; color: rgba(255,255,255,.6); }
.footer-social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
	flex-wrap: wrap;
}
.social-link {
	width: 38px;
	height: 38px;
	background: rgba(255,255,255,.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,.7);
	transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }

.footer-heading {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--white);
	margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
	color: rgba(255,255,255,.65);
	font-size: 0.9rem;
	transition: color var(--transition);
}
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-newsletter-form .newsletter-input-wrap {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}
.footer-newsletter-form input[type="email"] {
	flex: 1;
	padding: 10px 14px;
	border-radius: var(--radius);
	border: 1px solid rgba(255,255,255,.2);
	background: rgba(255,255,255,.1);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 0.9rem;
	outline: none;
	transition: border-color var(--transition);
}
.footer-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.45); }
.footer-newsletter-form input[type="email"]:focus { border-color: var(--secondary); }
.newsletter-notice { font-size: 0.8rem; color: rgba(255,255,255,.4); }
.newsletter-message { font-size: 0.875rem; margin-top: 6px; }
.newsletter-message.success { color: #81C784; }
.newsletter-message.error { color: #EF9A9A; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 20px 0;
}
.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.footer-copyright { font-size: 0.875rem; color: rgba(255,255,255,.45); margin-bottom: 0; }
.footer-nav-menu { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav-menu a { font-size: 0.875rem; color: rgba(255,255,255,.45); }
.footer-nav-menu a:hover { color: var(--white); }

/* ---- Section CTA ---- */
.section-cta { margin-top: 40px; }

/* ---- Utilities ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.no-courses { grid-column: 1/-1; text-align: center; padding: 48px; color: var(--gray-500); }

/* ---- Generic Page Layout ---- */
.site-main { padding: 60px 0; min-height: 60vh; }
.page-header {
	background: var(--gray-100);
	padding: 48px 0;
	margin-bottom: 48px;
	border-bottom: 1px solid var(--gray-200);
}
.page-header-title { margin-bottom: 0; }

/* ---- Entry Content ---- */
.entry-content {
	max-width: 760px;
}
.entry-content p,
.entry-content ul,
.entry-content ol { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content blockquote {
	border-left: 4px solid var(--primary);
	padding: 16px 24px;
	background: var(--gray-100);
	border-radius: 0 var(--radius) var(--radius) 0;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--gray-700);
}

/* ---- Sidebar Layout ---- */
.content-area-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
}

/* ---- 404 Page ---- */
.error-404-section {
	text-align: center;
	padding: 80px 0;
}
.error-404-number {
	font-size: 8rem;
	font-weight: 800;
	color: var(--gray-200);
	line-height: 1;
	font-family: var(--font-heading);
}

/* ---- Progress Bars ---- */
.kampas-progress-bar-wrap {
	background: var(--gray-200);
	border-radius: 100px;
	height: 12px;
	overflow: hidden;
}
.kampas-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--accent), var(--primary-light));
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 8px;
	transition: width 0.6s ease;
	min-width: 28px;
}
.kampas-progress-bar span { font-size: 0.7rem; color: var(--white); font-weight: 700; }

/* ---- Course Archive Page ---- */
.course-archive-header {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	color: var(--white);
	padding: 56px 0;
	text-align: center;
}
.course-archive-header h1 { color: var(--white); margin-bottom: 10px; }
.course-archive-header p  { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; font-size: 1.125rem; }

.course-filter-bar {
	display: flex;
	gap: 16px;
	margin-bottom: 36px;
	flex-wrap: wrap;
	align-items: center;
}
.course-search-input,
.course-filter-select {
	padding: 11px 16px;
	border: 1.5px solid var(--gray-300);
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--gray-900);
	outline: none;
	transition: border-color var(--transition);
	background: var(--white);
}
.course-search-input { flex: 1; min-width: 220px; }
.course-search-input:focus,
.course-filter-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,59,92,.08); }

/* ---- Archive Post Cards ---- */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	margin-bottom: 40px;
}
.archive-post-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--gray-200);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition);
}
.archive-post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.archive-post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-body { padding: 20px; }
.post-card-meta { display: flex; gap: 10px; font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 8px; }
.post-category { color: var(--primary); font-weight: 600; }
.post-card-title { font-size: 1.125rem; margin-bottom: 10px; }
.post-card-title a { color: var(--gray-900); }
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }

/* ---- Coach Hero ---- */
.coach-hero-section {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	padding: 60px 0;
}
.coach-hero-inner { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.coach-profile-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.3); }
.coach-profile-avatar-placeholder {
	width: 140px; height: 140px; border-radius: 50%;
	background: var(--secondary);
	display: flex; align-items: center; justify-content: center;
	font-size: 3rem; font-weight: 800; color: var(--white);
	border: 4px solid rgba(255,255,255,.3);
}
.coach-hero-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.coach-specialty-badge { background: rgba(244,162,97,.3); color: var(--secondary-light); padding: 4px 12px; border-radius: 100px; font-size: .8rem; font-weight: 600; }
.coach-verified-badge  { background: rgba(42,157,143,.3); color: #81e6da; padding: 4px 12px; border-radius: 100px; font-size: .8rem; font-weight: 600; }
.coach-profile-name { color: var(--white); margin-bottom: 6px; }
.coach-profile-tagline { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin-bottom: 20px; }
.coach-profile-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.coach-stat strong { display: block; font-size: 1.625rem; font-weight: 800; color: var(--secondary-light); }
.coach-stat span { font-size: .8125rem; color: rgba(255,255,255,.65); }
.coach-social-links { display: flex; gap: 10px; }
.coach-profile-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.coach-section { margin-bottom: 48px; }
.coach-section-title { font-size: 1.375rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-200); }

/* ---- Pagination ---- */
.wp-pagenavi, .navigation.pagination {
	display: flex; align-items: center; justify-content: center;
	gap: 8px; margin-top: 40px; flex-wrap: wrap;
}
.page-numbers, .wp-pagenavi a, .wp-pagenavi span {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: var(--radius);
	font-weight: 600; font-size: .9rem; color: var(--gray-700);
	border: 1.5px solid var(--gray-200); transition: all var(--transition);
	text-decoration: none;
}
.page-numbers:hover, .wp-pagenavi a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.page-numbers.current, .wp-pagenavi .current { background: var(--primary); color: var(--white); border-color: var(--primary); }
.page-numbers.dots { border: none; }

/* ---- Load More ---- */
.load-more-wrap { margin-top: 40px; }

/* ---- Back to Top ---- */
#back-to-top {
	position: fixed; bottom: 28px; right: 28px; z-index: 500;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--primary); color: var(--white);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow); opacity: 0; pointer-events: none;
	transition: opacity var(--transition), transform var(--transition);
	border: none; cursor: pointer;
}
#back-to-top:hover { transform: translateY(-2px); background: var(--primary-dark); }

/* ---- Responsive additions ---- */
@media (max-width: 768px) {
	.archive-grid { grid-template-columns: 1fr; }
	.course-filter-bar { flex-direction: column; }
	.course-search-input { min-width: 100%; }
	.coach-hero-inner { flex-direction: column; text-align: center; }
	.coach-social-links { justify-content: center; }
	.coach-profile-stats { justify-content: center; }
}
