/* «درباره ما» page (page-about-us.php): hero, numbers, story, road since 1395, how people learn, team, start. */
.ye-about {
	--ya-deep: var(--ye-deep);
	--ya-mid: var(--ye-mid);
	--ya-accent: var(--ye-accent);
	--ya-ink: var(--ye-ink);
	--ya-muted: var(--ye-muted);
	--ya-border: var(--ye-border);
	--ya-tint: var(--ye-tint);
	--ya-sun: var(--ye-sun);
	overflow: hidden;
	background: var(--ye-surface);
	color: var(--ya-ink);
}
.ye-about h1,
.ye-about h2,
.ye-about h3 { margin: 0; color: var(--ya-ink); font-weight: var(--ye-w-heading); line-height: 1.6; }
.ye-about p { margin: 0; color: var(--ya-muted); font-size: 17px; line-height: 2.05; }
.ye-about p a { color: var(--ya-accent); font-weight: var(--ye-w-semibold); text-decoration: none; }
.ye-about p a:hover { color: var(--ye-accent-strong); text-decoration: underline; text-underline-offset: 5px; }
.ye-about ul,
.ye-about ol { margin: 0; padding: 0; list-style: none; }

/* Buttons */
.ye-about .ya-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ye-about .ya-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 26px; border: 2px solid transparent; border-radius: 14px; font-size: 16px; font-weight: var(--ye-w-bold); white-space: nowrap; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.ye-about .ya-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ye-about .ya-btn--sun { background: var(--ya-sun); color: var(--ye-sun-ink); }
.ye-about .ya-btn--sun:hover { background: var(--ye-sun-soft); color: var(--ye-sun-ink); }
.ye-about .ya-btn--ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff; }
.ye-about .ya-btn--ghost:hover { border-color: var(--ye-surface); background: rgba(255, 255, 255, .14); color: #fff; }

/* Hero */
.ya-hero { position: relative; padding: 64px 0 120px; background: radial-gradient(circle at 12% 18%, rgba(255, 201, 77, .16) 0, transparent 34%), linear-gradient(135deg, var(--ye-fill-deep) 0%, var(--ye-fill-mid) 55%, var(--ye-fill-accent) 100%); }
.ya-hero::before,
.ya-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.ya-hero::before { top: -120px; right: -90px; width: 360px; height: 360px; background: rgba(255, 255, 255, .05); }
.ya-hero::after { bottom: -160px; left: 30%; width: 420px; height: 420px; border: 2px dashed rgba(255, 255, 255, .10); }
.ya-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ya-kicker { display: inline-block; margin-bottom: 14px; padding: 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: var(--ye-sun-soft); font-size: 15px; font-weight: var(--ye-w-bold); }
.ye-about .ya-hero h1 { color: #fff; font-size: 36px; line-height: 1.55; }
.ye-about .ya-lead { margin-top: 18px; color: rgba(255, 255, 255, .88); font-size: 18px; }
.ye-about .ya-lead strong { color: var(--ye-sun-soft); }

.ya-hero__art { position: relative; justify-self: center; width: 340px; max-width: 100%; aspect-ratio: 1; }
.ya-portrait { position: absolute; inset: 20px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 50% 35%, var(--ye-surface) 0, var(--ye-tint-strong) 70%); box-shadow: 0 0 0 14px rgba(255, 255, 255, .10), 0 0 0 30px rgba(255, 255, 255, .05), 0 24px 60px rgba(20, 0, 60, .35); }
.ya-portrait img { display: block; width: 92%; height: auto; }
.ya-bubble { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 16px; background: var(--ye-surface); color: var(--ya-deep); font-size: 14px; font-weight: var(--ye-w-bold); white-space: nowrap; box-shadow: 0 12px 28px rgba(20, 0, 60, .25); animation: ya-float 6s ease-in-out infinite; }
.ya-bubble::after { content: ""; position: absolute; bottom: -7px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 0 0 4px 0; }
.ya-bubble--hello { top: 6%; left: -4%; background: var(--ya-sun); color: var(--ye-sun-ink); font-size: 18px; direction: ltr; }
.ya-bubble--hello::after { left: 24px; }
.ya-bubble--since { top: 44%; right: -12%; animation-delay: -2s; }
.ya-bubble--since::after { right: 26px; }
.ya-bubble--since i { color: #e0457b; }
.ya-bubble--fa { bottom: 6%; left: -10%; animation-delay: -4s; }
.ya-bubble--fa::after { right: 30px; }
@keyframes ya-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .ya-bubble { animation: none; } }

/* Numbers, over the bottom of the hero */
.ya-figures { position: relative; z-index: 2; margin-top: -64px; }
.ya-figures__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ya-figures__list li { padding: 22px 22px 20px; border: 1px solid var(--ya-border); border-radius: 20px; background: var(--ye-surface); box-shadow: 0 18px 40px rgba(46, 31, 84, .12); }
.ya-figures__list strong { display: block; color: var(--ya-accent); font-size: 32px; font-weight: var(--ye-w-display); line-height: 1.4; }
.ya-figures__list span { display: block; margin-top: 4px; color: var(--ya-muted); font-size: 15px; line-height: 1.7; }

/* Sections */
.ya-section { padding: 72px 0; }
.ya-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.ya-head p { margin-top: 8px; }
.ya-eyebrow { display: inline-block; margin-bottom: 8px; padding: 4px 14px; border-radius: 999px; background: var(--ya-tint); color: var(--ya-accent); font-size: 14px; font-weight: var(--ye-w-bold); }
.ye-about h2 { font-size: 30px; }

/* Story */
.ya-story { padding-top: 80px; }
.ya-story__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ya-story__text h2 { margin-bottom: 16px; }
.ya-story__text p + p { margin-top: 14px; }
.ya-quote { position: relative; margin: 0; padding: 40px 32px 28px; border-radius: 24px; background: linear-gradient(160deg, var(--ya-tint) 0%, var(--ye-surface) 100%); border: 1px solid var(--ya-border); }
.ya-quote__mark { position: absolute; top: -22px; right: 28px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ye-fill-accent); color: #fff; font-size: 22px; box-shadow: 0 12px 24px rgba(111, 63, 192, .3); }
.ya-quote blockquote { margin: 0; padding: 0; border: 0; color: var(--ya-deep); font-size: 24px; font-weight: var(--ye-w-heading); line-height: 1.75; }
.ya-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--ye-border-strong); }
.ya-quote figcaption img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--ye-surface); object-fit: cover; box-shadow: 0 0 0 3px var(--ye-surface), 0 0 0 5px var(--ye-border-strong); }
.ya-quote figcaption span { color: var(--ya-muted); font-size: 14px; line-height: 1.8; }
.ya-quote figcaption strong { display: block; color: var(--ya-ink); font-size: 17px; }
.ya-creds { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ya-creds li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 12px; border: 1px solid var(--ya-border); border-radius: 999px; background: var(--ye-surface); color: var(--ya-ink); font-size: 13.5px; font-weight: var(--ye-w-semibold); line-height: 1.9; }
.ya-creds i { color: var(--ya-accent); font-size: 13px; }
/* Mojtaba, the other founder, under Yalda's card */
.ya-story__side { display: flex; flex-direction: column; gap: 16px; }
.ya-partner { display: block; padding: 18px 22px 20px; border: 1px solid var(--ya-border); border-radius: 22px; background: var(--ye-surface); color: var(--ya-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.ya-partner:hover { border-color: var(--ye-border-accent); box-shadow: 0 12px 28px rgba(46, 31, 84, .10); color: var(--ya-ink); text-decoration: none; }
.ya-partner__who { display: flex; align-items: center; gap: 14px; }
.ya-partner__who img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ye-surface), 0 0 0 5px var(--ye-border-strong); }
.ya-partner__who > span { flex: 1 1 auto; color: var(--ya-muted); font-size: 14px; line-height: 1.8; }
.ya-partner__who strong { display: block; color: var(--ya-ink); font-size: 17px; }
.ya-partner__go { flex: 0 0 auto; color: var(--ya-accent); font-size: 22px; transition: transform .15s ease; }
.ya-partner:hover .ya-partner__go { transform: translateX(-3px); }
.ya-partner .ya-creds { margin-top: 12px; }

