/* ==========================================================================
   Home
   ========================================================================== */

.yf-home { background: var(--yf-ink); }
.yf-section { padding: clamp(64px, 9vw, 112px) 0; }

/* ---------- Hero ---------- */
.yf-hero {
	position: relative; overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px);
	background:
		radial-gradient(50% 60% at 15% 40%, rgba(253, 207, 54, .10), transparent 70%),
		var(--yf-ink);
}
.yf-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.yf-hero__title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.25; margin-bottom: 18px; }
.yf-hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--yf-muted-dark); max-width: 560px; margin-bottom: 32px; }
.yf-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.yf-hero__media { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1 / 1.08; }
.yf-hero__disc {
	position: absolute; inset: auto 0 0 0; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 50% 30%, var(--yf-yellow-2), var(--yf-yellow) 45%, #C99A10 100%);
	box-shadow: 0 30px 80px rgba(253, 207, 54, .22);
}
.yf-hero__disc::after {
	content: ""; position: absolute; inset: -18px; border-radius: 50%;
	border: 1px dashed rgba(253, 207, 54, .35);
}
.yf-hero__photo {
	position: absolute; inset-inline: 4%; bottom: 0; width: 92%; height: auto; max-height: 112%;
	object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35));
}
.yf-hero__badge {
	position: absolute; inset-inline-end: 4%; top: 12%;
	display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px;
	background: var(--yf-ink-2); border: 1px solid var(--yf-ink-3); color: var(--yf-yellow);
	box-shadow: var(--yf-shadow-dark); transform: rotate(-8deg);
}
.yf-hero__badge .yf-icon { width: 36px; height: 36px; }
.yf-hero__badge b { position: absolute; left: 35.5px; top: 35.5px; transform: translate(-50%, -50%); font-size: 13px; font-weight: 800; line-height: 1; }

.yf-stats {
	list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 64px);
	border: 1px solid var(--yf-ink-3); border-radius: var(--yf-radius); background: var(--yf-ink-2);
}
.yf-stat { padding: 24px 16px; text-align: center; }
.yf-stat + .yf-stat { border-inline-start: 1px solid var(--yf-ink-3); }
.yf-stat__num { display: block; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--yf-yellow); line-height: 1.2; direction: ltr; }
.yf-stat__label { color: var(--yf-muted-dark); font-size: 15px; }

@media (max-width: 900px) {
	.yf-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.yf-hero__lead { margin-inline: auto; }
	.yf-hero__ctas { justify-content: center; }
	.yf-hero__media { order: -1; width: min(320px, 80%); }
	.yf-hero .yf-eyebrow { justify-content: center; }
	.yf-stats { grid-template-columns: repeat(2, 1fr); }
	.yf-stat:nth-child(3) { border-inline-start: 0; }
	.yf-stat:nth-child(n+3) { border-top: 1px solid var(--yf-ink-3); }
}

/* ---------- Clients ---------- */
.yf-clients { padding-top: 0; }
.yf-panel { background: var(--yf-ink-2); border: 1px solid var(--yf-ink-3); border-radius: 28px; padding: clamp(32px, 5vw, 56px) 0; overflow: hidden; }
.yf-panel .yf-sec-head { padding-inline: var(--yf-gutter); margin-bottom: 32px; }
.yf-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.yf-marquee__track { list-style: none; display: flex; gap: 16px; padding-inline-end: 16px; flex: none; animation: yf-marquee 38s linear infinite; }
.yf-marquee:hover .yf-marquee__track { animation-play-state: paused; }
.yf-logo-card { flex: none; width: 180px; height: 88px; display: grid; place-items: center; padding: 12px 18px; border-radius: 14px; background: #fff; }
.yf-logo-card img { max-height: 60px; width: auto; object-fit: contain; }
@keyframes yf-marquee { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
	.yf-marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
	.yf-marquee__track { flex-wrap: wrap; justify-content: center; animation: none; }
	.yf-marquee__track[aria-hidden] { display: none; }
}

/* ---------- Steps ---------- */
.yf-steps__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.yf-step { position: relative; text-align: center; padding: 32px 24px; border-radius: var(--yf-radius); background: var(--yf-ink-2); border: 1px solid var(--yf-ink-3); }
.yf-step__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--yf-yellow); color: var(--yf-ink); margin-bottom: 18px; box-shadow: 0 0 0 10px var(--yf-yellow-soft); }
.yf-step__num { position: absolute; top: 16px; inset-inline-start: 20px; font-size: 44px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .06); }
.yf-step__title { font-size: 22px; margin-bottom: 8px; }
.yf-step p { color: var(--yf-muted-dark); margin: 0; font-size: 16px; }
@media (min-width: 901px) {
	.yf-step:not(:last-child)::after {
		content: ""; position: absolute; top: 70px; inset-inline-end: -24px; width: 24px; height: 2px;
		background: repeating-linear-gradient(90deg, var(--yf-yellow) 0 6px, transparent 6px 10px);
	}
}
@media (max-width: 900px) { .yf-steps__list { grid-template-columns: 1fr; } }

