/* =====================================================================
 * Celléva – Page "Chương trình" (Chuong-trinh-1.png)
 * 8 section: hero / approach timeline / personalized / collections /
 *           science / wellness / journey 7 bước / CTA
 * ===================================================================== */

.celleva-ct .celleva-section { padding-block: 28px; }

/* ---------- Header chung của section ---------- */
.celleva-ct__head { text-align: center; max-width: 860px; margin: 0 auto clamp(32px, 4vw, 56px); }
.celleva-ct__eyebrow {
	font-family: var(--font-head);
	font-weight: 600;             /* SemiBold */
	font-size: 24px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cl-pink);
	margin: 0 0 14px;
}
/* Hero eyebrow "SIGNATURE PROGRAMS" lớn hơn (32px). */
.celleva-ct1 .celleva-ct__eyebrow { font-size: 32px; }
.celleva-ct__heading {
	font-family: var(--font-display);
	font-weight: 400;             /* Regular */
	font-size: 40px;
	line-height: 1.2;
	color: var(--cl-text);
	margin: 0;
	letter-spacing: 0.01em;
}
/* S6 (Wellness): heading đổi sang Montserrat SemiBold 20px (theo spec). */
.celleva-ct6 .celleva-ct__heading {
	font-family: var(--font-head);   /* Montserrat */
	font-weight: 600;                /* SemiBold */
	font-size: 20px;
	text-transform: none;
}
.celleva-ct__sub {
	font-family: var(--font-body);
	font-weight: 600;             /* SemiBold */
	font-size: 20px;
	color: var(--cl-text-soft);
	margin: 14px 0 0;
}

/* ---------- Nút dùng chung ---------- */
.celleva-ct__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 56px;
	padding: 0 34px;
	border-radius: 50px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: transform .25s ease, background .25s ease, color .25s ease;
}
.celleva-ct__btn--solid { background: var(--cl-pink); color: #fff; }
.celleva-ct__btn--solid:hover { background: #b3736d; transform: translateY(-2px); }
.celleva-ct__btn--ghost { background: transparent; color: var(--cl-pink); border: 1px solid var(--cl-pink); }
.celleva-ct__btn--ghost:hover { background: var(--cl-pink); color: #fff; transform: translateY(-2px); }

/* =========================================================
 * S1 – HERO
 * ========================================================= */
.celleva-ct1 {
	min-height: 620px;
	display: flex;
	align-items: center;
	background-color: var(--cl-bg-soft);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
	overflow: hidden;
}
.celleva-ct1.is-nobg {
	background-image: linear-gradient(110deg, #F8F1EA 0%, #F3E4DC 55%, #E8CBC2 100%);
}
.celleva-ct1::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(248,241,234,.96) 0%, rgba(248,241,234,.78) 38%, rgba(248,241,234,0) 64%);
	pointer-events: none;
}
.celleva-ct1 .celleva-container { position: relative; z-index: 1; }
.celleva-ct1__inner { max-width: 640px; }
.celleva-ct1__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(34px, 4vw, 64px);
	line-height: 1.08;
	color: var(--cl-text);
	margin: 6px 0 0;
}
.celleva-ct1__desc {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 600;             /* SemiBold */
	line-height: 1.7;
	color: var(--cl-text);
	max-width: 540px;
	margin: 20px 0 30px;
}
.celleva-ct1__btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================
 * S2 – APPROACH timeline
 * ========================================================= */
.celleva-ct2 { background: var(--cl-bg); }
.celleva-ct2__timeline { position: relative; padding-block: 10px; }
.celleva-ct2__line {
	position: absolute;
	left: 0; right: 0; top: 50%;
	height: 2px;
	background: var(--cl-text);
	transform: translateY(-50%);
}
.celleva-ct2__line::after {
	content: '';
	position: absolute; right: -2px; top: 50%;
	width: 0; height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 12px solid var(--cl-text);
	transform: translateY(-50%);
}
.celleva-ct2__line::before {
	content: '';
	position: absolute; left: 0; top: 50%;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--cl-text);
	transform: translate(-2px, -50%);
}
.celleva-ct2__nodes {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--ct2-cols, 6), 1fr);
	column-gap: clamp(12px, 1.5vw, 24px);
	align-items: center;
	min-height: 360px;
}
.celleva-ct2__node { position: relative; display: flex; justify-content: center; }
.celleva-ct2__node--top    { align-self: start; }
.celleva-ct2__node--bottom { align-self: end; }
.celleva-ct2__card {
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: 12px;
	padding: 16px 14px;
	text-align: center;
	box-shadow: 0 14px 34px -22px rgba(74,47,38,.35);
}
.celleva-ct2__card-title {
	font-family: var(--font-head);
	font-weight: 600;             /* SemiBold */
	font-size: 20px;
	letter-spacing: 0.06em;
	color: var(--cl-text);
	margin: 0 0 8px;
}
.celleva-ct2__card-desc {
	font-family: var(--font-body);
	font-weight: 600;             /* SemiBold */
	font-size: 18px;
	line-height: 1.5;
	color: var(--cl-text-soft);
	margin: 0;
}
/* đường nối dọc + chấm trên trục */
.celleva-ct2__dot {
	position: absolute;
	left: 50%;
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--cl-text);
	transform: translateX(-50%);
}
.celleva-ct2__node--top .celleva-ct2__card    { margin-bottom: 26px; }
.celleva-ct2__node--bottom .celleva-ct2__card { margin-top: 26px; }
.celleva-ct2__node--top .celleva-ct2__dot     { bottom: -4px; }
.celleva-ct2__node--bottom .celleva-ct2__dot  { top: -4px; }
.celleva-ct2__node::after {
	content: '';
	position: absolute;
	left: 50%;
	width: 1px;
	height: 22px;
	background: var(--cl-text);
	transform: translateX(-50%);
}
.celleva-ct2__node--top::after    { bottom: 0; }
.celleva-ct2__node--bottom::after { top: 0; }

