/* ============================================================
   Homepage & inner-page sections.
   ============================================================ */

/* ---- Grid utilities ---- */
.grid {
	display: grid;
	gap: 28px;
}

.grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Centering guard: with 1–2 experts/courses at launch, cards must
   center instead of stretching across the full row. */
.grid--center {
	justify-content: center;
}

.grid--center > * {
	max-width: 460px;
	width: 100%;
	margin: 0 auto;
}

/* ---- 01 Services ---- */
.service-card {
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.service-card__title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.service-card__desc {
	color: var(--text-2);
	font-size: 15px;
	line-height: 1.7;
	flex-grow: 1;
}

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--red-soft);
	font-size: 15px;
	font-weight: 600;
}

.service-card__link:hover {
	color: var(--red-soft-hover);
	gap: 12px;
}

.service-card__link svg {
	transition: transform var(--t-fast) var(--ease);
}

/* ---- 02 Why Choose ---- */
.why {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.why__lead {
	color: var(--text-2);
	font-size: 17px;
	line-height: 1.8;
	margin-top: 20px;
}

.why__list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.why__item {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.why__item-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 6px;
}

.why__item-desc {
	color: var(--text-3);
	font-size: 15px;
	line-height: 1.7;
}

/* ---- 03 Stats ---- */
.stat-card {
	padding: 36px 28px;
	text-align: center;
}

.stat-card__value {
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--text-1);
	line-height: 1.1;
	margin-bottom: 8px;
}

.stat-card__label {
	font-size: 14px;
	color: var(--text-3);
	letter-spacing: 0.02em;
}

/* ---- 04 Courses ---- */
.course-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.course-card__media {
	aspect-ratio: 16 / 10;
	position: relative;
	overflow: hidden;
}

.course-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.course-card:hover .course-card__media img {
	transform: scale(1.05);
}

.course-card__level {
	position: absolute;
	top: 16px;
	left: 16px;
}

.course-card__body {
	padding: 26px 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex-grow: 1;
}

.course-card__title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.course-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: var(--text-4);
}

.course-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--divider);
}

.course-card__price {
	font-size: 22px;
	font-weight: 700;
	color: var(--text-1);
}

/* ---- 05 How It Works (steps) ---- */
.step-card {
	padding: 34px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.step-card__num {
	font-size: 40px;
	font-weight: 700;
	color: var(--red-soft);
	letter-spacing: -0.04em;
	line-height: 1;
	opacity: 0.85;
}

.step-card__title {
	font-size: 18px;
	font-weight: 600;
}

.step-card__desc {
	color: var(--text-3);
	font-size: 14px;
	line-height: 1.7;
}

/* ---- 06 Products ---- */
.product-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.product-card__media {
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media img {
	transform: scale(1.05);
}

.product-card__sale {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
}

.product-card__body {
	padding: 22px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-card__name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.product-card__rating {
	font-size: 13px;
	color: var(--red-soft);
	font-weight: 600;
}

.product-card__price {
	font-size: 20px;
	font-weight: 700;
	color: var(--text-1);
}

/* ---- 07 Experts ---- */
.expert-card {
	padding: 32px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.expert-card__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid var(--card-border);
}

.expert-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.expert-card__name {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.expert-card__spec {
	color: var(--red-soft);
	font-size: 14px;
	font-weight: 600;
}

.expert-card__meta {
	color: var(--text-4);
	font-size: 13px;
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---- 08 Testimonials ---- */
.testimonial-card {
	padding: 34px 30px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.testimonial-card__mark {
	font-size: 40px;
	line-height: 1;
	color: var(--red-soft);
	opacity: 0.6;
	font-weight: 700;
}

.testimonial-card__quote {
	color: var(--text-2);
	font-size: 16px;
	line-height: 1.8;
	flex-grow: 1;
}

.testimonial-card__who {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 18px;
	border-top: 1px solid var(--divider);
}

.testimonial-card__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.testimonial-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-card__name {
	font-size: 15px;
	font-weight: 600;
}

.testimonial-card__label {
	font-size: 12px;
	color: var(--text-4);
}

/* ---- 09 Journal ---- */
.article-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.article-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	position: relative;
}

.article-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.article-card:hover .article-card__media img {
	transform: scale(1.05);
}

.article-card__body {
	padding: 24px 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article-card__cat {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red-soft);
	font-weight: 600;
}

.article-card__title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
}

.article-card__title a {
	color: var(--text-1);
}

.article-card__title a:hover {
	color: var(--red-soft);
}

.article-card__date {
	font-size: 13px;
	color: var(--text-4);
}

/* ---- 10 FAQ ---- */
.faq-list {
	max-width: var(--content-prose);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.faq-item {
	border: 1px solid var(--card-border);
	border-radius: var(--radius-card-sm);
	background: var(--card-fill);
	overflow: hidden;
	transition: border-color var(--t-med) var(--ease);
}

.faq-item.is-open {
	border-color: var(--card-border-hover);
}

.faq-item__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: transparent;
	border: none;
	color: var(--text-1);
	font-size: 17px;
	font-weight: 600;
	text-align: left;
	padding: 24px 26px;
	cursor: pointer;
	letter-spacing: -0.01em;
}

.faq-item__icon {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 400;
	color: var(--red-soft);
	transition: transform var(--t-med) var(--ease);
	line-height: 1;
}

.faq-item.is-open .faq-item__icon {
	transform: rotate(45deg);
}

.faq-item__a {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--t-med) var(--ease);
}

.faq-item__a-inner {
	padding: 0 26px 26px;
	color: var(--text-2);
	font-size: 15px;
	line-height: 1.8;
}

/* ---- 11 Final CTA ---- */
.cta-band {
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}

.cta-band__title {
	font-size: var(--h2-cta);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 22px;
}

.cta-band__lead {
	color: var(--text-2);
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 40px;
}

.cta-band__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---- Inner page header (Services / Blog / generic) ---- */
.page-head {
	padding: calc(var(--nav-h) + 90px) var(--section-pad-x) 80px;
	background: var(--bg-2);
	border-bottom: 1px solid var(--divider);
}

.page-head__inner {
	max-width: var(--content-max);
	margin: 0 auto;
}

.breadcrumb {
	font-size: 13px;
	color: var(--text-4);
	margin-bottom: 20px;
}

.breadcrumb a {
	color: var(--text-4);
}

.breadcrumb a:hover {
	color: var(--red-soft);
}

.page-head__title {
	font-size: var(--h2-lg);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 18px;
}

.page-head__lead {
	color: var(--text-2);
	font-size: 17px;
	line-height: 1.7;
	max-width: 640px;
}

/* ---- Feature list (services page cards) ---- */
.feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--text-2);
	line-height: 1.6;
}

.feature-list li::before {
	content: "✓";
	color: var(--red-soft);
	font-weight: 700;
	flex-shrink: 0;
}

/* ---- Prose (single post / legal pages) ---- */
.prose {
	max-width: var(--content-prose);
	margin: 0 auto;
	color: var(--text-2);
	font-size: 17px;
	line-height: 1.85;
}

.prose h2 {
	color: var(--text-1);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 48px 0 18px;
}

.prose h3 {
	color: var(--text-1);
	font-size: 21px;
	font-weight: 600;
	margin: 36px 0 14px;
}

.prose p {
	margin: 0 0 22px;
}

.prose ul,
.prose ol {
	margin: 0 0 22px;
	padding-left: 22px;
}

.prose li {
	margin-bottom: 10px;
}

.prose img {
	border-radius: var(--radius-card);
	margin: 32px 0;
}

.prose blockquote {
	margin: 32px 0;
	padding: 20px 26px;
	border-left: 3px solid var(--red);
	background: var(--card-fill);
	border-radius: 0 var(--radius-card-sm) var(--radius-card-sm) 0;
	color: var(--text-2);
}

.prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---- Pagination ---- */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 60px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--card-border);
	color: var(--text-2);
	font-size: 15px;
	font-weight: 600;
}

