/* ============================================================
 *  Janiyar Segal — About Page v3.0 (Premium)
 * ============================================================ */

.js-about-page {
    --ap-accent: #E6A83A;
    --ap-accent-2: #FF8C42;
    --ap-dark: #0a1628;
    --ap-dark-2: #0f1f38;
    --ap-text: #1a2332;
    --ap-muted: #64748b;
    --ap-border: #e2e8f0;
    --ap-bg: #ffffff;
    --ap-bg-alt: #f7f8fa;
    --ap-ease: cubic-bezier(.4, 0, .2, 1);
    font-family: 'Vazirmatn', system-ui, sans-serif;
    color: var(--ap-text);
}

.js-ap-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 32px);
}

/* ═══════════════════════════════════════════
 *  SCROLL REVEAL
 *  ═══════════════════════════════════════════ */
.js-ap-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s var(--ap-ease), transform .8s var(--ap-ease);
}

.js-ap-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
 *  HERO
 *  ═══════════════════════════════════════════ */
.js-ap-hero {
    position: relative;
    background: linear-gradient(135deg, #050810 0%, #0a1628 50%, #0f1f38 100%);
    color: #fff;
    padding-block: 80px 100px;
    overflow: hidden;
    isolation: isolate;
    min-height: 560px;
}

.js-ap-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.js-ap-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: apOrbFloat 20s ease-in-out infinite;
}

.js-ap-hero__orb--1 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, #E6A83A 0%, transparent 70%);
    top: -15%; right: -10%;
}
.js-ap-hero__orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #FF8C42 0%, transparent 70%);
    bottom: -20%; left: -10%;
    animation-delay: -10s;
}
.js-ap-hero__orb--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #8fa5bf 0%, transparent 70%);
    top: 40%; left: 30%;
    opacity: .2;
    animation-delay: -5s;
}

@keyframes apOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -50px) scale(1.15); }
}

.js-ap-hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    pointer-events: none;
}

.js-ap-hero .js-ap-container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.js-ap-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.js-ap-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .25s;
}
.js-ap-breadcrumb a:hover { color: var(--ap-accent); }
.js-ap-breadcrumb > span:last-child { color: rgba(255, 255, 255, .85); }

.js-ap-hero__inner {
    max-width: 820px;
    animation: apHeroFadeIn .9s var(--ap-ease) both;
}

@keyframes apHeroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.js-ap-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(230, 168, 58, .12);
    border: 1px solid rgba(230, 168, 58, .35);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-accent);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    letter-spacing: .3px;
}

.js-ap-hero__chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: apPulse 2s infinite;
}

@keyframes apPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.js-ap-hero__title {
    font-size: clamp(34px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.js-ap-hero__title-line {
    display: block;
    opacity: 0;
    animation: apTitleIn 1s var(--ap-ease) forwards;
}

.js-ap-hero__title-line:nth-child(1) { animation-delay: .15s; }
.js-ap-hero__title-line:nth-child(2) { animation-delay: .35s; }

@keyframes apTitleIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.js-ap-hero__title-line--accent {
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 50%, #FF5500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
}

.js-ap-hero__title-line--accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    inset-inline-start: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ap-accent) 0%, transparent 100%);
    border-radius: 2px;
    animation: apUnderline 1s .8s var(--ap-ease) forwards;
}

@keyframes apUnderline {
    to { width: 120px; }
}

.js-ap-hero__desc {
    font-size: clamp(14px, 1.4vw, 16.5px);
    line-height: 1.95;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 40px;
    max-width: 700px;
    opacity: 0;
    animation: apHeroFadeIn 1s .6s var(--ap-ease) forwards;
}

/* آمار */
.js-ap-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 820px;
    opacity: 0;
    animation: apHeroFadeIn 1s .8s var(--ap-ease) forwards;
}

.js-ap-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all .3s var(--ap-ease);
}

.js-ap-stat:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(230, 168, 58, .4);
    transform: translateY(-3px);
}

.js-ap-stat__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 168, 58, .15);
    border: 1px solid rgba(230, 168, 58, .35);
    border-radius: 10px;
    color: var(--ap-accent);
}

.js-ap-stat__icon svg { width: 20px; height: 20px; }

.js-ap-stat__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.js-ap-stat__value {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}

