 /* =========================================================
   🦷 SERVICE PAGES — PREMIUM STYLE
   مخصوص صفحات خدمات
   رنگ‌ها هماهنگ با style.css اصلی
========================================================= */

.service-page {
    --service-bg: var(--bg);
    --service-surface: var(--surface);
    --service-surface-2: var(--surface-2);
    --service-text: var(--text);
    --service-muted: var(--text-light);
    --service-border: var(--border);

    background: var(--service-bg);
    color: var(--service-text);
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.service-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   COMMON
========================================================= */

.service-section {
    position: relative;
    padding: 100px 0;
}

.service-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 15px;

    border-radius: 999px;

    background: rgba(74, 196, 149, .10);
    border: 1px solid rgba(74, 196, 149, .18);

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 18px;
}

.service-section-heading {
    max-width: 720px;
    margin-bottom: 45px;
}

.service-section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.service-section-heading h2 {
    margin: 0;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.4;

    color: var(--service-text);
}

.service-section-heading h2 span {
    color: var(--primary);
}

.service-section-heading p {
    margin-top: 18px;

    color: var(--service-muted);

    line-height: 2;

    font-size: 15px;
}


/* =========================================================
   HERO
========================================================= */

.service-hero {
    position: relative;

    padding: 115px 0 90px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(74,196,149,.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(74,196,149,.10),
            transparent 30%
        ),
        var(--service-bg);
}

.service-container.service-hero-container {
    display: grid;
}


/* اگر ساختار HTML تغییر نکرده باشد */
.service-hero > .service-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, .8fr);

    align-items: center;

    gap: 70px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.service-hero-content {
    position: relative;

    max-width: 620px;
}

.service-number {
    position: absolute;

    top: -45px;
    right: 0;

    font-size: 110px;
    font-weight: 900;

    line-height: 1;

    color: rgba(74,196,149,.055);

    pointer-events: none;
}

.service-hero h1 {
    position: relative;

    margin: 0 0 25px;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.25;

    letter-spacing: -2px;

    color: var(--service-text);
}

.service-hero h1 span {
    color: var(--primary);
}

.service-hero-content > p {
    max-width: 580px;

    margin: 0 0 35px;

    color: var(--service-muted);

    font-size: 17px;

    line-height: 2.2;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.service-hero-actions {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.service-main-button,
.service-outline-button,
.service-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 50px;

    padding: 0 23px;

    border-radius: 15px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .3s var(--ease),
        box-shadow .3s var(--ease),
        background .3s ease;
}

.service-main-button {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    box-shadow:
        0 14px 35px rgba(74,196,149,.22);
}

.service-main-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(74,196,149,.32);
}

.service-outline-button {
    color: var(--service-text);

    background: var(--service-surface);

    border: 1px solid var(--service-border);

    box-shadow: var(--shadow);
}

