/* ==========================================================================
   Star Clean — صفحات الخدمات الداخلية
   ========================================================================== */

.svc-hero {
    position: relative;
    background: var(--dark);
    padding: 70px 0 64px;
    overflow: hidden;
}

.svc-hero__bg { position: absolute; inset: 0; z-index: 0; }

.svc-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .22;
}

.svc-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 106, 115, .55), rgba(8, 65, 73, .85));
}

.svc-hero__inner { position: relative; z-index: 1; }

.svc-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 18px;
}

.svc-crumbs a { color: var(--cyan); text-decoration: none; }
.svc-crumbs a:hover { text-decoration: underline; }

.svc-hero__title {
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
    max-width: 20ch;
}

.svc-hero__tagline {
    font-size: clamp(.95rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, .72);
    font-weight: 300;
    max-width: 55ch;
    margin-bottom: 28px;
    line-height: 1.85;
}

.svc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ━━━ المقدمة والبطاقة الجانبية ━━━ */
.svc-intro { padding: 64px 0; background: #fff; }

.svc-intro__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.svc-intro__text p {
    font-size: 1.02rem;
    line-height: 2;
    color: var(--ink-soft);
    margin-bottom: 18px;
    max-width: 70ch;
}

.svc-aside__card {
    background: var(--dark);
    border-radius: 20px;
    padding: 32px 28px;
    color: #fff;
    position: sticky;
    top: 110px;
    border: 1px solid rgba(249, 204, 2, .25);
}

.svc-aside__title { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.svc-aside__text { font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; line-height: 1.8; }
.svc-aside__list { list-style: none; margin-bottom: 24px; }

.svc-aside__list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    font-size: .92rem;
    color: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.svc-aside__list li:last-child { border-bottom: none; }

.svc-aside__list li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9cc02' stroke-width='2.5'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ━━━ عناوين الأقسام ━━━ */
.svc-h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 34px;
    line-height: 1.35;
}

.svc-h2--light { color: #fff; }

/* ━━━ ما تشمله الخدمة ━━━ */
.svc-features { padding: 70px 0; background: var(--light); }

.svc-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.svc-feature {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(14, 106, 115, .12);
    border-radius: 16px;
    padding: 24px 22px;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.svc-feature:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(14, 106, 115, .12); }

.svc-feature__check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(249, 204, 2, .18);
    flex-shrink: 0;
    position: relative;
}

.svc-feature__check::after {
    content: '';
    position: absolute;
    inset: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e6a73' stroke-width='3'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.svc-feature__title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.svc-feature__desc { font-size: .88rem; color: #666; line-height: 1.75; }

/* ━━━ خطوات التنفيذ ━━━ */
.svc-steps { padding: 70px 0; background: var(--dark-2); }

.svc-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.svc-step {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 26px 22px;
}

.svc-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--cyan);
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 14px;
}

.svc-step__title { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.svc-step__desc { font-size: .88rem; color: rgba(255, 255, 255, .65); line-height: 1.75; }

/* ━━━ الأحياء ━━━ */
.svc-areas { padding: 60px 0; background: #fff; }

.svc-areas__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.svc-areas__list li {
    background: var(--light);
    border: 1px solid rgba(14, 106, 115, .12);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
}

/* ━━━ خدمات أخرى ━━━ */
.svc-related { padding: 70px 0; background: var(--light); }

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

.svc-related__card {
    display: block;
    background: #fff;
    border: 1px solid rgba(14, 106, 115, .12);
    border-radius: 16px;
    padding: 24px 22px;
    text-decoration: none;
    transition: all .3s var(--ease);
}

.svc-related__card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 204, 2, .5);
    box-shadow: 0 14px 34px rgba(14, 106, 115, .12);
}

.svc-related__card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.svc-related__card p { font-size: .85rem; color: #666; line-height: 1.7; }

@media (max-width: 1024px) {
    .svc-intro__grid { grid-template-columns: 1fr; gap: 32px; }
    .svc-aside__card { position: static; }
    .svc-features__grid { grid-template-columns: repeat(2, 1fr); }
    .svc-steps__grid { grid-template-columns: repeat(2, 1fr); }
    .svc-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .svc-features__grid,
    .svc-steps__grid,
    .svc-related__grid { grid-template-columns: 1fr; }
    .svc-hero { padding: 48px 0 44px; }
}

/* ==========================================================================
   صفحة تواصل معنا
   ========================================================================== */
.ct-section { padding: 64px 0; background: #fff; }

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.ct-cards { display: flex; flex-direction: column; gap: 14px; }

.ct-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--light);
    border: 1px solid rgba(14, 106, 115, .12);
    border-radius: 16px;
    text-decoration: none;
    transition: all .3s var(--ease);
}

.ct-card:not(.ct-card--static):hover {
    transform: translateY(-3px);
    border-color: rgba(249, 204, 2, .5);
    box-shadow: 0 12px 30px rgba(14, 106, 115, .12);
}