.js-ap-stat__label {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
}

/* Scroll Hint */
.js-ap-hero__scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    z-index: 3;
}

.js-ap-hero__scroll-hint span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--ap-accent);
    border-radius: 2px;
    animation: apScrollHint 1.8s infinite;
}

@keyframes apScrollHint {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* ═══════════════════════════════════════════
 *  SECTION HEAD
 *  ═══════════════════════════════════════════ */
.js-ap-section-head {
    margin-bottom: 56px;
}
.js-ap-section-head--center {
    text-align: center;
}
.js-ap-section-head__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ap-accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.js-ap-section-head__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -1px;
    color: var(--ap-dark);
}
.js-ap-section-head__desc {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ap-muted);
    margin: 0;
    max-width: 620px;
    margin-inline: auto;
}

/* ═══════════════════════════════════════════
 *  STORY
 *  ═══════════════════════════════════════════ */
.js-ap-story {
    background: var(--ap-bg);
    padding-block: 100px 80px;
}

.js-ap-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

.js-ap-story__media { position: relative; }

.js-ap-story__media-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(10, 22, 40, .15);
    background: linear-gradient(135deg, #0a1628 0%, #0f1f38 100%);
}

.js-ap-story__media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s var(--ap-ease);
}

.js-ap-story__media-wrap:hover img { transform: scale(1.05); }

.js-ap-story__media-wrap--placeholder::before {
    content: '🏭';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: .3;
}

.js-ap-story__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, .8) 100%);
    pointer-events: none;
}

.js-ap-story__media-badge {
    position: absolute;
    bottom: 24px;
    inset-inline-start: 24px;
    inset-inline-end: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
}

.js-ap-story__media-badge-icon { font-size: 24px; flex-shrink: 0; }
.js-ap-story__media-badge strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.js-ap-story__media-badge span { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }

.js-ap-story__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ap-accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.js-ap-story__title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--ap-dark);
    margin: 0 0 24px;
    letter-spacing: -1px;
}

.js-ap-story__body p {
    font-size: 15.5px;
    line-height: 2;
    color: #475569;
    margin: 0 0 20px;
}
.js-ap-story__body p:last-child { margin-bottom: 0; }

.js-ap-story__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.js-ap-story__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-dark);
}

.js-ap-story__feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
}

/* ═══════════════════════════════════════════
 *  TIMELINE
 *  ═══════════════════════════════════════════ */
.js-ap-timeline {
    background: var(--ap-bg-alt);
    padding-block: 100px;
}

.js-ap-timeline__wrap {
    position: relative;
    padding: 40px 0;
}

.js-ap-timeline__track {
    position: absolute;
    top: 50%;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--ap-border) 10%, var(--ap-border) 90%, transparent 100%);
    z-index: 0;
}

.js-ap-timeline__progress {
    position: absolute;
    top: 50%;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ap-accent) 0%, var(--ap-accent-2) 100%);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 2s var(--ap-ease);
}

.js-ap-timeline.is-revealed .js-ap-timeline__progress {
    transform: scaleX(1);
}

.js-ap-timeline__items {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.js-ap-timeline__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ap-ease), transform .6s var(--ap-ease);
}

.js-ap-timeline.is-revealed .js-ap-timeline__item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--tl-delay);
}

.js-ap-timeline__dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ap-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(230, 168, 58, .15);
    transition: all .3s;
    flex-shrink: 0;
}

.js-ap-timeline__dot span {
    width: 6px;
    height: 6px;
    background: var(--ap-accent);
    border-radius: 50%;
}

.js-ap-timeline__item:hover .js-ap-timeline__dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(230, 168, 58, .2);
}

.js-ap-timeline__card {
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
    width: 100%;
    transition: all .3s var(--ap-ease);
    position: relative;
}

.js-ap-timeline__item:hover .js-ap-timeline__card {
    border-color: var(--ap-accent);
    box-shadow: 0 12px 28px rgba(10, 22, 40, .1);
    transform: translateY(-4px);
}

.js-ap-timeline__year {
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
    color: var(--ap-accent);
    background: rgba(230, 168, 58, .1);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    letter-spacing: -.3px;
}

.js-ap-timeline__title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ap-dark);
    margin: 0 0 6px;
}