.service-outline-button:hover {
    transform: translateY(-4px);

    border-color: var(--primary);

    color: var(--primary);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.service-hero-image {
    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.service-image-glow {
    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background: rgba(74,196,149,.18);

    filter: blur(65px);

    animation: serviceGlow 5s ease-in-out infinite;
}

@keyframes serviceGlow {

    0%,
    100% {
        transform: scale(.9);
        opacity: .6;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}
.service-image-frame {
    position: relative;

    width: min(100%, 450px);
    aspect-ratio: 4 / 4.5;

    overflow: hidden;

    border-radius: 30px;

    background:#edfff7;

    border: 1px solid var(--service-border);

    box-shadow:
        0 25px 70px rgba(52,85,72,.14);

    transform: none;

    transition:
        transform .4s var(--ease),
        box-shadow .4s ease;
}

.service-image-frame:hover {
    transform: translateY(-7px);

    box-shadow:
        0 35px 85px rgba(52,85,72,.20);
}

.service-image-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit:inherit;

    transform: none;

    transition:
        transform .6s var(--ease);
}

.service-image-frame:hover img {
    transform: scale(1.03);
}
 


/* =========================================================
   FLOATING CARD
========================================================= */

.service-floating-card {
    position: absolute;

    right: -15px;
    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 220px;

    padding: 16px 18px;

    border-radius: 18px;

    background:
        color-mix(
            in srgb,
            var(--service-surface) 92%,
            transparent
        );

    border: 1px solid var(--service-border);

    box-shadow:
        0 20px 55px rgba(0,0,0,.12);

    backdrop-filter: blur(15px);

    animation: floatingCard 4s ease-in-out infinite;
}

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.service-floating-card > span {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: rgba(74,196,149,.12);

    color: var(--primary);

    font-size: 20px;
}

.service-floating-card strong {
    display: block;

    color: var(--service-text);

    font-size: 14px;
}

.service-floating-card small {
    display: block;

    margin-top: 4px;

    color: var(--service-muted);

    font-size: 11px;
}


/* =========================================================
   INTRO
========================================================= */

.service-intro {
    background: var(--service-surface);
}

.service-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(260px, .7fr);

    gap: 50px;

    align-items: center;
}

.service-text p {
    margin: 0 0 22px;

    color: var(--service-muted);

    font-size: 16px;

    line-height: 2.25;
}

.service-highlight-box {
    padding: 30px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(74,196,149,.12),
            rgba(74,196,149,.04)
        );

    border: 1px solid rgba(74,196,149,.20);

    box-shadow:
        0 20px 60px rgba(52,85,72,.08);
}

.service-highlight-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 15px;

    background: var(--primary);

    color: white;

    font-size: 20px;

    box-shadow:
        0 12px 30px rgba(74,196,149,.25);
}

.service-highlight-box strong {
    display: block;

    margin-bottom: 10px;

    color: var(--service-text);

    font-size: 18px;
}

.service-highlight-box p {
    margin: 0;

    color: var(--service-muted);

    line-height: 2;
}


/* =========================================================
   BENEFITS
========================================================= */

.service-benefits {
    background:
        linear-gradient(
            180deg,
            var(--service-bg),
            var(--service-surface-2)
        );
}

.service-cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.service-info-card {
    position: relative;

    min-height: 275px;

    padding: 30px;

    overflow: hidden;

    border-radius: 24px;

    background: var(--service-surface);

    border: 1px solid var(--service-border);

    box-shadow:
        0 15px 50px rgba(52,85,72,.07);

    transition:
        transform .4s var(--ease),
        box-shadow .4s ease,
        border-color .4s ease;
}

.service-info-card::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    left: -45px;
    bottom: -50px;

    border-radius: 50%;

    background: rgba(74,196,149,.08);

    transition: transform .5s ease;
}

.service-info-card:hover {
    transform: translateY(-9px);

    border-color: rgba(74,196,149,.35);

    box-shadow:
        0 25px 65px rgba(52,85,72,.14);
}

.service-info-card:hover::before {
    transform: scale(1.6);
}

.service-card-number {
    position: absolute;

    top: 22px;
    left: 25px;

    font-size: 12px;

    color: var(--primary);

    font-weight: 800;
}

.service-card-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 17px;

    background: rgba(74,196,149,.10);

    color: var(--primary);

    font-size: 22px;
}

.service-info-card h3 {
    margin: 0 0 12px;

    color: var(--service-text);

    font-size: 19px;
}

.service-info-card p {
    margin: 0;

    color: var(--service-muted);

    line-height: 2;

    font-size: 14px;
}


/* =========================================================
   PROCESS
========================================================= */

.service-process {
    background: var(--service-surface);
}

.service-timeline {
    position: relative;

    max-width: 850px;

    margin: 0 auto;
}

.service-timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    right: 25px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(74,196,149,.35),
            transparent
        );
}

.service-step {
    position: relative;

    display: grid;

    grid-template-columns: 52px 1fr;

    gap: 25px;

    margin-bottom: 28px;

    padding: 8px 0;
}

