﻿.services-landing {
    --sp-navy: #0d3b66;
    --sp-orange: #f7941d;
    --sp-muted: #6b7684;
    --sp-line: #e7edf5;
    --sp-bg: #f4f6fa;
    direction: rtl;
    background: var(--sp-bg);
}

.services-landing .container {
    max-width: 1240px;
}

/* ===== Hero ===== */
.sp-hero {
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
}

.sp-hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 900px) {
    .sp-hero-wrap {
        grid-template-columns: 1fr;
    }
}

.sp-hero-media {
    position: relative;
}

    .sp-hero-media img {
        width: 100%;
        border-radius: 24px;
        display: block;
    }

.sp-hero-rating {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(13, 59, 102, 0.18);
    padding: 12px 16px;
    text-align: center;
}

    .sp-hero-rating .stars {
        color: #ffb020;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .sp-hero-rating .score {
        font-size: 11px;
        color: var(--sp-muted);
        margin-top: 2px;
    }

.sp-hero-content h1 {
    font-family: "Yekan-Bold", Sans-serif;
    color: var(--sp-navy);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 16px;
}

.sp-hero-content p {
    color: var(--sp-muted);
    font-size: 15px;
    line-height: 2;
    margin: 0 0 24px;
    max-width: 520px;
}

.sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.sp-btn-primary {
    background: var(--sp-orange);
    color: #fff;
    box-shadow: 0 10px 24px rgba(247, 148, 29, 0.35);
}

    .sp-btn-primary:hover {
        background: #e78412;
        color: #fff;
    }

.sp-btn-outline {
    background: #fff;
    color: var(--sp-navy);
    border: 2px solid var(--sp-line);
}

    .sp-btn-outline:hover {
        border-color: var(--sp-navy);
        color: var(--sp-navy);
    }

.sp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.sp-hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .sp-hero-badge .icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: #fef3e7;
        color: var(--sp-orange);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .sp-hero-badge .icon svg {
            width: 19px;
            height: 19px;
        }

    .sp-hero-badge b {
        display: block;
        font-size: 12.5px;
        color: var(--sp-navy);
    }

    .sp-hero-badge span {
        font-size: 11px;
        color: var(--sp-muted);
    }

/* ===== Services section ===== */
.sp-services {
    padding: 44px 0;
}

.sp-section-title {
    text-align: center;
    margin-bottom: 30px;
}

    .sp-section-title h2 {
        font-family: "Yekan-Bold", Sans-serif;
        color: var(--sp-navy);
        font-size: 24px;
        font-weight: 900;
        margin: 0 0 8px;
    }

    .sp-section-title p {
        color: var(--sp-muted);
        font-size: 13px;
        margin: 0;
    }

.sp-services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: start;
}

@media (max-width: 900px) {
    .sp-services-layout {
        grid-template-columns: 1fr;
    }
}

/* live widget */
.sp-live-widget {
    background: linear-gradient(160deg, var(--sp-navy), #123a63);
    color: #fff;
    border-radius: 18px;
    padding: 20px;
}

.sp-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff1a;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

    .sp-live-badge .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #22c55e;
        display: inline-block;
        animation: sp-pulse 1.6s infinite;
    }

@keyframes sp-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.sp-live-title {
    font-size: 12.5px;
    color: #c7d3e3;
    margin-bottom: 4px;
}

.sp-live-count {
    font-family: "Yekan-Bold", Sans-serif;
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 2px;
}

.sp-live-sub {
    font-size: 11.5px;
    color: #c7d3e3;
    margin-bottom: 16px;
}

.sp-live-chart {
    height: 46px;
    margin-bottom: 18px;
}

.sp-live-orders-title {
    font-size: 12px;
    color: #c7d3e3;
    margin-bottom: 10px;
    padding-top: 14px;
    border-top: 1px solid #ffffff22;
}

.sp-live-order {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
}

.sp-live-order-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ffffff14;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sp-live-order-icon svg {
        width: 16px;
        height: 16px;
        color: var(--sp-orange);
    }

.sp-live-order-title {
    font-size: 12px;
    font-weight: 700;
}

.sp-live-order-sub {
    font-size: 10.5px;
    color: #c7d3e3;
    margin-top: 2px;
}

/* service cards grid */
.sp-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .sp-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sp-cards-grid {
        grid-template-columns: 1fr;
    }
}