.ct-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(249, 204, 2, .16);
    color: var(--dark);
    flex-shrink: 0;
}

.ct-card__icon--wa { background: rgba(164, 208, 14, .18); color: var(--org-2); }
.ct-card__body { display: flex; flex-direction: column; gap: 3px; }
.ct-card__body strong { color: var(--dark); font-size: 1rem; font-weight: 700; }
.ct-card__body span { color: #666; font-size: .9rem; }

.ct-form .nk-hero__form { background: var(--dark); border-color: rgba(249, 204, 2, .28); }
.ct-map { line-height: 0; filter: saturate(.9); }
.ct-map iframe { display: block; width: 100%; }

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

/* ==========================================================================
   الصفحات القانونية
   ========================================================================== */
.lg-crumbs { justify-content: center; margin-bottom: 14px; }
.lg-updated { color: rgba(255, 255, 255, .6); font-size: .85rem; margin-top: 10px; }
.lg-page { padding: 56px 0 80px; background: #fff; }

.lg-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 44px;
    align-items: start;
}

.lg-toc {
    position: sticky;
    top: 110px;
    background: var(--light);
    border: 1px solid rgba(14, 106, 115, .12);
    border-radius: 16px;
    padding: 22px 20px;
}

.lg-toc h2 { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.lg-toc ol { margin: 0 18px 0 0; padding: 0; }
.lg-toc li { margin-bottom: 8px; font-size: .88rem; line-height: 1.6; }
.lg-toc a { color: var(--ink-soft); text-decoration: none; }
.lg-toc a:hover { color: var(--dark); text-decoration: underline; }

.lg-section { margin-bottom: 34px; scroll-margin-top: 120px; }

.lg-section h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(249, 204, 2, .35);
}

.lg-section p,
.lg-section li { color: var(--ink-soft); line-height: 2; font-size: .98rem; }
.lg-section ul { margin: 0 20px 0 0; }
.lg-section li { margin-bottom: 8px; }

@media (max-width: 900px) {
    .lg-wrap { grid-template-columns: 1fr; gap: 28px; }
    .lg-toc { position: static; }
}

/* ==========================================================================
   محتوى صفحة الخدمة الموسّع
   ========================================================================== */
.svc-content { padding: 10px 0 60px; background: #fff; }
.svc-content__wrap { max-width: 900px; }
.svc-block { margin-bottom: 44px; }
.svc-block:last-child { margin-bottom: 0; }

.svc-block .svc-h2 {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(249, 204, 2, .4);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.svc-block p {
    font-size: 1.02rem;
    line-height: 2.05;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.svc-list { list-style: none; margin: 6px 0 0; padding: 0; }

.svc-list li {
    position: relative;
    padding: 9px 32px 9px 0;
    font-size: .98rem;
    line-height: 1.85;
    color: var(--ink-soft);
    border-bottom: 1px solid rgba(14, 106, 115, .08);
}

.svc-list li:last-child { border-bottom: none; }

.svc-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 16px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e6a73' stroke-width='2.6'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* جدول الأسعار */
.svc-prices { padding: 66px 0; background: var(--light); }
.svc-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(14, 106, 115, .1); }

.svc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 620px;
    font-size: .95rem;
}

.svc-table th {
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    padding: 15px 16px;
    text-align: right;
    font-size: .92rem;
    white-space: nowrap;
}

.svc-table td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(14, 106, 115, .1);
    color: var(--ink-soft);
    line-height: 1.7;
}

.svc-table tbody tr:last-child td { border-bottom: none; }
.svc-table tbody tr:nth-child(even) { background: rgba(14, 106, 115, .03); }
.svc-table tbody tr:hover { background: rgba(249, 204, 2, .07); }

.svc-table__price {
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}

.svc-prices__note {
    margin-top: 16px;
    font-size: .88rem;
    color: #6b7a7c;
    line-height: 1.8;
    padding-right: 14px;
    border-right: 3px solid var(--cyan);
}

.svc-prices__cta { margin-top: 26px; text-align: center; }
.svc-areas__text { font-size: 1rem; line-height: 2; color: var(--ink-soft); margin-bottom: 22px; max-width: 80ch; }

@media (max-width: 700px) {
    .svc-table-wrap { overflow-x: visible; box-shadow: none; }
    .svc-table { min-width: 0; }
    .svc-table thead { display: none; }
    .svc-table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid rgba(14, 106, 115, .12);
        border-radius: 14px;
        padding: 6px 4px;
        margin-bottom: 12px;
    }
    .svc-table td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        border-bottom: 1px dashed rgba(14, 106, 115, .12);
        padding: 10px 14px;
        font-size: .9rem;
    }
    .svc-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--dark);
        flex-shrink: 0;
    }
}