.service-step:last-child {
    margin-bottom: 0;
}

.service-step > span {
    position: relative;
    z-index: 2;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--service-surface);

    border: 2px solid var(--primary);

    color: var(--primary);

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 0 0 7px
        color-mix(
            in srgb,
            var(--service-surface) 90%,
            transparent
        );
}

.service-step h3 {
    margin: 5px 0 9px;

    color: var(--service-text);

    font-size: 18px;
}

.service-step p {
    margin: 0;

    color: var(--service-muted);

    line-height: 2;

    font-size: 14px;
}


/* =========================================================
   FAQ
========================================================= */

.service-faq {
    background:
        linear-gradient(
            180deg,
            var(--service-bg),
            var(--service-surface-2)
        );
}

.service-faq-list {
    max-width: 850px;

    margin: 0 auto;
}

.service-faq-item {
    margin-bottom: 13px;

    overflow: hidden;

    border-radius: 18px;

    background: var(--service-surface);

    border: 1px solid var(--service-border);

    box-shadow:
        0 10px 35px rgba(52,85,72,.05);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.service-faq-item:hover {
    border-color: rgba(74,196,149,.35);
}

.service-faq-item summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 24px;

    cursor: pointer;

    list-style: none;

    color: var(--service-text);

    font-size: 15px;
    font-weight: 800;
}

.service-faq-item summary::-webkit-details-marker {
    display: none;
}

.service-faq-item summary span {
    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(74,196,149,.10);

    color: var(--primary);

    font-size: 20px;

    transition: transform .3s ease;
}

.service-faq-item[open] summary span {
    transform: rotate(45deg);
}

.service-faq-item p {
    margin: 0;

    padding: 0 24px 23px;

    color: var(--service-muted);

    line-height: 2.1;

    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.service-cta {
    padding: 90px 0;

    background: var(--service-bg);
}

.service-cta-box {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 45px;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(74,196,149,.18),
            rgba(74,196,149,.05)
        );

    border: 1px solid rgba(74,196,149,.22);

    box-shadow:
        0 25px 70px rgba(52,85,72,.10);
}

.service-cta-box::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -70px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(74,196,149,.10);
}

.service-cta-box h2 {
    margin: 0 0 12px;

    color: var(--service-text);

    font-size: clamp(25px, 4vw, 38px);

    line-height: 1.5;
}

.service-cta-box p {
    max-width: 650px;

    margin: 0;

    color: var(--service-muted);

    line-height: 2;
}

.service-cta-button {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    box-shadow:
        0 14px 35px rgba(74,196,149,.25);
}

.service-cta-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(74,196,149,.35);
}


/* =========================================================
   DARK MODE
   فقط با body.dark
========================================================= */

body.dark .service-page {

    --service-bg: #263A32;
    --service-surface: #314940;
    --service-surface-2: #385349;

    --service-text: #F1F7F4;
    --service-muted: #C1D0C9;

    --service-border: rgba(134,178,161,.20);

    background: var(--service-bg);

    color: var(--service-text);
}


/* HERO DARK */

body.dark .service-hero {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(74,196,149,.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(74,196,149,.10),
            transparent 30%
        ),
        #263A32;
}

body.dark .service-number {
    color: rgba(142,224,189,.06);
}

body.dark .service-image-frame {
    background: #314940;

    border-color:
        rgba(142,224,189,.18);

    box-shadow:
        0 30px 80px rgba(0,0,0,.28);
}

body.dark .service-floating-card {
    background: rgba(49,73,64,.90);

    border-color:
        rgba(142,224,189,.18);

    box-shadow:
        0 20px 55px rgba(0,0,0,.28);
}


/* INTRO DARK */

body.dark .service-intro {
    background: #314940;
}

body.dark .service-highlight-box {
    background:
        linear-gradient(
            145deg,
            rgba(74,196,149,.14),
            rgba(74,196,149,.05)
        );

    border-color:
        rgba(142,224,189,.18);
}


