/* MK Team - Service detail pages (enhanced) */
:root {
    --navy: #0a1628;
    --navy-mid: #0d1f38;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-dim: rgba(201, 162, 39, 0.2);
    --green: #00a884;
    --green-hover: #06cf9c;
    --white: #ffffff;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Vazirmatn', sans-serif; }
body { background: #f0f2f5; color: #1a1a2e; line-height: 1.8; }

.service-page { max-width: 920px; margin: 0 auto; padding: 24px 20px 56px; }

/* ===== BACK BAR ===== */
.back-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.back-bar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.back-bar a:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateX(-2px);
}
.back-bar a i { color: var(--gold); font-size: 16px; }

/* ===== HERO WITH IMAGE ===== */
.service-hero {
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
    align-items: center;
}
.service-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, var(--gold-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.service-hero .hero-text {
    padding: 40px 36px;
    position: relative;
    z-index: 1;
}
.service-hero .icon-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-hero .icon-wrap i { font-size: 32px; color: var(--gold-light); }
.service-hero h1 { font-size: 1.65rem; margin-bottom: 12px; line-height: 1.4; }
.service-hero .hero-desc {
    font-size: 0.95rem;
    opacity: 0.92;
    line-height: 1.75;
}
.service-hero .hero-image {
    position: relative;
    height: 100%;
    min-height: 280px;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    overflow: hidden;
}
[dir="rtl"] .service-hero .hero-image { border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.service-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}
.service-hero .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, transparent 50%);
    pointer-events: none;
}
[dir="rtl"] .service-hero .hero-image::after {
    background: linear-gradient(270deg, var(--navy) 0%, transparent 50%);
}

/* ===== CONTENT BLOCKS ===== */
.service-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.service-content h2 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}
.service-content h3 {
    font-size: 1.05rem;
    color: var(--navy-mid);
    margin: 24px 0 12px;
}
.service-content ul {
    list-style: none;
    padding: 0;
}
.service-content ul li {
    padding: 12px 0 12px 36px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-content ul li:last-child { border-bottom: none; }
.service-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}
.service-content p { margin-bottom: 14px; color: #444; }
.service-content .lead { font-size: 1.05rem; color: #333; margin-bottom: 20px; }

/* ===== WHY US / FEATURES GRID ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.why-item {
    background: linear-gradient(145deg, #f8f9fc, #fff);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    text-align: center;
    transition: var(--transition);
}
.why-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.why-item i {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}
.why-item span { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* ===== TIPS / NOTE BOX ===== */
.tips-box {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0.04));
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-top: 24px;
}
.tips-box h3 {
    color: var(--navy);
    margin-top: 0;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tips-box h3 i { color: var(--gold); font-size: 1.2rem; }
.tips-box ul { margin-top: 12px; }
.tips-box ul li { padding-left: 28px; }
.tips-box ul li::before { width: 6px; height: 6px; }

/* ===== CTA BOX ===== */
.cta-box {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(145deg, #f8f9fc, #fff);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0,0,0,0.06);
    margin-top: 8px;
}
.cta-box .request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green) 0%, #008f6b 100%);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 32px -10px rgba(0, 168, 132, 0.45);
    transition: var(--transition);
}
.cta-box .request-btn:hover {
    background: linear-gradient(135deg, var(--green-hover) 0%, var(--green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px rgba(0, 168, 132, 0.5);
}
.cta-box .request-btn i { font-size: 22px; }
.cta-box p { margin-top: 14px; font-size: 0.9rem; color: #666; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .service-page { padding: 16px 16px 44px; }
    .service-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .service-hero .hero-image {
        min-height: 200px;
        border-radius: 0;
        order: -1;
    }
    .service-hero .hero-image::after {
        background: linear-gradient(180deg, transparent 0%, var(--navy) 100%);
    }
    .service-hero .hero-text { padding: 28px 24px; }
    .service-hero h1 { font-size: 1.4rem; }
    .service-content { padding: 28px 24px; }
    .service-content ul li { padding-left: 28px; }
    .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
}
