/**
 * Zest Art — Page Template Foundation v3.0
 * Dùng cho Page mới dựng bằng WPBakery.
 * Toàn bộ selector được scope trong .zest-page.
 */

.zest-page{
	--zest-page-width: 1180px;
	--zest-page-narrow: 820px;
	--zest-page-gutter: 24px;
	--zest-page-gutter-mobile: 16px;
	--zest-page-section-y: 88px;
	color: var(--zest-text);
}

.zest-page,
.zest-page *,
.zest-page *::before,
.zest-page *::after{
	box-sizing: border-box;
}

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

.zest-page__container{
	width: min(calc(100% - (var(--zest-page-gutter) * 2)), var(--zest-page-width));
	margin-inline: auto;
}

.zest-page__container--narrow{
	width: min(calc(100% - (var(--zest-page-gutter) * 2)), var(--zest-page-narrow));
	margin-inline: auto;
}

.zest-page-full-width{
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.zest-page-section{
	position: relative;
	padding-block: var(--zest-page-section-y);
}

.zest-page-section--compact{ padding-block: 64px; }
.zest-page-section--deep{ padding-block: 112px; }
.zest-page-section--white{ background: var(--zest-white); }
.zest-page-section--warm{ background: var(--zest-white-warm); }
.zest-page-section--yellow{
	background: var(--zest-yellow);
	color: var(--zest-blue-dark);
}

.zest-page-section--blue{
	background: linear-gradient(135deg, var(--zest-blue-dark), var(--zest-blue));
	color: var(--zest-white);
}

.zest-page-section--bordered{
	border-top: 1px solid var(--zest-border);
	border-bottom: 1px solid var(--zest-border);
}

/* PAGE HERO */
.zest-page-hero{
	position: relative;
	overflow: hidden;
	padding-block: 92px;
	background:
		radial-gradient(circle at 88% 16%, rgba(255, 204, 65, 0.20), transparent 26%),
		var(--zest-white-warm);
}

.zest-page-hero--blue{
	background: linear-gradient(135deg, var(--zest-blue-dark), var(--zest-blue));
	color: var(--zest-white);
}

.zest-page-hero--yellow{
	background: var(--zest-yellow);
	color: var(--zest-blue-dark);
}

.zest-page-hero__grid{
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
	gap: 68px;
	align-items: center;
}

.zest-page-hero__content{ max-width: 720px; }

.zest-page-hero__eyebrow,
.zest-page-heading__eyebrow{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--zest-blue);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.zest-page-hero__eyebrow::before{
	width: 30px;
	height: 4px;
	border-radius: 4px;
	background: var(--zest-yellow);
	content: "";
}

.zest-page-hero--blue .zest-page-hero__eyebrow{ color: var(--zest-yellow); }

.zest-page-hero__title{
	max-width: 760px;
	margin: 0 0 24px;
	color: var(--zest-blue-dark);
	font-size: clamp(42px, 5vw, 68px);
	font-weight: 700 !important;
	line-height: 1.1;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

.zest-page-hero--blue .zest-page-hero__title{ color: var(--zest-white); }

.zest-page-hero__description{
	max-width: 660px;
	margin: 0;
	color: var(--zest-muted);
	font-size: 17px;
	line-height: 1.75;
}

.zest-page-hero--blue .zest-page-hero__description{
	color: rgba(255, 255, 255, 0.78);
}

.zest-page-hero__actions{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.zest-page-hero__media{
	position: relative;
	padding: 0 18px 20px 0;
}

.zest-page-hero__media::before{
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: calc(100% - 32px);
	height: calc(100% - 36px);
	border-radius: var(--zest-radius-xl);
	background: var(--zest-yellow);
	content: "";
}

.zest-page-hero__image{
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 4.3;
	border-radius: var(--zest-radius-xl);
	object-fit: cover;
}

.zest-page-hero__badge{
	position: absolute;
	top: 28px;
	right: -2px;
	z-index: 2;
	display: flex;
	min-width: 118px;
	min-height: 118px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
	border-radius: var(--zest-radius-lg);
	background: var(--zest-blue);
	color: var(--zest-white);
	text-align: center;
	box-shadow: 0 18px 40px rgba(14, 45, 104, 0.18);
}

/* SECTION HEADING */
.zest-page-heading{
	max-width: 760px;
	margin-bottom: 48px;
}

.zest-page-heading--center{
	margin-inline: auto;
	text-align: center;
}

.zest-page-heading--split{
	display: grid;
	max-width: none;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
	gap: 56px;
	align-items: end;
}

.zest-page-heading__title{
	margin: 0;
	color: var(--zest-blue-dark);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 700 !important;
	line-height: 1.16;
	letter-spacing: -0.018em;
	text-wrap: balance;
}

.zest-page-heading__text{
	margin: 16px 0 0;
	color: var(--zest-muted);
	font-size: 16px;
	line-height: 1.75;
}

.zest-page-section--blue .zest-page-heading__title{ color: var(--zest-white); }
.zest-page-section--blue .zest-page-heading__text{ color: rgba(255,255,255,.74); }

/* INTRO / RICH TEXT */
.zest-page-intro{
	max-width: 820px;
	color: var(--zest-text);
	font-size: 18px;
	line-height: 1.85;
}

.zest-page-intro--center{
	margin-inline: auto;
	text-align: center;
}

.zest-page-richtext{
	color: var(--zest-text);
	font-size: 16px;
	line-height: 1.78;
}

.zest-page-richtext > *:first-child{ margin-top: 0; }
.zest-page-richtext > *:last-child{ margin-bottom: 0; }
.zest-page-richtext h2,
.zest-page-richtext h3,
.zest-page-richtext h4{ color: var(--zest-blue-dark); }

/* CONTENT SPLIT */
.zest-page .zest-content-split{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	align-items: center;
}

.zest-page .zest-content-split--media-wide{
	grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.zest-page .zest-content-split--copy-wide{
	grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
}

.zest-page .zest-content-split--reverse .zest-content-split__media{ order: 2; }

.zest-page .zest-content-split__image{
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--zest-radius-xl);
	object-fit: cover;
}

.zest-page .zest-content-split__copy h2{
	margin-bottom: 20px;
	color: var(--zest-blue-dark);
	font-size: clamp(32px, 3.7vw, 48px);
	font-weight: 700 !important;
	line-height: 1.18;
	letter-spacing: -0.016em;
}

.zest-page .zest-content-split__copy p{
	color: var(--zest-muted);
	font-size: 16px;
	line-height: 1.78;
}

/* FEATURE GRID */
.zest-page .zest-feature-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.zest-page .zest-feature-card{
	position: relative;
	min-height: 230px;
	padding: 30px 28px;
	border: 1px solid var(--zest-border);
	border-radius: var(--zest-radius-lg);
	background: var(--zest-white);
	transition: transform var(--zest-transition-normal), border-color var(--zest-transition-normal), box-shadow var(--zest-transition-normal);
}

.zest-page .zest-feature-card:hover{
	transform: translateY(-5px);
	border-color: rgba(20, 63, 144, 0.35);
	box-shadow: 0 18px 42px rgba(14, 45, 104, 0.10);
}

.zest-page .zest-feature-card__icon{
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	border-radius: 12px;
	background: var(--zest-yellow-light);
	color: var(--zest-blue);
	font-size: 22px;
	font-weight: 700;
}

.zest-page .zest-feature-card__title{
	margin: 0 0 11px;
	color: var(--zest-blue-dark);
	font-size: 21px;
	font-weight: 700 !important;
	line-height: 1.35;
}

.zest-page .zest-feature-card__text{
	margin: 0;
	color: var(--zest-muted);
	font-size: 15px;
	line-height: 1.72;
}

/* COURSE CARD */
.zest-page .zest-course-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.zest-page .zest-course-card{
	display: flex;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid var(--zest-border);
	border-radius: var(--zest-radius-lg);
	background: var(--zest-white);
	transition: transform var(--zest-transition-normal), border-color var(--zest-transition-normal), box-shadow var(--zest-transition-normal);
}

.zest-page .zest-course-card:hover{
	transform: translateY(-6px);
	border-color: rgba(20, 63, 144, 0.35);
	box-shadow: 0 20px 46px rgba(14, 45, 104, 0.11);
}

.zest-page .zest-course-card__media{
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--zest-blue-light);
}

.zest-page .zest-course-card__image{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.zest-page .zest-course-card:hover .zest-course-card__image{ transform: scale(1.035); }

.zest-page .zest-course-card__content{
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px;
}

.zest-page .zest-course-card__eyebrow{
	display: block;
	margin-bottom: 9px;
	color: var(--zest-blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.zest-page .zest-course-card__title{
	margin: 0 0 12px;
	color: var(--zest-blue-dark);
	font-size: 23px;
	font-weight: 700 !important;
	line-height: 1.32;
}

.zest-page .zest-course-card__text{
	margin: 0 0 20px;
	color: var(--zest-muted);
	font-size: 15px;
	line-height: 1.72;
}

.zest-page .zest-course-card__meta{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: auto 0 18px;
	color: var(--zest-muted);
	font-size: 13px;
}

.zest-page .zest-course-card__link{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--zest-blue);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

/* STAT */
.zest-page .zest-stat-grid{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--zest-border);
	border-radius: var(--zest-radius-lg);
	background: var(--zest-white);
}

.zest-page .zest-stat-item{
	position: relative;
	padding: 34px 24px;
	text-align: center;
}

.zest-page .zest-stat-item:not(:last-child)::after{
	position: absolute;
	top: 24%;
	right: 0;
	width: 1px;
	height: 52%;
	background: var(--zest-border);
	content: "";
}

.zest-page .zest-stat-item__number{
	display: block;
	margin-bottom: 8px;
	color: var(--zest-blue);
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.zest-page .zest-stat-item__label{
	display: block;
	max-width: 210px;
	margin-inline: auto;
	color: var(--zest-muted);
	font-size: 14px;
	line-height: 1.55;
}

/* TESTIMONIAL */
.zest-page .zest-testimonial{
	display: grid;
	overflow: hidden;
	grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
	border: 1px solid var(--zest-border);
	border-radius: var(--zest-radius-xl);
	background: var(--zest-white);
}

.zest-page .zest-testimonial__image{
	width: 100%;
	height: 100%;
	min-height: 440px;
	object-fit: cover;
}

.zest-page .zest-testimonial__content{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 58px;
}

.zest-page .zest-testimonial__quote{
	margin: 0 0 30px;
	color: var(--zest-blue-dark);
	font-size: clamp(23px, 2.6vw, 34px);
	font-weight: 600;
	line-height: 1.48;
}

.zest-page .zest-testimonial__author{
	color: var(--zest-blue);
	font-size: 16px;
	font-weight: 700;
}

.zest-page .zest-testimonial__role{
	margin-top: 5px;
	color: var(--zest-muted);
	font-size: 14px;
}

/* FAQ */
.zest-page .zest-faq{ border-top: 1px solid var(--zest-border); }
.zest-page .zest-faq__item{ border-bottom: 1px solid var(--zest-border); }

.zest-page .zest-faq__item summary{
	position: relative;
	padding: 24px 54px 24px 0;
	color: var(--zest-blue-dark);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.zest-page .zest-faq__item summary::-webkit-details-marker{ display: none; }

.zest-page .zest-faq__item summary::before,
.zest-page .zest-faq__item summary::after{
	position: absolute;
	top: 50%;
	right: 8px;
	width: 18px;
	height: 2px;
	background: var(--zest-yellow);
	content: "";
	transform: translateY(-50%);
	transition: transform 200ms ease;
}

.zest-page .zest-faq__item summary::after{ transform: translateY(-50%) rotate(90deg); }
.zest-page .zest-faq__item[open] summary::after{ transform: translateY(-50%); }

.zest-page .zest-faq__answer{
	padding: 0 54px 25px 0;
	color: var(--zest-muted);
	font-size: 15px;
	line-height: 1.75;
}

/* FINAL CTA */
.zest-page-cta{
	position: relative;
	overflow: hidden;
	padding: 76px;
	border-radius: var(--zest-radius-xl);
	background: var(--zest-yellow);
	color: var(--zest-blue-dark);
}

.zest-page-cta::before{
	position: absolute;
	top: -100px;
	right: -80px;
	width: 330px;
	height: 330px;
	border: 72px solid rgba(20, 63, 144, 0.08);
	border-radius: 50%;
	content: "";
}

.zest-page-cta__grid{
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 42px;
	align-items: center;
}

.zest-page-cta__title{
	margin: 0 0 16px;
	color: var(--zest-blue-dark);
	font-size: clamp(34px, 4.3vw, 54px);
	font-weight: 700 !important;
	line-height: 1.14;
}

.zest-page-cta__text{
	max-width: 680px;
	margin: 0;
	color: rgba(14, 45, 104, 0.82);
	font-size: 16px;
	line-height: 1.72;
}

/* FORM */
.zest-page .zest-form-card{
	padding: 30px;
	border: 1px solid var(--zest-border);
	border-radius: var(--zest-radius-lg);
	background: var(--zest-white);
	box-shadow: 0 8px 24px rgba(14, 45, 104, 0.06);
}

.zest-page .zest-form-card input,
.zest-page .zest-form-card select,
.zest-page .zest-form-card textarea{
	width: 100%;
	border: 1px solid var(--zest-border);
	border-radius: 8px;
	background: var(--zest-white);
	color: var(--zest-text);
	box-shadow: none;
}

.zest-page .zest-form-card input,
.zest-page .zest-form-card select{
	min-height: 46px;
	padding-inline: 14px;
}

.zest-page .zest-form-card textarea{
	min-height: 120px;
	padding: 12px 14px;
}

.zest-page .zest-form-card input:focus,
.zest-page .zest-form-card select:focus,
.zest-page .zest-form-card textarea:focus{
	border-color: var(--zest-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(20, 63, 144, 0.08);
}

/* RESPONSIVE */
@media (max-width: 1000px){
	.zest-page .zest-feature-grid,
.zest-page .zest-course-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.zest-page .zest-stat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zest-page .zest-stat-item:nth-child(2)::after{ display: none; }
	.zest-page .zest-stat-item:nth-child(-n/**/+2){ border-bottom: 1px solid var(--zest-border); }

	.zest-page-heading--split,
.zest-page-cta__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
	.zest-page{ --zest-page-section-y: 68px; }

	.zest-page-hero{ padding-block: 70px; }

	.zest-page-hero__grid,
.zest-page .zest-content-split,
.zest-page .zest-content-split--media-wide,
.zest-page .zest-content-split--copy-wide,
.zest-page .zest-testimonial{
		grid-template-columns: 1fr;
	}

	.zest-page .zest-content-split--reverse .zest-content-split__media{ order: initial; }

	.zest-page-hero__media,
.zest-page .zest-content-split__media{
		width: min(680px, 100%);
		margin-inline: auto;
	}

	.zest-page .zest-testimonial__image{
		min-height: auto;
		aspect-ratio: 16 / 10;
	}

	.zest-page .zest-testimonial__content{ padding: 44px 34px; }
	.zest-page-cta{ padding: 58px 46px; }
}

@media (max-width: 640px){
	.zest-page{
		--zest-page-gutter: var(--zest-page-gutter-mobile);
		--zest-page-section-y: 54px;
	}

	.zest-page-section--compact{ padding-block: 44px; }
	.zest-page-section--deep{ padding-block: 72px; }
	.zest-page-hero{ padding-block: 54px; }

	.zest-page-hero__title{
		font-size: clamp(35px, 10vw, 44px);
		line-height: 1.13;
	}

	.zest-page-hero__description{ font-size: 16px; }

	.zest-page-hero__actions{
		display: grid;
		grid-template-columns: 1fr;
	}

	.zest-page-hero__actions .zest-button{ width: 100%; }

	.zest-page-hero__media{ padding: 0 10px 12px 0; }

	.zest-page-hero__badge{
		top: 16px;
		right: 0;
		min-width: 94px;
		min-height: 94px;
		padding: 10px;
	}

	.zest-page-heading{ margin-bottom: 34px; }

	.zest-page-heading__title{
		font-size: 34px;
		line-height: 1.2;
	}

	.zest-page .zest-feature-grid,
.zest-page .zest-course-grid,
.zest-page .zest-stat-grid{ grid-template-columns: 1fr; }

	.zest-page .zest-stat-item{ border-bottom: 1px solid var(--zest-border); }
	.zest-page .zest-stat-item:last-child{ border-bottom: 0; }
	.zest-page .zest-stat-item::after{ display: none; }

	.zest-page .zest-content-split{ gap: 38px; }
	.zest-page .zest-feature-card{ min-height: auto; padding: 25px 22px; }
	.zest-page .zest-course-card__content{ padding: 22px; }
	.zest-page .zest-testimonial__content{ padding: 36px 24px; }
	.zest-page .zest-testimonial__quote{ font-size: 22px; }

	.zest-page .zest-faq__item summary{
		padding-right: 42px;
		font-size: 16px;
	}

	.zest-page .zest-faq__answer{ padding-right: 8px; }

	.zest-page-cta{
		padding: 44px 24px;
		border-radius: var(--zest-radius-lg);
	}

	.zest-page-cta__title{ font-size: 35px; }
	.zest-page .zest-form-card{ padding: 22px; }
}

@media (prefers-reduced-motion: reduce){
	.zest-page .zest-feature-card,
.zest-page .zest-course-card,
.zest-page .zest-course-card__image,
.zest-page .zest-faq__item summary::before,
.zest-page .zest-faq__item summary::after{
		transition: none !important;
	}

	.zest-page .zest-feature-card:hover,
.zest-page .zest-course-card:hover,
.zest-page .zest-course-card:hover .zest-course-card__image{
		transform: none !important;
	}
}
