/* =========================================================
   Luxacent — "Find Your Plan" page (page-scoped)
   Reuses the theme's c123- primitives; adds c123-fyp-* modules.
   ========================================================= */

.c123-fyp .c123-h3,
.c123-fyp-results .c123-fyp-head h3 {
	font-size: clamp(1.25rem, 2.2vw, 1.6rem);
	margin: 0 0 0.35em;
}

/* Anchor offset so the sticky header never overlaps a jumped-to section. */
.c123-fyp-section,
.c123-fyp-goals [id],
#overall-brightening,
#overall-injection-question,
#overall-oral,
#overall-injection,
#hyperpigmentation,
#dark-spots,
#uneven-skin-tone,
#faq {
	scroll-margin-top: 104px;
}

/* Shared section heading block */
.c123-fyp-head {
	max-width: 720px;
	margin: 0 0 2.25rem;
}
.c123-fyp-head .c123-eyebrow { margin-bottom: 0.6rem; }
.c123-fyp-head p {
	color: var(--c123-body);
	font-size: 1.05rem;
	margin: 0;
}

/* ---------- 1. Hero ---------- */
.c123-fyp-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
	background: linear-gradient(180deg, var(--c123-softer), var(--c123-white));
	border-bottom: 1px solid var(--c123-line);
}
.c123-fyp-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.c123-fyp-hero-glow {
	position: absolute;
	top: -30%;
	left: 50%;
	width: 720px;
	height: 720px;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(26, 107, 242, 0.14), transparent 62%);
	filter: blur(10px);
}
.c123-fyp-hero-inner { position: relative; text-align: center; max-width: 760px; }
.c123-fyp-hero-title {
	font-size: clamp(2.2rem, 5.4vw, 3.6rem);
	margin: 0.4rem 0 0.6rem;
}
.c123-fyp-hero-text {
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	color: var(--c123-body);
	margin: 0 auto 1.5rem;
	max-width: 620px;
}
.c123-fyp-hero-micro {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.55rem;
	max-width: 560px;
	margin: 0 auto;
	padding: 0.75rem 1.1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--c123-muted);
	background: var(--c123-white);
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius);
	box-shadow: var(--c123-shadow-soft);
	text-align: left;
}
.c123-fyp-hero-micro .c123-icon { flex: none; margin-top: 2px; color: var(--c123-primary); }

/* ---------- 2. Goal selector (overrides on the reused treatment cards) ---------- */
.c123-fyp-goals-grid { grid-template-columns: repeat(2, 1fr); }
.c123-fyp-goal-card {
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--c123-white);
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius-lg);
	box-shadow: var(--c123-shadow-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.c123-fyp-goal-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--c123-shadow);
	border-color: var(--c123-primary);
}
.c123-fyp-goal-card .c123-treatment-meta { align-items: flex-start; gap: 0.85rem; }
.c123-fyp-goal-card .c123-treatment-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	color: var(--c123-primary);
	background: var(--c123-soft);
}
.c123-fyp-goal-card .c123-treatment-title { font-size: 1.15rem; font-weight: 700; }
.c123-fyp-goal-card .c123-treatment-desc { color: var(--c123-body); }
.c123-fyp-goal-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-weight: 700;
	color: var(--c123-primary);
}
.c123-fyp-goal-card:hover .c123-fyp-goal-cta .c123-icon { transform: translateX(3px); }
.c123-fyp-goal-cta .c123-icon { transition: transform 0.2s ease; }

/* ---------- 3/4. Guided questions ---------- */
.c123-fyp-subsection { background: var(--c123-softer); }
.c123-fyp-question {
	background: var(--c123-white);
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius-lg);
	box-shadow: var(--c123-shadow-soft);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.c123-fyp-question-title {
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	margin: 0 0 1.35rem;
}
.c123-fyp-choices {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.1rem;
}
.c123-fyp-choice {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.4rem;
	border: 1.5px solid var(--c123-line);
	border-radius: var(--c123-radius);
	background: var(--c123-softer);
	color: var(--c123-heading);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.c123-fyp-choice:hover {
	transform: translateY(-3px);
	border-color: var(--c123-primary);
	box-shadow: var(--c123-shadow-soft);
}
.c123-fyp-choice-eyebrow {
	align-self: flex-start;
	font-family: var(--c123-font-head);
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c123-primary);
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: rgba(26, 107, 242, 0.1);
}
.c123-fyp-choice-text { font-size: 1.05rem; font-weight: 600; }
.c123-fyp-choice-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-weight: 700;
	color: var(--c123-primary);
}
.c123-fyp-choice:hover .c123-fyp-choice-btn .c123-icon { transform: translateX(3px); }
.c123-fyp-choice-btn .c123-icon { transition: transform 0.2s ease; }

/* ---------- 5–9. Product results ---------- */
.c123-fyp-results { background: var(--c123-softer); }
.c123-fyp-products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.35rem;
}
.c123-fyp-products.is-duo { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.c123-fyp-cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}
.c123-fyp-cols .c123-fyp-products { grid-template-columns: repeat(2, 1fr); }
.c123-fyp-col-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.05rem;
	margin: 0 0 1.1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--c123-line);
}

