/* ILV Coaching & Advies — Component Styles
   Reusable building blocks consumed by all pages.
   Imported globally via Layout.astro. */

/* ─── Divi button reset — suppress arrow icon and hover padding shift ─── */
.btn.et_pb_button::after,
.btn.et_pb_button::before {
	display: none !important;
	content: none !important;
}
.btn.et_pb_button:hover {
	padding: 14px 32px !important;
	letter-spacing: inherit !important;
}

/* ─── Buttons ─── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	border-radius: var(--radius-md);
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

.btn-primary {
	background: var(--primary-550) !important;
	color: var(--white) !important;
}
.btn-primary:hover {
	background: var(--primary-500) !important;
	color: var(--white) !important;
}

.btn-secondary {
	background: var(--accent-550) !important;
	color: var(--white) !important;
}
.btn-secondary:hover {
	background: var(--accent-500) !important;
	color: var(--white) !important;
}

.btn-outline {
	background: transparent !important;
	color: var(--primary-600) !important;
	border-color: var(--primary-550) !important;
}
.btn-outline:hover {
	background: var(--primary-300) !important;
	border-color: var(--primary-500) !important;
	color: var(--primary-700) !important;
}

/* Buttons on dark backgrounds */
.dark-bg .btn-primary {
	background: var(--primary-500);
}
.dark-bg .btn-primary:hover {
	background: var(--primary-450);
}

.dark-bg .btn-secondary {
	background: var(--accent-500);
}
.dark-bg .btn-secondary:hover {
	background: var(--accent-450);
}

.dark-bg .btn-outline {
	color: var(--primary-450);
	border-color: var(--primary-500);
}
.dark-bg .btn-outline:hover {
	background: rgba(78, 205, 196, 0.1);
	border-color: var(--primary-450);
	color: var(--primary-400);
}

/* Buttons on primary/teal backgrounds */
.bg-primary .btn-primary {
	background: var(--white);
	color: var(--primary-600);
}
.bg-primary .btn-primary:hover {
	background: var(--primary-400);
	color: var(--white);
}

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

/* Nav CTA (accent button in header — scoped to .nav-links to beat .nav-links a) */
.nav-links a.nav-cta {
	background: var(--accent-550);
	color: var(--white);
	padding: 12px 20px;
	border-radius: var(--radius-md);
	font-weight: 600;
	font-family: var(--font-heading);
	transition: background-color 0.2s ease-out;
}
.nav-links a.nav-cta:hover {
	background: var(--accent-500);
	color: var(--white);
}

/* Button row */
.hero-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Full-width button */
.btn-full {
	width: 100%;
}

/* ─── Glass card (shared surface) ─── */
.glass-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--radius-md);
	box-shadow: 0 20px 20px rgba(0, 0, 0, 0.03);
}

/* ─── Grids ─── */
.grid-2col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}
@media (max-width: 540px) {
	.grid-2col { grid-template-columns: 1fr; }
}

.grid-3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.grid-3col { grid-template-columns: 1fr; }
}

.grid-4col {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}
@media (max-width: 980px) {
	.grid-4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.grid-4col { grid-template-columns: 1fr; }
}

/* ─── Pain points ─── */
.pain-item {
	position: relative;
	padding: 48px 40px 32px;
}
.pain-item::before {
	font-family: var(--font-heading);
	font-size: 4.5rem;
	font-weight: 700;
	font-style: italic;
	color: var(--accent-550);
	position: absolute;
	line-height: 1;
	content: "\201C";
	top: 8px;
	left: 12px;
}
.pain-header::after {
	content: "\201D";
	font-family: var(--font-heading);
	font-size: 4.5rem;
	font-weight: 700;
	font-style: italic;
	color: var(--accent-550);
	position: absolute;
	line-height: 1;
	bottom: -40px;
	right: 12px;
}
.pain-header {
	position: relative;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	font-style: italic;
	color: var(--neutral-800);
	margin-bottom: 16px;
	padding-bottom: 12px;
	line-height: 1.4;
}
.pain-text {
	font-size: var(--text-s);
	color: var(--neutral-700);
	line-height: 1.5;
}

/* ─── Feature cards ─── */
.feature-card {
	background: var(--white);
	color: var(--neutral-900);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}
.feature-card-image {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--primary-500), var(--primary-450));
}
.feature-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.feature-card-body {
	padding: 20px;
}
.feature-card-body h3 {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}
.feature-card-body p {
	font-size: var(--text-s);
	color: var(--neutral-700);
	line-height: 1.5;
}

