/* ============================================
   ARANO — Services Page
   ============================================ */

/* ============================================
   HERO — تصویر کامل واضح سمت چپ، متن روی کرم راست
   گرادیان فقط تا 45% از راست
   ============================================ */
.services-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: 520px;
    overflow: hidden;
    background: #FFFCF5;
    display: flex;
    align-items: center;
}

.services-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: block;
}

/* گرادیان فقط روی 45% راست */
.services-hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 55%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to left,
        rgba(255, 252, 245, 0.95) 0%,
        rgba(255, 252, 245, 0.82) 40%,
        rgba(255, 252, 245, 0.45) 70%,
        rgba(255, 252, 245, 0) 100%
    );
}

.services-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-top: 50px;
    padding-bottom: 50px;
}

.services-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: right;
    max-width: 580px;
    width: 100%;
}

/* ===== Eyebrow ===== */
.services-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.services-hero-eyebrow-line {
    display: block;
    height: 1px;
    width: 32px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    flex-shrink: 0;
}

.services-hero-eyebrow-line:last-child {
    background: linear-gradient(90deg, transparent, var(--brand-gold));
}

.services-hero-eyebrow-text {
    color: var(--brand-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ===== Title (H1) ===== */
.services-hero-title {
    color: var(--text-primary);
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 24px;
    letter-spacing: -0.008em;
    max-width: 540px;
}

/* ===== Description ===== */
.services-hero-description {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.05vw, 1.0625rem);
    line-height: 2;
    margin: 0 0 36px;
    opacity: 0.92;
    max-width: 500px;
}

/* ===== CTA Buttons ===== */
.services-hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 0;
    flex-wrap: wrap;
    align-items: center;
}

.services-hero-cta .btn {
    padding: 14px 38px;
    font-size: 15.5px;
    min-height: 54px;
    font-weight: 700;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.services-trust {
    background: var(--bg-soft);
    padding: 44px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.services-trust-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
}

.services-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.services-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--brand-gold);
    flex-shrink: 0;
}

.services-trust-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.services-trust-text {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.services-trust-divider {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--brand-gold), transparent);
    flex-shrink: 0;
    opacity: 0.5;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-list {
    background: var(--bg-main);
    padding-top: 80px;
    padding-bottom: 80px;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 60px;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(11, 59, 30, 0.1);
    border-color: var(--brand-gold);
}

.service-item-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-soft);
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-item:hover .service-item-image img {
    transform: scale(1.04);
}

.service-item-body {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    flex: 1;
}

.service-item-body h3 {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.service-item-body p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.8;
    margin: 0;
    opacity: 0.9;
}

.service-item-arrow {
    position: absolute;
    bottom: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.service-item-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

.service-item:hover .service-item-arrow {
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    transform: translateX(-4px);
}

/* ============================================
   PROCESS
   ============================================ */
.services-process {
    background: var(--bg-soft);
    padding-top: 80px;
    padding-bottom: 80px;
}

.services-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.services-process-timeline::before {
    content: '';
    position: absolute;
    top: 34px;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), var(--brand-gold), transparent);
    opacity: 0.4;
    z-index: 0;
}

.services-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.services-process-number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1.5px solid var(--brand-gold);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.services-process-step:hover .services-process-number {
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    transform: scale(1.06);
}

.services-process-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.services-process-desc {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   FINAL CTA
   ============================================ */
.services-final-cta {
    background: var(--brand-green-deep);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.services-final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.services-final-cta-title {
    color: var(--text-on-dark);
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
}

.services-final-cta-btn-wrap {
    display: flex;
    justify-content: center;
}

.services-final-cta-btn {
    padding: 14px 38px;
    font-size: 15.5px;
    font-weight: 700;
    min-height: 54px;
    box-shadow: 0 6px 24px rgba(181, 147, 75, 0.28);
}

.services-final-cta-btn svg {
    width: 18px;
    height: 18px;
}

.services-final-cta-curve {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
    z-index: 1;
    border: 1px solid var(--brand-gold);
    border-radius: 50%;
}

.services-final-cta-curve-left {
    top: -80px;
    left: -100px;
    width: 280px;
    height: 280px;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(30deg);
}

.services-final-cta-curve-right {
    bottom: -100px;
    right: -110px;
    width: 320px;
    height: 320px;
    border-right-color: transparent;
    border-top-color: transparent;
    transform: rotate(-30deg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-hero {
        min-height: 460px;
        height: 460px;
    }

    .services-hero-content {
        max-width: 440px;
    }

    .services-hero-overlay {
        width: 62%;
    }

    .services-list-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .services-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .services-process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {

    .services-hero {
        min-height: auto;
        height: auto;
        display: block;
    }

    .services-hero-bg-image {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 240px;
        max-height: 320px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .services-hero-overlay {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(
            to top,
            rgba(255, 252, 245, 0.96) 0%,
            rgba(255, 252, 245, 0.8) 40%,
            rgba(255, 252, 245, 0.4) 70%,
            rgba(255, 252, 245, 0) 100%
        );
    }

    .services-hero-inner {
        padding-top: 30px;
        padding-bottom: 40px;
        justify-content: center;
    }

    /* ========== موبایل: Hero وسط‌چین ========== */
    .services-hero-content {
        max-width: 100%;
        gap: 14px;
        align-items: center;
        text-align: center;
    }

    .services-hero-eyebrow {
        justify-content: center;
    }

    .services-hero-title {
        text-align: center;
        max-width: 100%;
    }

    .services-hero-description {
        text-align: center;
        max-width: 100%;
    }

    .services-hero-cta {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .services-hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* ========== موبایل: Trust Strip وسط‌چین ========== */
    .services-trust {
        padding: 28px 0;
    }

    .services-trust-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: center;
    }

    .services-trust-divider {
        display: none;
    }

    .services-trust-item {
        justify-content: center;
        text-align: center;
        flex: none;
    }

    .services-trust-text {
        white-space: normal;
        text-align: center;
    }

    .services-list {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .services-list-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-process {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .services-process-timeline {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .services-final-cta {
        padding: 48px 0;
    }
}