/* Road since 1395: one line down the middle, cards on both sides */
.ya-road { background: var(--ye-tint-soft); }
.ye-about .ya-road__line { position: relative; max-width: 980px; margin: 0 auto; }
.ya-road__line::before { content: ""; position: absolute; top: 12px; bottom: 12px; right: 50%; width: 3px; margin-right: -1.5px; border-radius: 3px; background: linear-gradient(180deg, var(--ye-border-strong) 0%, var(--ya-accent) 100%); }
.ya-road__line li { position: relative; width: 50%; padding-left: 44px; }
.ya-road__line li:nth-child(even) { margin-right: 50%; padding-right: 44px; padding-left: 0; }
.ya-road__line li + li { margin-top: -28px; }
.ya-road__line li::before { content: ""; position: absolute; top: 26px; left: -9px; z-index: 1; width: 18px; height: 18px; border: 4px solid var(--ye-surface); border-radius: 50%; background: var(--ya-accent); box-shadow: 0 0 0 2px var(--ye-border-strong); }
.ya-road__line li:nth-child(even)::before { right: -9px; left: auto; }
.ya-road__line li:last-child::before { background: var(--ya-sun); box-shadow: 0 0 0 2px var(--ya-accent); }
.ya-mile { padding: 18px 20px; border: 1px solid var(--ya-border); border-radius: 18px; background: var(--ye-surface); transition: border-color .15s ease, box-shadow .15s ease; }
.ya-mile:hover { border-color: var(--ye-border-accent); box-shadow: 0 12px 28px rgba(46, 31, 84, .08); }
.ya-mile__year { display: inline-block; margin-bottom: 6px; padding: 2px 12px; border-radius: 10px; background: var(--ya-tint); color: var(--ya-accent); font-size: 16px; font-weight: var(--ye-w-display); }
.ye-about .ya-mile h3 { font-size: 18px; }
.ye-about .ya-mile p { margin-top: 2px; font-size: 15px; line-height: 1.9; }
.ya-road__line li:last-child .ya-mile { border-color: var(--ye-border-accent); background: linear-gradient(160deg, var(--ye-surface) 0%, var(--ya-tint) 100%); }
.ya-road__line li:last-child .ya-mile__year { background: var(--ye-fill-accent); color: #fff; }

/* How people learn */
.ya-ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ya-ways__grid li { padding: 24px 22px; border: 1px solid var(--ya-border); border-radius: 20px; background: var(--ye-surface); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ya-ways__grid li:hover { border-color: var(--ye-border-accent); box-shadow: 0 12px 28px rgba(46, 31, 84, .10); transform: translateY(-2px); }
.ya-ways__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: var(--ya-tint); color: var(--ya-accent); font-size: 22px; }
.ye-about .ya-ways__grid h3 { font-size: 18px; }
.ye-about .ya-ways__grid p { margin-top: 6px; font-size: 15px; line-height: 1.95; }

/* Team */
.ya-team { background: var(--ye-tint-soft); }
.ya-team__founders { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.ya-founder { display: flex; flex-direction: column; align-items: center; width: 240px; padding: 26px 20px 22px; border: 1px solid var(--ya-border); border-radius: 22px; background: var(--ye-surface); color: var(--ya-ink); text-align: center; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ya-founder:hover { border-color: var(--ye-border-accent); box-shadow: 0 14px 30px rgba(46, 31, 84, .12); transform: translateY(-2px); color: var(--ya-ink); text-decoration: none; }
.ya-founder img { width: 132px; height: 132px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--ye-surface), 0 0 0 8px var(--ye-border-strong); }
.ya-founder strong { font-size: 19px; line-height: 1.6; }
.ya-founder span { color: var(--ya-muted); font-size: 14px; }
.ye-about .ya-team__crew { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 10px; max-width: 1000px; margin: 34px auto 0; }
.ya-team__crew li { width: 132px; }
.ya-team__crew a { display: flex; flex-direction: column; align-items: center; color: var(--ya-ink); text-align: center; text-decoration: none; }
.ya-team__crew a:hover { color: var(--ya-accent); text-decoration: none; }
.ya-team__crew img { width: 84px; height: 84px; margin-bottom: 10px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--ye-surface), 0 0 0 6px var(--ye-border); transition: box-shadow .15s ease; }
.ya-team__crew a:hover img { box-shadow: 0 0 0 4px var(--ye-surface), 0 0 0 6px var(--ya-accent); }
.ya-team__crew strong { font-size: 15px; line-height: 1.6; }
.ya-team__crew span { color: var(--ya-muted); font-size: 13px; line-height: 1.6; }
.ye-about .ya-team__more { margin-top: 30px; text-align: center; font-size: 16px; }

/* Where to start */
.ya-start { padding-top: 64px; padding-bottom: 48px; }
.ya-guide { padding-top: 40px; padding-bottom: 48px; }
.ya-guide .ygc { margin: 0; }
.ya-start__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 40px; align-items: center; overflow: hidden; padding: 40px 44px; border-radius: 26px; background: linear-gradient(135deg, var(--ye-fill-deep) 0%, var(--ye-fill-mid) 60%, var(--ye-fill-accent) 100%); box-shadow: 0 18px 40px rgba(46, 31, 84, .18); }
.ya-start__card::after { content: ""; position: absolute; top: -90px; left: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.ye-about .ya-start h2 { color: #fff; font-size: 28px; }
.ye-about .ya-start p { margin-top: 8px; color: rgba(255, 255, 255, .86); }
.ya-start .ya-actions { position: relative; z-index: 1; flex-direction: column; margin-top: 0; }

@media (max-width: 991px) {
	.ya-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.ya-hero__art { width: 300px; }
	.ya-story__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.ya-ways__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ya-start__card { grid-template-columns: minmax(0, 1fr); }
	.ya-start .ya-actions { flex-direction: row; }
}

@media (max-width: 767px) {
	.ye-about p { font-size: 15px; }
	.ya-hero { padding: 36px 0 96px; }
	.ye-about .ya-hero h1 { font-size: 25px; }
	.ye-about .ya-lead { font-size: 16px; }
	.ye-about .ya-actions { margin-top: 22px; }
	.ye-about .ya-btn { width: 100%; }
	.ya-hero__art { width: 250px; }
	.ya-bubble { padding: 7px 12px; font-size: 12px; }
	.ya-bubble--hello { left: 0; font-size: 15px; }
	.ya-bubble--since { right: -6%; }
	.ya-bubble--fa { left: -4%; }
	.ya-figures { margin-top: -56px; }
	.ya-figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ya-figures__list li { padding: 16px 14px; border-radius: 16px; }
	.ya-figures__list strong { font-size: 24px; }
	.ya-figures__list span { font-size: 13px; }
	.ya-section { padding: 52px 0; }
	.ye-about h2 { font-size: 23px; }
	.ya-head { margin-bottom: 26px; }
	.ya-quote { padding: 36px 20px 22px; }
	.ya-quote blockquote { font-size: 20px; }
	.ya-partner { padding: 16px 16px 18px; }
	.ya-road__line::before { right: 14px; margin-right: 0; }
	.ya-road__line li,
	.ya-road__line li:nth-child(even) { width: 100%; margin-right: 0; padding-right: 44px; padding-left: 0; }
	.ya-road__line li + li { margin-top: 10px; }
	.ya-mile { padding: 14px 16px; }
	.ye-about .ya-mile h3 { font-size: 17px; }
	.ye-about .ya-mile p { font-size: 14px; line-height: 1.85; }
	.ya-road__line li::before,
	.ya-road__line li:nth-child(even)::before { right: 6px; left: auto; top: 22px; }
	.ya-ways__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ya-ways__grid li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px; }
	.ya-ways__icon { grid-row: 1 / span 2; width: 48px; height: 48px; margin-bottom: 0; font-size: 20px; }
	.ya-founder { width: calc(50% - 9px); padding: 20px 12px 18px; }
	.ya-founder img { width: 104px; height: 104px; }
	.ya-founder strong { font-size: 17px; }
	.ye-about .ya-team__crew { margin-top: 24px; }
	.ya-team__crew li { width: calc(33.333% - 7px); }
	.ya-team__crew img { width: 72px; height: 72px; }
	.ya-start { padding-top: 44px; padding-bottom: 32px; }
	.ya-start__card { padding: 30px 20px; border-radius: 22px; }
	.ye-about .ya-start h2 { font-size: 23px; }
	.ya-start .ya-actions { flex-direction: column; }
}