/* ─── Challenge cards ─── */
.challenge-card {
	padding: 24px;
}
.challenge-card h3 {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	text-align: left;
}
.challenge-card p {
	font-size: var(--text-s);
	color: var(--neutral-700);
	text-align: left;
	line-height: 1.5;
}

/* ─── Pricing cards ─── */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}
.pricing-dots {
	display: none;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}
.pricing-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--neutral-300);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s;
}
.pricing-dot.active {
	background: var(--primary-500);
}
@media (max-width: 980px) {
	.pricing-grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 24px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		max-width: 100%;
		gap: 16px;
		padding: 0 24px 8px;
	}
	.pricing-grid::-webkit-scrollbar {
		display: none;
	}
	.pricing-card {
		width: calc(100vw - 72px);
		min-width: calc(100vw - 72px);
		scroll-snap-align: start;
		flex-shrink: 0;
	}
	.pricing-dots {
		display: flex;
	}
}
.pricing-card {
	background: var(--white);
	color: var(--neutral-900);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	text-align: center;
	display: flex;
	flex-direction: column;
}
.pricing-card.featured {
	border: 2px solid var(--primary-500);
}
.pricing-header {
	background: var(--primary-500);
	color: var(--white);
	padding: 16px;
	font-family: var(--font-heading);
	font-weight: 600;
}
.pricing-card.featured .pricing-header {
	background: var(--primary-550);
}
.pricing-body {
	padding: 32px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.pricing-price {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--neutral-900);
	margin-bottom: 4px;
}
.pricing-period {
	font-size: var(--text-xs);
	color: var(--neutral-500);
	margin-bottom: 20px;
}
.pricing-features {
	list-style: none;
	text-align: left;
	margin-bottom: auto;
	padding-bottom: 24px;
}
.pricing-features li {
	font-size: var(--text-s);
	color: var(--neutral-700);
	padding: 6px 0;
	padding-left: 20px;
	position: relative;
	border-bottom: 1px solid var(--neutral-100);
}
.pricing-features li::before {
	content: '\2713';
	color: var(--primary-500);
	font-weight: 600;
	position: absolute;
	left: 0;
}

/* ─── Steps ─── */
.step {
	text-align: center;
	padding: 24px;
}
.step-number {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 70px;
	line-height: 1;
	color: var(--accent-550);
	margin-bottom: 12px;
}
.step h3 {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}
.step p {
	font-size: var(--text-s);
	color: var(--neutral-600);
	text-align: center;
}

/* ─── Testimonials ─── */
.testimonial-card {
	position: relative;
	padding: 48px 40px 32px;
	display: flex;
	flex-direction: column;
}
.testimonial-card::before {
	font-family: var(--font-heading);
	font-size: 4.5rem;
	font-weight: 700;
	font-style: italic;
	color: var(--accent-550);
	position: absolute;
	line-height: 1;
	content: "\201C";
	top: 8px;
	left: 12px;
}
.testimonial-quote {
	font-size: var(--text-s);
	font-style: italic;
	font-weight: 400;
	color: var(--neutral-700);
	margin-bottom: 0;
	line-height: 1.5;
	flex: 1;
}
.testimonial-quote::after {
	content: "\201D";
	font-family: var(--font-heading);
	font-size: 4.5rem;
	font-weight: 700;
	color: var(--accent-550);
	display: block;
	text-align: right;
	line-height: 0.6;
	margin-top: 12px;
}
.testimonial-author {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	color: var(--neutral-900);
	text-align: right;
}

/* ─── FAQ ─── */
.faq-list {
	max-width: 700px;
	margin: 0 auto;
}
.faq-item {
	border-bottom: 1px solid var(--neutral-200);
	padding: 16px 0;
}
.faq-question {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 16px;
	color: var(--neutral-900);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-answer {
	font-size: var(--text-s);
	color: var(--neutral-600);
	margin-top: 8px;
	line-height: 1.6;
}

/* ─── Newsletter ─── */
.newsletter-form {
	display: flex;
	gap: 12px;
	max-width: 480px;
	margin: 0 auto;
}
.newsletter-input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--neutral-300);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 15px;
}

/* ─── Back navigation ─── */
.back-bar {
	background: var(--neutral-900);
	padding: 10px 5%;
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	color: var(--neutral-400);
	text-decoration: none;
	transition: color 0.2s ease-out;
}
.back-link:hover {
	color: var(--white);
}