/* =========================================================
 * S3 / S6 – PILL grid
 * ========================================================= */
.celleva-ct3 { background: var(--cl-bg); }
.celleva-ct3__grid {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--cl-line);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}
.celleva-ct3__pill {
	flex: 1 1 0;
	min-width: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 22px 16px;
	border-left: 1px solid var(--cl-line);
}
.celleva-ct3__pill:first-child { border-left: 0; }
.celleva-ct3__pill span {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 700;             /* Bold */
	line-height: 1.4;
	color: var(--cl-text);
}

/* =========================================================
 * S4 – COLLECTIONS (4 cột)
 * ========================================================= */
.celleva-ct4 { background: var(--cl-bg); }
.celleva-ct4__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 2.4vw, 36px);
}
/* Section nền trắng; mỗi card 1 thẻ nền beige bo góc. */
.celleva-ct4__col {
	background: var(--cl-bg-soft);   /* beige #F8F1EA */
	border-radius: 14px;
	padding: 16px 16px 24px;
}
.celleva-ct4__img {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 18px;
}
.celleva-ct4__img img { width: 100%; height: 100%; object-fit: cover; }
.celleva-ct4__img.is-placeholder {
	background: linear-gradient(135deg, #F3E4DC 0%, #E8CBC2 60%, #DCB1A8 100%);
}
.celleva-ct4__name {
	font-family: var(--font-display);
	font-weight: 400;             /* Regular */
	font-size: 32px;
	color: var(--cl-pink);
	margin: 0;
}
.celleva-ct4__subtitle {
	font-family: var(--font-head);
	font-weight: 600;             /* SemiBold */
	font-size: 20px;
	color: var(--cl-text);
	margin: 4px 0 16px;
}
.celleva-ct4__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.celleva-ct4__tag {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;             /* Bold */
	font-size: 18px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cl-text);
	margin-bottom: 4px;
}
.celleva-ct4__desc {
	display: block;
	font-family: var(--font-body);
	font-weight: 500;             /* Medium */
	font-size: 18px;
	line-height: 1.55;
	color: var(--cl-text-soft);
}

/* =========================================================
 * S5 – SCIENCE (4 trụ cột)
 * ========================================================= */