.c123-fyp-product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c123-white);
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius-lg);
	overflow: hidden;
	box-shadow: var(--c123-shadow-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.c123-fyp-product:hover { transform: translateY(-4px); box-shadow: var(--c123-shadow); }
.c123-fyp-product.is-recommended { border-color: var(--c123-primary); box-shadow: 0 0 0 1px var(--c123-primary), var(--c123-shadow-soft); }
.c123-fyp-product-badge {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.32rem 0.7rem;
	font-family: var(--c123-font-head);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c123-white);
	background: var(--c123-grad);
	border-radius: 999px;
	box-shadow: var(--c123-shadow-soft);
}
.c123-fyp-product-photo { display: block; aspect-ratio: 4 / 3; background: var(--c123-soft); }
.c123-fyp-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.c123-fyp-product-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem; flex: 1; }
.c123-fyp-product-title { font-size: 1.1rem; margin: 0; }
.c123-fyp-product-title a { color: var(--c123-heading); }
.c123-fyp-product-title a:hover { color: var(--c123-primary); }
.c123-fyp-product-desc { font-size: 0.92rem; color: var(--c123-body); margin: 0; }
.c123-fyp-product-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.4rem;
	flex-wrap: wrap;
}
.c123-fyp-product-price { font-family: var(--c123-font-head); font-size: 1.2rem; font-weight: 800; color: var(--c123-heading); }
.c123-fyp-product-price del { color: var(--c123-muted); font-weight: 500; font-size: 0.9rem; margin-right: 0.35rem; }
.c123-fyp-product-btn { padding: 0.6rem 1rem; font-size: 0.9rem; gap: 0.35rem; }

/* ---------- 10. Comparison ---------- */
.c123-fyp-compare { background: var(--c123-softer); }
.c123-fyp-compare .c123-fyp-head { text-align: center; margin-left: auto; margin-right: auto; }
.c123-fyp-compare-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}
.c123-fyp-compare-col {
	background: var(--c123-white);
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius-lg);
	box-shadow: var(--c123-shadow-soft);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	text-align: center;
}
.c123-fyp-compare-col.is-injection { border-top: 4px solid var(--c123-primary); }
.c123-fyp-compare-icon {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 0.75rem;
	border-radius: 16px;
	color: var(--c123-primary);
	background: var(--c123-soft);
}
.c123-fyp-compare-col h3 { font-size: 1.35rem; margin: 0 0 0.2rem; }
.c123-fyp-compare-col > p { color: var(--c123-muted); margin: 0 0 1.25rem; font-weight: 600; }
.c123-fyp-compare-col ul { text-align: left; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.c123-fyp-compare-col li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--c123-body); }
.c123-fyp-compare-col li .c123-icon { flex: none; margin-top: 3px; color: var(--c123-green); }
.c123-fyp-compare-col .c123-btn { width: 100%; }

/* ---------- 11. Help band ---------- */
.c123-fyp-help-panel {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.25rem);
	background: var(--c123-white);
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius-lg);
	box-shadow: var(--c123-shadow);
}
.c123-fyp-help-eyebrow,
.c123-fyp-final-eyebrow {
	display: inline-block;
	font-family: var(--c123-font-head);
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c123-primary);
	margin-bottom: 0.75rem;
}
.c123-fyp-help-panel p { color: var(--c123-body); font-size: 1.05rem; margin: 0 auto 1.75rem; max-width: 540px; }
.c123-fyp-help-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 12. FAQ ---------- */
.c123-fyp-faq-list { max-width: 820px; display: grid; gap: 0.85rem; }
.c123-fyp-faq-item {
	border: 1px solid var(--c123-line);
	border-radius: var(--c123-radius);
	background: var(--c123-white);
	box-shadow: var(--c123-shadow-soft);
	overflow: hidden;
}
.c123-fyp-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 1.35rem;
	font-family: var(--c123-font-head);
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--c123-heading);
	cursor: pointer;
	list-style: none;
}
.c123-fyp-faq-item summary::-webkit-details-marker { display: none; }
.c123-fyp-faq-item summary .c123-icon { flex: none; color: var(--c123-primary); transition: transform 0.25s ease; }
.c123-fyp-faq-item[open] summary .c123-icon { transform: rotate(90deg); }
.c123-fyp-faq-item p { margin: 0; padding: 0 1.35rem 1.25rem; color: var(--c123-body); }

/* ---------- 13. Final CTA ---------- */
.c123-fyp-final-panel {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4rem);
	border-radius: var(--c123-radius-lg);
	background: var(--c123-grad);
	color: var(--c123-white);
	box-shadow: var(--c123-shadow);
}
.c123-fyp-final-eyebrow { color: rgba(255, 255, 255, 0.9); }
.c123-fyp-final-panel h2 {
	color: var(--c123-white);
	font-size: clamp(1.5rem, 3.4vw, 2.3rem);
	max-width: 620px;
	margin: 0 auto 1.75rem;
}
.c123-fyp-final-panel .c123-btn-light { color: var(--c123-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.c123-fyp-cols { grid-template-columns: 1fr; gap: 2.5rem; }
	.c123-fyp-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.c123-fyp-goals-grid,
	.c123-fyp-choices,
	.c123-fyp-compare-grid,
	.c123-fyp-products,
	.c123-fyp-products.is-duo,
	.c123-fyp-cols .c123-fyp-products {
		grid-template-columns: 1fr;
	}
	.c123-fyp-product-foot { flex-direction: column; align-items: stretch; }
	.c123-fyp-product-btn { justify-content: center; }
}
