/*
 * صفحهٔ «درباره ما» (HaghaniTheme 1.49.0) — page-templates/about-us.php.
 * همه‌چیز زیر ریشهٔ .hga؛ بارشده فقط روی همین قالب (inc/enqueues.php).
 */
.hga {
    --hga-wine: #911a56;
    --hga-wine-dark: #5e0f37;
    --hga-gold: #c9a24a;
    --hga-gold-soft: #e8d3a0;
    --hga-cream: #fcf4e9;
    --hga-ink: #2a2226;
    --hga-muted: #6b6166;
    --hga-line: #efe6da;
    direction: rtl;
    text-align: start;
    color: var(--hga-ink);
}
.hga, .hga *, .hga *::before, .hga *::after { box-sizing: border-box; }

.hga-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--hga-gold); margin-bottom: 10px; }
.hga-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hga-title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--hga-wine); margin: 0 0 16px; line-height: 1.5; }
.hga-head { text-align: center; margin-bottom: 32px; }
.hga-head .hga-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.hga-prose { color: var(--hga-muted); font-size: 16px; line-height: 2.1; }
.hga-prose p { margin: 0 0 14px; }
.hga-prose p:last-child { margin-bottom: 0; }

/* سربرگ */
.hga-hero { padding-block: 40px 24px; }
.hga-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hga-hero__title { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; color: var(--hga-wine); margin: 0 0 18px; line-height: 1.4; }
.hga-hero__text .hga-prose { max-width: 60ch; }
.hga-hero__media { position: relative; min-width: 0; isolation: isolate; }
.hga-hero__deco {
    position: absolute;
    inset-block-end: -18px;
    inset-inline-start: -18px;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    border: 2px solid var(--hga-gold-soft);
    z-index: -1;
}
.hga-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: var(--hga-cream);
    box-shadow: 0 24px 60px rgba(42, 34, 38, .10);
    aspect-ratio: 16 / 10;
}
.hga-frame iframe, .hga-frame video, .hga-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
/* iframeهای آپارات داخل div واکنش‌گرای خودشان می‌آیند؛ آن قاب را هم پر کن */
.hga-frame > div, .hga-frame > span { position: absolute !important; inset: 0; padding: 0 !important; height: 100% !important; }

/* حلقهٔ متحرک وقتی ویدیو نیست */
.hga-ring { display: block; width: min(320px, 100%); height: auto; margin-inline: auto; overflow: visible; }
.hga-ring__band { fill: none; stroke: var(--hga-gold); stroke-width: 14; }
.hga-ring__shine { fill: none; stroke: #fff6dc; stroke-width: 4; stroke-dasharray: 60 380; stroke-linecap: round; transform-origin: 120px 140px; animation: hga-spin 5s linear infinite; }
.hga-ring__gem { fill: var(--hga-wine); transform-origin: 120px 75px; animation: hga-bob 4s ease-in-out infinite; }

@keyframes hga-spin { to { transform: rotate(360deg); } }
@keyframes hga-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hga-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* آمار */
.hga-stats { padding-block: 32px; }
.hga-stats__box {
    position: relative;
    isolation: isolate;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--hga-wine), var(--hga-wine-dark));
    overflow: hidden;
    text-align: center;
}
.hga-stats__box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--hga-stat-bg, none) center / cover no-repeat;
    opacity: .18;
    mix-blend-mode: luminosity;
}
.hga-stats__title { font-size: 18px; font-weight: 700; color: var(--hga-gold-soft); margin: 0 0 24px; }
.hga-stats__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.hga-stat { display: flex; flex-direction: column; gap: 6px; padding: 12px; animation: hga-rise .8s ease both; }
.hga-stat + .hga-stat { border-inline-start: 1px solid rgba(232, 211, 160, .3); }
.hga-stat__big { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #fff; line-height: 1.3; }
.hga-stat__small { font-size: 15px; color: rgba(255, 255, 255, .85); }

/* استادکاران */
.hga-craft { padding-block: 48px; }
.hga-craft__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hga-craft__media { position: relative; min-width: 0; isolation: isolate; }
.hga-craft__media::after {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    border-radius: 400px 400px 28px 28px;
    border: 2px solid var(--hga-gold-soft);
    z-index: -1;
}
.hga-craft__img { display: block; width: 100%; height: auto; border-radius: 400px 400px 28px 28px; object-fit: cover; aspect-ratio: 4 / 5; }

/* اهداف */
.hga-targets { padding-block: 48px; background: linear-gradient(180deg, #fff, var(--hga-cream)); }
.hga-targets__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.hga-target {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--hga-line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hga-target:hover { transform: translateY(-4px); border-color: var(--hga-gold-soft); box-shadow: 0 18px 40px rgba(42, 34, 38, .07); }
.hga-target__num { position: absolute; inset-block-start: 20px; inset-inline-end: 24px; font-size: 44px; font-weight: 800; color: var(--hga-cream); line-height: 1; }
.hga-target__icon { display: block; width: 64px; height: 64px; object-fit: contain; margin-bottom: 16px; }
.hga-target__title { font-size: 20px; font-weight: 800; color: var(--hga-wine); margin: 0 0 10px; }

/* دعوت به اقدام */
.hga-cta { padding-block: 48px 64px; }
.hga-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 28px;
    background: radial-gradient(circle at 90% 10%, rgba(201, 162, 74, .35), transparent 50%), var(--hga-wine);
    color: #fff;
}
.hga-cta__title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; color: #fff; margin: 0 0 8px; }
.hga-cta__text { margin: 0; color: rgba(255, 255, 255, .85); line-height: 1.9; }
.hga-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hga-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .25s ease, background-color .25s ease; }
.hga .hga-btn--light { background: #fff; color: var(--hga-wine); }
.hga .hga-btn--light:hover { color: var(--hga-wine); transform: translateY(-2px); }
.hga .hga-btn--outline { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.hga .hga-btn--outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hga-btn:focus-visible { outline: 2px solid var(--hga-gold); outline-offset: 3px; }

@media (max-width: 991.98px) {
    .hga-hero__grid, .hga-craft__grid { grid-template-columns: minmax(0, 1fr); }
    .hga-hero__media { order: -1; }
    .hga-craft__media { max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 575.98px) {
    .hga-stat + .hga-stat { border-inline-start: 0; border-block-start: 1px solid rgba(232, 211, 160, .3); }
    .hga-target { padding: 24px; }
    .hga-cta__actions, .hga-btn { width: 100%; }
    .hga-hero__deco { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hga *, .hga *::before, .hga *::after { animation: none !important; transition: none !important; }
}