.celleva-ct5 { background: var(--cl-bg); }
.celleva-ct5__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 2.4vw, 36px);
}
.celleva-ct5__img {
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
}
.celleva-ct5__img img { width: 100%; height: 100%; object-fit: cover; }
.celleva-ct5__img.is-placeholder {
	background: linear-gradient(135deg, #F8F1EA 0%, #EAD3C9 100%);
}
.celleva-ct5__title {
	font-family: var(--font-head);
	font-weight: 700;             /* Bold */
	font-size: 20px;
	letter-spacing: 0.04em;
	color: var(--cl-text);
	margin: 0 0 8px;
}
.celleva-ct5__desc {
	font-family: var(--font-body);
	font-weight: 500;             /* Medium */
	font-size: 18px;
	line-height: 1.6;
	color: var(--cl-text-soft);
	margin: 0;
}

/* =========================================================
 * S6 – wellness pill grid (kế thừa .celleva-ct3__grid)
 * ========================================================= */
.celleva-ct6 { background: var(--cl-bg); }

/* =========================================================
 * S7 – JOURNEY 7 bước
 * ========================================================= */
.celleva-ct7 { background: var(--cl-bg-soft); }
.celleva-ct7__grid {
	--ct7-cols: 4;
	--ct7-col-gap: clamp(16px, 2vw, 30px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;            /* hàng cuối thiếu bước → căn giữa, không thừa cột */
	gap: clamp(20px, 2.4vw, 40px) var(--ct7-col-gap);
}
.celleva-ct7__step {
	text-align: center;
	flex: 0 0 calc((100% - (var(--ct7-cols) - 1) * var(--ct7-col-gap)) / var(--ct7-cols));
	max-width: calc((100% - (var(--ct7-cols) - 1) * var(--ct7-col-gap)) / var(--ct7-cols));
}
.celleva-ct7__media { position: relative; width: 160px; margin: 0 auto 16px; }
/* Ảnh thiết kế đã kèm sẵn khung tròn + số → hiển thị nguyên ảnh */
.celleva-ct7__photo { width: 160px; height: auto; margin: 0 auto; display: block; }
.celleva-ct7__img {
	width: 150px; height: 150px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--cl-pink-soft);
	padding: 4px;
	background: #fff;
}
.celleva-ct7__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.celleva-ct7__img.is-placeholder {
	background: linear-gradient(135deg, #F3E4DC 0%, #DCB1A8 100%);
}
.celleva-ct7__num {
	position: absolute;
	top: -6px; left: -6px;
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--cl-bg-soft);
	border: 1px solid var(--cl-pink-soft);
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--cl-text);
}
.celleva-ct7__title {
	font-family: var(--font-head);
	font-weight: 700;             /* Bold */
	font-size: 20px;
	letter-spacing: 0.04em;
	color: var(--cl-text);
	margin: 0 0 8px;
}
.celleva-ct7__desc {
	font-family: var(--font-body);
	font-weight: 600;             /* SemiBold */
	font-size: 18px;
	line-height: 1.55;
	color: var(--cl-text-soft);
	margin: 0;
}

/* =========================================================
 * S8 – CTA
 * ========================================================= */
.celleva-ct8 {
	background-color: #F4E6DE;
	background-size: cover;
	background-position: left center;   /* giữ ống nhỏ giọt bên trái, không bị cắt */
	background-repeat: no-repeat;
}
.celleva-ct8 .celleva-container { position: relative; z-index: 1; }
.celleva-ct8__inner { text-align: center; max-width: 950px; margin: 0 auto; }
.celleva-ct8__desc {
	font-family: var(--font-body);
	font-weight: 600;             /* SemiBold */
	font-size: 20px;
	line-height: 1.7;
	color: var(--cl-text);
	margin: 16px auto 28px;
	max-width: 950px;
}
/* Nút CTA giống chuẩn trang chủ (pill hồng + mũi tên trong vòng tròn trắng). */
.celleva-ct8__btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 300px;
	height: 56px;
	margin-top: 4px;
	padding: 0 8px 0 28px;
	background: var(--cl-pink);   /* #C68781 */
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 50px;
	transition: background .25s ease, transform .25s ease;
}
.celleva-ct8__btn span {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--cl-pink);
	font-size: 20px;
	line-height: 1;
}
.celleva-ct8__btn:hover { background: #b3736d; transform: translateY(-2px); }

/* =========================================================
 * RESPONSIVE
 * ========================================================= */
@media (max-width: 1180px) {
	.celleva-ct4__grid,
	.celleva-ct5__grid { grid-template-columns: repeat(2, 1fr); }
	.celleva-ct7__grid { --ct7-cols: 2; }
	.celleva-ct2__nodes { grid-template-columns: repeat(min(var(--ct2-cols, 6), 3), 1fr); row-gap: 24px; min-height: auto; }
}
@media (max-width: 782px) {
	.celleva-ct1__inner { max-width: 100%; }
	.celleva-ct3__grid { flex-direction: column; }
	.celleva-ct3__pill { border-left: 0; border-top: 1px solid var(--cl-line); }
	.celleva-ct3__pill:first-child { border-top: 0; }
	/* timeline → stack đơn giản trên mobile */
	.celleva-ct2__line { display: none; }
	.celleva-ct2__nodes { grid-template-columns: 1fr; }
	.celleva-ct2__node,
	.celleva-ct2__node--top,
	.celleva-ct2__node--bottom { align-self: stretch; }
	.celleva-ct2__node::after,
	.celleva-ct2__dot { display: none; }
	.celleva-ct2__node--top .celleva-ct2__card,
	.celleva-ct2__node--bottom .celleva-ct2__card { margin: 0; }
}
@media (max-width: 560px) {
	.celleva-ct4__grid,
	.celleva-ct5__grid { grid-template-columns: 1fr; }
	.celleva-ct7__grid { --ct7-cols: 1; }
	.celleva-ct1__btns { flex-direction: column; }
	.celleva-ct__btn { width: 100%; }
}
