/* ─── Production & Quality (pq-) — Light + Dark + bilingual ─── */

.page-production {
    --pq-bg: #faf9f6;
    --pq-bg-soft: #f3efe8;
    --pq-text: #2c302e;
    --pq-text-soft: rgba(44, 48, 46, 0.62);
    --pq-accent: #b08d57;
    --pq-accent-bright: #c4872a;
    --pq-accent-btn: #c47a2c;
    --pq-line: rgba(176, 141, 87, 0.35);
    --pq-card: #fff;
    --pq-shadow: rgba(44, 48, 46, 0.08);
}

html[data-theme="dark"] .page-production {
    --pq-bg: #0a0b0a;
    --pq-bg-soft: #121411;
    --pq-text: #eae6df;
    --pq-text-soft: rgba(234, 230, 223, 0.58);
    --pq-accent: #e8942a;
    --pq-accent-bright: #f0a840;
    --pq-accent-btn: #e8942a;
    --pq-line: rgba(232, 148, 42, 0.35);
    --pq-card: rgba(22, 23, 21, 0.94);
    --pq-shadow: rgba(0, 0, 0, 0.4);
}

.page-production .site-main--production {
    padding: 0;
    min-height: auto;
}

.pq {
    background: var(--pq-bg);
    color: var(--pq-text);
}

.pq-wrap {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.pq-section {
    position: relative;
}

.pq-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pq-accent);
    margin-bottom: 14px;
}

.pq-eyebrow--center {
    text-align: center;
}

.pq-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 20px;
    color: var(--pq-text);
}

.pq-heading em {
    font-style: italic;
    color: var(--pq-accent);
}

html[lang="fa"] .pq-heading {
    font-family: var(--font-display);
}

html[lang="fa"] .pq-heading em {
    font-style: normal;
}

.pq-heading--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pq-heading--light {
    color: #fff;
}

.pq-heading--light em {
    color: var(--pq-accent-bright);
}

.pq-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--pq-text-soft);
    margin: 0;
    max-width: 520px;
}

.pq-body--light {
    color: rgba(255, 255, 255, 0.88);
}

/* Hero split */
.pq-hero {
    padding: calc(96px + env(safe-area-inset-top, 0px)) 0 72px;
}

.pq-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}

.pq-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 4.8vw, 62px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 20px;
}

.pq-hero__title em {
    font-style: italic;
    color: var(--pq-accent);
    display: block;
}

html[lang="fa"] .pq-hero__title {
    font-family: var(--font-display);
}

html[lang="fa"] .pq-hero__title em {
    font-style: normal;
}

.pq-hero__desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--pq-text-soft);
    max-width: 460px;
    margin: 0 0 32px;
}

.pq-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px 14px 18px;
    border-radius: 999px;
    background: var(--pq-accent-btn);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pq-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(196, 122, 44, 0.28);
    color: #fff;
}

.pq-hero__cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pq-hero__cta-icon svg {
    width: 16px;
    height: 16px;
}

html[dir="rtl"] .pq-hero__cta-icon svg {
    transform: scaleX(-1);
}

.pq-hero__photo {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 72px var(--pq-shadow);
}

.pq-hero__photo img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

/* Process timeline */
.pq-process {
    padding: 88px 0;
    background: var(--pq-bg-soft);
}

.pq-process__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 32px;
    align-items: end;
    margin-bottom: 52px;
}

.pq-process__head-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--pq-text-soft);
    margin: 0;
}

.pq-process__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 40px;
    align-items: start;
}

.pq-process__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.pq-process__steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(to bottom, var(--pq-line), transparent);
}

html[dir="rtl"] .pq-process__steps::before {
    left: auto;
    right: 27px;
}

.pq-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    min-height: 140px;
}

.pq-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--pq-line);
    background: var(--pq-card);
    color: var(--pq-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px var(--pq-shadow);
}

.pq-step__icon svg {
    width: 24px;
    height: 24px;
}

.pq-step__num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--pq-accent);
    margin-bottom: 6px;
}

.pq-step__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
    color: var(--pq-text);
}

.pq-step__desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--pq-text-soft);
    margin: 0;
    max-width: 380px;
}

.pq-step__mobile-photo {
    display: none;
    grid-column: 1 / -1;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 12px;
}