/* ---------- Benefits ---------- */
.yf-benefits { padding-top: 0; }
.yf-benefits__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--yf-ink-3); border: 1px solid var(--yf-ink-3); border-radius: var(--yf-radius); overflow: hidden; }
.yf-benefit { background: var(--yf-ink); padding: 32px 28px; transition: background-color .25s; }
.yf-benefit:hover { background: var(--yf-ink-2); }
.yf-benefit__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--yf-yellow-soft); color: var(--yf-yellow); margin-bottom: 16px; }
.yf-benefit__title { font-size: 20px; margin-bottom: 8px; color: var(--yf-on-dark); }
.yf-benefit p { color: var(--yf-muted-dark); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .yf-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .yf-benefits__grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.yf-testimonials { background: var(--yf-paper); }

/* ---------- Packages ---------- */
.yf-packages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.yf-package {
	position: relative; display: flex; flex-direction: column; height: 100%;
	padding: 32px 28px; border-radius: 22px; background: var(--yf-ink-2); border: 1px solid var(--yf-ink-3);
}
.yf-package--featured { border-color: rgba(253, 207, 54, .55); box-shadow: 0 0 0 1px rgba(253, 207, 54, .2), var(--yf-shadow-dark); }
.yf-package__badge { position: absolute; top: -14px; inset-inline-start: 24px; padding: 4px 14px; border-radius: 999px; background: var(--yf-yellow); color: var(--yf-ink); font-size: 13px; font-weight: 800; }
.yf-package__title { font-size: 22px; margin-bottom: 8px; }
.yf-package__desc { color: var(--yf-muted-dark); font-size: 15px; min-height: 3.4em; }
.yf-package__price { padding: 18px 0; margin-bottom: 18px; border-block: 1px solid var(--yf-ink-3); }
.yf-package__from { display: block; font-size: 14px; color: var(--yf-muted-dark); }
.yf-package__price strong { display: block; font-size: 44px; line-height: 1.2; font-weight: 800; color: var(--yf-yellow); text-align: start; }
.yf-package__time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--yf-muted-dark); }
.yf-package__features { list-style: none; flex: 1; margin-bottom: 24px; }
.yf-package__features li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; }
.yf-package__features .yf-icon { flex: none; margin-top: 4px; color: var(--yf-yellow); }
.yf-package__actions { display: grid; gap: 10px; }
@media (max-width: 960px) { .yf-packages__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Case studies ---------- */
.yf-cases { background: linear-gradient(180deg, var(--yf-ink), #1A1718); }
.yf-cases__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.yf-case { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px; border-radius: var(--yf-radius); background: var(--yf-ink-2); border: 1px solid var(--yf-ink-3); transition: border-color .2s, transform .2s; }
.yf-case:hover { border-color: rgba(253, 207, 54, .5); transform: translateY(-3px); }
.yf-case__media { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--yf-ink-3); }
.yf-case__media img { width: 100%; height: 100%; object-fit: cover; }
.yf-case__title { font-size: 18px; line-height: 1.5; margin-bottom: 8px; color: var(--yf-yellow); }
.yf-case__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.yf-case p { color: var(--yf-muted-dark); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .yf-cases__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .yf-case { grid-template-columns: 1fr; } }

/* ---------- Courses ---------- */
.yf-courses { background: var(--yf-paper); }
.yf-courses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yf-course-card { display: flex; flex-direction: column; border-radius: var(--yf-radius); overflow: hidden; background: var(--yf-white); border: 1px solid var(--yf-line); box-shadow: var(--yf-shadow); transition: transform .2s, box-shadow .2s; }
.yf-course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 16, 17, .12); }
.yf-course-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--yf-line); }
.yf-course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.yf-course-card__price { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: var(--yf-yellow); color: var(--yf-ink); font-weight: 800; font-size: 14px; }
.yf-course-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.yf-course-card__title { font-size: 19px; line-height: 1.5; flex: 1; }
.yf-course-card__author { display: flex; align-items: center; gap: 10px; color: var(--yf-muted); font-size: 14px; }
.yf-course-card__author img { border-radius: 50%; }
@media (max-width: 960px) { .yf-courses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .yf-courses__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.yf-faq__list { display: grid; gap: 12px; }
.yf-faq__item { border-radius: 16px; background: var(--yf-paper); border: 1px solid var(--yf-line); overflow: hidden; transition: background-color .2s, border-color .2s; }
.yf-faq__item[open] { background: var(--yf-ink); border-color: var(--yf-ink); color: var(--yf-on-dark); }
.yf-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.yf-faq__item summary::-webkit-details-marker { display: none; }
.yf-faq__item summary h3 { margin: 0; font-size: 18px; font-weight: 700; }
.yf-faq__chev { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yf-yellow); color: var(--yf-ink); transition: transform .25s; }
.yf-faq__item[open] .yf-faq__chev { transform: rotate(180deg); }
.yf-faq__a { padding: 0 22px 20px; color: var(--yf-muted-dark); }
.yf-faq__a p { margin: 0; }

/* ---------- Final CTA ---------- */
.yf-final { padding: 56px 0 72px; }
.yf-final__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.yf-final .yf-h2 { margin: 0; }
@media (max-width: 700px) { .yf-final__inner { flex-direction: column; text-align: center; } }


/* ---------- Ask me (under FAQ) ---------- */
.yf-ask { margin-top: 32px; padding: clamp(22px, 4vw, 32px); border-radius: 20px; background: var(--yf-paper); border: 1px dashed #D8D3CA; }
.yf-ask__title { font-size: 21px; margin-bottom: 4px; }
.yf-ask__text { color: var(--yf-muted); margin-bottom: 16px; }