/* BENEFITS DARK */

body.dark .service-benefits {
    background:
        linear-gradient(
            180deg,
            #263A32,
            #385349
        );
}

body.dark .service-info-card {
    background: #314940;

    border-color:
        rgba(134,178,161,.20);

    box-shadow:
        0 18px 55px rgba(0,0,0,.18);
}

body.dark .service-info-card:hover {
    border-color:
        rgba(142,224,189,.35);

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);
}


/* PROCESS DARK */

body.dark .service-process {
    background: #314940;
}

body.dark .service-step > span {
    background: #314940;

    box-shadow:
        0 0 0 7px #314940;
}


/* FAQ DARK */

body.dark .service-faq {
    background:
        linear-gradient(
            180deg,
            #263A32,
            #385349
        );
}

body.dark .service-faq-item {
    background: #314940;

    border-color:
        rgba(134,178,161,.20);

    box-shadow:
        0 12px 40px rgba(0,0,0,.16);
}

body.dark .service-faq-item:hover {
    border-color:
        rgba(142,224,189,.32);
}


/* CTA DARK */

body.dark .service-cta {
    background: #263A32;
}

body.dark .service-cta-box {
    background:
        linear-gradient(
            135deg,
            rgba(74,196,149,.17),
            rgba(49,73,64,.80)
        );

    border-color:
        rgba(142,224,189,.20);

    box-shadow:
        0 25px 70px rgba(0,0,0,.20);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .service-container {
        width: min(
            100% - 30px,
            720px
        );
    }

    .service-hero {
        padding: 80px 0 70px;
    }

    .service-hero > .service-container {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .service-hero-content {
        max-width: 100%;

        text-align: center;
    }

    .service-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-actions {
        justify-content: center;
    }

    .service-number {
        right: 50%;

        transform: translateX(50%);

        top: -25px;
    }

    .service-hero-image {
        min-height: 430px;
    }

    .service-intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .service-cards {
        grid-template-columns: 1fr;

        max-width: 560px;

        margin: 0 auto;
    }

    .service-info-card {
        min-height: auto;
    }

    .service-cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .service-container {
        width: calc(100% - 24px);
    }

    .service-section {
        padding: 70px 0;
    }

    .service-hero {
        padding: 65px 0 55px;
    }

    .service-hero h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .service-hero-content > p {
        font-size: 14px;

        line-height: 2;
    }

    .service-hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .service-main-button,
    .service-outline-button {
        width: 100%;
    }

    .service-hero-image {
        min-height: 350px;
    }

    .service-image-frame {
        width: min(100%, 330px);

        border-radius: 28px;
    }

    .service-floating-card {
        right: 0;

        bottom: 15px;

        min-width: 195px;

        padding: 13px;
    }

    .service-section-heading {
        margin-bottom: 32px;
    }

    .service-section-heading h2 {
        font-size: 29px;
    }

    .service-text p {
        font-size: 14px;

        line-height: 2.1;
    }

    .service-highlight-box {
        padding: 23px;
    }

    .service-info-card {
        padding: 25px;
    }

    .service-timeline::before {
        right: 21px;
    }

    .service-step {
        grid-template-columns: 44px 1fr;

        gap: 18px;
    }

    .service-step > span {
        width: 43px;
        height: 43px;
    }

    .service-step h3 {
        font-size: 16px;
    }

    .service-step p {
        font-size: 13px;
    }

    .service-faq-item summary {
        padding: 18px;

        font-size: 13px;
    }

    .service-faq-item p {
        padding: 0 18px 20px;

        font-size: 13px;
    }

    .service-cta {
        padding: 60px 0;
    }

    .service-cta-box {
        padding: 27px;

        border-radius: 24px;
    }

    .service-cta-box h2 {
        font-size: 25px;
    }

    .service-cta-button {
        width: 100%;
    }

}