.pq-step__mobile-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.pq-process__visuals {
    position: sticky;
    top: calc(96px + env(safe-area-inset-top, 0px));
    align-self: start;
    width: 100%;
    height: clamp(380px, 42vw, 520px);
    isolation: isolate;
}

.pq-process__photo {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    box-shadow: 0 24px 56px var(--pq-shadow);
    will-change: opacity;
}

.pq-process__photo.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.pq-process__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Quality */
.pq-quality {
    padding: 88px 0;
}

.pq-quality__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 56px;
    align-items: center;
}

.pq-qc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    margin-top: 36px;
}

.pq-qc-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pq-qc-item__icon {
    width: 32px;
    height: 32px;
    color: var(--pq-accent);
}

.pq-qc-item__icon svg {
    width: 100%;
    height: 100%;
}

.pq-qc-item__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pq-text);
    line-height: 1.45;
}

.pq-quality__visual {
    position: relative;
}

.pq-quality__photo {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 64px var(--pq-shadow);
}

.pq-quality__photo img {
    width: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
}

.pq-quality__badge {
    position: absolute;
    left: -24px;
    bottom: 32px;
    max-width: 260px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 22px 24px;
    background: var(--pq-card);
    border-radius: 14px;
    box-shadow: 0 20px 48px var(--pq-shadow);
}

html[dir="rtl"] .pq-quality__badge {
    left: auto;
    right: -24px;
}

.pq-quality__badge-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--pq-accent);
}

.pq-quality__badge-icon svg {
    width: 100%;
    height: 100%;
}

.pq-quality__badge p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.45;
    margin: 0;
    color: var(--pq-text);
}

html[lang="fa"] .pq-quality__badge p {
    font-family: var(--font-display);
    font-style: normal;
}

/* Certifications */
.pq-certs {
    padding: 88px 0;
    background: var(--pq-bg-soft);
}

.pq-certs__inner {
    text-align: center;
}

.pq-certs__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 28px;
}

.pq-cert {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pq-card);
    border-radius: 50%;
    box-shadow: 0 12px 32px var(--pq-shadow);
    transition: transform 0.35s ease;
}

.pq-cert:hover {
    transform: translateY(-4px);
}

.pq-cert__ring {
    position: absolute;
    inset: 8px;
    border: 1px solid var(--pq-line);
    border-radius: 50%;
}

.pq-cert__name {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pq-accent);
    text-align: center;
    padding: 0 12px;
    line-height: 1.35;
}

.pq-certs__footer {
    font-size: 14px;
    line-height: 1.7;
    color: var(--pq-text-soft);
    max-width: 560px;
    margin: 0 auto;
}

/* Sustainability */
.pq-sust {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    isolation: isolate;
}

.pq-sust__bg {
    position: absolute;
    inset: 0;
    background-image: var(--pq-sust-bg);
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
}

.pq-sust__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 48, 46, 0.88) 0%, rgba(44, 48, 46, 0.62) 100%);
}

html[data-theme="dark"] .pq-sust__overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 100%);
}

.pq-sust__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.pq-sust__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pq-sust-card {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.pq-sust-card__icon {
    display: flex;
    width: 32px;
    height: 32px;
    color: var(--pq-accent-bright);
    margin-bottom: 14px;
}

.pq-sust-card__icon svg {
    width: 100%;
    height: 100%;
}

.pq-sust-card__title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
}

.pq-sust-card__desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .pq-hero__grid,
    .pq-process__head,
    .pq-process__body,
    .pq-quality__grid,
    .pq-sust__grid {
        grid-template-columns: 1fr;
    }

    .pq-process__visuals {
        display: none;
    }

    .pq-quality__badge {
        left: 16px;
        right: 16px;
        bottom: -20px;
        max-width: none;
    }

    html[dir="rtl"] .pq-quality__badge {
        right: 16px;
    }

    .pq-quality__visual {
        margin-bottom: 36px;
    }

    .pq-sust__features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pq-wrap {
        width: calc(100% - 40px);
    }

    .pq-certs__row {
        gap: 14px;
    }

    .pq-cert {
        width: 100px;
        height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pq-hero__cta,
    .pq-cert,
    .pq-process__photo {
        transition: none;
    }
}
