/* ==========================================================
   ABOUT — STORY CONTENT CARD
========================================================== */

.db-content-card {
    width: calc(100% - 120px);
    max-width: 1320px;
    margin: 88px auto 0;
    direction: rtl;
}

.db-content-card__section-title {
    margin: 0 0 24px;
    padding: 0;

    color: #FF4400;

    font-family: "Vazirmatn", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;

    text-align: right;
}

.db-content-card__box {
    width: 100%;
    height: 150px;
    padding: 24px;

    background-color: #FFFFFF;
    border: 1px solid rgba(255, 102, 0, 0.20);
    border-radius: 24px;

    box-shadow: 0 2px 12px rgba(255, 102, 0, 0.08);

    box-sizing: border-box;
}

.db-content-card__title {
    margin: 0 0 8px;
    padding: 0;

    color: #3D3631;

    font-family: "Vazirmatn", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;

    text-align: right;
}

.db-content-card__text {
    margin: 0;
    padding: 0;

    color: #524841;

    font-family: "Vazirmatn", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;

    text-align: right;
}

@media (max-width: 1399px) {
    .db-content-card {
        width: calc(100% - 64px);
    }
}

@media (max-width: 767px) {
    .db-content-card {
        width: calc(100% - 32px);
        margin-top: 56px;
    }

    .db-content-card__section-title {
        font-size: 26px;
    }

    .db-content-card__box {
        height: auto;
        min-height: 150px;
        padding: 20px;
        border-radius: 16px;
    }

    .db-content-card__text {
        font-size: 15px;
    }
}
/* ==========================================================
   ABOUT — WHY DIGBANG
========================================================== */

.db-about-why {
    width: calc(100% - 120px);
    max-width: 1320px;

    margin: 88px auto 0;

    direction: rtl;
    box-sizing: border-box;
}

.db-about-why,
.db-about-why * {
    box-sizing: border-box;
}

.db-about-why__section-title {
    margin: 0 0 56px;
    padding: 0;

    color: #8E7D71;

    font-family: "Vazirmatn", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;

    text-align: right;
}

.db-about-why__box {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 272px;

    padding: 24px 32px;

    background: #F6EDDE;

    border-radius: 28px;
}

.db-about-why__description {
    width: 972px;
    min-height: 65px;

    margin: 0;

    color: #524841;

    font-family: "Vazirmatn", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;

    text-align: center;
}

.db-about-why__features {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 76.2px;

    width: 100%;

    margin-top: 32px;
}

.db-about-why__feature {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex: 0 0 auto;

    text-align: center;
}

.db-about-why__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 78px;
}

.db-about-why__icon {
    display: block;

    width: 70px;
    height: 78px;

    object-fit: contain;
}

.db-about-why__feature-title {
    margin-top: 9px;

    color: #3D3631;

    font-family: "Vazirmatn", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;

    white-space: nowrap;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1399px) {

    .db-about-why {
        width: calc(100% - 64px);
    }

    .db-about-why__features {
        gap: clamp(24px, 4vw, 76.2px);
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .db-about-why {
        width: calc(100% - 32px);

        margin-top: 56px;
    }

    .db-about-why__section-title {
        margin-bottom: 32px;

        font-size: 26px;
    }

    .db-about-why__box {
        height: auto;

        padding: 24px 20px;

        border-radius: 20px;
    }

    .db-about-why__description {
        width: 100%;
        min-height: 0;

        font-size: 15px;
        line-height: 1.9;
    }

    .db-about-why__description br {
        display: none;
    }

    .db-about-why__features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 28px 16px;

        margin-top: 24px;
    }

    .db-about-why__feature-title {
        font-size: 14px;
        white-space: normal;
    }
}
/* ==========================================================
   ABOUT — PRODUCT PREPARATION PROCESS
========================================================== */

.db-about-process {
    width: calc(100% - 120px);
    max-width: 1320px;
    margin: 88px auto 0;
    direction: rtl;
}

.db-about-process,
.db-about-process * {
    box-sizing: border-box;
}

.db-about-process__section-title {
    margin: 0 0 56px;

    color: #8E7D71;

    font-family: "Vazirmatn", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;

    text-align: right;
}

.db-about-process__content {
    width: 1125px;
    margin-inline: auto;
}

/* کارت‌ها */

.db-about-process__cards {
    display: grid;
    grid-template-columns: repeat(4, 242px);
    justify-content: space-between;

    width: 1125px;
}

.db-about-process__card {
    position: relative;

    width: 242px;
    height: 235px;
}

.db-about-process__card-image {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: block;

    width: 242px;
    height: 235px;

    object-fit: contain;
    pointer-events: none;
}

/*
 * محل دقیق متن‌ها روی SVG:
 * عنوان بالاتر آمده و توضیح بلافاصله زیر آن قرار می‌گیرد.
 */
.db-about-process__card-content {
    position: absolute;
    top: 88px;
    right: 50%;
    z-index: 2;

    width: 190px;

    text-align: center;
    transform: translateX(50%);
}

.db-about-process__card-title {
    margin: 0;

    color: #3D3631;

    font-family: "Vazirmatn", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;

    text-align: center;
}

.db-about-process__card-description {
    width: 190px;

    margin: 16px 0 0;

    color: #7A6C61;

    font-family: "Vazirmatn", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 19px;

    text-align: center;
}