.pagination .page-numbers:hover {
	border-color: var(--card-border-hover);
	color: var(--text-1);
}

.pagination .page-numbers.current {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

/* ---- 06a Shop by Category ---- */
.cat-tile {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
}

.cat-tile__media {
	aspect-ratio: 4 / 3;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cat-tile__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.cat-tile:hover .cat-tile__media img {
	transform: scale(1.06);
}

.cat-tile__icon {
	position: relative;
	z-index: 1;
	font-size: 44px;
	color: var(--red-soft);
	line-height: 1;
	opacity: 0.9;
}

/* When a real image exists, dim the icon so the photo reads. */
.cat-tile__media:not(.media-ph) .cat-tile__icon {
	display: none;
}

.cat-tile__body {
	padding: 22px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-grow: 1;
}

.cat-tile__name {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text-1);
	line-height: 1.3;
}

.cat-tile__count {
	font-size: 13px;
	color: var(--text-4);
}

.cat-tile__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--red-soft);
	font-size: 14px;
	font-weight: 600;
	transition: gap var(--t-fast) var(--ease);
}

.cat-tile:hover .cat-tile__go {
	gap: 12px;
}


/* ---- 00a The Problem (seeker pain points) ---- */
.problem {
	background: var(--bg-1);
}

.problem__head {
	max-width: 900px;
	margin: 0 0 64px;
}

.eyebrow--dot {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.eyebrow--dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	flex-shrink: 0;
}

.problem__title {
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.035em;
	color: var(--text-1);
	max-width: 15ch;
}

.problem-card {
	background: var(--card-fill);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}

.problem-card:hover {
	border-color: var(--card-border-hover);
	transform: translateY(-6px);
}

/* Red-tinted "imagery" panel echoing the reference's canyon-red cards. */
.problem-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(200, 16, 46, 0.30) 0%, rgba(200, 16, 46, 0.10) 42%, rgba(10, 5, 6, 0) 72%),
		linear-gradient(160deg, rgba(200, 16, 46, 0.16), rgba(10, 5, 6, 0.65));
	overflow: hidden;
}

.problem-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(80% 80% at 50% 120%, rgba(10, 5, 6, 0.7), transparent 70%);
	pointer-events: none;
}

.problem-card__motif {
	position: relative;
	z-index: 1;
	width: 92px;
	height: 92px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red-soft);
	background: rgba(10, 5, 6, 0.55);
	border: 1px solid rgba(255, 77, 92, 0.35);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.problem-card__motif svg {
	width: 48px;
	height: 48px;
}

.problem-card:hover .problem-card__motif {
	color: var(--red-soft-hover);
	border-color: rgba(255, 77, 92, 0.6);
}

.problem-card__body {
	padding: 30px 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.problem-card__title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--text-1);
}

.problem-card__desc {
	font-size: 15px;
	line-height: 1.75;
	color: var(--text-3);
}

@media (max-width: 768px) {
	.problem__head {
		margin-bottom: 44px;
	}

	.problem__title {
		max-width: none;
	}

	.problem-card__body {
		padding: 26px 22px 28px;
	}
}