.js-ap-timeline__desc {
    font-size: 12px;
    line-height: 1.7;
    color: var(--ap-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════
 *  PROCESS (فرآیند تولید)
 *  ═══════════════════════════════════════════ */
.js-ap-process {
    background: linear-gradient(135deg, #0a1628 0%, #0f1f38 100%);
    padding-block: 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.js-ap-process .js-ap-section-head__title {
    color: #fff;
}

.js-ap-process .js-ap-section-head__desc {
    color: rgba(255, 255, 255, .7);
}

.js-ap-process__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    position: relative;
}

.js-ap-process__step {
    position: relative;
    text-align: center;
    padding: 24px 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ap-ease), transform .6s var(--ap-ease);
    transition-delay: var(--step-delay);
}

.js-ap-process.is-revealed .js-ap-process__step {
    opacity: 1;
    transform: translateY(0);
}

.js-ap-process__num {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, .08);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 8px;
    font-family: 'Inter', system-ui, sans-serif;
}

.js-ap-process__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 168, 58, .12);
    border: 2px solid rgba(230, 168, 58, .35);
    border-radius: 18px;
    color: var(--ap-accent);
    transition: all .4s var(--ap-ease);
    position: relative;
}

.js-ap-process__icon svg { width: 32px; height: 32px; }

.js-ap-process__step:hover .js-ap-process__icon {
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 100%);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(230, 168, 58, .4);
}

.js-ap-process__title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}

.js-ap-process__desc {
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
    margin: 0;
    padding-inline: 4px;
}

.js-ap-process__arrow {
    position: absolute;
    top: 60px;
    inset-inline-end: -14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-accent);
    opacity: .5;
    z-index: 3;
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════════
 *  VISION
 *  ═══════════════════════════════════════════ */
.js-ap-vision {
    background: linear-gradient(135deg, #0a1628 0%, #0f1f38 50%, #152844 100%);
    padding-block: 100px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

.js-ap-vision__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.js-ap-vision__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .4;
}

.js-ap-vision__orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #E6A83A 0%, transparent 70%);
    top: -20%; right: -10%;
}

.js-ap-vision__orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #FF8C42 0%, transparent 70%);
    bottom: -20%; left: -10%;
}

.js-ap-vision .js-ap-container {
    position: relative;
    z-index: 2;
}

.js-ap-vision .js-ap-section-head__title { color: #fff; }

.js-ap-vision__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.js-ap-vision__card {
    position: relative;
    padding: 40px 36px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all .4s var(--ap-ease);
}

.js-ap-vision__card:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(230, 168, 58, .4);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
}

.js-ap-vision__card--accent {
    background: linear-gradient(135deg, rgba(230, 168, 58, .15) 0%, rgba(255, 140, 66, .05) 100%);
    border-color: rgba(230, 168, 58, .35);
}

.js-ap-vision__card-glow {
    position: absolute;
    top: -50%;
    inset-inline-end: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(230, 168, 58, .15) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s;
}
.js-ap-vision__card:hover .js-ap-vision__card-glow { opacity: 1; }

.js-ap-vision__icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 168, 58, .15);
    border: 1px solid rgba(230, 168, 58, .35);
    border-radius: 16px;
    color: var(--ap-accent);
    margin-bottom: 24px;
    transition: all .3s;
}

.js-ap-vision__card:hover .js-ap-vision__icon {
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 100%);
    color: #fff;
    border-color: transparent;
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 12px 32px rgba(230, 168, 58, .4);
}

.js-ap-vision__icon svg { width: 30px; height: 30px; }

.js-ap-vision__title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -.5px;
}

.js-ap-vision__desc {
    font-size: 14.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .75);
    margin: 0;
}

/* ═══════════════════════════════════════════
 *  VALUES
 *  ═══════════════════════════════════════════ */
.js-ap-values {
    background: var(--ap-bg-alt);
    padding-block: 100px;
}
.js-ap-values .js-ap-section-head__title { color: var(--ap-dark); }

.js-ap-values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.js-ap-value {
    position: relative;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 20px;
    transition: all .4s var(--ap-ease);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: apValueIn .8s var(--ap-ease) forwards;
    animation-delay: var(--value-delay, 0s);
}

@keyframes apValueIn {
    to { opacity: 1; transform: translateY(0); }
}