/* خط مراحل */

.db-about-process__timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 242px);
    justify-content: space-between;
    align-items: center;

    width: 1125px;
    height: 24px;

    margin-top: 32px;
}

/* خط دقیقاً به عرض ۱۱۲۵ پیکسل */

.db-about-process__timeline::before {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 1125px;
    height: 2px;

    background-color: #FFE0CC;

    transform: translateY(-50%);
}

/* هر خانه هم‌اندازه کارت است؛ پس دایره دقیقاً زیر مرکز کارت می‌افتد */

.db-about-process__timeline-item {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 242px;
    height: 24px;
}

.db-about-process__timeline-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    padding: 0;

    color: #FFFFFF;
    background-color: #3D3631;

    border: 0;
    border-radius: 50%;

    font-family: "Vazirmatn", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;

    text-align: center;
}

/* تبلت */

@media (max-width: 1199px) {

    .db-about-process {
        width: calc(100% - 64px);
    }

    .db-about-process__content {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .db-about-process__cards,
    .db-about-process__timeline {
        min-width: 1125px;
    }
}

/* موبایل */

@media (max-width: 767px) {

    .db-about-process {
        width: calc(100% - 32px);
        margin-top: 56px;
    }

    .db-about-process__section-title {
        margin-bottom: 32px;
        font-size: 26px;
    }

    .db-about-process__content {
        overflow: visible;
    }

    .db-about-process__cards {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
        min-width: 0;

        gap: 24px;
    }

    .db-about-process__timeline {
        display: none;
    }
}

/* ==========================================================
   ABOUT - VALUES
========================================================== */

.db-about-values{

    width:1320px;

    margin:88px auto 0;

}

.db-about-values__title{

    margin:0 0 56px;

    color:#8E7D71;

    font:700 32px/1.5 Vazirmatn;

    text-align:right;

}

.db-about-values__items{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:56.67px;

}

.db-about-values__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;

    direction: rtl;
}

.db-about-values__badge{

    display:flex;

    align-items:center;

    justify-content:center;

    height:64px;

    padding:12px 24px;

    background:#F6EDDE;

    border-radius:8px;

    color:#3D3631;

    font:600 16px/1.5 Vazirmatn;

    white-space:nowrap;
    
    direction: rtl;
    text-align: center;

}

.db-about-values__icon{

    width:50px;

    height:50px;

    object-fit:contain;

    flex-shrink:0;

}

/* ==========================================================
   ABOUT — CTA BANNER
========================================================== */

.db-about-cta {
    position: relative;

    width: calc(100% - 120px);
    max-width: 1320px;
    height: 560px;

    margin: 88px auto 0;

    overflow: hidden;

    border-radius: 24px;

    direction: rtl;
    box-sizing: border-box;
}

.db-about-cta,
.db-about-cta * {
    box-sizing: border-box;
}

.db-about-cta__image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}

.db-about-cta__content {
    position: absolute;

    top: 91px;
    right: 48px;
    z-index: 2;

    text-align: right;
}

.db-about-cta__title {
    margin: 0;

    color: #3D3631;

    font-family: "Vazirmatn", sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.35;

    text-align: right;
}

.db-about-cta__description {
    margin: 16px 0 0;

    color: #665A51;

    font-family: "Vazirmatn", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.6;

    text-align: right;
}

.db-about-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 175px;
    height: 50px;

    margin-top: 64px;

    color: #FFFFFF;
    background: #CC5200;

    border: 0;
    border-radius: 5.23px;

    font-family: "Vazirmatn", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.db-about-cta__button:hover,
.db-about-cta__button:focus-visible {
    color: #FFFFFF;
    background: #FF6600;
}

.db-about-cta__button:hover {
    transform: translateY(-2px);
}

.db-about-cta__button:focus-visible {
    outline: 3px solid rgba(204, 82, 0, 0.25);
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1399px) {

    .db-about-cta {
        width: calc(100% - 64px);
    }
}

/* ==========================================================
   ABOUT CTA — MOBILE
========================================================== */

@media (max-width: 767px) {

    .db-about-cta {
        width: calc(100% - 32px);
        max-width: none;

        height: auto;
        aspect-ratio: 1320 / 560;

        margin: 56px auto 0;

        border-radius: 16px;
    }


    .db-about-cta__image {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;

        border-radius: inherit;
    }


    .db-about-cta__content {
        top: 16.25%;
        right: 3.64%;
        bottom: auto;
        left: auto;

        width: 45%;

        text-align: right;
    }


    .db-about-cta__title {
        margin: 0;

        font-size: 15px;
        line-height: 1.35;
    }


    .db-about-cta__description {
        margin: 4px 0 0;

        font-size: 8px;
        line-height: 1.6;
    }


    .db-about-cta__button {
        width: 72px;
        height: 21px;

        margin-top: 16px;

        border-radius: 3px;

        font-size: 8px;
    }

}

/* ==========================================================
   ABOUT — BREADCRUMB
========================================================== */

.db-about-page > .db-breadcrumb {
    width: calc(100% - 120px);
    max-width: 1320px;

    margin: 32px auto 0;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .db-about-page > .db-breadcrumb {
        width: calc(100% - 32px);
        max-width: none;

        margin: 16px auto 0;
    }

.db-about-values {
        display: none !important;
    }

}