.sp-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 59, 102, 0.07);
    padding: 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .sp-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
    }

.sp-card-thumb {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

    .sp-card-thumb img {
        max-height: 96px;
        max-width: 100%;
        object-fit: contain;
    }

.sp-card h3 {
    font-size: 14.5px;
    font-weight: 900;
    color: var(--sp-navy);
    margin: 0 0 8px;
}

.sp-card p {
    font-size: 12px;
    color: var(--sp-muted);
    line-height: 1.8;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-card a.sp-card-btn {
    display: inline-block;
    background: var(--sp-bg);
    color: var(--sp-navy);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
    transition: 0.2s ease;
}

    .sp-card a.sp-card-btn:hover {
        background: var(--sp-orange);
        color: #fff;
    }

.sp-pager {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

    .sp-pager ul {
        display: flex;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sp-pager a, .sp-pager span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        border-radius: 10px;
        background: #fff;
        color: var(--sp-navy);
        font-size: 13px;
        box-shadow: 0 4px 12px rgba(13, 59, 102, 0.08);
    }

    .sp-pager .active span {
        background: var(--sp-orange);
        color: #fff;
    }

/* ===== Consult + Why-us ===== */
.sp-mid {
    padding: 10px 0 44px;
}

.sp-mid-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .sp-mid-layout {
        grid-template-columns: 1fr;
    }
}

.sp-consult-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(13, 59, 102, 0.07);
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
}

@media (max-width: 640px) {
    .sp-consult-card {
        grid-template-columns: 1fr;
    }
}

.sp-consult-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 220px;
}

.sp-consult-form {
    padding: 26px;
}

    .sp-consult-form h3 {
        font-family: "Yekan-Bold", Sans-serif;
        color: var(--sp-navy);
        font-size: 17px;
        font-weight: 900;
        margin: 0 0 6px;
    }

    .sp-consult-form > p {
        color: var(--sp-muted);
        font-size: 12.5px;
        margin: 0 0 18px;
    }

.sp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .sp-form-row {
        grid-template-columns: 1fr;
    }
}

.sp-consult-form input,
.sp-consult-form select,
.sp-consult-form textarea {
    width: 100%;
    border: 1px solid var(--sp-line);
    background: var(--sp-bg);
    border-radius: 10px;
    padding: 11px 14px;
    font: inherit;
    outline: none;
    margin-bottom: 12px;
}

    .sp-consult-form textarea {
        min-height: 90px;
        resize: vertical;
    }

    .sp-consult-form input:focus,
    .sp-consult-form select:focus,
    .sp-consult-form textarea:focus {
        border-color: var(--sp-orange);
    }

.sp-consult-submit {
    width: 100%;
    background: var(--sp-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .sp-consult-submit:hover {
        background: #e78412;
    }

.sp-why-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(13, 59, 102, 0.07);
    padding: 26px;
}

    .sp-why-card h3 {
        font-family: "Yekan-Bold", Sans-serif;
        color: var(--sp-navy);
        font-size: 17px;
        font-weight: 900;
        margin: 0 0 18px;
        text-align: center;
    }

.sp-why-badge {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fef3e7;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sp-why-badge svg {
        width: 32px;
        height: 32px;
        color: var(--sp-orange);
    }

.sp-why-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-why-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #2b3648;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sp-line);
}

    .sp-why-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .sp-why-item svg {
        width: 18px;
        height: 18px;
        color: #22c55e;
        flex-shrink: 0;
    }

/* ===== Articles ===== */
.sp-articles {
    padding: 10px 0 54px;
}

.sp-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .sp-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sp-articles-grid {
        grid-template-columns: 1fr;
    }
}

.sp-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(13, 59, 102, 0.07);
    transition: transform 0.2s ease;
}

    .sp-article-card:hover {
        transform: translateY(-4px);
    }

    .sp-article-card img {
        width: 100%;
        height: 130px;
        object-fit: cover;
        display: block;
    }

.sp-article-body {
    padding: 14px 16px 18px;
}

    .sp-article-body h4 {
        font-size: 13px;
        font-weight: 900;
        color: var(--sp-navy);
        line-height: 1.8;
        margin: 0 0 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.sp-article-date {
    font-size: 11px;
    color: var(--sp-muted);
}