.js-ap-value:hover {
    border-color: var(--ap-accent);
    box-shadow: 0 20px 48px rgba(10, 22, 40, .1);
    transform: translateY(-4px);
}

.js-ap-value__number {
    position: absolute;
    top: 16px;
    inset-inline-end: 20px;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: rgba(10, 22, 40, .04);
    letter-spacing: -3px;
    pointer-events: none;
    transition: color .3s;
}

.js-ap-value:hover .js-ap-value__number {
    color: rgba(230, 168, 58, .15);
}

.js-ap-value__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 168, 58, .15) 0%, rgba(255, 140, 66, .1) 100%);
    color: var(--ap-accent);
    border-radius: 14px;
    margin-bottom: 20px;
    transition: all .3s;
}

.js-ap-value:hover .js-ap-value__icon {
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 100%);
    color: #fff;
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 8px 24px rgba(230, 168, 58, .35);
}

.js-ap-value__icon svg { width: 26px; height: 26px; }

.js-ap-value__title {
    font-size: 19px;
    font-weight: 900;
    color: var(--ap-dark);
    margin: 0 0 10px;
    letter-spacing: -.3px;
}

.js-ap-value__desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--ap-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════
 *  GALLERY
 *  ═══════════════════════════════════════════ */
.js-ap-gallery {
    background: #fff;
    padding-block: 100px;
}

.js-ap-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 16px;
}

.js-ap-gallery__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0f1f38 100%);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity .6s var(--ap-ease), transform .6s var(--ap-ease);
    transition-delay: var(--gal-delay);
}

.js-ap-gallery.is-revealed .js-ap-gallery__item {
    opacity: 1;
    transform: scale(1);
}

/* چیدمان ویژه: مورد اول ۲×۲ */
.js-ap-gallery__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.js-ap-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ap-ease);
}

.js-ap-gallery__item:hover img {
    transform: scale(1.08);
}

.js-ap-gallery__item--placeholder::before {
    content: '🏭';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: .3;
}

.js-ap-gallery__item--placeholder:nth-child(1)::before {
    font-size: 100px;
}

.js-ap-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, .9) 100%);
    opacity: 0;
    transition: opacity .4s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.js-ap-gallery__item:hover .js-ap-gallery__overlay {
    opacity: 1;
}

.js-ap-gallery__content {
    color: #fff;
    transform: translateY(10px);
    transition: transform .4s;
}

.js-ap-gallery__item:hover .js-ap-gallery__content {
    transform: translateY(0);
}

.js-ap-gallery__title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px;
}

.js-ap-gallery__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    margin: 0;
}

/* ═══════════════════════════════════════════
 *  QUOTE
 *  ═══════════════════════════════════════════ */
.js-ap-quote {
    background: var(--ap-bg-alt);
    padding-block: 100px;
}

.js-ap-quote__box {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: 60px 48px;
    background: linear-gradient(135deg, #0a1628 0%, #0f1f38 100%);
    border-radius: 32px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.js-ap-quote__box::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-start: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 168, 58, .15) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.js-ap-quote__mark {
    color: var(--ap-accent);
    opacity: .3;
    margin-bottom: 24px;
}

.js-ap-quote__text {
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.9;
    font-weight: 700;
    color: #fff;
    margin: 0 0 32px;
    font-style: italic;
    letter-spacing: -.3px;
}

.js-ap-quote__author {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px 12px 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.js-ap-quote__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    flex-shrink: 0;
    overflow: hidden;
}

.js-ap-quote__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.js-ap-quote__author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: right;
}

.js-ap-quote__name {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.js-ap-quote__role {
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
}

/* ═══════════════════════════════════════════
 *  CTA
 *  ═══════════════════════════════════════════ */
.js-ap-cta {
    background: #fff;
    padding-block: 80px;
}

.js-ap-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 56px;
    background: linear-gradient(135deg, #0a1628 0%, #0f1f38 100%);
    border-radius: 24px;
    color: #fff;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.js-ap-cta__box::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-start: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 168, 58, .2) 0%, transparent 60%);
    pointer-events: none;
}

.js-ap-cta__content {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.js-ap-cta__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -.5px;
}

.js-ap-cta__desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .75);
    margin: 0;
    line-height: 1.8;
}

.js-ap-cta__actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.js-ap-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .3s var(--ap-ease);
    border: none;
    white-space: nowrap;
}

.js-ap-cta__btn--primary {
    background: linear-gradient(135deg, #E6A83A 0%, #FF8C42 100%);
    color: #0a0a0a;
    box-shadow: 0 10px 28px rgba(230, 168, 58, .4);
}

.js-ap-cta__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(230, 168, 58, .6);
    color: #0a0a0a;
}

.js-ap-cta__btn--ghost {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
}

.js-ap-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, .2);
    border-color: var(--ap-accent);
    transform: translateY(-3px);
    color: var(--ap-accent);
}

/* ═══════════════════════════════════════════
 *  RESPONSIVE
 *  ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .js-ap-hero { padding-block: 60px 80px; min-height: auto; }
    .js-ap-hero__stats { grid-template-columns: repeat(2, 1fr); }
    .js-ap-story { padding-block: 60px; }
    .js-ap-story__grid { grid-template-columns: 1fr; gap: 32px; }
    .js-ap-timeline { padding-block: 60px; }
    .js-ap-timeline__items { flex-wrap: wrap; }
    .js-ap-timeline__item { flex: 1 1 180px; }
    .js-ap-timeline__track,
    .js-ap-timeline__progress { display: none; }
    .js-ap-process { padding-block: 60px; }
    .js-ap-process__grid { grid-template-columns: repeat(3, 1fr); }
    .js-ap-process__arrow { display: none; }
    .js-ap-vision { padding-block: 60px; }
    .js-ap-vision__grid { grid-template-columns: 1fr; }
    .js-ap-values { padding-block: 60px; }
    .js-ap-gallery { padding-block: 60px; }
    .js-ap-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
    .js-ap-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .js-ap-quote { padding-block: 60px; }
    .js-ap-quote__box { padding: 40px 28px; border-radius: 24px; }
    .js-ap-cta { padding-block: 60px; }
}

@media (max-width: 720px) {
    .js-ap-hero { padding-block: 50px 70px; }
    .js-ap-hero__title { letter-spacing: -1px; }
    .js-ap-hero__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .js-ap-stat { padding: 12px 14px; gap: 10px; }
    .js-ap-stat__icon { width: 34px; height: 34px; }
    .js-ap-stat__icon svg { width: 18px; height: 18px; }
    .js-ap-stat__value { font-size: 17px; }
    .js-ap-stat__label { font-size: 10.5px; }
    .js-ap-hero__scroll-hint { display: none; }

    .js-ap-story__features { grid-template-columns: 1fr; }

    .js-ap-process__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .js-ap-vision__card { padding: 28px 24px; }
    .js-ap-vision__title { font-size: 19px; }
    .js-ap-vision__icon { width: 54px; height: 54px; }
    .js-ap-vision__icon svg { width: 26px; height: 26px; }

    .js-ap-values__grid { grid-template-columns: 1fr; }
    .js-ap-value { padding: 28px 24px; }
    .js-ap-value__number { font-size: 48px; }
    .js-ap-value__title { font-size: 17px; }

    .js-ap-gallery__grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 240px); }
    .js-ap-gallery__item:nth-child(1) { grid-column: span 1; grid-row: span 1; }

    .js-ap-quote__box { padding: 32px 20px; }
    .js-ap-quote__mark { width: 60px; height: 60px; }
    .js-ap-quote__text { font-size: 15px; }
    .js-ap-quote__author { flex-direction: column; text-align: center; padding: 16px; border-radius: 16px; }
    .js-ap-quote__author-info { align-items: center; }

    .js-ap-cta__box { padding: 32px 24px; }
    .js-ap-cta__actions { flex-direction: column; }
    .js-ap-cta__btn { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
    .js-ap-hero__title { font-size: 28px; }
    .js-ap-hero__stats { grid-template-columns: 1fr; }
    .js-ap-process__grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .js-ap-reveal,
    .js-ap-hero__orb,
    .js-ap-hero__title-line,
    .js-ap-hero__desc,
    .js-ap-hero__stats,
    .js-ap-hero__scroll-hint span,
    .js-ap-value,
    .js-ap-process__step,
    .js-ap-timeline__item,
    .js-ap-gallery__item,
    .js-ap-hero__inner {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}